Commit a947f25
authored
fix: update lifecycle script list in run-script (#7679)
This change updates the list of lifecycle scripts in the RunScript class
to include important npm scripts that were previously missing.
- add `prepare`, `prepublishOnly` scripts
- add `dependencies` scripts
- add `prepack` and `postpack` scripts
- todo comments removed due to changes reflected
<!-- What / Why -->
<!-- Describe the request in detail. What it does and why it's being
changed. -->
## References
The documents I referenced are as follows:
- https://docs.npmjs.com/cli/v10/using-npm/scripts
<!-- Examples:
Related to #0
Depends on #0
Blocked by #0
Fixes #0
Closes #0
-->1 parent 9214be9 commit a947f25
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| |||
0 commit comments