@travetto/web-aws-lambda 8.0.0-alpha.17 → 8.0.0-alpha.19

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 CHANGED
@@ -17,14 +17,21 @@ This module provides an adapter between [Web API](https://github.com/travetto/tr
17
17
 
18
18
  **NOTE:** The only caveat to consider, is that while the framework supports streams for responses, [AWS Lambda](https://aws.amazon.com/lambda/) does not. Any streaming result will be read and converted into a [Buffer](https://nodejs.org/api/buffer.html) before being sent back.
19
19
 
20
- ## CLI - Packaging Lambdas
20
+ ## CLI - pack:lambda
21
+ Use this command to produce the Lambda-ready archive for deployment.
21
22
 
22
- **Terminal: Invoking a Package Build**
23
+ **Terminal: Help for pack:lambda**
23
24
  ```bash
24
25
  $ trv pack:lambda --help
25
26
 
26
27
  Usage: pack:lambda [options] [args...:string]
27
28
 
29
+ Build an AWS Lambda-ready zip package using the pack pipeline.
30
+
31
+ Configures the Lambda entrypoint and emits a compressed deployment artifact
32
+ suitable for direct Lambda upload workflows.
33
+ Example Usage:
34
+
28
35
  Options:
29
36
  -b, --buildDir <string> Workspace for building (default: "/tmp/<temp-folder>")
30
37
  --clean, --no-clean Clean workspace (default: true)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/web-aws-lambda",
3
- "version": "8.0.0-alpha.17",
3
+ "version": "8.0.0-alpha.19",
4
4
  "type": "module",
5
5
  "description": "Web APIs entry point support for AWS Lambdas.",
6
6
  "keywords": [
@@ -26,13 +26,13 @@
26
26
  "directory": "module/web-aws-lambda"
27
27
  },
28
28
  "dependencies": {
29
- "@travetto/web": "^8.0.0-alpha.16",
30
- "@types/aws-lambda": "^8.10.161"
29
+ "@travetto/web": "^8.0.0-alpha.18",
30
+ "@types/aws-lambda": "^8.10.162"
31
31
  },
32
32
  "peerDependencies": {
33
- "@travetto/cli": "^8.0.0-alpha.20",
34
- "@travetto/pack": "^8.0.0-alpha.17",
35
- "@travetto/test": "^8.0.0-alpha.14"
33
+ "@travetto/cli": "^8.0.0-alpha.22",
34
+ "@travetto/pack": "^8.0.0-alpha.19",
35
+ "@travetto/test": "^8.0.0-alpha.16"
36
36
  },
37
37
  "peerDependenciesMeta": {
38
38
  "@travetto/test": {
@@ -3,7 +3,10 @@ import { PackOperation } from '@travetto/pack/support/bin/operation.ts';
3
3
  import { BasePackCommand, type PackOperationShape } from '@travetto/pack/support/pack.base.ts';
4
4
 
5
5
  /**
6
- * Standard lambda support for pack
6
+ * Build an AWS Lambda-ready zip package using the pack pipeline.
7
+ *
8
+ * Configures the Lambda entrypoint and emits a compressed deployment artifact
9
+ * suitable for direct Lambda upload workflows.
7
10
  */
8
11
  @CliCommand()
9
12
  export class PackLambdaCommand extends BasePackCommand {