@travetto/web-aws-lambda 8.0.0-alpha.1 → 8.0.0-alpha.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.
package/README.md CHANGED
@@ -21,7 +21,7 @@ This module provides an adapter between [Web API](https://github.com/travetto/tr
21
21
 
22
22
  **Terminal: Invoking a Package Build**
23
23
  ```bash
24
- $ trv pack:lambda -h
24
+ $ trv pack:lambda --help
25
25
 
26
26
  Usage: pack:lambda [options] [args...:string]
27
27
 
@@ -42,5 +42,5 @@ Options:
42
42
  -wr, --include-workspace-resources Include workspace resources (default: false)
43
43
  -np, --npm-package <string> External NPM Packages (default: [])
44
44
  -m, --module <module> Module to run for
45
- -h, --help display help for command
45
+ --help display help for command
46
46
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/web-aws-lambda",
3
- "version": "8.0.0-alpha.1",
3
+ "version": "8.0.0-alpha.10",
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.1",
29
+ "@travetto/web": "^8.0.0-alpha.9",
30
30
  "@types/aws-lambda": "^8.10.161"
31
31
  },
32
32
  "peerDependencies": {
33
- "@travetto/cli": "^8.0.0-alpha.1",
34
- "@travetto/pack": "^8.0.0-alpha.1",
35
- "@travetto/test": "^8.0.0-alpha.1"
33
+ "@travetto/cli": "^8.0.0-alpha.13",
34
+ "@travetto/pack": "^8.0.0-alpha.11",
35
+ "@travetto/test": "^8.0.0-alpha.8"
36
36
  },
37
37
  "peerDependenciesMeta": {
38
38
  "@travetto/test": {
@@ -8,12 +8,15 @@ import { BasePackCommand, type PackOperationShape } from '@travetto/pack/support
8
8
  @CliCommand()
9
9
  export class PackLambdaCommand extends BasePackCommand {
10
10
 
11
+ constructor() {
12
+ super();
13
+ this.entryPoint = '@travetto/web-aws-lambda/support/entry.handler.ts';
14
+ }
15
+
11
16
  finalize(forHelp?: boolean): void {
12
17
  if (forHelp) {
13
- this.output = undefined!;
14
- this.entryPoint = undefined!;
18
+ this.output = '<module>.zip';
15
19
  }
16
- this.entryPoint ??= '@travetto/web-aws-lambda/support/entry.handler.ts';
17
20
  this.output ??= CliUtil.getSimpleModuleName('<module>.zip', this.module);
18
21
  this.mainScripts = false;
19
22
  }