Skip to content

Commit 53a4311

Browse files
committed
fix: remove storybook
1 parent 51a433c commit 53a4311

File tree

8 files changed

+3
-104
lines changed

8 files changed

+3
-104
lines changed

.storybook/main.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

.storybook/preview.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

.storybook/tsconfig.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

.storybook/webpack.config.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ npm run bundle-profile:analyze
4141

4242
# Start the express server (run a production build first)
4343
npm run start
44-
45-
# Start storybook component explorer
46-
npm run storybook
47-
48-
# Build storybook component explorer as standalone app (outputs to "storybook-static" dir)
49-
npm run build:storybook
5044
```
5145

5246
## Configurations
@@ -96,7 +90,6 @@ When importing CSS from a third-party package for the first time, you may encoun
9690
* To keep our code formatting in check, we use [prettier](https://github.com/prettier/prettier)
9791
* To keep our code logic and test coverage in check, we use [jest](https://github.com/facebook/jest)
9892
* To ensure code styles remain consistent, we use [eslint](https://eslint.org/)
99-
* To provide a place to showcase custom components, we integrate with [storybook](https://storybook.js.org/)
10093

10194
## Multi environment configuration
10295
This project uses [dotenv-webpack](https://www.npmjs.com/package/dotenv-webpack) for exposing environment variables to your code. Either export them at the system level like `export MY_ENV_VAR=http://dev.myendpoint.com && npm run start:dev` or simply drop a `.env` file in the root that contains your key-value pairs like below:

package.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,12 @@
2222
"ci-checks": "npm run type-check && npm run lint && npm run test:coverage",
2323
"build:bundle-profile": "webpack --config webpack.prod.js --profile --json > stats.json",
2424
"bundle-profile:analyze": "npm run build:bundle-profile && webpack-bundle-analyzer ./stats.json",
25-
"clean": "rimraf dist",
26-
"storybook": "start-storybook -p 6006",
27-
"build:storybook": "build-storybook"
25+
"clean": "rimraf dist"
2826
},
2927
"devDependencies": {
3028
"@redhat-cloud-services/eslint-config-redhat-cloud-services": "^1.3.0",
31-
"@storybook/addon-actions": "^7.6.19",
32-
"@storybook/addon-info": "^5.3.21",
33-
"@storybook/addon-knobs": "^7.1.1",
34-
"@storybook/addon-links": "^7.6.19",
35-
"@storybook/addons": "^7.6.17",
36-
"@storybook/react": "^7.6.19",
37-
"@testing-library/jest-dom": "^5.17.0",
38-
"@testing-library/react": "^14.3.1",
29+
"@testing-library/jest-dom": "^5.16.5",
30+
"@testing-library/react": "^14.0.0",
3931
"@testing-library/user-event": "14.4.3",
4032
"@types/jest": "^29.5.3",
4133
"@types/react-router-dom": "^5.3.3",
@@ -83,7 +75,6 @@
8375
"@patternfly/react-core": "5.3.3",
8476
"@patternfly/react-icons": "5.3.2",
8577
"@patternfly/react-styles": "5.3.1",
86-
"@storybook/builder-webpack5": "^7.6.19",
8778
"react": "^18",
8879
"react-dom": "^18",
8980
"sirv-cli": "^2.0.2"

stories/Dashboard.stories.tsx

Lines changed: 0 additions & 17 deletions
This file was deleted.

stories/Support.stories.tsx

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)