Skip to content

Commit 8d8a615

Browse files
Remove Storybook & Chromatic (#6913)
1 parent 900e7c4 commit 8d8a615

34 files changed

+239
-5636
lines changed

.devcontainer/devcontainer.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@
5959
"5432": {
6060
"label": "db"
6161
},
62-
"6006": {
63-
"label": "storybook",
64-
"onAutoForward": "ignore"
65-
},
6662
"6379": {
6763
"label": "redis"
6864
},

.github/workflows/chromatic.yaml

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

.github/workflows/test_client.yaml

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -55,40 +55,3 @@ jobs:
5555
- name: Test
5656
working-directory: ./clients
5757
run: pnpm test
58-
59-
build_storybook:
60-
name: "Client: Storybook 🎨"
61-
timeout-minutes: 15
62-
runs-on: ubuntu-latest
63-
64-
env:
65-
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
66-
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
67-
VERCEL_ENV: "testing"
68-
69-
steps:
70-
- name: Check out code
71-
uses: actions/checkout@v5
72-
73-
- uses: pnpm/action-setup@v4
74-
with:
75-
version: 10.13.1
76-
77-
- name: Setup Node.js environment
78-
uses: actions/setup-node@v5
79-
with:
80-
node-version: v22
81-
cache: "pnpm"
82-
cache-dependency-path: "clients/pnpm-lock.yaml"
83-
84-
- name: Install dependencies
85-
working-directory: ./clients
86-
run: pnpm install
87-
88-
- name: Build SDK
89-
working-directory: ./clients
90-
run: pnpm turbo run build --filter=@polar-sh/*
91-
92-
- name: Build
93-
working-directory: ./clients/apps/web
94-
run: pnpm build-storybook

clients/apps/web/.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ yarn-error.log*
3636
*.tsbuildinfo
3737
next-env.d.ts
3838

39-
# storybook
40-
storybook-static
4139

4240
# Sentry Auth Token
4341
.sentryclirc

clients/apps/web/.storybook/geist-mono.mock.ts

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

clients/apps/web/.storybook/geist-sans.mock.ts

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

clients/apps/web/.storybook/main.ts

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

clients/apps/web/.storybook/preview.tsx

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

clients/apps/web/package.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
"build": "NODE_OPTIONS=--max-old-space-size=8192 next build",
88
"start": "next start",
99
"lint": "next lint",
10-
"storybook": "storybook dev -p 6006 --no-open",
11-
"build-storybook": "storybook build",
12-
"chromatic": "chromatic --exit-zero-on-changes --exit-once-uploaded",
1310
"test": "DOTENV_CONFIG_PATH=.env.test jest",
1411
"typecheck": "tsc --noEmit",
1512
"analyze": "NODE_OPTIONS=--max-old-space-size=8192 ANALYZE=true next build"
@@ -91,14 +88,6 @@
9188
"devDependencies": {
9289
"@jest/globals": "^29.7.0",
9390
"@next/bundle-analyzer": "^14.2.32",
94-
"@storybook/addon-essentials": "^8.6.14",
95-
"@storybook/addon-interactions": "^8.6.14",
96-
"@storybook/addon-links": "^8.6.14",
97-
"@storybook/blocks": "^8.6.14",
98-
"@storybook/cli": "^8.6.14",
99-
"@storybook/nextjs": "^8.6.14",
100-
"@storybook/react": "^8.6.14",
101-
"@storybook/test": "^8.6.14",
10291
"@testing-library/jest-dom": "^6.8.0",
10392
"@testing-library/react": "^16.3.0",
10493
"@types/big.js": "^6.2.2",
@@ -130,8 +119,6 @@
130119
"react-test-renderer": "^18.3.1",
131120
"remark": "^15.0.1",
132121
"remark-mdx": "^3.1.1",
133-
"storybook": "^8.6.14",
134-
"storybook-addon-state": "^1.0.3",
135122
"tailwindcss": "^3.4.17",
136123
"tailwindcss-animate": "^1.0.7",
137124
"ts-jest": "^29.4.3",

0 commit comments

Comments
 (0)