File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,12 +25,19 @@ Drupal Tasks:
2525 file contains the version of Grunt Drupal Tasks, it should be updated as
2626 part of the release process.
2727
28- First, delete ` npm-shrinkwrap.json ` and ` node_modules ` . Then, run `npm i &&
29- npm shrinkwrap`.
28+ First, delete ` npm-shrinkwrap.json ` and ` node_modules ` . Then, run:
29+ ` npm i --prod && npm shrinkwrap ` .
30+
31+ Installing with the ` --prod ` option excludes dev dependencies, which avoids
32+ an issue with npm v2 where modules that are dev dependencies are not
33+ included in the shrinkwrap file.
3034
3135- Tag a new version.
3236
3337 Once all updates are committed, tag a new version using `git tag -a v0.9.3
3438 -m "Version 0.9.3."` and push the tag.
3539
3640- Run ` npm publish ` to publish the release to npm.
41+
42+ For pre-releases (alpha, non-stable), specify a release tag by running:
43+ ` npm publish --tag alpha `
You can’t perform that action at this time.
0 commit comments