Skip to content

Commit cd05ed8

Browse files
committed
docs(npm-shrinkwrap.readme.md): update instructions
1 parent 42e7fc5 commit cd05ed8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

npm-shrinkwrap.readme.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ See https://github.com/npm/npm/issues/3581 for related npm issue.
1515
To add a new dependency do the following:
1616

1717
1. add a new dependency via `npm install -D <packagename>`
18-
2. run `./tools/npm/clean-shrinkwrap.js`
19-
3. these steps should change 3 files: `package.json`, `npm-shrinkwrap.json` and `npm-shrinkwrap.clean.json`
20-
4. commit changes to these three files and you are done
18+
2. update npm-shrinkwrap.json with `npm shrinkwrap --dev`
19+
3. run `./tools/npm/clean-shrinkwrap.js`
20+
4. these steps should change 3 files: `package.json`, `npm-shrinkwrap.json` and `npm-shrinkwrap.clean.json`
21+
5. commit changes to these three files and you are done
2122

2223

2324
To update existing dependency do the following:

0 commit comments

Comments
 (0)