mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-22 23:15:56 +08:00
docs: add rm -rf node_modules/
to release docs
In the latest release, I was not able to build even after running `yarn` to refresh dependencies. Eventually, we tracked the issue down to `rm -rf node_modules/`. There may be some instances where this can be necessary to ensure clean builds.
This commit is contained in:
parent
c24008c356
commit
f8b9a502a6
@ -154,13 +154,13 @@ For the first release of a major version, follow the instructions in
|
||||
|
||||
For non-major release, check out the patch branch (e.g. `9.1.x`), then run:
|
||||
```bash
|
||||
yarn # Reload dependencies
|
||||
rm -rf node_modules/ && yarn # Reload dependencies
|
||||
yarn admin publish --tag latest
|
||||
```
|
||||
|
||||
If also publishing a prerelease, check out `master`, then run:
|
||||
```bash
|
||||
yarn # Reload dependencies
|
||||
rm -rf node_modules/ && yarn # Reload dependencies
|
||||
yarn admin publish --tag next
|
||||
```
|
||||
|
||||
@ -170,7 +170,7 @@ run:
|
||||
**Make sure to update the NPM tag for the version you are releasing!**
|
||||
|
||||
```bash
|
||||
yarn # Reload dependencies
|
||||
rm -rf node_modules/ && yarn # Reload dependencies
|
||||
yarn admin publish --tag v8-lts
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user