Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Commit

Permalink
fix(release): update dependencies and semantic release config (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
eventualbuddha authored Jan 7, 2018
1 parent f37f865 commit e61288a
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 887 deletions.
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
sudo: false
language: node_js
cache: yarn
notifications:
email: false
node_js:
- '8'
- '6'
Expand All @@ -11,11 +9,14 @@ script:
- ./script/lint-commits
- ./script/prettier-check
- yarn test
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- export $(cat .to_export_back) &> /dev/null
- yarn run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
jobs:
include:
- stage: npm release
node_js: '8'
script:
- echo "Deploying to npm…"
- yarn add --dev semantic-release
- yarn semantic-release
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"test": "mocha",
"commitmsg": "commitlint -e $GIT_PARAMS",
"precommit": "lint-staged",
"prepublish": "yarn test",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"prepublish": "yarn test"
},
"lint-staged": {
"*.js": [
Expand All @@ -37,10 +36,11 @@
},
"homepage": "https://github.com/rollup/rollup-plugin-multi-entry#readme",
"dependencies": {
"matched": "^0.4.4"
"matched": "^1.0.2"
},
"devDependencies": {
"@commitlint/config-conventional": "^5.2.3",
"babel-core": "^6.26.0",
"babel-plugin-transform-flow-strip-types": "^6.14.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.14.0",
Expand All @@ -52,8 +52,7 @@
"mocha": "^4.1.0",
"prettier": "^1.9.2",
"prettier-check": "^2.0.0",
"rollup": "^0.49.2",
"rollup-plugin-babel": "^2.6.1",
"semantic-release": "^4.3.5"
"rollup": "^0.53.3",
"rollup-plugin-babel": "^3.0.3"
}
}
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default {
babelrc: false
})
],
external: Object.keys(pkg['dependencies']).concat('path'),
external: Object.keys(pkg['dependencies']),
output: [
{
format: 'cjs',
Expand Down
Loading

0 comments on commit e61288a

Please sign in to comment.