Skip to content

Commit ab875c3

Browse files
committed
refactor: remove Storybook UI components and related scripts
- Updated `extract_template_body` function to simplify closure definition. - Removed Storybook commands from `scripts.md`. - Changed status from planned to in-progress in the removal spec for Storybook UI components. - Updated `turbo.json` to remove Storybook configuration and outputs.
1 parent 0da8d8d commit ab875c3

File tree

254 files changed

+31
-64281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+31
-64281
lines changed

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ dev-web:
5252
dev-desktop:
5353
pnpm dev:desktop
5454

55-
dev-storybook:
56-
turbo run storybook --filter=@leanspec/ui-components
57-
5855
# Build & Test
5956
build:
6057
pnpm build

packages/ui-components/.storybook/main.ts

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

packages/ui-components/.storybook/preview.ts

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

packages/ui-components/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,6 @@ pnpm install
235235
# Build the library
236236
pnpm build
237237

238-
# Run Storybook
239-
pnpm storybook
240-
241238
# Run tests
242239
pnpm test
243240
```

packages/ui-components/package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@
2828
"build:types": "tsc --emitDeclarationOnly --outDir dist",
2929
"typecheck": "tsc --noEmit",
3030
"test": "vitest run",
31-
"test:watch": "vitest",
32-
"storybook": "storybook dev -p 6006",
33-
"build-storybook": "storybook build"
31+
"test:watch": "vitest"
3432
},
3533
"keywords": [
3634
"leanspec",
@@ -74,12 +72,6 @@
7472
"tailwind-merge": "^3.4.0"
7573
},
7674
"devDependencies": {
77-
"@storybook/addon-essentials": "^8.6.14",
78-
"@storybook/addon-interactions": "^8.6.14",
79-
"@storybook/addon-links": "^8.6.15",
80-
"@storybook/react": "^8.6.15",
81-
"@storybook/react-vite": "^8.6.15",
82-
"@storybook/test": "^8.6.15",
8375
"@tailwindcss/typography": "^0.5.19",
8476
"@types/node": "^20.19.27",
8577
"@types/react": "^19.2.7",
@@ -89,7 +81,6 @@
8981
"postcss": "^8.5.6",
9082
"react": "19.2.0",
9183
"react-dom": "19.2.0",
92-
"storybook": "^8.6.15",
9384
"tailwindcss": "^3.4.19",
9485
"typescript": "^5.9.3",
9586
"vite": "^6.4.1",

packages/ui-components/stories/BackToTop.stories.tsx

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

packages/ui-components/stories/EmptyState.stories.tsx

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

packages/ui-components/stories/FilterSelect.stories.tsx

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

packages/ui-components/stories/LoadingSkeletons.stories.tsx

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

0 commit comments

Comments
 (0)