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
@tarot
I think the "prepare" script will not run when it is installed via npm install in other package. It should be "preinstall" to run correctly in the package install of depending project. Anyway the build will fail as it doesn't include devDependencies.
I'm against for building (=transpiling) scripts on demand because it forces to download many modules which is only required in building phase and not needed in runtime.
To refer the master or arbitrary branch on Github other than the published, we should consider including the built files in Git commit.
Git dependencies (like following) doesn't work due to missing
prepack
orprepare
scripts.I think it is better to use
prepare
instead ofprepublish
.The text was updated successfully, but these errors were encountered: