You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's mostly an interop feature request, to be able to execute compilation/transpilation (babel/typescript), execute tests if any, then push to the platform. this ensures that you never push a broken / stale build. my use-case is compile to typescript, lint, run jest, then push
check package.json for a key that the apify cli could look for settings, like (there are a couple of packages that use this way, like parcel, browserslist, babel itself)
{
"apify": {
"prePush": "npm commands..."
}
}
or maybe even reuse npm's prepublish as a quick way to get this done, and be this behavior by default, and using --no-hooks (or something that ignores the settings, like --force) to apify push
The text was updated successfully, but these errors were encountered:
It's mostly an interop feature request, to be able to execute compilation/transpilation (babel/typescript), execute tests if any, then push to the platform. this ensures that you never push a broken / stale build. my use-case is compile to typescript, lint, run jest, then push
inspiration: https://www.npmjs.com/package/husky (for git) or
"prepublish[Only]"
check
package.json
for a key that the apify cli could look for settings, like (there are a couple of packages that use this way, like parcel, browserslist, babel itself)or maybe even reuse npm's
prepublish
as a quick way to get this done, and be this behavior by default, and using--no-hooks
(or something that ignores the settings, like--force
) toapify push
The text was updated successfully, but these errors were encountered: