-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
add 'npm' and 'npm-update' make targets and lockfile #7246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
That’s a little too long to type though especially if my terminal doesn’t have auto completion for make..
|
Indeed, I had a similar thought. Still think it should be two targets, thought. |
Renamed to |
- `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.
Codecov Report
@@ Coverage Diff @@
## master #7246 +/- ##
==========================================
- Coverage 40.99% 40.97% -0.02%
==========================================
Files 462 462
Lines 62585 62585
==========================================
- Hits 25654 25644 -10
- Misses 33571 33580 +9
- Partials 3360 3361 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to use the make dependance in place of sub calling make
Ran |
* 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
make npm
installs and updatesnode_modules
, triggered automatically onmake css
andmake js
as it completes reasonably fast and ensures consistent modules.make npm-update
updates all dependencies to their latest version, regeneratesnode_modules
from scratch and updatespackage-lock.json
. It uses npm modulesupdates
written by yours truly to find the latest version of each dependency.