Skip to content

Commit c03869b

Browse files
authored
Remove Storybook + unused components (#4517)
1 parent 243a07e commit c03869b

33 files changed

+10
-1801
lines changed

knip.json

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,25 @@
11
{
22
"$schema": "https://unpkg.com/knip@latest/schema.json",
3-
"entry": ["src/extension.ts", "src/activate/index.ts", "webview-ui/src/index.tsx"],
4-
"project": ["src/**/*.ts", "webview-ui/src/**/*.{ts,tsx}"],
53
"ignore": [
6-
"**/__mocks__/**",
74
"**/__tests__/**",
8-
"**/test/**",
9-
"**/*.test.ts",
10-
"**/*.test.tsx",
11-
"**/stories/**",
12-
"bin/**",
135
"apps/vscode-e2e/**",
14-
"packages/evals/**",
15-
"src/extension/**",
6+
"src/extension/api.ts",
167
"src/activate/**",
17-
"src/workers/**",
18-
"src/schemas/ipc.ts",
8+
"src/workers/countTokens.ts",
199
"src/extension.ts",
20-
"scripts/**",
21-
"vitest.config.ts"
10+
"scripts/**"
2211
],
2312
"workspaces": {
13+
"src": {
14+
"entry": ["extension.ts"],
15+
"project": ["**/*.ts"]
16+
},
2417
"webview-ui": {
2518
"entry": ["src/index.tsx"],
2619
"project": ["src/**/*.{ts,tsx}"]
20+
},
21+
"packages/{build,cloud,evals,ipc,telemetry,types}": {
22+
"project": ["src/**/*.ts"]
2723
}
2824
}
2925
}

pnpm-lock.yaml

Lines changed: 0 additions & 626 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/.storybook/main.ts

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

webview-ui/.storybook/preview.ts

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

webview-ui/.storybook/vscode.css

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

webview-ui/package.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
"build": "tsc -b && vite build",
1313
"build:nightly": "tsc -b && vite build --mode nightly",
1414
"preview": "vite preview",
15-
"storybook": "storybook dev -p 6006",
16-
"build-storybook": "storybook build",
1715
"clean": "rimraf ../src/webview-ui/build ../apps/vscode-nightly/build/webview-ui tsconfig.tsbuildinfo .turbo"
1816
},
1917
"dependencies": {
@@ -80,10 +78,6 @@
8078
"@jest/globals": "^29.7.0",
8179
"@roo-code/config-eslint": "workspace:^",
8280
"@roo-code/config-typescript": "workspace:^",
83-
"@storybook/addon-essentials": "^8.5.6",
84-
"@storybook/blocks": "^8.5.6",
85-
"@storybook/react": "^9.0.0",
86-
"@storybook/react-vite": "^9.0.0",
8781
"@testing-library/jest-dom": "^6.6.3",
8882
"@testing-library/react": "^16.2.0",
8983
"@testing-library/user-event": "^14.6.1",
@@ -99,8 +93,6 @@
9993
"jest": "^29.7.0",
10094
"jest-environment-jsdom": "^29.7.0",
10195
"jest-simple-dot-reporter": "^1.0.5",
102-
"storybook": "^9.0.0",
103-
"storybook-dark-mode": "^4.0.2",
10496
"ts-jest": "^29.2.5",
10597
"typescript": "5.8.3",
10698
"vite": "6.3.5"

webview-ui/src/components/ui/chat/Chat.tsx

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

webview-ui/src/components/ui/chat/ChatInput.tsx

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

webview-ui/src/components/ui/chat/ChatInputProvider.ts

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

0 commit comments

Comments
 (0)