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
New --verbose option. When enabled, postinstall-build will print informational messages about what it is doing (and why) at each step. Overrides the --silent option (the last one specified wins). #21
A warning is now printed if a potentially incompatible version of npm is detected. There are many broken versions of npm that do not work with postinstall-build 😢 – this should help explain why. #23
Changed
If postinstall was triggered from npm install (no args) being run in the package itself, and we expect it to have already installed devDependencies, then the installation step will be skipped completely. Previously, npm install --only=dev was run, which should have been a no-op anyway.
Previously, if no build artifact was supplied, an exception was thrown. Now the error is logged and the process exits with status code 1. This should effectively be the same as before, but the exact behavior is consistent with the error handling in other steps.