@supatype/cli 0.1.7 → 0.1.9

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 (404) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/.turbo/turbo-test.log +128 -128
  3. package/.turbo/turbo-typecheck.log +1 -1
  4. package/LICENSE +202 -0
  5. package/deno.d.ts +1 -1
  6. package/dist/app/framework.js +1 -1
  7. package/dist/app/framework.js.map +1 -1
  8. package/dist/augmentation-generator.d.ts +1 -1
  9. package/dist/augmentation-generator.js +3 -3
  10. package/dist/augmentation-generator.js.map +1 -1
  11. package/dist/binary-cache.d.ts +30 -8
  12. package/dist/binary-cache.d.ts.map +1 -1
  13. package/dist/binary-cache.js +47 -35
  14. package/dist/binary-cache.js.map +1 -1
  15. package/dist/cache-pins.d.ts +1 -1
  16. package/dist/cache-pins.js +2 -2
  17. package/dist/cache-pins.js.map +1 -1
  18. package/dist/cli-artifacts.d.ts +32 -0
  19. package/dist/cli-artifacts.d.ts.map +1 -0
  20. package/dist/cli-artifacts.js +49 -0
  21. package/dist/cli-artifacts.js.map +1 -0
  22. package/dist/cli-install-method.d.ts +9 -1
  23. package/dist/cli-install-method.d.ts.map +1 -1
  24. package/dist/cli-install-method.js +22 -4
  25. package/dist/cli-install-method.js.map +1 -1
  26. package/dist/cli-package-version.d.ts +1 -1
  27. package/dist/cli-package-version.d.ts.map +1 -1
  28. package/dist/cli-package-version.js +6 -1
  29. package/dist/cli-package-version.js.map +1 -1
  30. package/dist/cli-standalone.d.ts +13 -4
  31. package/dist/cli-standalone.d.ts.map +1 -1
  32. package/dist/cli-standalone.js +86 -31
  33. package/dist/cli-standalone.js.map +1 -1
  34. package/dist/cli-version-embedded.d.ts +10 -0
  35. package/dist/cli-version-embedded.d.ts.map +1 -0
  36. package/dist/cli-version-embedded.js +13 -0
  37. package/dist/cli-version-embedded.js.map +1 -0
  38. package/dist/cli.js +1 -1
  39. package/dist/cli.js.map +1 -1
  40. package/dist/commands/add.js +1 -1
  41. package/dist/commands/add.js.map +1 -1
  42. package/dist/commands/admin.js +6 -6
  43. package/dist/commands/admin.js.map +1 -1
  44. package/dist/commands/adopt.js +1 -1
  45. package/dist/commands/adopt.js.map +1 -1
  46. package/dist/commands/app.js +2 -2
  47. package/dist/commands/app.js.map +1 -1
  48. package/dist/commands/cache.d.ts +1 -1
  49. package/dist/commands/cache.js +3 -3
  50. package/dist/commands/cache.js.map +1 -1
  51. package/dist/commands/db.d.ts +3 -3
  52. package/dist/commands/db.js +9 -9
  53. package/dist/commands/db.js.map +1 -1
  54. package/dist/commands/deploy.d.ts +9 -9
  55. package/dist/commands/deploy.js +12 -12
  56. package/dist/commands/deploy.js.map +1 -1
  57. package/dist/commands/dev.d.ts +3 -3
  58. package/dist/commands/dev.js +17 -17
  59. package/dist/commands/dev.js.map +1 -1
  60. package/dist/commands/doctor.d.ts +1 -1
  61. package/dist/commands/doctor.js +3 -3
  62. package/dist/commands/doctor.js.map +1 -1
  63. package/dist/commands/engine.d.ts +1 -1
  64. package/dist/commands/engine.js +1 -1
  65. package/dist/commands/functions.js +5 -5
  66. package/dist/commands/functions.js.map +1 -1
  67. package/dist/commands/hooks.d.ts +2 -2
  68. package/dist/commands/hooks.js +4 -4
  69. package/dist/commands/hooks.js.map +1 -1
  70. package/dist/commands/init.js +28 -28
  71. package/dist/commands/init.js.map +1 -1
  72. package/dist/commands/login.d.ts +1 -1
  73. package/dist/commands/login.js +1 -1
  74. package/dist/commands/login.js.map +1 -1
  75. package/dist/commands/logs.d.ts +1 -1
  76. package/dist/commands/migrate.js +5 -5
  77. package/dist/commands/migrate.js.map +1 -1
  78. package/dist/commands/pg.d.ts +1 -1
  79. package/dist/commands/pg.js +1 -1
  80. package/dist/commands/plugins.js +1 -1
  81. package/dist/commands/plugins.js.map +1 -1
  82. package/dist/commands/pull.js +2 -2
  83. package/dist/commands/pull.js.map +1 -1
  84. package/dist/commands/push.js +3 -3
  85. package/dist/commands/push.js.map +1 -1
  86. package/dist/commands/self-host.d.ts +1 -1
  87. package/dist/commands/self-host.js +1 -1
  88. package/dist/commands/self-update.d.ts +2 -8
  89. package/dist/commands/self-update.d.ts.map +1 -1
  90. package/dist/commands/self-update.js +20 -12
  91. package/dist/commands/self-update.js.map +1 -1
  92. package/dist/commands/status.d.ts +1 -1
  93. package/dist/commands/update.d.ts +1 -1
  94. package/dist/commands/update.js +1 -1
  95. package/dist/config.d.ts +1 -1
  96. package/dist/config.d.ts.map +1 -1
  97. package/dist/config.js +3 -3
  98. package/dist/config.js.map +1 -1
  99. package/dist/db-preflight.d.ts +4 -4
  100. package/dist/db-preflight.js +14 -14
  101. package/dist/db-preflight.js.map +1 -1
  102. package/dist/dev-compose.d.ts +3 -3
  103. package/dist/dev-compose.js +27 -27
  104. package/dist/dev-compose.js.map +1 -1
  105. package/dist/dev-log-filter.d.ts +1 -1
  106. package/dist/dev-log-filter.d.ts.map +1 -1
  107. package/dist/dev-log-filter.js +1 -1
  108. package/dist/dev-log-filter.js.map +1 -1
  109. package/dist/dev-ports.d.ts +2 -2
  110. package/dist/dev-ports.d.ts.map +1 -1
  111. package/dist/dev-ports.js +2 -2
  112. package/dist/dev-ports.js.map +1 -1
  113. package/dist/dev-session.d.ts +5 -5
  114. package/dist/dev-session.d.ts.map +1 -1
  115. package/dist/dev-session.js +6 -6
  116. package/dist/dev-session.js.map +1 -1
  117. package/dist/dev-shutdown.d.ts +5 -5
  118. package/dist/dev-shutdown.d.ts.map +1 -1
  119. package/dist/dev-shutdown.js +7 -7
  120. package/dist/dev-shutdown.js.map +1 -1
  121. package/dist/dev-task-colors.d.ts +1 -1
  122. package/dist/dev-task-colors.d.ts.map +1 -1
  123. package/dist/dev-task-colors.js +1 -1
  124. package/dist/dev-task-colors.js.map +1 -1
  125. package/dist/docker-postgres.d.ts +5 -5
  126. package/dist/docker-postgres.d.ts.map +1 -1
  127. package/dist/docker-postgres.js +5 -5
  128. package/dist/docker-postgres.js.map +1 -1
  129. package/dist/docker-runtime.d.ts +2 -2
  130. package/dist/docker-runtime.d.ts.map +1 -1
  131. package/dist/docker-runtime.js +5 -5
  132. package/dist/docker-runtime.js.map +1 -1
  133. package/dist/engine-client.d.ts +1 -1
  134. package/dist/engine-client.js +3 -3
  135. package/dist/engine-client.js.map +1 -1
  136. package/dist/engine-push-output.js +1 -1
  137. package/dist/engine-push-output.js.map +1 -1
  138. package/dist/ensure-binary.d.ts.map +1 -1
  139. package/dist/ensure-binary.js +17 -0
  140. package/dist/ensure-binary.js.map +1 -1
  141. package/dist/ensure-component-binaries.js +1 -1
  142. package/dist/ensure-component-binaries.js.map +1 -1
  143. package/dist/env-file.d.ts +2 -2
  144. package/dist/env-file.d.ts.map +1 -1
  145. package/dist/env-file.js +1 -1
  146. package/dist/env-file.js.map +1 -1
  147. package/dist/field-masking-tier.d.ts +5 -5
  148. package/dist/field-masking-tier.d.ts.map +1 -1
  149. package/dist/field-masking-tier.js +6 -6
  150. package/dist/field-masking-tier.js.map +1 -1
  151. package/dist/functions-deno-types.d.ts +1 -1
  152. package/dist/functions-deno-types.d.ts.map +1 -1
  153. package/dist/functions-deno-types.js +3 -3
  154. package/dist/functions-deno-types.js.map +1 -1
  155. package/dist/functions-router-gen.js +1 -1
  156. package/dist/gitignore.d.ts +2 -2
  157. package/dist/gitignore.d.ts.map +1 -1
  158. package/dist/gitignore.js +3 -3
  159. package/dist/gitignore.js.map +1 -1
  160. package/dist/hook-upload.d.ts +1 -1
  161. package/dist/hook-upload.js +3 -3
  162. package/dist/hooks-generator.d.ts +1 -1
  163. package/dist/hooks-generator.js +9 -9
  164. package/dist/index.d.ts +1 -1
  165. package/dist/index.js +1 -1
  166. package/dist/init-project-detect.d.ts +1 -1
  167. package/dist/init-project-detect.d.ts.map +1 -1
  168. package/dist/init-project-detect.js +1 -1
  169. package/dist/init-project-detect.js.map +1 -1
  170. package/dist/link.d.ts +1 -1
  171. package/dist/link.d.ts.map +1 -1
  172. package/dist/local-secrets.d.ts +5 -5
  173. package/dist/local-secrets.js +5 -5
  174. package/dist/main.d.ts +2 -0
  175. package/dist/main.d.ts.map +1 -0
  176. package/dist/main.js +20 -0
  177. package/dist/main.js.map +1 -0
  178. package/dist/model-hooks.d.ts +3 -3
  179. package/dist/model-hooks.js +4 -4
  180. package/dist/pgbouncer-userlist.d.ts +1 -1
  181. package/dist/pgbouncer-userlist.d.ts.map +1 -1
  182. package/dist/pgbouncer-userlist.js +2 -2
  183. package/dist/pgbouncer-userlist.js.map +1 -1
  184. package/dist/postgres-ctl.d.ts +1 -1
  185. package/dist/postgres-ctl.js +4 -4
  186. package/dist/postgres-ctl.js.map +1 -1
  187. package/dist/process-manager.d.ts +2 -2
  188. package/dist/process-manager.d.ts.map +1 -1
  189. package/dist/process-manager.js +4 -4
  190. package/dist/process-manager.js.map +1 -1
  191. package/dist/project-config.d.ts +12 -12
  192. package/dist/project-config.d.ts.map +1 -1
  193. package/dist/project-config.js +9 -9
  194. package/dist/project-config.js.map +1 -1
  195. package/dist/pull-utils.d.ts +2 -2
  196. package/dist/pull-utils.d.ts.map +1 -1
  197. package/dist/pull-utils.js +4 -4
  198. package/dist/pull-utils.js.map +1 -1
  199. package/dist/realtime-launch.js +1 -1
  200. package/dist/realtime-launch.js.map +1 -1
  201. package/dist/release-pins.d.ts +1 -1
  202. package/dist/release-pins.js +2 -2
  203. package/dist/release-pins.js.map +1 -1
  204. package/dist/resolve-api-url.js +1 -1
  205. package/dist/resolve-api-url.js.map +1 -1
  206. package/dist/resolve-target.d.ts +1 -1
  207. package/dist/resolve-target.d.ts.map +1 -1
  208. package/dist/rest-cache-admin.js +2 -2
  209. package/dist/rest-cache-admin.js.map +1 -1
  210. package/dist/runtime-routes.d.ts +1 -1
  211. package/dist/runtime-routes.js +1 -1
  212. package/dist/schema-ast-v2.d.ts +3 -3
  213. package/dist/schema-ast-v2.d.ts.map +1 -1
  214. package/dist/schema-ast-v2.js +2 -2
  215. package/dist/schema-ast-v2.js.map +1 -1
  216. package/dist/schema-push-lock.js +3 -3
  217. package/dist/schema-push-lock.js.map +1 -1
  218. package/dist/scripts/postinstall.d.ts +1 -1
  219. package/dist/scripts/postinstall.js +1 -1
  220. package/dist/self-host-compose.d.ts +5 -5
  221. package/dist/self-host-compose.d.ts.map +1 -1
  222. package/dist/self-host-compose.js +24 -24
  223. package/dist/self-host-compose.js.map +1 -1
  224. package/dist/service-role-check.js +3 -3
  225. package/dist/service-role-check.js.map +1 -1
  226. package/dist/storage-provision.d.ts +1 -1
  227. package/dist/storage-provision.js +3 -3
  228. package/dist/storage-provision.js.map +1 -1
  229. package/dist/studio-dev-server.d.ts +1 -1
  230. package/dist/studio-dev-server.d.ts.map +1 -1
  231. package/dist/systemd.d.ts +1 -1
  232. package/dist/systemd.js +1 -1
  233. package/dist/target-client.js +1 -1
  234. package/dist/target-client.js.map +1 -1
  235. package/dist/tsx-runner.js +1 -1
  236. package/dist/tsx-runner.js.map +1 -1
  237. package/dist/type-extractor.js +27 -27
  238. package/dist/type-extractor.js.map +1 -1
  239. package/dist/type-resolver.js +1 -1
  240. package/dist/type-resolver.js.map +1 -1
  241. package/dist/ui/brand.d.ts +1 -1
  242. package/dist/ui/brand.js +1 -1
  243. package/dist/ui/components/LogoWordmark.d.ts +1 -1
  244. package/dist/ui/components/LogoWordmark.d.ts.map +1 -1
  245. package/dist/ui/components/LogoWordmark.js +1 -1
  246. package/dist/ui/components/LogoWordmark.js.map +1 -1
  247. package/dist/ui/components/SelectField.js +1 -1
  248. package/dist/ui/components/SelectField.js.map +1 -1
  249. package/dist/ui/confirm.d.ts +1 -1
  250. package/dist/ui/confirm.js +1 -1
  251. package/dist/ui/fatal.d.ts +1 -1
  252. package/dist/ui/fatal.d.ts.map +1 -1
  253. package/dist/ui/fatal.js +1 -1
  254. package/dist/ui/fatal.js.map +1 -1
  255. package/dist/ui/flows/prompt-fields.js +1 -1
  256. package/dist/ui/flows/prompt-fields.js.map +1 -1
  257. package/dist/ui/interactive.d.ts +1 -1
  258. package/dist/ui/interactive.d.ts.map +1 -1
  259. package/dist/ui/interactive.js +1 -1
  260. package/dist/ui/interactive.js.map +1 -1
  261. package/dist/ui/progress.d.ts +1 -1
  262. package/dist/ui/progress.js +1 -1
  263. package/dist/ui/runtime/command-chrome.js +1 -1
  264. package/dist/ui/runtime/command-chrome.js.map +1 -1
  265. package/dist/ui/runtime/run-clack-flow.js +1 -1
  266. package/dist/ui/runtime/run-clack-flow.js.map +1 -1
  267. package/dist/ui/runtime/stdin-after-ink.js +1 -1
  268. package/dist/ui/runtime/stdin-after-ink.js.map +1 -1
  269. package/dist/ui/theme.d.ts +1 -1
  270. package/dist/ui/theme.js +1 -1
  271. package/dist/valkey-sidecar.d.ts +1 -1
  272. package/dist/valkey-sidecar.d.ts.map +1 -1
  273. package/dist/valkey-sidecar.js +2 -2
  274. package/dist/valkey-sidecar.js.map +1 -1
  275. package/package.json +3 -2
  276. package/scripts/build-release-artifacts.sh +112 -0
  277. package/scripts/generate-homebrew-formula.mjs +47 -45
  278. package/scripts/mirror-deno-release.sh +1 -1
  279. package/src/TYPE-RESOLUTION.md +31 -31
  280. package/src/app/framework.ts +1 -1
  281. package/src/augmentation-generator.ts +3 -3
  282. package/src/binary-cache.ts +51 -36
  283. package/src/cache-pins.ts +2 -2
  284. package/src/cli-artifacts.ts +65 -0
  285. package/src/cli-install-method.ts +24 -4
  286. package/src/cli-package-version.ts +5 -1
  287. package/src/cli-standalone.ts +116 -34
  288. package/src/cli-version-embedded.ts +12 -0
  289. package/src/cli.ts +1 -1
  290. package/src/commands/add.ts +1 -1
  291. package/src/commands/admin.ts +6 -6
  292. package/src/commands/adopt.ts +1 -1
  293. package/src/commands/app.ts +2 -2
  294. package/src/commands/cache.ts +3 -3
  295. package/src/commands/db.ts +9 -9
  296. package/src/commands/deploy.ts +12 -12
  297. package/src/commands/dev.ts +19 -19
  298. package/src/commands/doctor.ts +3 -3
  299. package/src/commands/engine.ts +1 -1
  300. package/src/commands/functions.ts +5 -5
  301. package/src/commands/hooks.ts +6 -6
  302. package/src/commands/init.ts +28 -28
  303. package/src/commands/login.ts +2 -2
  304. package/src/commands/logs.ts +1 -1
  305. package/src/commands/migrate.ts +5 -5
  306. package/src/commands/pg.ts +1 -1
  307. package/src/commands/plugins.ts +1 -1
  308. package/src/commands/pull.ts +2 -2
  309. package/src/commands/push.ts +3 -3
  310. package/src/commands/self-host.ts +1 -1
  311. package/src/commands/self-update.ts +23 -73
  312. package/src/commands/status.ts +1 -1
  313. package/src/commands/update.ts +1 -1
  314. package/src/config.ts +3 -3
  315. package/src/db-preflight.ts +15 -15
  316. package/src/dev-compose.ts +27 -27
  317. package/src/dev-log-filter.ts +1 -1
  318. package/src/dev-ports.ts +3 -3
  319. package/src/dev-session.ts +6 -6
  320. package/src/dev-shutdown.ts +8 -8
  321. package/src/dev-task-colors.ts +1 -1
  322. package/src/docker-postgres.ts +6 -6
  323. package/src/docker-runtime.ts +5 -5
  324. package/src/engine-client.ts +3 -3
  325. package/src/engine-push-output.ts +1 -1
  326. package/src/ensure-binary.ts +20 -0
  327. package/src/ensure-component-binaries.ts +1 -1
  328. package/src/env-file.ts +2 -2
  329. package/src/field-masking-tier.ts +6 -6
  330. package/src/functions-deno-types.ts +3 -3
  331. package/src/functions-router-gen.ts +1 -1
  332. package/src/gitignore.ts +3 -3
  333. package/src/hook-upload.ts +3 -3
  334. package/src/hooks-generator.ts +9 -9
  335. package/src/index.ts +1 -1
  336. package/src/init-project-detect.ts +1 -1
  337. package/src/link.ts +1 -1
  338. package/src/local-secrets.ts +5 -5
  339. package/src/main.ts +20 -0
  340. package/src/model-hooks.ts +4 -4
  341. package/src/pgbouncer-userlist.ts +2 -2
  342. package/src/postgres-ctl.ts +4 -4
  343. package/src/process-manager.ts +4 -4
  344. package/src/project-config.ts +16 -16
  345. package/src/pull-utils.ts +4 -4
  346. package/src/realtime-launch.ts +1 -1
  347. package/src/release-pins.ts +2 -2
  348. package/src/resolve-api-url.ts +1 -1
  349. package/src/resolve-target.ts +1 -1
  350. package/src/rest-cache-admin.ts +2 -2
  351. package/src/runtime-routes.ts +2 -2
  352. package/src/schema-ast-v2.ts +4 -4
  353. package/src/schema-push-lock.ts +3 -3
  354. package/src/scripts/postinstall.ts +1 -1
  355. package/src/self-host-compose.ts +25 -25
  356. package/src/service-role-check.ts +3 -3
  357. package/src/storage-provision.ts +3 -3
  358. package/src/studio-dev-server.ts +1 -1
  359. package/src/systemd.ts +1 -1
  360. package/src/target-client.ts +1 -1
  361. package/src/tsx-runner.ts +1 -1
  362. package/src/type-extractor.ts +27 -27
  363. package/src/type-resolver.ts +1 -1
  364. package/src/ui/README.md +1 -1
  365. package/src/ui/brand.ts +1 -1
  366. package/src/ui/components/LogoWordmark.tsx +1 -1
  367. package/src/ui/components/SelectField.tsx +1 -1
  368. package/src/ui/confirm.ts +1 -1
  369. package/src/ui/fatal.ts +1 -1
  370. package/src/ui/flows/prompt-fields.tsx +1 -1
  371. package/src/ui/interactive.ts +1 -1
  372. package/src/ui/progress.ts +1 -1
  373. package/src/ui/runtime/command-chrome.ts +1 -1
  374. package/src/ui/runtime/run-clack-flow.tsx +1 -1
  375. package/src/ui/runtime/stdin-after-ink.ts +1 -1
  376. package/src/ui/theme.ts +1 -1
  377. package/src/valkey-sidecar.ts +2 -2
  378. package/tests/access-composition.test.ts +6 -6
  379. package/tests/admin-studio-membership.test.ts +1 -1
  380. package/tests/api-schemas.test.ts +1 -1
  381. package/tests/archive-name-alias.test.ts +1 -1
  382. package/tests/cli-help.test.ts +8 -2
  383. package/tests/db-preflight.test.ts +1 -1
  384. package/tests/doctor-render.test.ts +3 -3
  385. package/tests/doctor-service-role.test.ts +2 -2
  386. package/tests/engine-push-output.test.ts +1 -1
  387. package/tests/env-file.test.ts +3 -3
  388. package/tests/external-database-compose.test.ts +5 -5
  389. package/tests/external-database-config.test.ts +2 -2
  390. package/tests/field-masking-tier.test.ts +1 -1
  391. package/tests/homebrew-formula.test.ts +68 -26
  392. package/tests/hook-upload.test.ts +1 -1
  393. package/tests/hooks-generator.test.ts +1 -1
  394. package/tests/init.test.ts +2 -2
  395. package/tests/keys.test.ts +8 -2
  396. package/tests/local-secrets.test.ts +3 -3
  397. package/tests/model-hooks.test.ts +6 -6
  398. package/tests/runtime-contract.test.ts +2 -2
  399. package/tests/service-role-check.test.ts +3 -3
  400. package/tests/storage-provision.test.ts +1 -1
  401. package/tests/type-extractor.test.ts +2 -2
  402. package/tsconfig.tsbuildinfo +1 -1
  403. package/vitest.config.ts +7 -1
  404. package/scripts/build-release-bundle.mjs +0 -27
@@ -1,4 +1,4 @@
1
1
 
2
- > @supatype/cli@0.1.7 build /home/runner/work/supatype/supatype/packages/cli
2
+ > @supatype/cli@0.1.9 build /home/runner/work/supatype/supatype/packages/cli
3
3
  > tsc --project tsconfig.json && node --input-type=module -e "import{cpSync,mkdirSync}from'node:fs';const a='dist/assets';mkdirSync(a,{recursive:true});cpSync('assets/supatype-logo-wordmark.ascii.txt',a+'/supatype-logo-wordmark.ascii.txt')"
4
4
 
@@ -1,14 +1,14 @@
1
1
 
2
- > @supatype/cli@0.1.7 test /home/runner/work/supatype/supatype/packages/cli
2
+ > @supatype/cli@0.1.9 test /home/runner/work/supatype/supatype/packages/cli
3
3
  > vitest run
4
4
 
5
5
 
6
6
   RUN  v4.0.18 /home/runner/work/supatype/supatype/packages/cli
7
7
 
8
- ✓ tests/access-composition.test.ts (26 tests) 98ms
9
- ✓ tests/type-extractor.test.ts (43 tests) 197ms
10
- ✓ tests/model-hooks.test.ts (19 tests) 72ms
11
- ✓ tests/runtime-contract.test.ts (49 tests) 128ms
8
+ ✓ tests/type-extractor.test.ts (43 tests) 286ms
9
+ ✓ tests/access-composition.test.ts (26 tests) 237ms
10
+ ✓ tests/model-hooks.test.ts (19 tests) 116ms
11
+ ✓ tests/runtime-contract.test.ts (49 tests) 173ms
12
12
  stdout | tests/init.test.ts > scaffold() > creates all expected files
13
13
   created package.json
14
14
  created supatype.config.ts
@@ -295,11 +295,11 @@
295
295
  created public/.gitkeep
296
296
  created .gitignore
297
297
 
298
- ✓ tests/init.test.ts (26 tests) 83ms
299
- ✓ tests/field-masking-tier.test.ts (16 tests) 17ms
300
- ✓ tests/external-database-compose.test.ts (17 tests) 10ms
298
+ ✓ tests/init.test.ts (26 tests) 93ms
299
+ ✓ tests/field-masking-tier.test.ts (16 tests) 21ms
300
+ ✓ tests/external-database-compose.test.ts (17 tests) 21ms
301
301
 
302
- ✓ tests/dev-ui.test.ts (21 tests) 137ms
302
+ ✓ tests/dev-ui.test.ts (21 tests) 131ms
303
303
 
304
304
  [supatype] Shutting down…
305
305
  stdout | tests/docker-runtime.test.ts > requireDockerDaemon > exits when the daemon is unavailable
@@ -310,30 +310,30 @@
310
310
 
311
311
  docker: daemon down
312
312
 
313
- ✓ tests/docker-runtime.test.ts (10 tests) 17ms
314
- ✓ tests/hooks-generator.test.ts (5 tests) 4289ms
315
- ✓ typechecks under strict mode, together with a handler that uses it  2129ms
316
- ✓ rejects a handler for a table that declares no hook  2114ms
317
- ✓ tests/config.test.ts (19 tests) 6755ms
318
- ✓ loads a valid supatype.config.ts (plain export default, no package imports)  604ms
319
- ✓ normalizes shorthand schema string to { path, pg_schema }  592ms
320
- ✓ loads a supatype.config.js (plain ESM)  591ms
321
- ✓ loads config without a versions section (latest by default)  882ms
322
- ✓ prefers supatype.config.ts over supatype.config.js when both exist  724ms
323
- ✓ supports optional output field in config  642ms
324
- ✓ merges supatype.local.config.ts over base  1575ms
325
- ✓ loads defineConfig import before @supatype/cli is installed (init scaffold)  1124ms
326
- ✓ tests/functions-deno-types.test.ts (7 tests) 3039ms
327
- ✓ tsc fails with Cannot find name Deno without ambient types  2224ms
328
- ✓ tsc passes for Deno.env after ensureFunctionsDenoTypes  796ms
329
- ✓ tests/external-database-config.test.ts (14 tests) 10ms
330
- ✓ tests/cache-clean.test.ts (8 tests) 1812ms
331
- ✓ keeps pinned versions and removes the rest  616ms
332
- ✓ --force removes pinned versions  576ms
333
- ✓ explicit version removes even when pinned (with warning)  588ms
334
- ✓ tests/command-chrome-coverage.test.ts (1 test) 12ms
335
- ✓ tests/env-file.test.ts (9 tests) 16ms
336
- ✓ tests/hook-upload.test.ts (8 tests) 10ms
313
+ ✓ tests/docker-runtime.test.ts (10 tests) 19ms
314
+ ✓ tests/hooks-generator.test.ts (5 tests) 6285ms
315
+ ✓ typechecks under strict mode, together with a handler that uses it  3112ms
316
+ ✓ rejects a handler for a table that declares no hook  3128ms
317
+ ✓ tests/config.test.ts (19 tests) 9051ms
318
+ ✓ loads a valid supatype.config.ts (plain export default, no package imports)  954ms
319
+ ✓ normalizes shorthand schema string to { path, pg_schema }  785ms
320
+ ✓ loads a supatype.config.js (plain ESM)  828ms
321
+ ✓ loads config without a versions section (latest by default)  967ms
322
+ ✓ prefers supatype.config.ts over supatype.config.js when both exist  1002ms
323
+ ✓ supports optional output field in config  963ms
324
+ ✓ merges supatype.local.config.ts over base  1972ms
325
+ ✓ loads defineConfig import before @supatype/cli is installed (init scaffold)  1567ms
326
+ ✓ tests/functions-deno-types.test.ts (7 tests) 4280ms
327
+ ✓ tsc fails with Cannot find name Deno without ambient types  3062ms
328
+ ✓ tsc passes for Deno.env after ensureFunctionsDenoTypes  1196ms
329
+ ✓ tests/external-database-config.test.ts (14 tests) 13ms
330
+ ✓ tests/cache-clean.test.ts (8 tests) 2483ms
331
+ ✓ keeps pinned versions and removes the rest  857ms
332
+ ✓ --force removes pinned versions  801ms
333
+ ✓ explicit version removes even when pinned (with warning)  808ms
334
+ ✓ tests/command-chrome-coverage.test.ts (1 test) 18ms
335
+ ✓ tests/hook-upload.test.ts (8 tests) 13ms
336
+ ✓ tests/env-file.test.ts (9 tests) 18ms
337
337
  stdout | tests/link.test.ts > link model > migrates cloud.json into link.json
338
338
   created package.json
339
339
  created supatype.config.ts
@@ -347,11 +347,10 @@
347
347
  stderr | tests/link.test.ts > link model > migrates cloud.json into link.json
348
348
  [supatype] Migrated .supatype/cloud.json → .supatype/link.json (legacy files kept; remove manually when ready).
349
349
 
350
- ✓ tests/link.test.ts (4 tests) 2993ms
351
- ✓ resolveTarget returns cloud mode with /api/v1 prefix  944ms
352
- ✓ resolveTarget returns self-host mode with /platform/v1 prefix  1021ms
353
- ✓ targetSchemaRollback posts to /platform/v1 when linked  1017ms
354
- ✓ tests/service-role-check.test.ts (10 tests) 16ms
350
+ ✓ tests/link.test.ts (4 tests) 3068ms
351
+ ✓ resolveTarget returns cloud mode with /api/v1 prefix  935ms
352
+ ✓ resolveTarget returns self-host mode with /platform/v1 prefix  1084ms
353
+ ✓ targetSchemaRollback posts to /platform/v1 when linked  1036ms
355
354
  stdout | tests/admin-ensure.test.ts > init admin seed in .env > writes SUPATYPE_ADMIN_* when scaffold options include credentials
356
355
   created package.json
357
356
  created supatype.config.ts
@@ -362,7 +361,8 @@
362
361
  created public/.gitkeep
363
362
  created .gitignore
364
363
 
365
- ✓ tests/admin-ensure.test.ts (10 tests) 167ms
364
+ ✓ tests/admin-ensure.test.ts (10 tests) 199ms
365
+ ✓ tests/service-role-check.test.ts (10 tests) 13ms
366
366
  stdout | tests/admin-studio-membership.test.ts > first admin user creation > does not write a role into app_metadata
367
367
  [supatype] Admin user "admin@example.com" created (role: admin).
368
368
  [supatype] Log in at /admin after starting the dev server.
@@ -379,19 +379,20 @@
379
379
  [supatype] Admin user "admin@example.com" created (role: admin).
380
380
  [supatype] Log in at /admin after starting the dev server.
381
381
 
382
- ✓ tests/admin-studio-membership.test.ts (5 tests) 472ms
383
- ✓ tests/augmentation-generator.test.ts (6 tests) 18ms
384
- ✓ tests/pull-utils.test.ts (49 tests) 12ms
385
- ✓ tests/schema-sources.test.ts (5 tests) 1217ms
386
- ✓ buildSchemaSourcesPayload includes manifest metadata  547ms
387
- ✓ restore overwrites modified local files  625ms
382
+ ✓ tests/admin-studio-membership.test.ts (5 tests) 524ms
383
+ ✓ tests/augmentation-generator.test.ts (6 tests) 13ms
384
+ ✓ tests/pull-utils.test.ts (49 tests) 9ms
385
+ ✓ tests/schema-sources.test.ts (5 tests) 1184ms
386
+ ✓ buildSchemaSourcesPayload includes manifest metadata  580ms
387
+ ✓ restore overwrites modified local files  558ms
388
388
  stderr | tests/binary-cache-cloud-overrides.test.ts > isLinkedToCloudProject > is true when .supatype/cloud.json has projectSlug
389
389
  [supatype] Migrated .supatype/cloud.json → .supatype/link.json (legacy files kept; remove manually when ready).
390
390
 
391
- ✓ tests/binary-cache-cloud-overrides.test.ts (11 tests) 21ms
392
- ✓ tests/minisign.test.ts (5 tests) 14ms
391
+ ✓ tests/binary-cache-cloud-overrides.test.ts (11 tests) 20ms
392
+ ✓ tests/homebrew-formula.test.ts (4 tests) 220ms
393
+ ✓ tests/minisign.test.ts (5 tests) 13ms
393
394
  ✓ tests/local-secrets.test.ts (5 tests) 10ms
394
- ✓ tests/api-schemas.test.ts (10 tests) 7ms
395
+ ✓ tests/api-schemas.test.ts (10 tests) 10ms
395
396
  stdout | tests/storage-provision.test.ts > provisionBuckets > POSTs each bucket to the storage API
396
397
  [supatype] Storage bucket "photos" ready.
397
398
 
@@ -399,65 +400,63 @@
399
400
  [supatype] Storage bucket "avatars" ready.
400
401
 
401
402
  ✓ tests/storage-provision.test.ts (6 tests) 13ms
402
- ✓ tests/db-preflight.test.ts (6 tests) 5ms
403
- ✓ tests/cached-artifact-format.test.ts (7 tests) 12ms
404
- ✓ tests/proxy-dev-app.test.ts (7 tests) 11ms
405
- ✓ tests/target-client-refresh.test.ts (3 tests) 10ms
406
- ✓ tests/keys.test.ts (11 tests) 16648ms
407
- ✓ exits 0 with --secret  1438ms
408
- ✓ outputs ANON_KEY= line  1408ms
409
- ✓ outputs SERVICE_ROLE_KEY= line  1435ms
410
- ✓ ANON_KEY is a valid three-part JWT  1381ms
411
- ✓ SERVICE_ROLE_KEY payload has role: service_role  1372ms
412
- ✓ JWT has exp in the future  1374ms
413
- ✓ --exp-years changes the expiry window  2746ms
414
- ✓ reads JWT_SECRET from environment variable  1360ms
415
- ✓ reads JWT_SECRET from .env file  1405ms
416
- ✓ exits non-zero when no secret is available  1347ms
417
- ✓ keys --help shows --secret and --exp-years options  1375ms
418
- ✓ tests/init-dependency-versions.test.ts (4 tests) 41ms
419
- ✓ tests/service-role-routes.test.ts (4 tests) 1870ms
420
- ✓ reads the declared list  606ms
421
- ✓ is an empty list when a project declares none  587ms
422
- ✓ sends what the project declared, hook entries included  674ms
423
- ✓ tests/type-resolver.test.ts (2 tests) 15ms
424
- ✓ tests/engine-push-output.test.ts (7 tests) 6ms
425
- ✓ tests/tsx-runner.test.ts (7 tests) 3011ms
426
- ✓ evaluates a simple expression and returns stdout  423ms
427
- ✓ evaluates TypeScript syntax (type annotations)  464ms
428
- ✓ can serialize a JSON object to stdout  379ms
429
- ✓ returns non-zero exit code on syntax error  403ms
430
- ✓ returns non-zero exit code on runtime error  398ms
431
- ✓ captures stderr separately from stdout  409ms
432
- ✓ runs a .ts file and returns its stdout  531ms
433
- ✓ tests/homebrew-formula.test.ts (2 tests) 119ms
403
+ ✓ tests/db-preflight.test.ts (6 tests) 7ms
404
+ ✓ tests/cached-artifact-format.test.ts (7 tests) 16ms
405
+ ✓ tests/keys.test.ts (11 tests) 18813ms
406
+ ✓ exits 0 with --secret  2003ms
407
+ ✓ outputs ANON_KEY= line  2049ms
408
+ ✓ outputs SERVICE_ROLE_KEY= line  1603ms
409
+ ✓ ANON_KEY is a valid three-part JWT  1419ms
410
+ ✓ SERVICE_ROLE_KEY payload has role: service_role  1615ms
411
+ ✓ JWT has exp in the future  1439ms
412
+ ✓ --exp-years changes the expiry window  2866ms
413
+ ✓ reads JWT_SECRET from environment variable  1553ms
414
+ ✓ reads JWT_SECRET from .env file  1495ms
415
+ ✓ exits non-zero when no secret is available  1357ms
416
+ ✓ keys --help shows --secret and --exp-years options  1406ms
417
+ ✓ tests/target-client-refresh.test.ts (3 tests) 12ms
418
+ ✓ tests/proxy-dev-app.test.ts (7 tests) 9ms
419
+ ✓ tests/init-dependency-versions.test.ts (4 tests) 42ms
420
+ ✓ tests/service-role-routes.test.ts (4 tests) 1898ms
421
+ ✓ reads the declared list  635ms
422
+ ✓ is an empty list when a project declares none  606ms
423
+ ✓ sends what the project declared, hook entries included  653ms
424
+ ✓ tests/type-resolver.test.ts (2 tests) 18ms
425
+ ✓ tests/engine-push-output.test.ts (7 tests) 8ms
426
+ ✓ tests/tsx-runner.test.ts (7 tests) 3014ms
427
+ ✓ evaluates a simple expression and returns stdout  415ms
428
+ ✓ evaluates TypeScript syntax (type annotations)  391ms
429
+ ✓ can serialize a JSON object to stdout  388ms
430
+ ✓ returns non-zero exit code on syntax error  431ms
431
+ ✓ returns non-zero exit code on runtime error  391ms
432
+ ✓ captures stderr separately from stdout  399ms
433
+ ✓ runs a .ts file and returns its stdout  592ms
434
434
  ✓ tests/command-chrome-wrap.test.ts (3 tests) 7ms
435
- ✓ tests/cli-install-method.test.ts (8 tests) 6ms
436
- ✓ tests/doctor-render.test.ts (3 tests) 6ms
437
- ✓ tests/archive-name-alias.test.ts (4 tests) 5ms
438
- ✓ tests/ensure-binary.test.ts (2 tests) 9ms
439
- ✓ tests/init-project-detect.test.ts (4 tests) 10ms
440
- ✓ tests/cli-help.test.ts (16 tests) 22039ms
441
- ✓ --help lists all top-level commands  1416ms
442
- ✓ --version prints package.json version  1343ms
443
- ✓ self-update --help describes the command  1322ms
444
- ✓ init --help describes the init command  1402ms
445
- ✓ push --help describes the push command and --yes flag  1421ms
446
- ✓ diff --help describes the diff command  1484ms
447
- ✓ pull --help describes scaffold pull command  1404ms
448
- ✓ doctor --help describes drift report command  1311ms
449
- ✓ introspect --help describes database introspection command  1442ms
450
- ✓ adopt --help describes adoption ceremony command  1317ms
451
- ✓ reset --help shows --yes flag  1367ms
452
- ✓ app --help describes the app command with add/remove subcommands  1295ms
453
- ✓ app add --help shows --static and --port options  1418ms
454
- ✓ self-host --help shows compose only (legacy commands hidden)  1380ms
455
- ✓ self-host compose --help shows compose subcommands  1299ms
456
- ✓ unknown command exits non-zero  1411ms
457
- ✓ tests/required-host-components.test.ts (4 tests) 10ms
435
+ ✓ tests/cli-install-method.test.ts (8 tests) 11ms
436
+ ✓ tests/doctor-render.test.ts (3 tests) 7ms
437
+ ✓ tests/archive-name-alias.test.ts (4 tests) 6ms
438
+ ✓ tests/ensure-binary.test.ts (2 tests) 10ms
439
+ ✓ tests/init-project-detect.test.ts (4 tests) 12ms
440
+ ✓ tests/cli-help.test.ts (16 tests) 23883ms
441
+ ✓ --help lists all top-level commands  1687ms
442
+ ✓ --version prints package.json version  2104ms
443
+ ✓ self-update --help describes the command  1369ms
444
+ ✓ init --help describes the init command  1554ms
445
+ ✓ push --help describes the push command and --yes flag  1369ms
446
+ ✓ diff --help describes the diff command  1409ms
447
+ ✓ pull --help describes scaffold pull command  1459ms
448
+ ✓ doctor --help describes drift report command  1413ms
449
+ ✓ introspect --help describes database introspection command  1369ms
450
+ ✓ adopt --help describes adoption ceremony command  1525ms
451
+ ✓ reset --help shows --yes flag  1309ms
452
+ ✓ app --help describes the app command with add/remove subcommands  1434ms
453
+ ✓ app add --help shows --static and --port options  1520ms
454
+ ✓ self-host --help shows compose only (legacy commands hidden)  1566ms
455
+ ✓ self-host compose --help shows compose subcommands  1432ms
456
+ ✓ unknown command exits non-zero  1359ms
457
+ ✓ tests/required-host-components.test.ts (4 tests) 11ms
458
+ ✓ tests/ui-messages.test.ts (5 tests) 8ms
458
459
  ✓ tests/doctor-service-role.test.ts (4 tests) 6ms
459
- ✓ tests/ui-messages.test.ts (5 tests) 7ms
460
- ✓ tests/normalize-admin-config.test.ts (1 test) 7ms
461
460
  stdout | tests/app-command.test.ts > supatype app add --static > sets app.mode=static and static_dir in supatype.config.ts
462
461
   created package.json
463
462
  created supatype.config.ts
@@ -468,10 +467,11 @@
468
467
  created public/.gitkeep
469
468
  created .gitignore
470
469
 
471
- ✓ tests/ui-confirm.test.ts (3 tests) 10ms
472
- ✓ tests/docker-postgres.test.ts (5 tests) 6ms
473
- ✓ tests/binary-download-lock.test.ts (2 tests) 5ms
474
- ✓ tests/dev-session-lock.test.ts (2 tests) 5ms
470
+ ✓ tests/normalize-admin-config.test.ts (1 test) 5ms
471
+ ✓ tests/ui-confirm.test.ts (3 tests) 8ms
472
+ ✓ tests/docker-postgres.test.ts (5 tests) 5ms
473
+ ✓ tests/binary-download-lock.test.ts (2 tests) 7ms
474
+ ✓ tests/dev-session-lock.test.ts (2 tests) 6ms
475
475
  stdout | tests/app-command.test.ts > supatype app add --static > creates the static directory when missing
476
476
   created package.json
477
477
  created supatype.config.ts
@@ -482,28 +482,28 @@
482
482
  created public/.gitkeep
483
483
  created .gitignore
484
484
 
485
- ✓ tests/dev-ports.test.ts (3 tests) 6ms
486
- ✓ tests/route-manifest.test.ts (1 test) 5ms
485
+ ✓ tests/dev-ports.test.ts (3 tests) 15ms
486
+ ✓ tests/route-manifest.test.ts (1 test) 4ms
487
487
  ✓ tests/dev-ready-panel.test.ts (2 tests) 6ms
488
- ✓ tests/studio-admin-roles.test.ts (3 tests) 3ms
489
- ✓ tests/realtime-launch.test.ts (1 test) 5ms
490
- ✓ tests/release-pins.test.ts (2 tests) 4ms
491
- ✓ tests/seed-discover.test.ts (2 tests) 18ms
492
- ✓ tests/app-command.test.ts (2 tests) 2909ms
493
- ✓ sets app.mode=static and static_dir in supatype.config.ts  1558ms
494
- ✓ creates the static directory when missing  1349ms
488
+ ✓ tests/studio-admin-roles.test.ts (3 tests) 5ms
489
+ ✓ tests/seed-discover.test.ts (2 tests) 13ms
490
+ ✓ tests/realtime-launch.test.ts (1 test) 6ms
491
+ ✓ tests/app-command.test.ts (2 tests) 3082ms
492
+ ✓ sets app.mode=static and static_dir in supatype.config.ts  1521ms
493
+ ✓ creates the static directory when missing  1556ms
494
+ ✓ tests/release-pins.test.ts (2 tests) 5ms
495
495
  ✓ tests/ensure-dev-api-config.test.ts (1 test) 5ms
496
- ✓ tests/rest-cache-admin.test.ts (1 test) 35ms
497
- ✓ tests/init-package-json.test.ts (1 test) 3ms
498
- ✓ tests/resolve-api-url.test.ts (2 tests) 4ms
499
- ✓ tests/pg-spawn-env.test.ts (2 tests) 4ms
500
- ✓ tests/migrate-from-v1.test.ts (1 test) 15ms
501
- ✓ tests/cli-package-version.test.ts (1 test) 3ms
502
- ✓ tests/postgres-archive-tag.test.ts (1 test) 2ms
496
+ ✓ tests/rest-cache-admin.test.ts (1 test) 32ms
497
+ ✓ tests/init-package-json.test.ts (1 test) 4ms
498
+ ✓ tests/pg-spawn-env.test.ts (2 tests) 5ms
499
+ ✓ tests/migrate-from-v1.test.ts (1 test) 11ms
500
+ ✓ tests/resolve-api-url.test.ts (2 tests) 6ms
501
+ ✓ tests/cli-package-version.test.ts (1 test) 4ms
502
+ ✓ tests/postgres-archive-tag.test.ts (1 test) 3ms
503
503
  ✓ tests/stdin-after-ink.test.ts (1 test) 3ms
504
504
 
505
505
   Test Files  72 passed (72)
506
-  Tests  577 passed (577)
507
-  Start at  21:55:09
508
-  Duration  40.19s (transform 7.04s, setup 0ms, import 37.11s, tests 68.58s, environment 11ms)
506
+  Tests  579 passed (579)
507
+  Start at  21:59:06
508
+  Duration  46.40s (transform 6.56s, setup 0ms, import 43.32s, tests 79.59s, environment 14ms)
509
509
 
@@ -1,4 +1,4 @@
1
1
 
2
- > @supatype/cli@0.1.7 typecheck /home/runner/work/supatype/supatype/packages/cli
2
+ > @supatype/cli@0.1.9 typecheck /home/runner/work/supatype/supatype/packages/cli
3
3
  > tsc --project tsconfig.json --noEmit && tsc --project tests/tsconfig.json --noEmit
4
4
 
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/deno.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Ambient Deno types for Supatype edge functions (IDE / tsserver).
3
- * Runtime is Deno; this file is NOT a full Deno stdlib it covers the
3
+ * Runtime is Deno; this file is NOT a full Deno stdlib, it covers the
4
4
  * APIs edge functions commonly use (env + a few filesystem helpers).
5
5
  *
6
6
  * Prefer referencing via `functions/deno.d.ts` (scaffolded by
@@ -21,7 +21,7 @@ const FRAMEWORK_DETECTION = [
21
21
  { dep: "@remix-run/react", framework: "remix-spa" },
22
22
  { dep: "@sveltejs/kit", framework: "sveltekit" },
23
23
  { dep: "nuxt", framework: "nuxt" },
24
- // Vite last many frameworks use Vite under the hood
24
+ // Vite last: many frameworks use Vite under the hood
25
25
  { dep: "vite", framework: "vite" },
26
26
  ];
27
27
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"framework.js","sourceRoot":"","sources":["../../src/app/framework.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AACzE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAmBzC,MAAM,kBAAkB,GAA4C;IAClE,MAAM,EAAE,EAAE,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE;IAC1E,KAAK,EAAE,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE;IAC3E,IAAI,EAAE,EAAE,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACxE,WAAW,EAAE,EAAE,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,cAAc,EAAE,GAAG,EAAE,IAAI,EAAE;IAC7F,SAAS,EAAE,EAAE,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE;IAC/E,IAAI,EAAE,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE;IAC5E,MAAM,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,eAAe,EAAE,GAAG,EAAE,GAAG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