@supatype/cli 0.1.7 → 0.1.10

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 (414) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/.turbo/turbo-test.log +125 -122
  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 +17 -1
  23. package/dist/cli-install-method.d.ts.map +1 -1
  24. package/dist/cli-install-method.js +32 -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 +4 -3
  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.d.ts.map +1 -1
  53. package/dist/commands/db.js +12 -11
  54. package/dist/commands/db.js.map +1 -1
  55. package/dist/commands/deploy.d.ts +9 -9
  56. package/dist/commands/deploy.js +12 -12
  57. package/dist/commands/deploy.js.map +1 -1
  58. package/dist/commands/dev.d.ts +3 -3
  59. package/dist/commands/dev.js +17 -17
  60. package/dist/commands/dev.js.map +1 -1
  61. package/dist/commands/doctor.d.ts +1 -1
  62. package/dist/commands/doctor.js +3 -3
  63. package/dist/commands/doctor.js.map +1 -1
  64. package/dist/commands/engine.d.ts +1 -1
  65. package/dist/commands/engine.js +1 -1
  66. package/dist/commands/functions.d.ts.map +1 -1
  67. package/dist/commands/functions.js +8 -7
  68. package/dist/commands/functions.js.map +1 -1
  69. package/dist/commands/hooks.d.ts +2 -2
  70. package/dist/commands/hooks.js +4 -4
  71. package/dist/commands/hooks.js.map +1 -1
  72. package/dist/commands/init.js +28 -28
  73. package/dist/commands/init.js.map +1 -1
  74. package/dist/commands/internal.d.ts.map +1 -1
  75. package/dist/commands/internal.js +37 -0
  76. package/dist/commands/internal.js.map +1 -1
  77. package/dist/commands/login.d.ts +1 -1
  78. package/dist/commands/login.js +1 -1
  79. package/dist/commands/login.js.map +1 -1
  80. package/dist/commands/logs.d.ts +1 -1
  81. package/dist/commands/migrate.js +5 -5
  82. package/dist/commands/migrate.js.map +1 -1
  83. package/dist/commands/pg.d.ts +1 -1
  84. package/dist/commands/pg.js +1 -1
  85. package/dist/commands/plugins.js +1 -1
  86. package/dist/commands/plugins.js.map +1 -1
  87. package/dist/commands/pull.js +2 -2
  88. package/dist/commands/pull.js.map +1 -1
  89. package/dist/commands/push.js +3 -3
  90. package/dist/commands/push.js.map +1 -1
  91. package/dist/commands/self-host.d.ts +1 -1
  92. package/dist/commands/self-host.js +1 -1
  93. package/dist/commands/self-update.d.ts +2 -8
  94. package/dist/commands/self-update.d.ts.map +1 -1
  95. package/dist/commands/self-update.js +20 -12
  96. package/dist/commands/self-update.js.map +1 -1
  97. package/dist/commands/status.d.ts +1 -1
  98. package/dist/commands/update.d.ts +1 -1
  99. package/dist/commands/update.js +1 -1
  100. package/dist/config.d.ts +23 -1
  101. package/dist/config.d.ts.map +1 -1
  102. package/dist/config.js +37 -18
  103. package/dist/config.js.map +1 -1
  104. package/dist/db-preflight.d.ts +4 -4
  105. package/dist/db-preflight.js +14 -14
  106. package/dist/db-preflight.js.map +1 -1
  107. package/dist/dev-compose.d.ts +3 -3
  108. package/dist/dev-compose.js +27 -27
  109. package/dist/dev-compose.js.map +1 -1
  110. package/dist/dev-log-filter.d.ts +1 -1
  111. package/dist/dev-log-filter.d.ts.map +1 -1
  112. package/dist/dev-log-filter.js +1 -1
  113. package/dist/dev-log-filter.js.map +1 -1
  114. package/dist/dev-ports.d.ts +2 -2
  115. package/dist/dev-ports.d.ts.map +1 -1
  116. package/dist/dev-ports.js +2 -2
  117. package/dist/dev-ports.js.map +1 -1
  118. package/dist/dev-session.d.ts +5 -5
  119. package/dist/dev-session.d.ts.map +1 -1
  120. package/dist/dev-session.js +6 -6
  121. package/dist/dev-session.js.map +1 -1
  122. package/dist/dev-shutdown.d.ts +5 -5
  123. package/dist/dev-shutdown.d.ts.map +1 -1
  124. package/dist/dev-shutdown.js +7 -7
  125. package/dist/dev-shutdown.js.map +1 -1
  126. package/dist/dev-task-colors.d.ts +1 -1
  127. package/dist/dev-task-colors.d.ts.map +1 -1
  128. package/dist/dev-task-colors.js +1 -1
  129. package/dist/dev-task-colors.js.map +1 -1
  130. package/dist/docker-postgres.d.ts +5 -5
  131. package/dist/docker-postgres.d.ts.map +1 -1
  132. package/dist/docker-postgres.js +5 -5
  133. package/dist/docker-postgres.js.map +1 -1
  134. package/dist/docker-runtime.d.ts +2 -2
  135. package/dist/docker-runtime.d.ts.map +1 -1
  136. package/dist/docker-runtime.js +5 -5
  137. package/dist/docker-runtime.js.map +1 -1
  138. package/dist/engine-client.d.ts +1 -1
  139. package/dist/engine-client.js +3 -3
  140. package/dist/engine-client.js.map +1 -1
  141. package/dist/engine-push-output.js +1 -1
  142. package/dist/engine-push-output.js.map +1 -1
  143. package/dist/ensure-binary.d.ts.map +1 -1
  144. package/dist/ensure-binary.js +17 -0
  145. package/dist/ensure-binary.js.map +1 -1
  146. package/dist/ensure-component-binaries.js +1 -1
  147. package/dist/ensure-component-binaries.js.map +1 -1
  148. package/dist/env-file.d.ts +2 -2
  149. package/dist/env-file.d.ts.map +1 -1
  150. package/dist/env-file.js +1 -1
  151. package/dist/env-file.js.map +1 -1
  152. package/dist/field-masking-tier.d.ts +5 -5
  153. package/dist/field-masking-tier.d.ts.map +1 -1
  154. package/dist/field-masking-tier.js +6 -6
  155. package/dist/field-masking-tier.js.map +1 -1
  156. package/dist/functions-deno-types.d.ts +1 -1
  157. package/dist/functions-deno-types.d.ts.map +1 -1
  158. package/dist/functions-deno-types.js +3 -3
  159. package/dist/functions-deno-types.js.map +1 -1
  160. package/dist/functions-router-gen.js +1 -1
  161. package/dist/gitignore.d.ts +2 -2
  162. package/dist/gitignore.d.ts.map +1 -1
  163. package/dist/gitignore.js +3 -3
  164. package/dist/gitignore.js.map +1 -1
  165. package/dist/hook-upload.d.ts +1 -1
  166. package/dist/hook-upload.js +3 -3
  167. package/dist/hooks-generator.d.ts +1 -1
  168. package/dist/hooks-generator.js +9 -9
  169. package/dist/index.d.ts +1 -1
  170. package/dist/index.js +1 -1
  171. package/dist/init-project-detect.d.ts +1 -1
  172. package/dist/init-project-detect.d.ts.map +1 -1
  173. package/dist/init-project-detect.js +1 -1
  174. package/dist/init-project-detect.js.map +1 -1
  175. package/dist/link.d.ts +1 -1
  176. package/dist/link.d.ts.map +1 -1
  177. package/dist/local-secrets.d.ts +5 -5
  178. package/dist/local-secrets.js +5 -5
  179. package/dist/main.d.ts +2 -0
  180. package/dist/main.d.ts.map +1 -0
  181. package/dist/main.js +20 -0
  182. package/dist/main.js.map +1 -0
  183. package/dist/model-hooks.d.ts +3 -3
  184. package/dist/model-hooks.js +4 -4
  185. package/dist/pgbouncer-userlist.d.ts +1 -1
  186. package/dist/pgbouncer-userlist.d.ts.map +1 -1
  187. package/dist/pgbouncer-userlist.js +2 -2
  188. package/dist/pgbouncer-userlist.js.map +1 -1
  189. package/dist/postgres-ctl.d.ts +1 -1
  190. package/dist/postgres-ctl.js +4 -4
  191. package/dist/postgres-ctl.js.map +1 -1
  192. package/dist/process-manager.d.ts +2 -2
  193. package/dist/process-manager.d.ts.map +1 -1
  194. package/dist/process-manager.js +4 -4
  195. package/dist/process-manager.js.map +1 -1
  196. package/dist/project-config.d.ts +12 -12
  197. package/dist/project-config.d.ts.map +1 -1
  198. package/dist/project-config.js +9 -9
  199. package/dist/project-config.js.map +1 -1
  200. package/dist/pull-utils.d.ts +2 -2
  201. package/dist/pull-utils.d.ts.map +1 -1
  202. package/dist/pull-utils.js +4 -4
  203. package/dist/pull-utils.js.map +1 -1
  204. package/dist/realtime-launch.js +1 -1
  205. package/dist/realtime-launch.js.map +1 -1
  206. package/dist/release-pins.d.ts +1 -1
  207. package/dist/release-pins.js +2 -2
  208. package/dist/release-pins.js.map +1 -1
  209. package/dist/resolve-api-url.d.ts.map +1 -1
  210. package/dist/resolve-api-url.js +4 -3
  211. package/dist/resolve-api-url.js.map +1 -1
  212. package/dist/resolve-target.d.ts +1 -1
  213. package/dist/resolve-target.d.ts.map +1 -1
  214. package/dist/rest-cache-admin.js +2 -2
  215. package/dist/rest-cache-admin.js.map +1 -1
  216. package/dist/runtime-routes.d.ts +1 -1
  217. package/dist/runtime-routes.js +1 -1
  218. package/dist/schema-ast-v2.d.ts +3 -3
  219. package/dist/schema-ast-v2.d.ts.map +1 -1
  220. package/dist/schema-ast-v2.js +2 -2
  221. package/dist/schema-ast-v2.js.map +1 -1
  222. package/dist/schema-push-lock.js +3 -3
  223. package/dist/schema-push-lock.js.map +1 -1
  224. package/dist/scripts/postinstall.d.ts +1 -1
  225. package/dist/scripts/postinstall.js +1 -1
  226. package/dist/self-host-compose.d.ts +5 -5
  227. package/dist/self-host-compose.d.ts.map +1 -1
  228. package/dist/self-host-compose.js +24 -24
  229. package/dist/self-host-compose.js.map +1 -1
  230. package/dist/service-role-check.js +3 -3
  231. package/dist/service-role-check.js.map +1 -1
  232. package/dist/storage-provision.d.ts +1 -1
  233. package/dist/storage-provision.js +3 -3
  234. package/dist/storage-provision.js.map +1 -1
  235. package/dist/studio-dev-server.d.ts +1 -1
  236. package/dist/studio-dev-server.d.ts.map +1 -1
  237. package/dist/systemd.d.ts +1 -1
  238. package/dist/systemd.js +1 -1
  239. package/dist/target-client.js +1 -1
  240. package/dist/target-client.js.map +1 -1
  241. package/dist/tsx-runner.d.ts +12 -0
  242. package/dist/tsx-runner.d.ts.map +1 -1
  243. package/dist/tsx-runner.js +36 -2
  244. package/dist/tsx-runner.js.map +1 -1
  245. package/dist/type-extractor.js +27 -27
  246. package/dist/type-extractor.js.map +1 -1
  247. package/dist/type-resolver.js +1 -1
  248. package/dist/type-resolver.js.map +1 -1
  249. package/dist/ui/brand.d.ts +1 -1
  250. package/dist/ui/brand.js +1 -1
  251. package/dist/ui/components/LogoWordmark.d.ts +1 -1
  252. package/dist/ui/components/LogoWordmark.d.ts.map +1 -1
  253. package/dist/ui/components/LogoWordmark.js +1 -1
  254. package/dist/ui/components/LogoWordmark.js.map +1 -1
  255. package/dist/ui/components/SelectField.js +1 -1
  256. package/dist/ui/components/SelectField.js.map +1 -1
  257. package/dist/ui/confirm.d.ts +1 -1
  258. package/dist/ui/confirm.js +1 -1
  259. package/dist/ui/fatal.d.ts +1 -1
  260. package/dist/ui/fatal.d.ts.map +1 -1
  261. package/dist/ui/fatal.js +1 -1
  262. package/dist/ui/fatal.js.map +1 -1
  263. package/dist/ui/flows/prompt-fields.js +1 -1
  264. package/dist/ui/flows/prompt-fields.js.map +1 -1
  265. package/dist/ui/interactive.d.ts +1 -1
  266. package/dist/ui/interactive.d.ts.map +1 -1
  267. package/dist/ui/interactive.js +1 -1
  268. package/dist/ui/interactive.js.map +1 -1
  269. package/dist/ui/progress.d.ts +1 -1
  270. package/dist/ui/progress.js +1 -1
  271. package/dist/ui/runtime/command-chrome.js +1 -1
  272. package/dist/ui/runtime/command-chrome.js.map +1 -1
  273. package/dist/ui/runtime/run-clack-flow.js +1 -1
  274. package/dist/ui/runtime/run-clack-flow.js.map +1 -1
  275. package/dist/ui/runtime/stdin-after-ink.js +1 -1
  276. package/dist/ui/runtime/stdin-after-ink.js.map +1 -1
  277. package/dist/ui/theme.d.ts +1 -1
  278. package/dist/ui/theme.js +1 -1
  279. package/dist/valkey-sidecar.d.ts +1 -1
  280. package/dist/valkey-sidecar.d.ts.map +1 -1
  281. package/dist/valkey-sidecar.js +2 -2
  282. package/dist/valkey-sidecar.js.map +1 -1
  283. package/package.json +3 -2
  284. package/scripts/build-release-artifacts.sh +112 -0
  285. package/scripts/generate-homebrew-formula.mjs +47 -45
  286. package/scripts/mirror-deno-release.sh +1 -1
  287. package/src/TYPE-RESOLUTION.md +31 -31
  288. package/src/app/framework.ts +1 -1
  289. package/src/augmentation-generator.ts +3 -3
  290. package/src/binary-cache.ts +51 -36
  291. package/src/cache-pins.ts +2 -2
  292. package/src/cli-artifacts.ts +65 -0
  293. package/src/cli-install-method.ts +35 -4
  294. package/src/cli-package-version.ts +5 -1
  295. package/src/cli-standalone.ts +116 -34
  296. package/src/cli-version-embedded.ts +12 -0
  297. package/src/cli.ts +1 -1
  298. package/src/commands/add.ts +4 -3
  299. package/src/commands/admin.ts +6 -6
  300. package/src/commands/adopt.ts +1 -1
  301. package/src/commands/app.ts +2 -2
  302. package/src/commands/cache.ts +3 -3
  303. package/src/commands/db.ts +12 -11
  304. package/src/commands/deploy.ts +12 -12
  305. package/src/commands/dev.ts +19 -19
  306. package/src/commands/doctor.ts +3 -3
  307. package/src/commands/engine.ts +1 -1
  308. package/src/commands/functions.ts +8 -7
  309. package/src/commands/hooks.ts +6 -6
  310. package/src/commands/init.ts +28 -28
  311. package/src/commands/internal.ts +37 -0
  312. package/src/commands/login.ts +2 -2
  313. package/src/commands/logs.ts +1 -1
  314. package/src/commands/migrate.ts +5 -5
  315. package/src/commands/pg.ts +1 -1
  316. package/src/commands/plugins.ts +1 -1
  317. package/src/commands/pull.ts +2 -2
  318. package/src/commands/push.ts +3 -3
  319. package/src/commands/self-host.ts +1 -1
  320. package/src/commands/self-update.ts +23 -73
  321. package/src/commands/status.ts +1 -1
  322. package/src/commands/update.ts +1 -1
  323. package/src/config.ts +39 -18
  324. package/src/db-preflight.ts +15 -15
  325. package/src/dev-compose.ts +27 -27
  326. package/src/dev-log-filter.ts +1 -1
  327. package/src/dev-ports.ts +3 -3
  328. package/src/dev-session.ts +6 -6
  329. package/src/dev-shutdown.ts +8 -8
  330. package/src/dev-task-colors.ts +1 -1
  331. package/src/docker-postgres.ts +6 -6
  332. package/src/docker-runtime.ts +5 -5
  333. package/src/engine-client.ts +3 -3
  334. package/src/engine-push-output.ts +1 -1
  335. package/src/ensure-binary.ts +20 -0
  336. package/src/ensure-component-binaries.ts +1 -1
  337. package/src/env-file.ts +2 -2
  338. package/src/field-masking-tier.ts +6 -6
  339. package/src/functions-deno-types.ts +3 -3
  340. package/src/functions-router-gen.ts +1 -1
  341. package/src/gitignore.ts +3 -3
  342. package/src/hook-upload.ts +3 -3
  343. package/src/hooks-generator.ts +9 -9
  344. package/src/index.ts +1 -1
  345. package/src/init-project-detect.ts +1 -1
  346. package/src/link.ts +1 -1
  347. package/src/local-secrets.ts +5 -5
  348. package/src/main.ts +20 -0
  349. package/src/model-hooks.ts +4 -4
  350. package/src/pgbouncer-userlist.ts +2 -2
  351. package/src/postgres-ctl.ts +4 -4
  352. package/src/process-manager.ts +4 -4
  353. package/src/project-config.ts +16 -16
  354. package/src/pull-utils.ts +4 -4
  355. package/src/realtime-launch.ts +1 -1
  356. package/src/release-pins.ts +2 -2
  357. package/src/resolve-api-url.ts +4 -3
  358. package/src/resolve-target.ts +1 -1
  359. package/src/rest-cache-admin.ts +2 -2
  360. package/src/runtime-routes.ts +2 -2
  361. package/src/schema-ast-v2.ts +4 -4
  362. package/src/schema-push-lock.ts +3 -3
  363. package/src/scripts/postinstall.ts +1 -1
  364. package/src/self-host-compose.ts +25 -25
  365. package/src/service-role-check.ts +3 -3
  366. package/src/storage-provision.ts +3 -3
  367. package/src/studio-dev-server.ts +1 -1
  368. package/src/systemd.ts +1 -1
  369. package/src/target-client.ts +1 -1
  370. package/src/tsx-runner.ts +41 -2
  371. package/src/type-extractor.ts +27 -27
  372. package/src/type-resolver.ts +1 -1
  373. package/src/ui/README.md +1 -1
  374. package/src/ui/brand.ts +1 -1
  375. package/src/ui/components/LogoWordmark.tsx +1 -1
  376. package/src/ui/components/SelectField.tsx +1 -1
  377. package/src/ui/confirm.ts +1 -1
  378. package/src/ui/fatal.ts +1 -1
  379. package/src/ui/flows/prompt-fields.tsx +1 -1
  380. package/src/ui/interactive.ts +1 -1
  381. package/src/ui/progress.ts +1 -1
  382. package/src/ui/runtime/command-chrome.ts +1 -1
  383. package/src/ui/runtime/run-clack-flow.tsx +1 -1
  384. package/src/ui/runtime/stdin-after-ink.ts +1 -1
  385. package/src/ui/theme.ts +1 -1
  386. package/src/valkey-sidecar.ts +2 -2
  387. package/tests/access-composition.test.ts +6 -6
  388. package/tests/admin-studio-membership.test.ts +1 -1
  389. package/tests/api-schemas.test.ts +1 -1
  390. package/tests/archive-name-alias.test.ts +1 -1
  391. package/tests/cli-help.test.ts +8 -2
  392. package/tests/config-load-failure.test.ts +44 -0
  393. package/tests/db-preflight.test.ts +1 -1
  394. package/tests/doctor-render.test.ts +3 -3
  395. package/tests/doctor-service-role.test.ts +2 -2
  396. package/tests/engine-push-output.test.ts +1 -1
  397. package/tests/env-file.test.ts +3 -3
  398. package/tests/external-database-compose.test.ts +5 -5
  399. package/tests/external-database-config.test.ts +2 -2
  400. package/tests/field-masking-tier.test.ts +1 -1
  401. package/tests/homebrew-formula.test.ts +68 -26
  402. package/tests/hook-upload.test.ts +1 -1
  403. package/tests/hooks-generator.test.ts +1 -1
  404. package/tests/init.test.ts +2 -2
  405. package/tests/keys.test.ts +8 -2
  406. package/tests/local-secrets.test.ts +3 -3
  407. package/tests/model-hooks.test.ts +6 -6
  408. package/tests/runtime-contract.test.ts +2 -2
  409. package/tests/service-role-check.test.ts +3 -3
  410. package/tests/storage-provision.test.ts +1 -1
  411. package/tests/type-extractor.test.ts +2 -2
  412. package/tsconfig.tsbuildinfo +1 -1
  413. package/vitest.config.ts +7 -1
  414. 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.10 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,13 @@
1
1
 
2
- > @supatype/cli@0.1.7 test /home/runner/work/supatype/supatype/packages/cli
2
+ > @supatype/cli@0.1.10 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) 271ms
9
+ ✓ tests/access-composition.test.ts (26 tests) 323ms
10
+ ✓ tests/model-hooks.test.ts (19 tests) 113ms
12
11
  stdout | tests/init.test.ts > scaffold() > creates all expected files
13
12
   created package.json
14
13
  created supatype.config.ts
@@ -295,11 +294,12 @@
295
294
  created public/.gitkeep
296
295
  created .gitignore
297
296
 
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
297
+ ✓ tests/init.test.ts (26 tests) 103ms
298
+ ✓ tests/runtime-contract.test.ts (49 tests) 186ms
299
+ ✓ tests/field-masking-tier.test.ts (16 tests) 14ms
300
+ ✓ tests/external-database-compose.test.ts (17 tests) 43ms
301
301
 
302
- ✓ tests/dev-ui.test.ts (21 tests) 137ms
302
+ ✓ tests/dev-ui.test.ts (21 tests) 133ms
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
313
+ ✓ tests/docker-runtime.test.ts (10 tests) 27ms
314
+ ✓ tests/hooks-generator.test.ts (5 tests) 6141ms
315
+ ✓ typechecks under strict mode, together with a handler that uses it  3140ms
316
+ ✓ rejects a handler for a table that declares no hook  2960ms
317
+ ✓ tests/config.test.ts (19 tests) 8820ms
318
+ ✓ loads a valid supatype.config.ts (plain export default, no package imports)  824ms
319
+ ✓ normalizes shorthand schema string to { path, pg_schema }  957ms
320
+ ✓ loads a supatype.config.js (plain ESM)  815ms
321
+ ✓ loads config without a versions section (latest by default)  953ms
322
+ ✓ prefers supatype.config.ts over supatype.config.js when both exist  1032ms
323
+ ✓ supports optional output field in config  858ms
324
+ ✓ merges supatype.local.config.ts over base  1793ms
325
+ ✓ loads defineConfig import before @supatype/cli is installed (init scaffold)  1570ms
326
+ ✓ tests/functions-deno-types.test.ts (7 tests) 4208ms
327
+ ✓ tsc fails with Cannot find name Deno without ambient types  3089ms
328
+ ✓ tsc passes for Deno.env after ensureFunctionsDenoTypes  1099ms
329
+ ✓ tests/external-database-config.test.ts (14 tests) 11ms
330
+ ✓ tests/cache-clean.test.ts (8 tests) 2494ms
331
+ ✓ keeps pinned versions and removes the rest  817ms
332
+ ✓ --force removes pinned versions  850ms
333
+ ✓ explicit version removes even when pinned (with warning)  808ms
334
+ ✓ tests/command-chrome-coverage.test.ts (1 test) 16ms
335
+ ✓ tests/hook-upload.test.ts (8 tests) 20ms
335
336
  ✓ tests/env-file.test.ts (9 tests) 16ms
336
- ✓ tests/hook-upload.test.ts (8 tests) 10ms
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) 2889ms
351
+ ✓ resolveTarget returns cloud mode with /api/v1 prefix  922ms
352
+ ✓ resolveTarget returns self-host mode with /platform/v1 prefix  976ms
353
+ ✓ targetSchemaRollback posts to /platform/v1 when linked  980ms
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
@@ -363,6 +362,7 @@
363
362
  created .gitignore
364
363
 
365
364
  ✓ tests/admin-ensure.test.ts (10 tests) 167ms
365
+ ✓ tests/service-role-check.test.ts (10 tests) 12ms
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,85 +379,82 @@
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
382
+ ✓ tests/admin-studio-membership.test.ts (5 tests) 529ms
383
+ ✓ tests/augmentation-generator.test.ts (6 tests) 19ms
384
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
385
+ ✓ tests/schema-sources.test.ts (5 tests) 1280ms
386
+ ✓ buildSchemaSourcesPayload includes manifest metadata  623ms
387
+ ✓ restore overwrites modified local files  614ms
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
393
- ✓ tests/local-secrets.test.ts (5 tests) 10ms
394
- ✓ tests/api-schemas.test.ts (10 tests) 7ms
391
+ ✓ tests/binary-cache-cloud-overrides.test.ts (11 tests) 26ms
392
+ ✓ tests/homebrew-formula.test.ts (4 tests) 206ms
393
+ ✓ tests/minisign.test.ts (5 tests) 12ms
394
+ ✓ tests/local-secrets.test.ts (5 tests) 7ms
395
+ ✓ tests/api-schemas.test.ts (10 tests) 8ms
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
 
398
399
  stdout | tests/storage-provision.test.ts > provisionBuckets > POSTs each bucket to the storage API
399
400
  [supatype] Storage bucket "avatars" ready.
400
401
 
401
- ✓ 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
402
+ ✓ tests/storage-provision.test.ts (6 tests) 16ms
403
+ ✓ tests/keys.test.ts (11 tests) 18147ms
404
+ ✓ exits 0 with --secret  1867ms
405
+ ✓ outputs ANON_KEY= line  1759ms
406
+ ✓ outputs SERVICE_ROLE_KEY= line  1864ms
407
+ ✓ ANON_KEY is a valid three-part JWT  1373ms
408
+ ✓ SERVICE_ROLE_KEY payload has role: service_role  1465ms
409
+ ✓ JWT has exp in the future  1383ms
410
+ ✓ --exp-years changes the expiry window  2820ms
411
+ ✓ reads JWT_SECRET from environment variable  1511ms
412
+ ✓ reads JWT_SECRET from .env file  1398ms
413
+ ✓ exits non-zero when no secret is available  1371ms
414
+ ✓ keys --help shows --secret and --exp-years options  1329ms
415
+ ✓ tests/db-preflight.test.ts (6 tests) 11ms
416
+ ✓ tests/cached-artifact-format.test.ts (7 tests) 13ms
417
+ ✓ tests/target-client-refresh.test.ts (3 tests) 8ms
418
+ ✓ tests/proxy-dev-app.test.ts (7 tests) 6ms
419
+ ✓ tests/init-dependency-versions.test.ts (4 tests) 36ms
420
+ ✓ tests/service-role-routes.test.ts (4 tests) 1739ms
421
+ ✓ reads the declared list  563ms
422
+ ✓ is an empty list when a project declares none  574ms
423
+ ✓ sends what the project declared, hook entries included  599ms
423
424
  ✓ tests/type-resolver.test.ts (2 tests) 15ms
424
425
  ✓ 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
426
+ ✓ tests/tsx-runner.test.ts (7 tests) 3049ms
427
+ ✓ evaluates a simple expression and returns stdout  421ms
428
+ ✓ evaluates TypeScript syntax (type annotations)  426ms
429
+ ✓ can serialize a JSON object to stdout  420ms
430
+ ✓ returns non-zero exit code on syntax error  371ms
431
+ ✓ returns non-zero exit code on runtime error  411ms
432
+ ✓ captures stderr separately from stdout  396ms
433
+ ✓ runs a .ts file and returns its stdout  599ms
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
435
+ ✓ tests/cli-install-method.test.ts (8 tests) 5ms
436
+ ✓ tests/archive-name-alias.test.ts (4 tests) 6ms
437
+ ✓ tests/ensure-binary.test.ts (2 tests) 10ms
438
+ ✓ tests/doctor-render.test.ts (3 tests) 7ms
439
+ ✓ tests/cli-help.test.ts (16 tests) 22876ms
440
+ ✓ --help lists all top-level commands  1754ms
441
+ ✓ --version prints package.json version  1969ms
442
+ ✓ self-update --help describes the command  1402ms
443
+ ✓ init --help describes the init command  1366ms
444
+ ✓ push --help describes the push command and --yes flag  1463ms
445
+ ✓ diff --help describes the diff command  1426ms
446
+ ✓ pull --help describes scaffold pull command  1402ms
447
+ ✓ doctor --help describes drift report command  1308ms
448
+ ✓ introspect --help describes database introspection command  1310ms
449
+ ✓ adopt --help describes adoption ceremony command  1341ms
450
+ ✓ reset --help shows --yes flag  1254ms
451
+ ✓ app --help describes the app command with add/remove subcommands  1366ms
452
+ ✓ app add --help shows --static and --port options  1388ms
453
+ ✓ self-host --help shows compose only (legacy commands hidden)  1358ms
454
+ ✓ self-host compose --help shows compose subcommands  1350ms
456
455
  ✓ unknown command exits non-zero  1411ms
457
- ✓ tests/required-host-components.test.ts (4 tests) 10ms
456
+ ✓ tests/init-project-detect.test.ts (4 tests) 10ms
458
457
  ✓ 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
458
  stdout | tests/app-command.test.ts > supatype app add --static > sets app.mode=static and static_dir in supatype.config.ts
462
459
   created package.json
463
460
  created supatype.config.ts
@@ -468,10 +465,9 @@
468
465
  created public/.gitkeep
469
466
  created .gitignore
470
467
 
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
468
+ ✓ tests/required-host-components.test.ts (4 tests) 7ms
469
+ ✓ tests/ui-messages.test.ts (5 tests) 6ms
470
+ ✓ tests/normalize-admin-config.test.ts (1 test) 6ms
475
471
  stdout | tests/app-command.test.ts > supatype app add --static > creates the static directory when missing
476
472
   created package.json
477
473
  created supatype.config.ts
@@ -482,28 +478,35 @@
482
478
  created public/.gitkeep
483
479
  created .gitignore
484
480
 
481
+ ✓ tests/dev-session-lock.test.ts (2 tests) 5ms
482
+ ✓ tests/ui-confirm.test.ts (3 tests) 7ms
483
+ ✓ tests/docker-postgres.test.ts (5 tests) 5ms
484
+ ✓ tests/binary-download-lock.test.ts (2 tests) 5ms
485
+ ✓ tests/config-load-failure.test.ts (2 tests) 3666ms
486
+ ✓ is reported, rather than treated as absent  2244ms
487
+ ✓ does not stop the CLI working with no config at all  1420ms
488
+ ✓ tests/app-command.test.ts (2 tests) 3024ms
489
+ ✓ sets app.mode=static and static_dir in supatype.config.ts  1545ms
490
+ ✓ creates the static directory when missing  1477ms
491
+ ✓ tests/route-manifest.test.ts (1 test) 6ms
485
492
  ✓ tests/dev-ports.test.ts (3 tests) 6ms
486
- ✓ tests/route-manifest.test.ts (1 test) 5ms
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
493
+ ✓ tests/studio-admin-roles.test.ts (3 tests) 4ms
494
+ ✓ tests/dev-ready-panel.test.ts (2 tests) 4ms
495
+ ✓ tests/realtime-launch.test.ts (1 test) 4ms
490
496
  ✓ 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
497
+ ✓ tests/seed-discover.test.ts (2 tests) 19ms
495
498
  ✓ 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/rest-cache-admin.test.ts (1 test) 37ms
500
+ ✓ tests/init-package-json.test.ts (1 test) 4ms
499
501
  ✓ 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/resolve-api-url.test.ts (2 tests) 5ms
503
+ ✓ tests/migrate-from-v1.test.ts (1 test) 16ms
502
504
  ✓ tests/postgres-archive-tag.test.ts (1 test) 2ms
505
+ ✓ tests/cli-package-version.test.ts (1 test) 3ms
503
506
  ✓ tests/stdin-after-ink.test.ts (1 test) 3ms
504
507
 
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)
508
+  Test Files  73 passed (73)
509
+  Tests  581 passed (581)
510
+  Start at  18:55:57
511
+  Duration  46.13s (transform 6.40s, setup 0ms, import 41.61s, tests 80.94s, environment 17ms)
509
512
 
@@ -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.10 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,EA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