Skip to content

Commit

Permalink
[Docs] Add instructions to manage dependencies for the frontend in DE…
Browse files Browse the repository at this point in the history
…VELOPMENT.md.
  • Loading branch information
gmarciani committed Feb 13, 2024
1 parent 08af7be commit 6fc2978
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ To add a product dependency, you should add the dependency with a specified vers
and generate `requirements.txt` using [pip-tools](https://github.com/jazzband/pip-tools),
which is part of dev dependencies (`requirements-dev.txt`)

When changing a dependency in the frontend project you should add/Change it in `frontend/package.json`,
re-generate `frontend/package-lock.json` with `npm install`
and update the attribution document in `frontend/resources/attributions/npm-python-attributions.txt` accordingly.

### Dev Dependencies
To add/change a development dependencies, you can directly change `requirements-dev.txt`.

Expand Down

0 comments on commit 6fc2978

Please sign in to comment.