mirror of
https://github.com/go-gitea/gitea
synced 2025-07-31 22:58:35 +00:00
add 'npm' and 'npm-update' make targets and lockfile (#7246)
* add 'npm' and 'npm-update' make targets and lockfile - `make npm` installs and updates node_modules, triggered automatically on `make css` and `make js` as it completes reasonably fast and ensures consistent modules. - `make npm-update` updates all dependencies to their latest version, regenerates `node_modules` from scratch and updates `package-lock.json`. It uses npm modules `updates` written by yours truly to find the latest version of each dependency. * add suggested make dependencies * remove package-lock.json during npm-update * regenerate package-lock.json
This commit is contained in:
committed by
techknowlogick
parent
33ad554800
commit
a71cabbd53
@@ -52,7 +52,6 @@ pipeline:
|
||||
image: webhippie/nodejs:latest
|
||||
pull: true
|
||||
commands:
|
||||
- npm install
|
||||
- make css
|
||||
- make js
|
||||
when:
|
||||
|
Reference in New Issue
Block a user