From 6fc2978bba0e42fc57777ffd5df826117fce5893 Mon Sep 17 00:00:00 2001 From: Giacomo Marciani Date: Tue, 13 Feb 2024 09:55:11 +0100 Subject: [PATCH] [Docs] Add instructions to manage dependencies for the frontend in DEVELOPMENT.md. --- DEVELOPMENT.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 9ecfb8f2..8680017b 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -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`.