Use package-lock.json
of the repo
#31
Labels
bug
Something isn't working
good first issue
Good for newcomers
Priority: Low
The Issue will be address only if other tasks are done
Severity: Trivial
The bug or Issue doesn't impact the user, is about esthetics or making things clean
Currently, when building the website (both prod and dev mode), we are using
npm install
and regenerating a newpackage-lock.json
.There is no point of pushing the
package-lock.json
on the repo if we override them when building.We should change all the occurrences of
npm install
bynpm ci
(clean install) which use the currentpackage-lock.json
instead of overriding it.Hence, we can lock a version of a package we use if needed, and we won't have any version issue when building the app at different places.
The text was updated successfully, but these errors were encountered: