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
Copy file name to clipboardExpand all lines: docs/lib/content/using-npm/scripts.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,8 @@ during `npm publish` and `npm pack`
51
51
* As of `npm@7` these scripts run in the background.
52
52
To see the output, run with: `--foreground-scripts`.
53
53
54
+
***In workspaces, prepare scripts run concurrently** across all packages. If you have interdependent packages where one must build before another, consider using `--foreground-scripts` (which can be set in `.npmrc` with `foreground-scripts=true`) to run scripts sequentially, or structure your build differently.
55
+
54
56
**prepublish** (DEPRECATED)
55
57
* Does not run during `npm publish`, but does run during `npm ci` and `npm install`.
0 commit comments