diff options
| author | Gunnar Mills <gmills@us.ibm.com> | 2019-07-24 14:03:29 -0500 |
|---|---|---|
| committer | Gunnar Mills <gmills@us.ibm.com> | 2019-07-31 15:25:31 +0000 |
| commit | 596a3ec941ee9384270e09c2caffa728325d480a (patch) | |
| tree | 5ffbcf231c7f09a1880aebc66911b9051d7b7672 | |
| parent | f000468d501d7e11aefb7e271bee8730cb4988cd (diff) | |
| download | phosphor-webui-596a3ec941ee9384270e09c2caffa728325d480a.tar.gz phosphor-webui-596a3ec941ee9384270e09c2caffa728325d480a.zip | |
Move the required npm version to 6.0.1
Since moved to a npm 6 generated package-lock.json, bump the required
npm version to prevent churn in package-lock.json.
This is a "advisory only", to enforce, the package.json would need
"engineStrict" : true,
http://www.marcusoft.net/2015/03/packagejson-and-engines-and-enginestrict.html
Fine that users build with npm 5 as long as they don't check in their
package-lock.json.
After downgrading to 5.6 and running npm install
bash-4.1$ git diff package-lock.json | wc -l
7913
Tested: "npm install && npm run build" with an npm 5.6, still builds.
Change-Id: I77899eabc1f6a450a40e005dd43404b034c31768
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ firmware stack. The WebUI uses AngularJS. Features include: ## Requirements nodejs (>= 4.2.6) -npm (>= 5.6.0) +npm (>= 6.0.1) **Note** The default installation of your Linux distro may not come with the required versions above. See the following for more information on updating: diff --git a/package.json b/package.json index 8b70827..0ae4c28 100644 --- a/package.json +++ b/package.json @@ -92,6 +92,6 @@ ], "engines": { "node": ">=4.2.6", - "npm": ">=5.6.0" + "npm": ">=6.0.1" } } |

