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

Commit e61288a

Browse files
fix(release): update dependencies and semantic release config (#34)
1 parent f37f865 commit e61288a

File tree

4 files changed

+85
-887
lines changed

4 files changed

+85
-887
lines changed

.travis.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
sudo: false
22
language: node_js
33
cache: yarn
4-
notifications:
5-
email: false
64
node_js:
75
- '8'
86
- '6'
@@ -11,11 +9,14 @@ script:
119
- ./script/lint-commits
1210
- ./script/prettier-check
1311
- yarn test
14-
after_success:
15-
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
16-
- python travis_after_all.py
17-
- export $(cat .to_export_back) &> /dev/null
18-
- yarn run semantic-release
1912
branches:
2013
except:
2114
- /^v\d+\.\d+\.\d+$/
15+
jobs:
16+
include:
17+
- stage: npm release
18+
node_js: '8'
19+
script:
20+
- echo "Deploying to npm…"
21+
- yarn add --dev semantic-release
22+
- yarn semantic-release

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
"test": "mocha",
1212
"commitmsg": "commitlint -e $GIT_PARAMS",
1313
"precommit": "lint-staged",
14-
"prepublish": "yarn test",
15-
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
14+
"prepublish": "yarn test"
1615
},
1716
"lint-staged": {
1817
"*.js": [
@@ -37,10 +36,11 @@
3736
},
3837
"homepage": "https://github.com/rollup/rollup-plugin-multi-entry#readme",
3938
"dependencies": {
40-
"matched": "^0.4.4"
39+
"matched": "^1.0.2"
4140
},
4241
"devDependencies": {
4342
"@commitlint/config-conventional": "^5.2.3",
43+
"babel-core": "^6.26.0",
4444
"babel-plugin-transform-flow-strip-types": "^6.14.0",
4545
"babel-preset-env": "^1.6.1",
4646
"babel-register": "^6.14.0",
@@ -52,8 +52,7 @@
5252
"mocha": "^4.1.0",
5353
"prettier": "^1.9.2",
5454
"prettier-check": "^2.0.0",
55-
"rollup": "^0.49.2",
56-
"rollup-plugin-babel": "^2.6.1",
57-
"semantic-release": "^4.3.5"
55+
"rollup": "^0.53.3",
56+
"rollup-plugin-babel": "^3.0.3"
5857
}
5958
}

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default {
1111
babelrc: false
1212
})
1313
],
14-
external: Object.keys(pkg['dependencies']).concat('path'),
14+
external: Object.keys(pkg['dependencies']),
1515
output: [
1616
{
1717
format: 'cjs',

0 commit comments

Comments
 (0)