Skip to content

Commit 86fd7bb

Browse files
committed
reduce bundle size
1 parent 5e5d447 commit 86fd7bb

File tree

5 files changed

+117
-179
lines changed

5 files changed

+117
-179
lines changed

.changeset/small-pants-lie.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"htmldocs-starter": patch
3+
"htmldocs": patch
4+
"@htmldocs/examples": patch
5+
---
6+
7+
reduce bundle size

apps/examples/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
"react-icons": "^5.3.0"
2020
},
2121
"devDependencies": {
22+
"tailwindcss": "^3.3.2",
23+
"@tailwindcss/typography": "0.5.9",
2224
"@types/markdown-it": "^14.1.2",
2325
"@types/node": "^22.8.1",
2426
"@types/react": "^18.2.61",

packages/htmldocs/package.json

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,54 +21,31 @@
2121
"@babel/preset-typescript": "^7.24.6",
2222
"@htmldocs/render": "workspace:*",
2323
"@phosphor-icons/react": "^2.1.5",
24-
"@radix-ui/react-collapsible": "^1.0.3",
25-
"@radix-ui/react-dialog": "^1.1.1",
26-
"@radix-ui/react-dropdown-menu": "^2.0.6",
27-
"@radix-ui/react-icons": "^1.3.0",
28-
"@radix-ui/react-label": "^2.1.0",
29-
"@radix-ui/react-scroll-area": "^1.0.5",
30-
"@radix-ui/react-slot": "^1.0.2",
31-
"@radix-ui/react-switch": "^1.1.0",
32-
"@radix-ui/react-tabs": "^1.0.4",
33-
"@radix-ui/react-toggle-group": "^1.0.4",
34-
"@radix-ui/react-tooltip": "^1.0.7",
3524
"@tailwindcss/typography": "0.5.9",
3625
"adm-zip": "^0.5.14",
37-
"autoprefixer": "^10.4.19",
3826
"chalk": "^4.1.2",
3927
"chokidar": "^3.6.0",
40-
"class-variance-authority": "^0.7.0",
41-
"clsx": "^2.1.1",
4228
"commander": "^12.1.0",
43-
"cva": "1.0.0-beta.1",
4429
"debounce": "^2.0.0",
4530
"dotenv": "^16.4.7",
4631
"esbuild": "^0.21.3",
4732
"esbuild-plugin-tsc": "^0.4.0",
4833
"esbuild-style-plugin": "^1.6.3",
4934
"form-data": "^4.0.0",
50-
"framer-motion": "^11.2.6",
5135
"fs-extra": "^11.2.0",
5236
"inquirer": "^11.0.2",
5337
"lodash": "^4.17.21",
5438
"log-symbols": "^4.1.0",
5539
"mime-types": "^2.1.35",
5640
"next": "14.2.3",
57-
"next-themes": "^0.3.0",
5841
"node-fetch": "^2.7.0",
5942
"onetime": "^7.0.0",
6043
"open": "^8.4.2",
6144
"ora": "^5.4.1",
6245
"pino": "^9.3.2",
6346
"playwright": "^1.44.1",
64-
"postcss": "^8.4.38",
65-
"react": "^18.2.0",
6647
"react-docgen": "^7.0.3",
67-
"react-dom": "^18.2.0",
6848
"socket.io": "^4.7.5",
69-
"socket.io-client": "^4.7.5",
70-
"sonner": "^1.4.41",
71-
"source-map-js": "^1.2.0",
7249
"tailwind-merge": "^2.3.0",
7350
"tailwindcss": "^3.4.3",
7451
"tailwindcss-animate": "^1.0.7",
@@ -77,13 +54,35 @@
7754
"zod": "^3.23.8"
7855
},
7956
"devDependencies": {
57+
"@radix-ui/react-collapsible": "^1.0.3",
58+
"@radix-ui/react-dialog": "^1.1.1",
59+
"@radix-ui/react-dropdown-menu": "^2.0.6",
60+
"@radix-ui/react-icons": "^1.3.0",
61+
"@radix-ui/react-label": "^2.1.0",
62+
"@radix-ui/react-scroll-area": "^1.0.5",
63+
"@radix-ui/react-slot": "^1.0.2",
64+
"@radix-ui/react-switch": "^1.0.0",
65+
"@radix-ui/react-tabs": "^1.0.4",
66+
"@radix-ui/react-toggle-group": "^1.0.4",
67+
"@radix-ui/react-tooltip": "^1.0.7",
8068
"@swc/core": "^1.5.7",
8169
"@types/babel__core": "^7.20.5",
8270
"@types/json-schema": "^7.0.15",
8371
"@types/mime-types": "^2.1.4",
8472
"@types/node": "^20",
8573
"@types/react": "^18.2.61",
8674
"@types/react-dom": "^18.2.19",
75+
"autoprefixer": "^10.4.19",
76+
"class-variance-authority": "^0.7.0",
77+
"clsx": "^2.1.1",
78+
"framer-motion": "^11.2.6",
79+
"next-themes": "^0.3.0",
80+
"postcss": "^8.4.38",
81+
"react": "^18.2.0",
82+
"react-dom": "^18.2.0",
83+
"socket.io-client": "^4.7.5",
84+
"sonner": "^1.4.41",
85+
"source-map-js": "^1.2.0",
8786
"tsup": "^8.0.2",
8887
"typescript": "^5"
8988
}

packages/htmldocs/public/template/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
"react-icons": "^5.3.0"
2020
},
2121
"devDependencies": {
22+
"tailwindcss": "^3.3.2",
23+
"@tailwindcss/typography": "0.5.9",
2224
"@types/markdown-it": "^14.1.2",
2325
"@types/node": "^22.8.1",
2426
"@types/react": "^18.2.61",

0 commit comments

Comments
 (0)