@payfit/nx-core 5.22.0-ephemeral-local-docker-exec.5 → 5.22.0-ephemeral-local-docker-exec.6

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.
@@ -5,33 +5,30 @@
5
5
  "description": "Run Lambda functions locally with the public AWS Lambda base image",
6
6
  "type": "object",
7
7
  "properties": {
8
- "lambdaFunctions": {
9
- "type": "array",
10
- "description": "Lambda functions declared in project metadata",
11
- "items": {
12
- "type": "object",
13
- "properties": {
14
- "name": {
15
- "type": "string"
16
- },
17
- "healthCheckPayload": {
18
- "type": "string"
19
- },
20
- "writeResponseBodyToFile": {
21
- "type": "boolean",
22
- "description": "When true, inferred invoke targets save the response body to a deterministic file under tmp/lambda-local-invoke/<project>/<lambda>/<event>.response"
23
- }
8
+ "lambdaFunction": {
9
+ "type": "object",
10
+ "description": "Lambda function metadata for the invocation target",
11
+ "properties": {
12
+ "name": {
13
+ "type": "string"
24
14
  },
25
- "required": ["name", "healthCheckPayload"]
26
- }
15
+ "healthCheckPayload": {
16
+ "type": "string"
17
+ },
18
+ "writeResponseBodyToFile": {
19
+ "type": "boolean",
20
+ "description": "When true, inferred invoke targets save the response body to a deterministic file under tmp/lambda-local-invoke/<project>/<lambda>/<event>.response"
21
+ }
22
+ },
23
+ "required": ["name", "healthCheckPayload"]
27
24
  },
28
25
  "lambdaName": {
29
26
  "type": "string",
30
- "description": "Invoke only one lambda when several are declared"
27
+ "description": "Optional lambda name override for custom targets"
31
28
  },
32
29
  "eventFile": {
33
30
  "type": "string",
34
- "description": "Custom event file path. Relative paths are resolved from the workspace root. When omitted, the lambda healthCheckPayload is used"
31
+ "description": "Path to the JSON event payload file to invoke with"
35
32
  },
36
33
  "envFile": {
37
34
  "type": "string",
@@ -64,5 +61,6 @@
64
61
  "description": "Maximum time to wait for the local Lambda runtime to start",
65
62
  "default": 15000
66
63
  }
67
- }
64
+ },
65
+ "required": ["lambdaFunction", "eventFile"]
68
66
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payfit/nx-core",
3
- "version": "5.22.0-ephemeral-local-docker-exec.5",
3
+ "version": "5.22.0-ephemeral-local-docker-exec.6",
4
4
  "type": "commonjs",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",