f82577a7f3
Co-authored-by: Jon Koops <jonkoops@gmail.com> Closes #9864
30 lines
896 B
Markdown
30 lines
896 B
Markdown
# Updating dependencies
|
|
|
|
The dependencies will be downloaded at build time, based on the contents of `package-lock.json`. You should verify the new set of packages don't break anything before committing the new `package-lock.json`.
|
|
|
|
## For the login
|
|
|
|
```bash
|
|
cd src/main/resources/theme/keycloak/common/resources
|
|
npm install some-package-name@version
|
|
git add package-lock.json
|
|
cd -
|
|
```
|
|
|
|
## For account console v2
|
|
|
|
```bash
|
|
cd src/main/resources/theme/keycloak.v2/account/src
|
|
npm install some-package-name@version
|
|
git add package-lock.json
|
|
cd -
|
|
```
|
|
|
|
## License Information
|
|
|
|
Make sure to enter license information for new dependencies, as specified in `docs/dependency-license-information.md`. Javascript dependencies are included as `other` elements.
|
|
|
|
|
|
## Tips
|
|
|
|
You can use `npm outdated --latest` in the same directory where the `package.json` file resides to see which dependencies are outdated
|