This repository was archived by the owner on Aug 5, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +85
-887
lines changed Expand file tree Collapse file tree 4 files changed +85
-887
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
2
language : node_js
3
3
cache : yarn
4
- notifications :
5
- email : false
6
4
node_js :
7
5
- ' 8'
8
6
- ' 6'
@@ -11,11 +9,14 @@ script:
11
9
- ./script/lint-commits
12
10
- ./script/prettier-check
13
11
- 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
19
12
branches :
20
13
except :
21
14
- /^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
Original file line number Diff line number Diff line change 11
11
"test" : " mocha" ,
12
12
"commitmsg" : " commitlint -e $GIT_PARAMS" ,
13
13
"precommit" : " lint-staged" ,
14
- "prepublish" : " yarn test" ,
15
- "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
14
+ "prepublish" : " yarn test"
16
15
},
17
16
"lint-staged" : {
18
17
"*.js" : [
37
36
},
38
37
"homepage" : " https://github.com/rollup/rollup-plugin-multi-entry#readme" ,
39
38
"dependencies" : {
40
- "matched" : " ^0.4.4 "
39
+ "matched" : " ^1.0.2 "
41
40
},
42
41
"devDependencies" : {
43
42
"@commitlint/config-conventional" : " ^5.2.3" ,
43
+ "babel-core" : " ^6.26.0" ,
44
44
"babel-plugin-transform-flow-strip-types" : " ^6.14.0" ,
45
45
"babel-preset-env" : " ^1.6.1" ,
46
46
"babel-register" : " ^6.14.0" ,
52
52
"mocha" : " ^4.1.0" ,
53
53
"prettier" : " ^1.9.2" ,
54
54
"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"
58
57
}
59
58
}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export default {
11
11
babelrc : false
12
12
} )
13
13
] ,
14
- external : Object . keys ( pkg [ 'dependencies' ] ) . concat ( 'path' ) ,
14
+ external : Object . keys ( pkg [ 'dependencies' ] ) ,
15
15
output : [
16
16
{
17
17
format : 'cjs' ,
You can’t perform that action at this time.
0 commit comments