@tscircuit/cli 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/.prettierrc +1 -0
  2. package/README.md +50 -0
  3. package/build-cli.ts +14 -0
  4. package/bun.lockb +0 -0
  5. package/cli.ts +12 -0
  6. package/dev-server-api/README.md +3 -0
  7. package/dev-server-api/bun.lockb +0 -0
  8. package/dev-server-api/edgespec.config.ts +4 -0
  9. package/dev-server-api/index.ts +1 -0
  10. package/dev-server-api/package-lock.json +1201 -0
  11. package/dev-server-api/package.json +24 -0
  12. package/dev-server-api/routes/api/dev_package_examples/create.ts +43 -0
  13. package/dev-server-api/routes/api/dev_package_examples/get.ts +37 -0
  14. package/dev-server-api/routes/api/dev_package_examples/list.ts +29 -0
  15. package/dev-server-api/routes/api/dev_package_examples/update.ts +31 -0
  16. package/dev-server-api/routes/api/health.ts +11 -0
  17. package/dev-server-api/src/db/create-schema.ts +14 -0
  18. package/dev-server-api/src/db/get-db.ts +78 -0
  19. package/dev-server-api/src/middlewares/with-db.ts +14 -0
  20. package/dev-server-api/src/middlewares/with-error-response.ts +24 -0
  21. package/dev-server-api/src/with-edge-spec.ts +8 -0
  22. package/dev-server-api/tsconfig.json +28 -0
  23. package/dev-server-frontend/.eslintrc.cjs +20 -0
  24. package/dev-server-frontend/README.md +3 -0
  25. package/dev-server-frontend/bun.lockb +0 -0
  26. package/dev-server-frontend/components.json +17 -0
  27. package/dev-server-frontend/index.html +13 -0
  28. package/dev-server-frontend/package.json +62 -0
  29. package/dev-server-frontend/postcss.config.js +6 -0
  30. package/dev-server-frontend/src/App.tsx +22 -0
  31. package/dev-server-frontend/src/ExampleContentView.tsx +60 -0
  32. package/dev-server-frontend/src/Header.tsx +53 -0
  33. package/dev-server-frontend/src/HeaderMenu.tsx +188 -0
  34. package/dev-server-frontend/src/components/command-k.tsx +62 -0
  35. package/dev-server-frontend/src/components/global-context-providers.tsx +11 -0
  36. package/dev-server-frontend/src/components/select-example-search.tsx +137 -0
  37. package/dev-server-frontend/src/components/ui/alert-dialog.tsx +139 -0
  38. package/dev-server-frontend/src/components/ui/alert.tsx +59 -0
  39. package/dev-server-frontend/src/components/ui/breadcrumb.tsx +115 -0
  40. package/dev-server-frontend/src/components/ui/button.tsx +57 -0
  41. package/dev-server-frontend/src/components/ui/card.tsx +76 -0
  42. package/dev-server-frontend/src/components/ui/command.tsx +153 -0
  43. package/dev-server-frontend/src/components/ui/context-menu.tsx +202 -0
  44. package/dev-server-frontend/src/components/ui/dialog.tsx +120 -0
  45. package/dev-server-frontend/src/components/ui/menubar.tsx +238 -0
  46. package/dev-server-frontend/src/components/ui/navigation-menu.tsx +128 -0
  47. package/dev-server-frontend/src/components/ui/popover.tsx +31 -0
  48. package/dev-server-frontend/src/components/ui/select.tsx +162 -0
  49. package/dev-server-frontend/src/components/ui/tabs.tsx +53 -0
  50. package/dev-server-frontend/src/components/ui/toggle-group.tsx +59 -0
  51. package/dev-server-frontend/src/components/ui/toggle.tsx +43 -0
  52. package/dev-server-frontend/src/components/ui/tooltip.tsx +28 -0
  53. package/dev-server-frontend/src/hooks/toast-if-api-not-connected.ts +23 -0
  54. package/dev-server-frontend/src/hooks/use-global-store.ts +42 -0
  55. package/dev-server-frontend/src/index.css +76 -0
  56. package/dev-server-frontend/src/lib/utils.ts +6 -0
  57. package/dev-server-frontend/src/main.tsx +13 -0
  58. package/dev-server-frontend/src/vite-env.d.ts +1 -0
  59. package/dev-server-frontend/tailwind.config.js +77 -0
  60. package/dev-server-frontend/tsconfig.json +26 -0
  61. package/dev-server-frontend/tsconfig.node.json +13 -0
  62. package/dev-server-frontend/vite.config.ts +23 -0
  63. package/dist/cli.js +1326 -0
  64. package/lib/cmd-fns/auth-login.ts +59 -0
  65. package/lib/cmd-fns/auth-logout.ts +3 -0
  66. package/lib/cmd-fns/auth-sessions-create.ts +3 -0
  67. package/lib/cmd-fns/auth-sessions-get.ts +3 -0
  68. package/lib/cmd-fns/auth-sessions-list.ts +5 -0
  69. package/lib/cmd-fns/config-print-config.ts +6 -0
  70. package/lib/cmd-fns/config-reveal-location.ts +5 -0
  71. package/lib/cmd-fns/config-set-log-requests.ts +7 -0
  72. package/lib/cmd-fns/config-set-registry.ts +7 -0
  73. package/lib/cmd-fns/config-set-session.ts +7 -0
  74. package/lib/cmd-fns/dev.ts +217 -0
  75. package/lib/cmd-fns/index.ts +27 -0
  76. package/lib/cmd-fns/package-examples-create.ts +33 -0
  77. package/lib/cmd-fns/package-examples-get.ts +20 -0
  78. package/lib/cmd-fns/package-examples-list.ts +18 -0
  79. package/lib/cmd-fns/package-files-create.ts +31 -0
  80. package/lib/cmd-fns/package-files-download.ts +29 -0
  81. package/lib/cmd-fns/package-files-get.ts +3 -0
  82. package/lib/cmd-fns/package-files-list.ts +28 -0
  83. package/lib/cmd-fns/package-files-upload-directory.ts +6 -0
  84. package/lib/cmd-fns/package-releases-create.ts +35 -0
  85. package/lib/cmd-fns/package-releases-get.ts +3 -0
  86. package/lib/cmd-fns/package-releases-list.ts +32 -0
  87. package/lib/cmd-fns/packages-create.ts +16 -0
  88. package/lib/cmd-fns/packages-get.ts +16 -0
  89. package/lib/cmd-fns/packages-list.ts +16 -0
  90. package/lib/cmd-fns/publish.ts +3 -0
  91. package/lib/cmd-fns/soupify.ts +27 -0
  92. package/lib/get-program.ts +191 -0
  93. package/lib/param-handlers/index.ts +16 -0
  94. package/lib/param-handlers/interact-for-local-directory.ts +58 -0
  95. package/lib/param-handlers/interact-for-local-file.ts +59 -0
  96. package/lib/param-handlers/interact-for-package-example-id.ts +25 -0
  97. package/lib/param-handlers/interact-for-package-name-with-version.ts +63 -0
  98. package/lib/param-handlers/interact-for-package-name.ts +45 -0
  99. package/lib/param-handlers/interact-for-package-release-id.ts +16 -0
  100. package/lib/param-handlers/param-handler-type.ts +7 -0
  101. package/lib/soupify.ts +71 -0
  102. package/lib/util/app-context.ts +14 -0
  103. package/lib/util/create-context-and-run-program.ts +116 -0
  104. package/package.json +62 -0
  105. package/tests/assets/example-project/examples/basic-capacitor.tsx +1 -0
  106. package/tests/assets/example-project/examples/basic-resistor.tsx +3 -0
  107. package/tests/assets/example-project/package.json +8 -0
  108. package/tests/assets/example-project/src/MyCircuit.tsx +3 -0
  109. package/tests/soupify.test.ts +9 -0
  110. package/tsconfig.json +109 -0
@@ -0,0 +1,1201 @@
1
+ {
2
+ "name": "dev-server-api",
3
+ "lockfileVersion": 3,
4
+ "requires": true,
5
+ "packages": {
6
+ "": {
7
+ "name": "dev-server-api",
8
+ "dependencies": {
9
+ "edgespec": "^0.0.69",
10
+ "kysely": "^0.27.3",
11
+ "kysely-bun-sqlite": "^0.3.2",
12
+ "zod": "^3.22.4"
13
+ },
14
+ "devDependencies": {
15
+ "@types/bun": "latest"
16
+ },
17
+ "peerDependencies": {
18
+ "typescript": "^5.0.0"
19
+ }
20
+ },
21
+ "node_modules/@anatine/zod-openapi": {
22
+ "version": "2.2.3",
23
+ "license": "MIT",
24
+ "dependencies": {
25
+ "ts-deepmerge": "^6.0.3"
26
+ },
27
+ "peerDependencies": {
28
+ "openapi3-ts": "^4.1.2",
29
+ "zod": "^3.20.0"
30
+ }
31
+ },
32
+ "node_modules/@edge-runtime/format": {
33
+ "version": "2.2.1",
34
+ "license": "MPL-2.0",
35
+ "engines": {
36
+ "node": ">=16"
37
+ }
38
+ },
39
+ "node_modules/@edge-runtime/node-utils": {
40
+ "version": "2.3.0",
41
+ "license": "MPL-2.0",
42
+ "engines": {
43
+ "node": ">=16"
44
+ }
45
+ },
46
+ "node_modules/@edge-runtime/ponyfill": {
47
+ "version": "2.4.2",
48
+ "license": "MPL-2.0",
49
+ "engines": {
50
+ "node": ">=16"
51
+ }
52
+ },
53
+ "node_modules/@edge-runtime/primitives": {
54
+ "version": "4.1.0",
55
+ "license": "MPL-2.0",
56
+ "engines": {
57
+ "node": ">=16"
58
+ }
59
+ },
60
+ "node_modules/@edge-runtime/vm": {
61
+ "version": "3.2.0",
62
+ "license": "MPL-2.0",
63
+ "dependencies": {
64
+ "@edge-runtime/primitives": "4.1.0"
65
+ },
66
+ "engines": {
67
+ "node": ">=16"
68
+ }
69
+ },
70
+ "node_modules/@esbuild/linux-x64": {
71
+ "version": "0.19.12",
72
+ "cpu": [
73
+ "x64"
74
+ ],
75
+ "license": "MIT",
76
+ "optional": true,
77
+ "os": [
78
+ "linux"
79
+ ],
80
+ "engines": {
81
+ "node": ">=12"
82
+ }
83
+ },
84
+ "node_modules/@nodelib/fs.scandir": {
85
+ "version": "2.1.5",
86
+ "license": "MIT",
87
+ "dependencies": {
88
+ "@nodelib/fs.stat": "2.0.5",
89
+ "run-parallel": "^1.1.9"
90
+ },
91
+ "engines": {
92
+ "node": ">= 8"
93
+ }
94
+ },
95
+ "node_modules/@nodelib/fs.stat": {
96
+ "version": "2.0.5",
97
+ "license": "MIT",
98
+ "engines": {
99
+ "node": ">= 8"
100
+ }
101
+ },
102
+ "node_modules/@nodelib/fs.walk": {
103
+ "version": "1.2.8",
104
+ "license": "MIT",
105
+ "dependencies": {
106
+ "@nodelib/fs.scandir": "2.1.5",
107
+ "fastq": "^1.6.0"
108
+ },
109
+ "engines": {
110
+ "node": ">= 8"
111
+ }
112
+ },
113
+ "node_modules/@sindresorhus/merge-streams": {
114
+ "version": "2.3.0",
115
+ "license": "MIT",
116
+ "engines": {
117
+ "node": ">=18"
118
+ },
119
+ "funding": {
120
+ "url": "https://github.com/sponsors/sindresorhus"
121
+ }
122
+ },
123
+ "node_modules/@ts-morph/common": {
124
+ "version": "0.22.0",
125
+ "license": "MIT",
126
+ "dependencies": {
127
+ "fast-glob": "^3.3.2",
128
+ "minimatch": "^9.0.3",
129
+ "mkdirp": "^3.0.1",
130
+ "path-browserify": "^1.0.1"
131
+ }
132
+ },
133
+ "node_modules/@types/bun": {
134
+ "version": "1.0.8",
135
+ "resolved": "https://registry.npmjs.org/@types/bun/-/bun-1.0.8.tgz",
136
+ "integrity": "sha512-E6UWZuN4ymAxzUBWVIGDHJ3Zey7I8cMzDZ+cB1BqhZsmd1uPb9iAQzpWMruY1mKzsuD3R+dZPoBkZz8QL1KhSA==",
137
+ "dev": true,
138
+ "dependencies": {
139
+ "bun-types": "1.0.29"
140
+ }
141
+ },
142
+ "node_modules/@types/node": {
143
+ "version": "20.11.27",
144
+ "license": "MIT",
145
+ "dependencies": {
146
+ "undici-types": "~5.26.4"
147
+ }
148
+ },
149
+ "node_modules/@types/ws": {
150
+ "version": "8.5.10",
151
+ "license": "MIT",
152
+ "dependencies": {
153
+ "@types/node": "*"
154
+ }
155
+ },
156
+ "node_modules/ansi-regex": {
157
+ "version": "6.0.1",
158
+ "license": "MIT",
159
+ "engines": {
160
+ "node": ">=12"
161
+ },
162
+ "funding": {
163
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
164
+ }
165
+ },
166
+ "node_modules/ansi-styles": {
167
+ "version": "4.3.0",
168
+ "license": "MIT",
169
+ "dependencies": {
170
+ "color-convert": "^2.0.1"
171
+ },
172
+ "engines": {
173
+ "node": ">=8"
174
+ },
175
+ "funding": {
176
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
177
+ }
178
+ },
179
+ "node_modules/async-listen": {
180
+ "version": "3.0.1",
181
+ "license": "MIT",
182
+ "engines": {
183
+ "node": ">= 14"
184
+ }
185
+ },
186
+ "node_modules/async-mutex": {
187
+ "version": "0.4.1",
188
+ "license": "MIT",
189
+ "dependencies": {
190
+ "tslib": "^2.4.0"
191
+ }
192
+ },
193
+ "node_modules/balanced-match": {
194
+ "version": "1.0.2",
195
+ "license": "MIT"
196
+ },
197
+ "node_modules/birpc": {
198
+ "version": "0.2.17",
199
+ "license": "MIT",
200
+ "funding": {
201
+ "url": "https://github.com/sponsors/antfu"
202
+ }
203
+ },
204
+ "node_modules/brace-expansion": {
205
+ "version": "2.0.1",
206
+ "license": "MIT",
207
+ "dependencies": {
208
+ "balanced-match": "^1.0.0"
209
+ }
210
+ },
211
+ "node_modules/braces": {
212
+ "version": "3.0.2",
213
+ "license": "MIT",
214
+ "dependencies": {
215
+ "fill-range": "^7.0.1"
216
+ },
217
+ "engines": {
218
+ "node": ">=8"
219
+ }
220
+ },
221
+ "node_modules/bun-types": {
222
+ "version": "1.0.29",
223
+ "license": "MIT",
224
+ "dependencies": {
225
+ "@types/node": "~20.11.3",
226
+ "@types/ws": "~8.5.10"
227
+ }
228
+ },
229
+ "node_modules/bundle-require": {
230
+ "version": "4.0.2",
231
+ "license": "MIT",
232
+ "dependencies": {
233
+ "load-tsconfig": "^0.2.3"
234
+ },
235
+ "engines": {
236
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
237
+ },
238
+ "peerDependencies": {
239
+ "esbuild": ">=0.17"
240
+ }
241
+ },
242
+ "node_modules/camelcase": {
243
+ "version": "8.0.0",
244
+ "license": "MIT",
245
+ "engines": {
246
+ "node": ">=16"
247
+ },
248
+ "funding": {
249
+ "url": "https://github.com/sponsors/sindresorhus"
250
+ }
251
+ },
252
+ "node_modules/chalk": {
253
+ "version": "5.3.0",
254
+ "license": "MIT",
255
+ "engines": {
256
+ "node": "^12.17.0 || ^14.13 || >=16.0.0"
257
+ },
258
+ "funding": {
259
+ "url": "https://github.com/chalk/chalk?sponsor=1"
260
+ }
261
+ },
262
+ "node_modules/cli-cursor": {
263
+ "version": "4.0.0",
264
+ "license": "MIT",
265
+ "dependencies": {
266
+ "restore-cursor": "^4.0.0"
267
+ },
268
+ "engines": {
269
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
270
+ },
271
+ "funding": {
272
+ "url": "https://github.com/sponsors/sindresorhus"
273
+ }
274
+ },
275
+ "node_modules/cli-spinners": {
276
+ "version": "2.9.2",
277
+ "license": "MIT",
278
+ "engines": {
279
+ "node": ">=6"
280
+ },
281
+ "funding": {
282
+ "url": "https://github.com/sponsors/sindresorhus"
283
+ }
284
+ },
285
+ "node_modules/clipanion": {
286
+ "version": "4.0.0-rc.3",
287
+ "license": "MIT",
288
+ "workspaces": [
289
+ "website"
290
+ ],
291
+ "dependencies": {
292
+ "typanion": "^3.8.0"
293
+ },
294
+ "peerDependencies": {
295
+ "typanion": "*"
296
+ }
297
+ },
298
+ "node_modules/cliui": {
299
+ "version": "8.0.1",
300
+ "license": "ISC",
301
+ "dependencies": {
302
+ "string-width": "^4.2.0",
303
+ "strip-ansi": "^6.0.1",
304
+ "wrap-ansi": "^7.0.0"
305
+ },
306
+ "engines": {
307
+ "node": ">=12"
308
+ }
309
+ },
310
+ "node_modules/cliui/node_modules/string-width": {
311
+ "version": "4.2.3",
312
+ "license": "MIT",
313
+ "dependencies": {
314
+ "emoji-regex": "^8.0.0",
315
+ "is-fullwidth-code-point": "^3.0.0",
316
+ "strip-ansi": "^6.0.1"
317
+ },
318
+ "engines": {
319
+ "node": ">=8"
320
+ }
321
+ },
322
+ "node_modules/cliui/node_modules/string-width/node_modules/emoji-regex": {
323
+ "version": "8.0.0",
324
+ "license": "MIT"
325
+ },
326
+ "node_modules/cliui/node_modules/strip-ansi": {
327
+ "version": "6.0.1",
328
+ "license": "MIT",
329
+ "dependencies": {
330
+ "ansi-regex": "^5.0.1"
331
+ },
332
+ "engines": {
333
+ "node": ">=8"
334
+ }
335
+ },
336
+ "node_modules/cliui/node_modules/strip-ansi/node_modules/ansi-regex": {
337
+ "version": "5.0.1",
338
+ "license": "MIT",
339
+ "engines": {
340
+ "node": ">=8"
341
+ }
342
+ },
343
+ "node_modules/code-block-writer": {
344
+ "version": "12.0.0",
345
+ "license": "MIT"
346
+ },
347
+ "node_modules/color-convert": {
348
+ "version": "2.0.1",
349
+ "license": "MIT",
350
+ "dependencies": {
351
+ "color-name": "~1.1.4"
352
+ },
353
+ "engines": {
354
+ "node": ">=7.0.0"
355
+ }
356
+ },
357
+ "node_modules/color-name": {
358
+ "version": "1.1.4",
359
+ "license": "MIT"
360
+ },
361
+ "node_modules/convert-hrtime": {
362
+ "version": "3.0.0",
363
+ "license": "MIT",
364
+ "engines": {
365
+ "node": ">=8"
366
+ }
367
+ },
368
+ "node_modules/dettle": {
369
+ "version": "1.0.1"
370
+ },
371
+ "node_modules/edge-runtime": {
372
+ "version": "2.5.9",
373
+ "license": "MPL-2.0",
374
+ "dependencies": {
375
+ "@edge-runtime/format": "2.2.1",
376
+ "@edge-runtime/ponyfill": "2.4.2",
377
+ "@edge-runtime/vm": "3.2.0",
378
+ "async-listen": "3.0.1",
379
+ "mri": "1.2.0",
380
+ "picocolors": "1.0.0",
381
+ "pretty-ms": "7.0.1",
382
+ "signal-exit": "4.0.2",
383
+ "time-span": "4.0.0"
384
+ },
385
+ "bin": {
386
+ "edge-runtime": "dist/cli/index.js"
387
+ },
388
+ "engines": {
389
+ "node": ">=16"
390
+ }
391
+ },
392
+ "node_modules/edgespec": {
393
+ "version": "0.0.69",
394
+ "resolved": "https://registry.npmjs.org/edgespec/-/edgespec-0.0.69.tgz",
395
+ "integrity": "sha512-U7Te4ybLPPB80FiP2qsCoFGXa9bz2FSOAagL8iZJSs2VYnvb0PIs5N2d+4fyehSGHUS4xTs+viUjOOaxQmmxVw==",
396
+ "dependencies": {
397
+ "@anatine/zod-openapi": "^2.2.3",
398
+ "@edge-runtime/node-utils": "^2.3.0",
399
+ "@edge-runtime/primitives": "^4.1.0",
400
+ "async-mutex": "^0.4.1",
401
+ "birpc": "^0.2.17",
402
+ "bundle-require": "^4.0.2",
403
+ "camelcase": "^8.0.0",
404
+ "clipanion": "^4.0.0-rc.3",
405
+ "edge-runtime": "^2.5.9",
406
+ "esbuild": "^0.19.11",
407
+ "globby": "^14.0.0",
408
+ "human-readable": "^0.2.1",
409
+ "kleur": "^4.1.5",
410
+ "make-vfs": "^1.1.0",
411
+ "next-route-matcher": "^1.0.2",
412
+ "object-hash": "^3.0.0",
413
+ "ora": "^8.0.1",
414
+ "ts-morph": "^21.0.1",
415
+ "watcher": "^2.3.0",
416
+ "yargs": "^17.7.2",
417
+ "zod": "^3.22.4"
418
+ },
419
+ "bin": {
420
+ "edgespec": "dist/cli/cli.js"
421
+ },
422
+ "engines": {
423
+ "node": ">=18.0.0"
424
+ },
425
+ "peerDependencies": {
426
+ "@ava/get-port": ">=2.0.0",
427
+ "typescript": ">=4.0.0"
428
+ },
429
+ "peerDependenciesMeta": {
430
+ "@ava/get-port": {
431
+ "optional": true
432
+ },
433
+ "typescript": {
434
+ "optional": true
435
+ }
436
+ }
437
+ },
438
+ "node_modules/emoji-regex": {
439
+ "version": "10.3.0",
440
+ "license": "MIT"
441
+ },
442
+ "node_modules/esbuild": {
443
+ "version": "0.19.12",
444
+ "hasInstallScript": true,
445
+ "license": "MIT",
446
+ "bin": {
447
+ "esbuild": "bin/esbuild"
448
+ },
449
+ "engines": {
450
+ "node": ">=12"
451
+ },
452
+ "optionalDependencies": {
453
+ "@esbuild/aix-ppc64": "0.19.12",
454
+ "@esbuild/android-arm": "0.19.12",
455
+ "@esbuild/android-arm64": "0.19.12",
456
+ "@esbuild/android-x64": "0.19.12",
457
+ "@esbuild/darwin-arm64": "0.19.12",
458
+ "@esbuild/darwin-x64": "0.19.12",
459
+ "@esbuild/freebsd-arm64": "0.19.12",
460
+ "@esbuild/freebsd-x64": "0.19.12",
461
+ "@esbuild/linux-arm": "0.19.12",
462
+ "@esbuild/linux-arm64": "0.19.12",
463
+ "@esbuild/linux-ia32": "0.19.12",
464
+ "@esbuild/linux-loong64": "0.19.12",
465
+ "@esbuild/linux-mips64el": "0.19.12",
466
+ "@esbuild/linux-ppc64": "0.19.12",
467
+ "@esbuild/linux-riscv64": "0.19.12",
468
+ "@esbuild/linux-s390x": "0.19.12",
469
+ "@esbuild/linux-x64": "0.19.12",
470
+ "@esbuild/netbsd-x64": "0.19.12",
471
+ "@esbuild/openbsd-x64": "0.19.12",
472
+ "@esbuild/sunos-x64": "0.19.12",
473
+ "@esbuild/win32-arm64": "0.19.12",
474
+ "@esbuild/win32-ia32": "0.19.12",
475
+ "@esbuild/win32-x64": "0.19.12"
476
+ }
477
+ },
478
+ "node_modules/escalade": {
479
+ "version": "3.1.2",
480
+ "license": "MIT",
481
+ "engines": {
482
+ "node": ">=6"
483
+ }
484
+ },
485
+ "node_modules/fast-glob": {
486
+ "version": "3.3.2",
487
+ "license": "MIT",
488
+ "dependencies": {
489
+ "@nodelib/fs.stat": "^2.0.2",
490
+ "@nodelib/fs.walk": "^1.2.3",
491
+ "glob-parent": "^5.1.2",
492
+ "merge2": "^1.3.0",
493
+ "micromatch": "^4.0.4"
494
+ },
495
+ "engines": {
496
+ "node": ">=8.6.0"
497
+ }
498
+ },
499
+ "node_modules/fastq": {
500
+ "version": "1.17.1",
501
+ "license": "ISC",
502
+ "dependencies": {
503
+ "reusify": "^1.0.4"
504
+ }
505
+ },
506
+ "node_modules/fill-range": {
507
+ "version": "7.0.1",
508
+ "license": "MIT",
509
+ "dependencies": {
510
+ "to-regex-range": "^5.0.1"
511
+ },
512
+ "engines": {
513
+ "node": ">=8"
514
+ }
515
+ },
516
+ "node_modules/get-caller-file": {
517
+ "version": "2.0.5",
518
+ "license": "ISC",
519
+ "engines": {
520
+ "node": "6.* || 8.* || >= 10.*"
521
+ }
522
+ },
523
+ "node_modules/get-east-asian-width": {
524
+ "version": "1.2.0",
525
+ "license": "MIT",
526
+ "engines": {
527
+ "node": ">=18"
528
+ },
529
+ "funding": {
530
+ "url": "https://github.com/sponsors/sindresorhus"
531
+ }
532
+ },
533
+ "node_modules/glob-parent": {
534
+ "version": "5.1.2",
535
+ "license": "ISC",
536
+ "dependencies": {
537
+ "is-glob": "^4.0.1"
538
+ },
539
+ "engines": {
540
+ "node": ">= 6"
541
+ }
542
+ },
543
+ "node_modules/globby": {
544
+ "version": "14.0.1",
545
+ "license": "MIT",
546
+ "dependencies": {
547
+ "@sindresorhus/merge-streams": "^2.1.0",
548
+ "fast-glob": "^3.3.2",
549
+ "ignore": "^5.2.4",
550
+ "path-type": "^5.0.0",
551
+ "slash": "^5.1.0",
552
+ "unicorn-magic": "^0.1.0"
553
+ },
554
+ "engines": {
555
+ "node": ">=18"
556
+ },
557
+ "funding": {
558
+ "url": "https://github.com/sponsors/sindresorhus"
559
+ }
560
+ },
561
+ "node_modules/human-readable": {
562
+ "version": "0.2.1",
563
+ "license": "MIT"
564
+ },
565
+ "node_modules/ignore": {
566
+ "version": "5.3.1",
567
+ "license": "MIT",
568
+ "engines": {
569
+ "node": ">= 4"
570
+ }
571
+ },
572
+ "node_modules/is-extglob": {
573
+ "version": "2.1.1",
574
+ "license": "MIT",
575
+ "engines": {
576
+ "node": ">=0.10.0"
577
+ }
578
+ },
579
+ "node_modules/is-fullwidth-code-point": {
580
+ "version": "3.0.0",
581
+ "license": "MIT",
582
+ "engines": {
583
+ "node": ">=8"
584
+ }
585
+ },
586
+ "node_modules/is-glob": {
587
+ "version": "4.0.3",
588
+ "license": "MIT",
589
+ "dependencies": {
590
+ "is-extglob": "^2.1.1"
591
+ },
592
+ "engines": {
593
+ "node": ">=0.10.0"
594
+ }
595
+ },
596
+ "node_modules/is-interactive": {
597
+ "version": "2.0.0",
598
+ "license": "MIT",
599
+ "engines": {
600
+ "node": ">=12"
601
+ },
602
+ "funding": {
603
+ "url": "https://github.com/sponsors/sindresorhus"
604
+ }
605
+ },
606
+ "node_modules/is-number": {
607
+ "version": "7.0.0",
608
+ "license": "MIT",
609
+ "engines": {
610
+ "node": ">=0.12.0"
611
+ }
612
+ },
613
+ "node_modules/is-unicode-supported": {
614
+ "version": "2.0.0",
615
+ "license": "MIT",
616
+ "engines": {
617
+ "node": ">=18"
618
+ },
619
+ "funding": {
620
+ "url": "https://github.com/sponsors/sindresorhus"
621
+ }
622
+ },
623
+ "node_modules/kleur": {
624
+ "version": "4.1.5",
625
+ "license": "MIT",
626
+ "engines": {
627
+ "node": ">=6"
628
+ }
629
+ },
630
+ "node_modules/kysely": {
631
+ "version": "0.27.3",
632
+ "license": "MIT",
633
+ "engines": {
634
+ "node": ">=14.0.0"
635
+ }
636
+ },
637
+ "node_modules/kysely-bun-sqlite": {
638
+ "version": "0.3.2",
639
+ "license": "MIT",
640
+ "dependencies": {
641
+ "bun-types": "^1.0.25"
642
+ },
643
+ "engines": {
644
+ "bun": ">=1"
645
+ },
646
+ "peerDependencies": {
647
+ "kysely": "^0.27.2"
648
+ }
649
+ },
650
+ "node_modules/load-tsconfig": {
651
+ "version": "0.2.5",
652
+ "license": "MIT",
653
+ "engines": {
654
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
655
+ }
656
+ },
657
+ "node_modules/log-symbols": {
658
+ "version": "6.0.0",
659
+ "license": "MIT",
660
+ "dependencies": {
661
+ "chalk": "^5.3.0",
662
+ "is-unicode-supported": "^1.3.0"
663
+ },
664
+ "engines": {
665
+ "node": ">=18"
666
+ },
667
+ "funding": {
668
+ "url": "https://github.com/sponsors/sindresorhus"
669
+ }
670
+ },
671
+ "node_modules/log-symbols/node_modules/is-unicode-supported": {
672
+ "version": "1.3.0",
673
+ "license": "MIT",
674
+ "engines": {
675
+ "node": ">=12"
676
+ },
677
+ "funding": {
678
+ "url": "https://github.com/sponsors/sindresorhus"
679
+ }
680
+ },
681
+ "node_modules/make-vfs": {
682
+ "version": "1.1.0",
683
+ "license": "ISC",
684
+ "bin": {
685
+ "make-vfs": "dist/cli.js"
686
+ }
687
+ },
688
+ "node_modules/merge2": {
689
+ "version": "1.4.1",
690
+ "license": "MIT",
691
+ "engines": {
692
+ "node": ">= 8"
693
+ }
694
+ },
695
+ "node_modules/micromatch": {
696
+ "version": "4.0.5",
697
+ "license": "MIT",
698
+ "dependencies": {
699
+ "braces": "^3.0.2",
700
+ "picomatch": "^2.3.1"
701
+ },
702
+ "engines": {
703
+ "node": ">=8.6"
704
+ }
705
+ },
706
+ "node_modules/mimic-fn": {
707
+ "version": "2.1.0",
708
+ "license": "MIT",
709
+ "engines": {
710
+ "node": ">=6"
711
+ }
712
+ },
713
+ "node_modules/minimatch": {
714
+ "version": "9.0.3",
715
+ "license": "ISC",
716
+ "dependencies": {
717
+ "brace-expansion": "^2.0.1"
718
+ },
719
+ "engines": {
720
+ "node": ">=16 || 14 >=14.17"
721
+ },
722
+ "funding": {
723
+ "url": "https://github.com/sponsors/isaacs"
724
+ }
725
+ },
726
+ "node_modules/mkdirp": {
727
+ "version": "3.0.1",
728
+ "license": "MIT",
729
+ "bin": {
730
+ "mkdirp": "dist/cjs/src/bin.js"
731
+ },
732
+ "engines": {
733
+ "node": ">=10"
734
+ },
735
+ "funding": {
736
+ "url": "https://github.com/sponsors/isaacs"
737
+ }
738
+ },
739
+ "node_modules/mri": {
740
+ "version": "1.2.0",
741
+ "license": "MIT",
742
+ "engines": {
743
+ "node": ">=4"
744
+ }
745
+ },
746
+ "node_modules/next-route-matcher": {
747
+ "version": "1.0.2"
748
+ },
749
+ "node_modules/object-hash": {
750
+ "version": "3.0.0",
751
+ "license": "MIT",
752
+ "engines": {
753
+ "node": ">= 6"
754
+ }
755
+ },
756
+ "node_modules/onetime": {
757
+ "version": "5.1.2",
758
+ "license": "MIT",
759
+ "dependencies": {
760
+ "mimic-fn": "^2.1.0"
761
+ },
762
+ "engines": {
763
+ "node": ">=6"
764
+ },
765
+ "funding": {
766
+ "url": "https://github.com/sponsors/sindresorhus"
767
+ }
768
+ },
769
+ "node_modules/openapi3-ts": {
770
+ "version": "4.2.2",
771
+ "license": "MIT",
772
+ "peer": true,
773
+ "dependencies": {
774
+ "yaml": "^2.3.4"
775
+ }
776
+ },
777
+ "node_modules/ora": {
778
+ "version": "8.0.1",
779
+ "license": "MIT",
780
+ "dependencies": {
781
+ "chalk": "^5.3.0",
782
+ "cli-cursor": "^4.0.0",
783
+ "cli-spinners": "^2.9.2",
784
+ "is-interactive": "^2.0.0",
785
+ "is-unicode-supported": "^2.0.0",
786
+ "log-symbols": "^6.0.0",
787
+ "stdin-discarder": "^0.2.1",
788
+ "string-width": "^7.0.0",
789
+ "strip-ansi": "^7.1.0"
790
+ },
791
+ "engines": {
792
+ "node": ">=18"
793
+ },
794
+ "funding": {
795
+ "url": "https://github.com/sponsors/sindresorhus"
796
+ }
797
+ },
798
+ "node_modules/parse-ms": {
799
+ "version": "2.1.0",
800
+ "license": "MIT",
801
+ "engines": {
802
+ "node": ">=6"
803
+ }
804
+ },
805
+ "node_modules/path-browserify": {
806
+ "version": "1.0.1",
807
+ "license": "MIT"
808
+ },
809
+ "node_modules/path-type": {
810
+ "version": "5.0.0",
811
+ "license": "MIT",
812
+ "engines": {
813
+ "node": ">=12"
814
+ },
815
+ "funding": {
816
+ "url": "https://github.com/sponsors/sindresorhus"
817
+ }
818
+ },
819
+ "node_modules/picocolors": {
820
+ "version": "1.0.0",
821
+ "license": "ISC"
822
+ },
823
+ "node_modules/picomatch": {
824
+ "version": "2.3.1",
825
+ "license": "MIT",
826
+ "engines": {
827
+ "node": ">=8.6"
828
+ },
829
+ "funding": {
830
+ "url": "https://github.com/sponsors/jonschlinkert"
831
+ }
832
+ },
833
+ "node_modules/pretty-ms": {
834
+ "version": "7.0.1",
835
+ "license": "MIT",
836
+ "dependencies": {
837
+ "parse-ms": "^2.1.0"
838
+ },
839
+ "engines": {
840
+ "node": ">=10"
841
+ },
842
+ "funding": {
843
+ "url": "https://github.com/sponsors/sindresorhus"
844
+ }
845
+ },
846
+ "node_modules/promise-make-naked": {
847
+ "version": "2.1.1"
848
+ },
849
+ "node_modules/queue-microtask": {
850
+ "version": "1.2.3",
851
+ "funding": [
852
+ {
853
+ "type": "github",
854
+ "url": "https://github.com/sponsors/feross"
855
+ },
856
+ {
857
+ "type": "patreon",
858
+ "url": "https://www.patreon.com/feross"
859
+ },
860
+ {
861
+ "type": "consulting",
862
+ "url": "https://feross.org/support"
863
+ }
864
+ ],
865
+ "license": "MIT"
866
+ },
867
+ "node_modules/require-directory": {
868
+ "version": "2.1.1",
869
+ "license": "MIT",
870
+ "engines": {
871
+ "node": ">=0.10.0"
872
+ }
873
+ },
874
+ "node_modules/restore-cursor": {
875
+ "version": "4.0.0",
876
+ "license": "MIT",
877
+ "dependencies": {
878
+ "onetime": "^5.1.0",
879
+ "signal-exit": "^3.0.2"
880
+ },
881
+ "engines": {
882
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
883
+ },
884
+ "funding": {
885
+ "url": "https://github.com/sponsors/sindresorhus"
886
+ }
887
+ },
888
+ "node_modules/restore-cursor/node_modules/signal-exit": {
889
+ "version": "3.0.7",
890
+ "license": "ISC"
891
+ },
892
+ "node_modules/reusify": {
893
+ "version": "1.0.4",
894
+ "license": "MIT",
895
+ "engines": {
896
+ "iojs": ">=1.0.0",
897
+ "node": ">=0.10.0"
898
+ }
899
+ },
900
+ "node_modules/run-parallel": {
901
+ "version": "1.2.0",
902
+ "funding": [
903
+ {
904
+ "type": "github",
905
+ "url": "https://github.com/sponsors/feross"
906
+ },
907
+ {
908
+ "type": "patreon",
909
+ "url": "https://www.patreon.com/feross"
910
+ },
911
+ {
912
+ "type": "consulting",
913
+ "url": "https://feross.org/support"
914
+ }
915
+ ],
916
+ "license": "MIT",
917
+ "dependencies": {
918
+ "queue-microtask": "^1.2.2"
919
+ }
920
+ },
921
+ "node_modules/signal-exit": {
922
+ "version": "4.0.2",
923
+ "license": "ISC",
924
+ "engines": {
925
+ "node": ">=14"
926
+ },
927
+ "funding": {
928
+ "url": "https://github.com/sponsors/isaacs"
929
+ }
930
+ },
931
+ "node_modules/slash": {
932
+ "version": "5.1.0",
933
+ "license": "MIT",
934
+ "engines": {
935
+ "node": ">=14.16"
936
+ },
937
+ "funding": {
938
+ "url": "https://github.com/sponsors/sindresorhus"
939
+ }
940
+ },
941
+ "node_modules/stdin-discarder": {
942
+ "version": "0.2.2",
943
+ "license": "MIT",
944
+ "engines": {
945
+ "node": ">=18"
946
+ },
947
+ "funding": {
948
+ "url": "https://github.com/sponsors/sindresorhus"
949
+ }
950
+ },
951
+ "node_modules/string-width": {
952
+ "version": "7.1.0",
953
+ "license": "MIT",
954
+ "dependencies": {
955
+ "emoji-regex": "^10.3.0",
956
+ "get-east-asian-width": "^1.0.0",
957
+ "strip-ansi": "^7.1.0"
958
+ },
959
+ "engines": {
960
+ "node": ">=18"
961
+ },
962
+ "funding": {
963
+ "url": "https://github.com/sponsors/sindresorhus"
964
+ }
965
+ },
966
+ "node_modules/strip-ansi": {
967
+ "version": "7.1.0",
968
+ "license": "MIT",
969
+ "dependencies": {
970
+ "ansi-regex": "^6.0.1"
971
+ },
972
+ "engines": {
973
+ "node": ">=12"
974
+ },
975
+ "funding": {
976
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
977
+ }
978
+ },
979
+ "node_modules/stubborn-fs": {
980
+ "version": "1.2.5"
981
+ },
982
+ "node_modules/time-span": {
983
+ "version": "4.0.0",
984
+ "license": "MIT",
985
+ "dependencies": {
986
+ "convert-hrtime": "^3.0.0"
987
+ },
988
+ "engines": {
989
+ "node": ">=10"
990
+ },
991
+ "funding": {
992
+ "url": "https://github.com/sponsors/sindresorhus"
993
+ }
994
+ },
995
+ "node_modules/tiny-readdir": {
996
+ "version": "2.4.0",
997
+ "dependencies": {
998
+ "promise-make-naked": "^2.1.1"
999
+ }
1000
+ },
1001
+ "node_modules/to-regex-range": {
1002
+ "version": "5.0.1",
1003
+ "license": "MIT",
1004
+ "dependencies": {
1005
+ "is-number": "^7.0.0"
1006
+ },
1007
+ "engines": {
1008
+ "node": ">=8.0"
1009
+ }
1010
+ },
1011
+ "node_modules/ts-deepmerge": {
1012
+ "version": "6.2.1",
1013
+ "license": "ISC",
1014
+ "engines": {
1015
+ "node": ">=14.13.1"
1016
+ }
1017
+ },
1018
+ "node_modules/ts-morph": {
1019
+ "version": "21.0.1",
1020
+ "license": "MIT",
1021
+ "dependencies": {
1022
+ "@ts-morph/common": "~0.22.0",
1023
+ "code-block-writer": "^12.0.0"
1024
+ }
1025
+ },
1026
+ "node_modules/tslib": {
1027
+ "version": "2.6.2",
1028
+ "license": "0BSD"
1029
+ },
1030
+ "node_modules/typanion": {
1031
+ "version": "3.14.0",
1032
+ "license": "MIT",
1033
+ "workspaces": [
1034
+ "website"
1035
+ ]
1036
+ },
1037
+ "node_modules/typescript": {
1038
+ "version": "5.4.2",
1039
+ "license": "Apache-2.0",
1040
+ "peer": true,
1041
+ "bin": {
1042
+ "tsc": "bin/tsc",
1043
+ "tsserver": "bin/tsserver"
1044
+ },
1045
+ "engines": {
1046
+ "node": ">=14.17"
1047
+ }
1048
+ },
1049
+ "node_modules/undici-types": {
1050
+ "version": "5.26.5",
1051
+ "license": "MIT"
1052
+ },
1053
+ "node_modules/unicorn-magic": {
1054
+ "version": "0.1.0",
1055
+ "license": "MIT",
1056
+ "engines": {
1057
+ "node": ">=18"
1058
+ },
1059
+ "funding": {
1060
+ "url": "https://github.com/sponsors/sindresorhus"
1061
+ }
1062
+ },
1063
+ "node_modules/watcher": {
1064
+ "version": "2.3.0",
1065
+ "dependencies": {
1066
+ "dettle": "^1.0.1",
1067
+ "stubborn-fs": "^1.2.5",
1068
+ "tiny-readdir": "^2.2.0"
1069
+ }
1070
+ },
1071
+ "node_modules/wrap-ansi": {
1072
+ "version": "7.0.0",
1073
+ "license": "MIT",
1074
+ "dependencies": {
1075
+ "ansi-styles": "^4.0.0",
1076
+ "string-width": "^4.1.0",
1077
+ "strip-ansi": "^6.0.0"
1078
+ },
1079
+ "engines": {
1080
+ "node": ">=10"
1081
+ },
1082
+ "funding": {
1083
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
1084
+ }
1085
+ },
1086
+ "node_modules/wrap-ansi/node_modules/string-width": {
1087
+ "version": "4.2.3",
1088
+ "license": "MIT",
1089
+ "dependencies": {
1090
+ "emoji-regex": "^8.0.0",
1091
+ "is-fullwidth-code-point": "^3.0.0",
1092
+ "strip-ansi": "^6.0.1"
1093
+ },
1094
+ "engines": {
1095
+ "node": ">=8"
1096
+ }
1097
+ },
1098
+ "node_modules/wrap-ansi/node_modules/string-width/node_modules/emoji-regex": {
1099
+ "version": "8.0.0",
1100
+ "license": "MIT"
1101
+ },
1102
+ "node_modules/wrap-ansi/node_modules/strip-ansi": {
1103
+ "version": "6.0.1",
1104
+ "license": "MIT",
1105
+ "dependencies": {
1106
+ "ansi-regex": "^5.0.1"
1107
+ },
1108
+ "engines": {
1109
+ "node": ">=8"
1110
+ }
1111
+ },
1112
+ "node_modules/wrap-ansi/node_modules/strip-ansi/node_modules/ansi-regex": {
1113
+ "version": "5.0.1",
1114
+ "license": "MIT",
1115
+ "engines": {
1116
+ "node": ">=8"
1117
+ }
1118
+ },
1119
+ "node_modules/y18n": {
1120
+ "version": "5.0.8",
1121
+ "license": "ISC",
1122
+ "engines": {
1123
+ "node": ">=10"
1124
+ }
1125
+ },
1126
+ "node_modules/yaml": {
1127
+ "version": "2.4.1",
1128
+ "license": "ISC",
1129
+ "peer": true,
1130
+ "bin": {
1131
+ "yaml": "bin.mjs"
1132
+ },
1133
+ "engines": {
1134
+ "node": ">= 14"
1135
+ }
1136
+ },
1137
+ "node_modules/yargs": {
1138
+ "version": "17.7.2",
1139
+ "license": "MIT",
1140
+ "dependencies": {
1141
+ "cliui": "^8.0.1",
1142
+ "escalade": "^3.1.1",
1143
+ "get-caller-file": "^2.0.5",
1144
+ "require-directory": "^2.1.1",
1145
+ "string-width": "^4.2.3",
1146
+ "y18n": "^5.0.5",
1147
+ "yargs-parser": "^21.1.1"
1148
+ },
1149
+ "engines": {
1150
+ "node": ">=12"
1151
+ }
1152
+ },
1153
+ "node_modules/yargs-parser": {
1154
+ "version": "21.1.1",
1155
+ "license": "ISC",
1156
+ "engines": {
1157
+ "node": ">=12"
1158
+ }
1159
+ },
1160
+ "node_modules/yargs/node_modules/string-width": {
1161
+ "version": "4.2.3",
1162
+ "license": "MIT",
1163
+ "dependencies": {
1164
+ "emoji-regex": "^8.0.0",
1165
+ "is-fullwidth-code-point": "^3.0.0",
1166
+ "strip-ansi": "^6.0.1"
1167
+ },
1168
+ "engines": {
1169
+ "node": ">=8"
1170
+ }
1171
+ },
1172
+ "node_modules/yargs/node_modules/string-width/node_modules/emoji-regex": {
1173
+ "version": "8.0.0",
1174
+ "license": "MIT"
1175
+ },
1176
+ "node_modules/yargs/node_modules/string-width/node_modules/strip-ansi": {
1177
+ "version": "6.0.1",
1178
+ "license": "MIT",
1179
+ "dependencies": {
1180
+ "ansi-regex": "^5.0.1"
1181
+ },
1182
+ "engines": {
1183
+ "node": ">=8"
1184
+ }
1185
+ },
1186
+ "node_modules/yargs/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex": {
1187
+ "version": "5.0.1",
1188
+ "license": "MIT",
1189
+ "engines": {
1190
+ "node": ">=8"
1191
+ }
1192
+ },
1193
+ "node_modules/zod": {
1194
+ "version": "3.22.4",
1195
+ "license": "MIT",
1196
+ "funding": {
1197
+ "url": "https://github.com/sponsors/colinhacks"
1198
+ }
1199
+ }
1200
+ }
1201
+ }