Skip to content

Commit

Permalink
Run tests in Node 8 and prevent creation of a package-lock.json with …
Browse files Browse the repository at this point in the history
…npm 5

Closes #398
  • Loading branch information
insin committed Nov 3, 2017
1 parent a313ba5 commit cff7caf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
save=false
package-lock=false
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ language: node_js
node_js:
- 4
- 6
- 8

cache:
directories:
Expand Down
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

## Changed

- nwb is now also tested against Node 8 now that it's the Long Term Support version.
- Reverted the Webpack settings change for `webpack.compat.enzyme` config in v0.19.0, as it only applied while the version numbers of published React packages were out of sync. The compatibility settings assume Enzyme v2 and React >= v15.5.
- `style-loader`'s new `hmr` option is set to `false` when creating builds to prevent inclusion of its HMR code.

Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export function install(
return process.nextTick(cb)
}

let npmArgs = ['install', '--silent', '--no-progress']
let npmArgs = ['install', '--silent', '--no-progress', '--no-package-lock']

if (save) {
npmArgs.push(`--save${dev ? '-dev' : ''}`)
Expand Down

0 comments on commit cff7caf

Please sign in to comment.