-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathframeworks.json
More file actions
279 lines (279 loc) · 9.84 KB
/
Copy pathframeworks.json
File metadata and controls
279 lines (279 loc) · 9.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
{
"$schema": "./frameworks.schema.json",
"_comment": "Single source of truth for the 16 Handsontable examples plus the 3 synthetic blank templates. Consumed by pipeline/import.mjs (catalog generation), packages/runtime (applyHandsontableVersion), workers/api (build orchestration), and containers/* (Tier-2 images). tier 1 = client-side (Sandpack, in-browser bundler); tier 2 = SSR/meta-framework (Cloudflare Sandbox container running the real dev server). htWrappers lists the Handsontable framework wrapper packages that must be pinned in lockstep with core `handsontable`; `@handsontable/pikaday` is intentionally NEVER bumped, and upstream `pikaday` (which docs examples migrate to) is outside the rewrite rule. `synthetic: true` means the starter has no directory under examples/ — pipeline/blank-starters.mjs generates its files per bucket (DEV-2499). Key order is picker order, which is why the blank templates come first. Supported Handsontable major range: 15-19. NOTE (DEV-2521): for tier-2 frameworks `devCommand` and `port` here are artifact metadata that nothing executes — the command and port the API worker actually runs come from the DEV map in scripts/prepare-container.mjs via the generated workers/api/src/frameworks.generated.ts, and they differ (angular really serves on 4200; port 3000 is reserved by the Cloudflare Sandbox control plane). Fix dev-server flags there, not here.",
"frameworks": {
"blank": {
"tier": 1,
"synthetic": true,
"displayName": "Blank (JavaScript)",
"sandpackTemplate": "vanilla",
"sandpackEnvironment": "parcel",
"htWrappers": [],
"entry": "index.js",
"htmlEntry": "index.html",
"devCommand": null,
"buildCommand": "vite build",
"outputDir": "dist",
"port": null,
"installCommand": "pnpm install --frozen-lockfile"
},
"blank-ts": {
"tier": 1,
"synthetic": true,
"displayName": "Blank (TypeScript)",
"sandpackTemplate": "vanilla-ts",
"sandpackEnvironment": "parcel",
"htWrappers": [],
"entry": "index.ts",
"htmlEntry": "index.html",
"devCommand": null,
"buildCommand": "vite build",
"outputDir": "dist",
"port": null,
"installCommand": "pnpm install --frozen-lockfile"
},
"blank-react": {
"tier": 1,
"synthetic": true,
"displayName": "Blank (React)",
"sandpackTemplate": "react-ts",
"sandpackEnvironment": "create-react-app-typescript",
"htWrappers": ["@handsontable/react-wrapper"],
"entry": "src/index.tsx",
"htmlEntry": "index.html",
"devCommand": null,
"buildCommand": "vite build",
"outputDir": "dist",
"port": null,
"installCommand": "pnpm install --frozen-lockfile"
},
"example1": {
"tier": 1,
"displayName": "Vanilla (Vite, TS)",
"sandpackTemplate": "vanilla-ts",
"sandpackEnvironment": "parcel",
"htWrappers": [],
"entry": "index.ts",
"htmlEntry": "index.html",
"devCommand": null,
"buildCommand": "tsc && vite build",
"outputDir": "dist",
"port": null,
"installCommand": "pnpm install --frozen-lockfile"
},
"javascript": {
"tier": 1,
"displayName": "JavaScript (Vite)",
"sandpackTemplate": "vanilla",
"sandpackEnvironment": "parcel",
"htWrappers": [],
"entry": "index.js",
"htmlEntry": "index.html",
"devCommand": null,
"buildCommand": "vite build",
"outputDir": "dist",
"port": null,
"installCommand": "pnpm install --frozen-lockfile"
},
"typescript": {
"tier": 1,
"displayName": "TypeScript (Vite)",
"sandpackTemplate": "vanilla-ts",
"sandpackEnvironment": "parcel",
"htWrappers": [],
"entry": "index.ts",
"htmlEntry": "index.html",
"devCommand": null,
"buildCommand": "tsc && vite build",
"outputDir": "dist",
"port": null,
"installCommand": "pnpm install --frozen-lockfile"
},
"react": {
"tier": 1,
"displayName": "React (Vite, TS)",
"sandpackTemplate": "react-ts",
"sandpackEnvironment": "create-react-app-typescript",
"htWrappers": ["@handsontable/react-wrapper"],
"entry": "src/index.tsx",
"htmlEntry": "index.html",
"devCommand": null,
"buildCommand": "tsc -b && vite build",
"outputDir": "dist",
"port": null,
"installCommand": "pnpm install --frozen-lockfile"
},
"react-js": {
"tier": 1,
"displayName": "React (Vite, JS)",
"engine": "container",
"sandpackTemplate": "react",
"sandpackEnvironment": "create-react-app",
"htWrappers": ["@handsontable/react-wrapper"],
"entry": "src/index.jsx",
"htmlEntry": "index.html",
"devCommand": null,
"buildCommand": "vite build",
"outputDir": "dist",
"port": null,
"installCommand": "pnpm install --frozen-lockfile"
},
"ant-design": {
"tier": 1,
"displayName": "Ant Design + React",
"engine": "container",
"sandpackTemplate": "react",
"sandpackEnvironment": "create-react-app",
"htWrappers": ["@handsontable/react-wrapper"],
"entry": "src/index.jsx",
"htmlEntry": "index.html",
"devCommand": null,
"buildCommand": "vite build",
"outputDir": "dist",
"port": null,
"installCommand": "pnpm install --frozen-lockfile",
"minCoreMajor": 17
},
"mui": {
"tier": 1,
"displayName": "MUI + React",
"engine": "container",
"sandpackTemplate": "react-ts",
"sandpackEnvironment": "create-react-app-typescript",
"htWrappers": ["@handsontable/react-wrapper"],
"entry": "src/index.tsx",
"htmlEntry": "index.html",
"devCommand": null,
"buildCommand": "tsc -b && vite build",
"outputDir": "dist",
"port": null,
"installCommand": "pnpm install --frozen-lockfile",
"minCoreMajor": 17
},
"base-web": {
"tier": 1,
"displayName": "Base Web + React",
"engine": "container",
"sandpackTemplate": "react-ts",
"sandpackEnvironment": "create-react-app-typescript",
"htWrappers": ["@handsontable/react-wrapper"],
"entry": "src/index.tsx",
"htmlEntry": "index.html",
"devCommand": null,
"buildCommand": "tsc -b && vite build",
"outputDir": "dist",
"port": null,
"installCommand": "pnpm install --frozen-lockfile",
"minCoreMajor": 17
},
"fluent-ui": {
"tier": 1,
"displayName": "Fluent UI + React",
"engine": "container",
"sandpackTemplate": "react-ts",
"sandpackEnvironment": "create-react-app-typescript",
"htWrappers": ["@handsontable/react-wrapper"],
"entry": "src/index.tsx",
"htmlEntry": "index.html",
"devCommand": null,
"buildCommand": "tsc -b && vite build",
"outputDir": "dist",
"port": null,
"installCommand": "pnpm install --frozen-lockfile",
"minCoreMajor": 17
},
"vue": {
"tier": 1,
"displayName": "Vue 3 (Vite)",
"sandpackTemplate": "vue-ts",
"sandpackEnvironment": "vue-cli",
"htWrappers": ["@handsontable/vue3"],
"entry": "src/main.ts",
"htmlEntry": "index.html",
"devCommand": null,
"buildCommand": "vue-tsc --build --force && vite build",
"outputDir": "dist",
"port": null,
"installCommand": "pnpm install --frozen-lockfile"
},
"angular": {
"tier": 2,
"displayName": "Angular",
"container": "angular",
"htWrappers": ["@handsontable/angular-wrapper"],
"entry": "src/main.ts",
"htmlEntry": "src/index.html",
"devCommand": "pnpm exec ng serve --host 0.0.0.0 --port 3000",
"buildCommand": "ng build",
"outputDir": "dist",
"outputGlob": "dist/*/browser",
"port": 3000,
"installCommand": "pnpm install --frozen-lockfile",
"minCoreMajor": 16
},
"next.js": {
"tier": 2,
"displayName": "Next.js (App Router)",
"container": "next",
"htWrappers": ["@handsontable/react-wrapper"],
"entry": "app/page.tsx",
"devCommand": "next dev -p 3000 -H 0.0.0.0",
"buildCommand": "next build",
"outputDir": "out",
"staticExport": true,
"port": 3000,
"installCommand": "pnpm install --frozen-lockfile"
},
"next-shadcn.js": {
"tier": 2,
"displayName": "Next.js + shadcn/ui",
"container": "next-shadcn",
"htWrappers": ["@handsontable/react-wrapper"],
"entry": "app/page.tsx",
"devCommand": "next dev -p 3000 -H 0.0.0.0",
"buildCommand": "next build",
"outputDir": "out",
"staticExport": true,
"port": 3000,
"installCommand": "pnpm install --frozen-lockfile",
"minCoreMajor": 17
},
"astro": {
"tier": 2,
"displayName": "Astro",
"container": "astro",
"htWrappers": [],
"entry": "src/pages/index.astro",
"devCommand": "astro dev --host 0.0.0.0 --port 4321",
"buildCommand": "astro build",
"outputDir": "dist",
"port": 4321,
"installCommand": "pnpm install --frozen-lockfile"
},
"nuxt": {
"tier": 2,
"displayName": "Nuxt 3",
"container": "nuxt",
"htWrappers": ["@handsontable/vue3"],
"entry": "app.vue",
"devCommand": "nuxt dev --host 0.0.0.0 --port 3000",
"buildCommand": "nuxt generate",
"outputDir": ".output/public",
"port": 3000,
"installCommand": "pnpm install --frozen-lockfile"
},
"remix": {
"tier": 2,
"displayName": "Remix",
"container": "remix",
"htWrappers": ["@handsontable/react-wrapper"],
"entry": "app/routes/_index.tsx",
"devCommand": "remix vite:dev --host --port 5173",
"buildCommand": "remix vite:build",
"outputDir": "build/client",
"spaMode": true,
"port": 5173,
"installCommand": "pnpm install --frozen-lockfile"
}
}
}