@web-ts-toolkit/express-runtime 0.44.0 → 0.46.0
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 +6 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -175,6 +175,10 @@ command to run before listening.
|
|
|
175
175
|
> additional externals can be added via `--external`. Deploy the bundle with
|
|
176
176
|
> both packages installed (`express` is a peer dependency).
|
|
177
177
|
|
|
178
|
+
> `build` and `build-serverless` require `tsup` to be installed: the CLI bundle
|
|
179
|
+
> keeps it external and loads it via dynamic import only when building. Users
|
|
180
|
+
> who only run `dev`, `start`, or `start-serverless` don't need it.
|
|
181
|
+
|
|
178
182
|
### CLI — start (run a bundled app locally)
|
|
179
183
|
|
|
180
184
|
The `start` command runs the `build` output locally with `startLocalServer()`:
|
|
@@ -482,9 +486,9 @@ The `@web-ts-toolkit/express-runtime/cli` subpath is a supported programmatic CL
|
|
|
482
486
|
facade used by packages such as `@web-ts-toolkit/access-router-runtime`.
|
|
483
487
|
Supported consumer API exports are `parseArgs`, `runCliCommand`, `runDevCommand`,
|
|
484
488
|
`runExpressDevCommand`, `runBuildEntryCommand`, `RuntimeCliCommand`,
|
|
485
|
-
`DevCommandRunner`, `BuildEntryCommandOptions`, `DevArgs`, `BuildArgs`,
|
|
489
|
+
`DevCommandRunner`, `BuildEntryCommandOptions`, `BuildEntryContentArgs`, `DevArgs`, `BuildArgs`,
|
|
486
490
|
`StartArgs`, `StartServerlessArgs`, `ParsedArgs`, `Subcommand`,
|
|
487
|
-
`RuntimeModuleInit`, `GenericHandler`, `ApiGatewayRestEvent`,
|
|
491
|
+
`RuntimeModuleInit`, `RuntimeModuleShutdown`, `GenericHandler`, `ApiGatewayRestEvent`,
|
|
488
492
|
`ServerlessResult`, `ServerlessAdapterOptions`, `CLI_VERSION`,
|
|
489
493
|
`DEFAULT_ADAPTER_MAX_BODY_BYTES`, `TEMP_BUILD_ENTRY_FILENAME`, and
|
|
490
494
|
`TEMP_SERVERLESS_ENTRY_FILENAME`.
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@web-ts-toolkit/express-runtime",
|
|
3
3
|
"description": "Express app factory plus serverless handler and local dev server helpers",
|
|
4
4
|
"homepage": "https://web-ts-toolkit.pages.dev/docs/packages/express-runtime",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.46.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"keywords": [
|
|
8
8
|
"express",
|