1.0.0 • Published 2 years ago
@acmiel-testing/js-lifecycle-scripts v1.0.0
js-lifecycle-scripts
Testing which lifecycle scripts are relevant for the install and pack commands
of various JavaScript package managers.
Results
| npm main package | npm workspaces | yarn main package | yarn workspaces | yarnberry main package | yarnberry workspaces | pnpm main package | pnpm workspaces | |
|---|---|---|---|---|---|---|---|---|
| install | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| preinstall | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| postinstall | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| prepublish | ✅ | ✅ | ||||||
| prepare | ✅ | ✅ | ✅ | ✅ | ✅ | |||
| preprepare | ✅ | |||||||
| postprepare | ✅ | |||||||
| prepack | ☑️ | ☑️ | ☑️ | ☑️ | ☑️ | ☑️ | ☑️ | ☑️ |
| postpack | ☑️ | ☑️ | ☑️ | ☑️ | ☑️ | ☑️ | ☑️ | ☑️ |
| dependencies | ✅ | |||||||
| predependencies | ✅ | |||||||
| postdependencies | ✅ |
✅ = always executed
☑️ = executed only in the workspace that is getting packed
1.0.0
2 years ago