Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 401c9ef

Browse files
alexeaglemhevery
authored andcommitted
chore(build): update shrinkwrap docs
Closes angular#1748
1 parent 900bf8e commit 401c9ef

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

npm-shrinkwrap.readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ To add a new dependency do the following:
2424
To update existing dependency do the following:
2525

2626
1. update `package.json`
27-
2. run `npm install <packagename>`
27+
2. run `npm update <packagename>`
2828
3. relock the dependencies with `npm shrinkwrap --dev`
2929
4. clean up the shrinkwrap file for review with `./tools/npm/clean-shrinkwrap.js`
3030
5. these steps should change 3 files: `package.json`, `npm-shrinkwrap.json` and `npm-shrinkwrap.clean.json`
@@ -35,7 +35,8 @@ If updating the `tsd` project a special steps need to be taken due to
3535
https://github.com/Bartvds/minitable/issues/2:
3636

3737
Update `tsd` by following the steps above but before you run `npm shrinkwrap --dev`, you'll have to
38-
manually patch `node_modules/tsd/node_modules/minitable/package.json` and remove the `minichain` from
38+
manually patch `node_modules/ts2dart/node_modules/tsd/node_modules/minitable/package.json` and
39+
`node_modules/tsd/node_modules/minitable/package.json` and remove the `minichain` from
3940
the `peerDependencies` section.
4041

4142
before:

0 commit comments

Comments
 (0)