Skip to content

Commit

Permalink
build(npm): Remove package-lock.json/yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Aug 27, 2017
1 parent 76fed52 commit 5cc1f87
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9,368 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,11 @@ $RECYCLE.BIN/

# End of https://www.gitignore.io/api/macos,windows,linux,node

yarn.lock
package-lock.json

/preset.*
/release-rules.*
/lib
/types.*
/aliases.*
/aliases.*
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
16 changes: 0 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ node_js:
- 8
- 6
- 4
cache:
directories:
- node_modules
branches:
only:
- master
Expand All @@ -14,28 +11,15 @@ git:
depth: 999
before_install:
- if [[ `npm -v` < 5* ]]; then npm install -g npm@5; fi
- npm install -g greenkeeper-lockfile@1
before_script:
- npm prune
- greenkeeper-lockfile-update
script:
- npm run test
after_script:
- greenkeeper-lockfile-upload
env:
- BUILD_LEADER_ID=4
jobs:
include:
- stage: release
node_js: 8
before_install:
- npm install -g greenkeeper-lockfile@1
before_script:
- npm prune
- greenkeeper-lockfile-update
script: npm run test
after_script:
- greenkeeper-lockfile-upload
after_success:
- if [ -n "${CODECOV_TOKEN:-}" ]; then npm run codecov; fi
- npm run semantic-release
1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--install.no-lockfile true
Loading

0 comments on commit 5cc1f87

Please sign in to comment.