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

Commit abbdb36

Browse files
author
noelyoo
committedApr 10, 2019
feat: remove storybook
1 parent f70b555 commit abbdb36

30 files changed

+146
-3454
lines changed
 

‎.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ functions/node_modules
1313
# production
1414
/build
1515

16-
# storybook build
17-
out9206
18-
1916
# misc
2017
.DS_Store
2118
.env.local

‎.storybook/addons.js

-3
This file was deleted.

‎.storybook/config.ts

-30
This file was deleted.

‎.storybook/storybook.css

-9
This file was deleted.

‎.storybook/webpack.config.js

-15
This file was deleted.

‎.travis.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: node_js
22
node_js:
33
# https://github.com/nodejs/LTS
4-
# - "6" # ends April 2019
54
- "8" # ends December 2019
65
# - "10" # ends April 2021
76

@@ -16,8 +15,4 @@ script:
1615
firebase use default;
1716
firebase deploy --token $FIREBASE_TOKEN --non-interactive;
1817
fi
19-
20-
after_success:
21-
- if [[ $TRAVIS_REPO_SLUG == "noelyoo/learn-scilla" && $TRAVIS_BRANCH = "master" && $TRAVIS_PULL_REQUEST == "false" ]]; then
22-
npm run deploy-storybook -- --ci;
23-
fi
18+

‎README.md

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
[![Build Status][travis-svg]][travis-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-svg]][license-url]
1+
[![Build Status][travis-svg]][travis-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-svg]][license-url] [![Gitter chat][gitter-svg]][gitter-url]
22

33
# learn-scilla
4-
[![Storybook][storybook-svg]][storybook-url] [![Gitter chat][gitter-svg]][gitter-url]
54

65
An interactive tutorial for people to learn Scilla, Zilliqa’s smart contract language, through a gamification process. This is one of the [Zilliqa Ecosystem Grant Projects](https://blog.zilliqa.com/announcing-the-second-wave-of-zilliqa-ecosystem-grant-awardees-6e03edadcc0d).
76

@@ -29,10 +28,6 @@ Open `http://localhost:3000` to view it in the browser.
2928
Runs the test watcher in an interactive mode.
3029
We use [Jest](https://jestjs.io/) for testing.
3130

32-
## UI components
33-
34-
UI components library can be found on [Storybook](https://noelyoo.github.io/learn-scilla).
35-
3631
## Contributing
3732

3833
We recommend the community help us make improvements. To report bugs please create an issue in this repository.
@@ -45,8 +40,6 @@ This project is open source software licensed as [GPL-3.0](https://github.com/no
4540

4641
[travis-svg]: https://travis-ci.com/noelyoo/learn-scilla.svg?branch=master
4742
[travis-url]: https://travis-ci.com/noelyoo/learn-scilla
48-
[storybook-svg]: https://github.com/storybooks/brand/blob/master/badge/badge-storybook.svg
49-
[storybook-url]: https://noelyoo.github.io/learn-scilla/
5043
[deps-svg]: https://david-dm.org/noelyoo/learn-scilla/status.svg
5144
[deps-url]: https://david-dm.org/noelyoo/learn-scilla
5245
[dev-deps-svg]: https://david-dm.org/noelyoo/learn-scilla/dev-status.svg

‎package.json

+1-12
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@
2727
"stylelint": "stylelint ./src/**/*.css --fix",
2828
"format": "prettier --write '**/*.{ts,tsx,js}' --config .prettierrc",
2929
"ci": "yarn tslint && yarn stylelint && yarn format && yarn test:ci",
30-
"deploy": "firebase deploy",
31-
"storybook": "start-storybook -p 9009 -s public",
32-
"build-storybook": "build-storybook -s public",
33-
"deploy-storybook": "storybook-to-ghpages"
30+
"deploy": "firebase deploy"
3431
},
3532
"dependencies": {
3633
"firebase": "^5.5.9",
@@ -53,12 +50,6 @@
5350
},
5451
"devDependencies": {
5552
"@babel/core": "^7.2.0",
56-
"@storybook/addon-actions": "^4.1.0-alpha.11",
57-
"@storybook/addon-links": "^4.1.0-alpha.11",
58-
"@storybook/addon-options": "^4.1.3",
59-
"@storybook/addons": "^4.1.0-alpha.11",
60-
"@storybook/react": "^4.1.0-alpha.11",
61-
"@storybook/storybook-deployer": "^2.8.1",
6253
"@types/history": "^4.7.2",
6354
"@types/jest": "^24.0.11",
6455
"@types/node": "^11.13.2",
@@ -69,7 +60,6 @@
6960
"@types/react-router-dom": "^4.3.1",
7061
"@types/react-test-renderer": "^16.8.1",
7162
"@types/reactstrap": "^6.4.2",
72-
"@types/storybook__react": "^4.0.0",
7363
"awesome-typescript-loader": "^5.2.1",
7464
"babel-loader": "^8.0.5",
7565
"bootstrap": "^4.3.1",
@@ -79,7 +69,6 @@
7969
"pre-push": "^0.1.1",
8070
"prettier": "^1.16.4",
8171
"react-docgen-typescript-webpack-plugin": "^1.1.0",
82-
"react-storybook-addon-chapters": "^3.0.3",
8372
"react-test-renderer": "^16.8.4",
8473
"redux-logger": "^3.0.6",
8574
"stylelint": "^9.10.1",

‎src/assets/colors/colors.stories.tsx

-94
This file was deleted.

‎src/assets/fonts/typography.stories.tsx

-52
This file was deleted.

‎src/assets/icons.stories.tsx

-49
This file was deleted.

‎src/components/account-dropdown/component.stories.tsx

-52
This file was deleted.

‎src/components/auth-modal/component.stories.tsx

-43
This file was deleted.

‎src/components/button/component.stories.tsx

-168
This file was deleted.

‎src/components/chapter-complete-card/component.stories.tsx

-17
This file was deleted.

‎src/components/chapter-list/component.stories.tsx

-36
This file was deleted.

‎src/components/cheat-sheet-modal/component.stories.tsx

-16
This file was deleted.

‎src/components/editor-control-panel/component.stories.tsx

-46
This file was deleted.

‎src/components/editor-diff-viewer/component.stories.tsx

-35
This file was deleted.

‎src/components/editor-input/component.stories.tsx

-23
This file was deleted.

‎src/components/editor/component.stories.tsx

-17
This file was deleted.

‎src/components/footer/component.stories.tsx

-6
This file was deleted.

‎src/components/i18n-dropdown/component.stories.tsx

-15
This file was deleted.

‎src/components/instruction-viewer/component.stories.tsx

-28
This file was deleted.

‎src/components/lesson-complete-modal/component.stories.tsx

-11
This file was deleted.

‎src/components/lesson-navigator/component.stories.tsx

-19
This file was deleted.

‎src/components/lesson-progressbar/component.stories.tsx

-19
This file was deleted.

‎src/components/spinner/component.stories.tsx

-6
This file was deleted.

‎tsconfig-storybook.json

-11
This file was deleted.

‎yarn.lock

+143-2,605
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
This repository has been archived.