mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Update readme to include saving exact dependencies using npm.
This commit is contained in:
parent
bb1473f67f
commit
8c5a94fa64
@ -67,6 +67,14 @@ npm install --prefix awx/ui --save prod-package@1.23
|
||||
git add awx/ui/package.json awx/ui/package-lock.json
|
||||
```
|
||||
|
||||
## Adding exact dependencies
|
||||
```shell
|
||||
# add an exact development or build dependency
|
||||
npm install --prefix awx/ui --save-dev --save-exact dev-package@1.2.3
|
||||
# add an exact production dependency
|
||||
npm install --prefix awx/ui --save --save-exact prod-package@1.23
|
||||
```
|
||||
|
||||
## Removing dependencies
|
||||
```shell
|
||||
# remove a development or build dependency
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user