@supacloud/cli 0.103.2 → 0.103.5
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.
- package/README.md +10 -0
- package/dist/index.js +470 -209
- package/dist/shared/tools/app-starter-query.d.ts +1 -1
- package/dist/shared/tools/app-starter-review-job.d.ts +1 -1
- package/dist/shared/tools/app-tools.d.ts +5 -0
- package/dist/shared/tools/edge-function-response.d.ts +2 -0
- package/dist/shared/tools/function-aot.d.ts +9 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -864,6 +864,16 @@ policy again, rejects any normalization that would change the code, and stores
|
|
|
864
864
|
the submitted bytes unchanged as both immutable source and runtime artifact.
|
|
865
865
|
`--prebundled-path` is mutually exclusive with `--path`, `--code`, and
|
|
866
866
|
`--minify`.
|
|
867
|
+
For trusted Elysia source, `deploy --path <entry> --framework elysia --aot`
|
|
868
|
+
captures the app during the local publish step and uploads the exact output as
|
|
869
|
+
a verified prebundled artifact. Use `--aot-entry <module>` when the request
|
|
870
|
+
handler entry and the module exporting `app` are different. This is opt-in,
|
|
871
|
+
requires Bun plus the Function's Elysia dependency, and executes app
|
|
872
|
+
initialization in a separate process, not a security sandbox; do not enable it
|
|
873
|
+
for untrusted source. This experimental option is blocked in read-only mode.
|
|
874
|
+
Compare authentication, validation and error behavior with a non-AOT build
|
|
875
|
+
before production use. Fetch, Hono, SvelteKit, inline `--code`, and server-side
|
|
876
|
+
dynamic bundling remain unchanged.
|
|
867
877
|
`deploy_bundle --files` accepts a JSON object in shell usage.
|
|
868
878
|
Use `source --output <file>` for large Functions so terminal or automation output
|
|
869
879
|
limits cannot truncate the original TS/JS source code. The destination must not
|