@goldstack/template-lambda-http-cli 0.5.42 → 0.5.44
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templateLambdaHttp.d.ts","sourceRoot":"","sources":["../../src/templateLambdaHttp.ts"],"names":[],"mappings":"AAMA,cAAc,2BAA2B,CAAC;AAO1C,eAAO,MAAM,GAAG,SAAgB,MAAM,EAAE,KAAG,
|
|
1
|
+
{"version":3,"file":"templateLambdaHttp.d.ts","sourceRoot":"","sources":["../../src/templateLambdaHttp.ts"],"names":[],"mappings":"AAMA,cAAc,2BAA2B,CAAC;AAO1C,eAAO,MAAM,GAAG,SAAgB,MAAM,EAAE,KAAG,OAAO,CAAC,IAAI,CAiCtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templateLambdaHttp.js","sourceRoot":"","sources":["../../src/templateLambdaHttp.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,4DAAyE;AACzE,oDAA+C;AAC/C,gEAA2D;AAC3D,wEAA8D;AAC9D,wEAAiE;AACjE,0EAAgE;AAChE,4DAA0C;AAC1C,kDAA0B;AAMnB,MAAM,GAAG,GAAG,KAAK,EAAE,IAAc,EAAiB,EAAE;IACzD,MAAM,IAAA,mBAAO,EAAC,KAAK,IAAI,EAAE;QACvB,MAAM,IAAI,GAAG,MAAM,IAAA,wBAAQ,EAAC;YAC1B,KAAK,EAAL,eAAK;YACL,cAAc,EAAE,IAAA,mCAAmB,GAAE;YACrC,aAAa,EAAE,IAAA,+BAAa,GAAE;SAC/B,CAAC;aACC,IAAI,EAAE;aACN,KAAK,EAAE,CAAC;QAEX,MAAM,aAAa,GAAG,IAAI,oCAAa,CAGrC;YACA,WAAW,EAAE,IAAI;SAClB,CAAC,CAAC;QAEH,MAAM,MAAM,GAAG,aAAa,CAAC,SAAS,EAAE,CAAC;QACzC,MAAM,OA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C,CAAC,CAAC,CAAC,CAAC,CAAC;YAC3D,OAAO;QACT,CAAC;QAED,MAAM,IAAI,KAAK,CAAC,mBAAmB,GAAG,OAAO,CAAC,CAAC;IACjD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAjCW,QAAA,GAAG,OAiCd"}
|
|
@@ -9,21 +9,21 @@ import { LambdaDeployment, LambdaDeploymentConfiguration, LambdaPackage } from '
|
|
|
9
9
|
* @title API Domain
|
|
10
10
|
* @pattern ^[^\s]*
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type APIDomain = string;
|
|
13
13
|
/**
|
|
14
14
|
* The domain name of the Route 53 hosted zone that the domain for this API should be added to.
|
|
15
15
|
*
|
|
16
16
|
* @title Hosted Zone Domain
|
|
17
17
|
* @pattern ^[^\s]*
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export type HostedZoneDomain = string;
|
|
20
20
|
/**
|
|
21
21
|
* Optional URL for an UI that should be allowed to access this server.
|
|
22
22
|
*
|
|
23
23
|
* @title CORS Header
|
|
24
24
|
* @pattern ^[^\s]*
|
|
25
25
|
*/
|
|
26
|
-
export
|
|
26
|
+
export type CorsHeader = string;
|
|
27
27
|
export interface ThisDeploymentConfiguration extends DeploymentConfiguration, LambdaDeploymentConfiguration {
|
|
28
28
|
apiDomain: APIDomain;
|
|
29
29
|
hostedZoneDomain: HostedZoneDomain;
|
|
@@ -37,14 +37,14 @@ export interface ThisDeployment extends Deployment, AWSDeployment, LambdaDeploym
|
|
|
37
37
|
*
|
|
38
38
|
* @title Deployments
|
|
39
39
|
*/
|
|
40
|
-
export
|
|
40
|
+
export type LambdaExpressDeployments = ThisDeployment[];
|
|
41
41
|
/**
|
|
42
42
|
* Configures this lambda.
|
|
43
43
|
*
|
|
44
44
|
* @title Lambda Configuration
|
|
45
45
|
*
|
|
46
46
|
*/
|
|
47
|
-
export
|
|
47
|
+
export type ThisPackageConfiguration = Configuration;
|
|
48
48
|
/**
|
|
49
49
|
* A lambda deployment for an express server.
|
|
50
50
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LambdaHttpPackage.d.ts","sourceRoot":"","sources":["../../../src/types/LambdaHttpPackage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAEL,gBAAgB,EAChB,6BAA6B,EAE7B,aAAa,EACd,MAAM,gCAAgC,CAAC;AAExC;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"LambdaHttpPackage.d.ts","sourceRoot":"","sources":["../../../src/types/LambdaHttpPackage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAEL,gBAAgB,EAChB,6BAA6B,EAE7B,aAAa,EACd,MAAM,gCAAgC,CAAC;AAExC;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AAEtC;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC,MAAM,WAAW,2BACf,SAAQ,uBAAuB,EAC7B,6BAA6B;IAC/B,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAED,MAAM,WAAW,cACf,SAAQ,UAAU,EAChB,aAAa,EACb,gBAAgB,EAChB,mBAAmB;IACrB,aAAa,EAAE,2BAA2B,CAAC;CAC5C;AAED;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,cAAc,EAAE,CAAC;AAExD;;;;;GAKG;AACH,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC;AAErD;;;;GAIG;AACH,MAAM,WAAW,WAAY,SAAQ,OAAO,EAAE,aAAa;IACzD,aAAa,EAAE,wBAAwB,CAAC;IACxC,WAAW,EAAE,wBAAwB,CAAC;CACvC;AAED,OAAO,EAAE,2BAA2B,IAAI,oCAAoC,EAAE,CAAC;AAC/E,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,CAAC;AACrD,OAAO,EAAE,wBAAwB,IAAI,0BAA0B,EAAE,CAAC;AAClE,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goldstack/template-lambda-http-cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.44",
|
|
4
4
|
"description": "Utilities for templates that allow a Lambda to function as a web server.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"goldstack",
|
|
@@ -47,35 +47,35 @@
|
|
|
47
47
|
"version:apply:force": "yarn version $@ && yarn version apply"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@goldstack/infra": "0.4.
|
|
51
|
-
"@goldstack/infra-aws": "0.4.
|
|
52
|
-
"@goldstack/template-lambda-cli": "0.1.
|
|
53
|
-
"@goldstack/utils-aws-lambda": "0.3.
|
|
54
|
-
"@goldstack/utils-cli": "0.3.
|
|
55
|
-
"@goldstack/utils-config": "0.4.
|
|
56
|
-
"@goldstack/utils-log": "0.3.
|
|
57
|
-
"@goldstack/utils-package": "0.4.
|
|
58
|
-
"@goldstack/utils-package-config": "0.4.
|
|
59
|
-
"@goldstack/utils-template": "0.4.
|
|
60
|
-
"@goldstack/utils-terraform": "0.4.
|
|
61
|
-
"@goldstack/utils-terraform-aws": "0.4.
|
|
50
|
+
"@goldstack/infra": "0.4.18",
|
|
51
|
+
"@goldstack/infra-aws": "0.4.27",
|
|
52
|
+
"@goldstack/template-lambda-cli": "0.1.14",
|
|
53
|
+
"@goldstack/utils-aws-lambda": "0.3.33",
|
|
54
|
+
"@goldstack/utils-cli": "0.3.13",
|
|
55
|
+
"@goldstack/utils-config": "0.4.18",
|
|
56
|
+
"@goldstack/utils-log": "0.3.15",
|
|
57
|
+
"@goldstack/utils-package": "0.4.18",
|
|
58
|
+
"@goldstack/utils-package-config": "0.4.18",
|
|
59
|
+
"@goldstack/utils-template": "0.4.18",
|
|
60
|
+
"@goldstack/utils-terraform": "0.4.35",
|
|
61
|
+
"@goldstack/utils-terraform-aws": "0.4.38",
|
|
62
62
|
"source-map-support": "^0.5.21",
|
|
63
63
|
"yargs": "^17.5.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@goldstack/utils-docs-cli": "0.3.11",
|
|
67
|
-
"@goldstack/utils-git": "0.2.
|
|
68
|
-
"@goldstack/utils-package-config-generate": "0.3.
|
|
69
|
-
"@swc/core": "^1.3
|
|
70
|
-
"@swc/jest": "^0.2.
|
|
71
|
-
"@types/jest": "^29.
|
|
72
|
-
"@types/node": "^
|
|
67
|
+
"@goldstack/utils-git": "0.2.10",
|
|
68
|
+
"@goldstack/utils-package-config-generate": "0.3.11",
|
|
69
|
+
"@swc/core": "^1.9.3",
|
|
70
|
+
"@swc/jest": "^0.2.37",
|
|
71
|
+
"@types/jest": "^29.5.14",
|
|
72
|
+
"@types/node": "^22.10.0",
|
|
73
73
|
"@types/yargs": "^17.0.10",
|
|
74
74
|
"jest": "^29.3.1",
|
|
75
75
|
"rimraf": "^3.0.2",
|
|
76
76
|
"ts-json-schema-generator": "^1.0.0",
|
|
77
|
-
"ts-node": "^10.9.
|
|
78
|
-
"typescript": "^
|
|
77
|
+
"ts-node": "^10.9.2",
|
|
78
|
+
"typescript": "^5.7.2"
|
|
79
79
|
},
|
|
80
80
|
"publishConfig": {
|
|
81
81
|
"main": "dist/src/templateLambdaHttp.js"
|