Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2 #179

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .babelrc

This file was deleted.

13 changes: 0 additions & 13 deletions .eslintrc

This file was deleted.

6 changes: 0 additions & 6 deletions .storybook/addons.js

This file was deleted.

6 changes: 0 additions & 6 deletions .storybook/app.scss

This file was deleted.

22 changes: 0 additions & 22 deletions .storybook/config.js

This file was deleted.

1 change: 0 additions & 1 deletion .storybook/preview-head.html

This file was deleted.

34 changes: 0 additions & 34 deletions .storybook/webpack.config.js

This file was deleted.

34 changes: 15 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,26 @@
language: node_js
node_js:
- "8"
- "12"
cache: yarn

before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
env:
global:
- GIT_NAME="uikenshoo"
- GIT_EMAIL="ui@kenshoo.com"

script:
- yarn build:production
- yarn test
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
- yarn build

before_deploy:
- if [ "$BRANCH" == "master" ]; then
git checkout master;
fi;

after_success:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
- yarn build-storybook

deploy:
- provider: script
script: yarn semantic-release
skip-cleanup: true
on:
branch: master
- provider: pages
local-dir: "./storybook-static"
script: if [ "$GH_TOKEN" != "false" ]; then npx auto shipit; fi;
skip-cleanup: true
github-token: $GH_TOKEN
keep-history: true
on:
branch: master
all_branches: true
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: ["@babel/preset-env", "@babel/preset-react"]
};
8 changes: 0 additions & 8 deletions config/enzyme/enzyme_setup.js

This file was deleted.

5 changes: 0 additions & 5 deletions config/enzyme/tempPolyfills.js

This file was deleted.

1 change: 0 additions & 1 deletion config/jest/fileMock.js

This file was deleted.

32 changes: 0 additions & 32 deletions config/jest/jest.config.json

This file was deleted.

48 changes: 0 additions & 48 deletions config/webpack/loaders.js

This file was deleted.

16 changes: 0 additions & 16 deletions config/webpack/plugins.js

This file was deleted.

27 changes: 0 additions & 27 deletions config/webpack/webpack.common.js

This file was deleted.

9 changes: 0 additions & 9 deletions config/webpack/webpack.dev.js

This file was deleted.

8 changes: 0 additions & 8 deletions config/webpack/webpack.prod.js

This file was deleted.

1 change: 0 additions & 1 deletion index.js

This file was deleted.

8 changes: 8 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"npmClient": "yarn",
"useWorkspaces": true,
"packages": [
"packages/*"
],
"version": "0.0.0"
}
Loading