mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2026-08-28 09:06:46 +00:00
Merge pull request #227 from ntwb/patch-17
NodeJS - Add post install `npm update -g`
This commit is contained in:
+2
-1
@@ -15,6 +15,7 @@
|
||||
"env_add_path": "nodejs",
|
||||
"post_install": "
|
||||
# Remove npmrc that makes global modules get installed in AppData\\Roaming\\npm
|
||||
rm $dir\\nodejs\\node_modules\\npm\\npmrc",
|
||||
rm $dir\\nodejs\\node_modules\\npm\\npmrc
|
||||
npm update -g",
|
||||
"checkver": "<p class=\"version\">Current Version: v([0-9\\.]+)</p>"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user