Skip to content

Commit 9b48206

Browse files
authored
Attempt release (#8)
* Update CHANGELOG.md [skip ci] * Update CHANGELOG.md [skip ci] * attempt empty release
1 parent 009df2e commit 9b48206

File tree

7 files changed

+699
-34
lines changed

7 files changed

+699
-34
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.idea
22
.vscode
3+
.env
34
npm-debug.log
45
yarn-error.log
56
node_modules

.travis.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ script:
88
- yarn prettier
99
- yarn test
1010
- yarn build
11-
- cd ./packages/docs
12-
- yarn install
1311
- if [ "$BRANCH" == "master" ];
1412
then
15-
yarn chromatic --auto-accept-changes;
13+
yarn workspace @kenshooui/react-tree-docs chromatic --auto-accept-changes;
1614
elif [[ $TRAVIS_EVENT_TYPE != 'pull_request' || $TRAVIS_PULL_REQUEST_SLUG != $TRAVIS_REPO_SLUG ]];
1715
then
18-
yarn chromatic;
19-
fi
16+
yarn workspace @kenshooui/react-tree-docs chromatic;
17+
fi
18+
19+
deploy:
20+
- provider: script
21+
script: yarn workspace @kenshooui/react-tree release
22+
skip-cleanup: true

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# v1.0.1 (Fri Feb 21 2020)
2+
3+
#### 🐛 Bug Fix
4+
5+
- refine pipeline to run prettier and tests [#7](https://github.com/kenshoo/react-tree/pull/7) ([@liorheber](https://github.com/liorheber))
6+
- add basic jest support [#6](https://github.com/kenshoo/react-tree/pull/6) ([@liorheber](https://github.com/liorheber))
7+
- attempt naive chromatic integration [#5](https://github.com/kenshoo/react-tree/pull/5) ([@liorheber](https://github.com/liorheber))
8+
- add Chromatic configuration [#4](https://github.com/kenshoo/react-tree/pull/4) ([@liorheber](https://github.com/liorheber))
9+
- Add initial travis yml file [#3](https://github.com/kenshoo/react-tree/pull/3) ([@liorheber](https://github.com/liorheber))
10+
- add prettier commands [#2](https://github.com/kenshoo/react-tree/pull/2) ([@liorheber](https://github.com/liorheber))
11+
- add storybook to project [#1](https://github.com/kenshoo/react-tree/pull/1) ([@liorheber](https://github.com/liorheber))
12+
13+
#### ⚠️ Pushed to master
14+
15+
- Create LICENSE ([@liorheber](https://github.com/liorheber))
16+
17+
#### Authors: 1
18+
19+
- Lior Heber ([@liorheber](https://github.com/liorheber))

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@babel/preset-env": "^7.8.4",
1515
"@babel/preset-react": "^7.8.3",
1616
"@preconstruct/cli": "^1.1.7",
17+
"auto": "^9.10.7",
1718
"enzyme": "^3.11.0",
1819
"enzyme-adapter-react-16": "^1.15.2",
1920
"enzyme-to-json": "^3.4.4",
@@ -28,15 +29,16 @@
2829
]
2930
},
3031
"jest": {
31-
"moduleDirectories": ["node_modules"],
32+
"moduleDirectories": [
33+
"node_modules"
34+
],
3235
"setupFiles": [
3336
"./enzyme.config.js"
3437
]
3538
},
3639
"scripts": {
3740
"postinstall": "preconstruct dev",
3841
"build": "preconstruct build",
39-
"release": "preconstruct build",
4042
"test": "jest",
4143
"prettier": "prettier --check ./packages/**/*.js --ignore-path .gitignore",
4244
"prettier:fix": "prettier --check ./packages/**/*.js --ignore-path .gitignore --write"

packages/core/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# v1.0.1 (Fri Feb 21 2020)
2+
3+
#### 🐛 Bug Fix
4+
5+
- refine pipeline to run prettier and tests [#7](https://github.com/kenshoo/react-tree/pull/7) ([@liorheber](https://github.com/liorheber))
6+
- add basic jest support [#6](https://github.com/kenshoo/react-tree/pull/6) ([@liorheber](https://github.com/liorheber))
7+
- attempt naive chromatic integration [#5](https://github.com/kenshoo/react-tree/pull/5) ([@liorheber](https://github.com/liorheber))
8+
- add Chromatic configuration [#4](https://github.com/kenshoo/react-tree/pull/4) ([@liorheber](https://github.com/liorheber))
9+
- Add initial travis yml file [#3](https://github.com/kenshoo/react-tree/pull/3) ([@liorheber](https://github.com/liorheber))
10+
- add prettier commands [#2](https://github.com/kenshoo/react-tree/pull/2) ([@liorheber](https://github.com/liorheber))
11+
- add storybook to project [#1](https://github.com/kenshoo/react-tree/pull/1) ([@liorheber](https://github.com/liorheber))
12+
13+
#### ⚠️ Pushed to master
14+
15+
- Create LICENSE ([@liorheber](https://github.com/liorheber))
16+
17+
#### Authors: 1
18+
19+
- Lior Heber ([@liorheber](https://github.com/liorheber))

packages/core/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,8 @@
1111
},
1212
"devDependencies": {
1313
"react": "^16.12.0"
14+
},
15+
"scripts": {
16+
"release": "auto shipit"
1417
}
1518
}

0 commit comments

Comments
 (0)