@pwrdrvr/microapps-cdk 0.2.9 → 0.2.12

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.
Files changed (42) hide show
  1. package/.gitattributes +18 -18
  2. package/.jsii +1264 -165
  3. package/API.md +511 -8
  4. package/README.md +29 -0
  5. package/changelog.md +2 -0
  6. package/lib/MicroApps.d.ts +126 -105
  7. package/lib/MicroApps.d.ts.map +1 -0
  8. package/lib/MicroApps.js +32 -30
  9. package/lib/MicroAppsAPIGwy.d.ts +28 -61
  10. package/lib/MicroAppsAPIGwy.d.ts.map +1 -0
  11. package/lib/MicroAppsAPIGwy.js +14 -23
  12. package/lib/MicroAppsCF.d.ts +85 -104
  13. package/lib/MicroAppsCF.d.ts.map +1 -0
  14. package/lib/MicroAppsCF.js +58 -41
  15. package/lib/MicroAppsEdgeToOrigin.d.ts +108 -0
  16. package/lib/MicroAppsEdgeToOrigin.d.ts.map +1 -0
  17. package/lib/MicroAppsEdgeToOrigin.js +139 -0
  18. package/lib/MicroAppsS3.d.ts +19 -69
  19. package/lib/MicroAppsS3.d.ts.map +1 -0
  20. package/lib/MicroAppsS3.js +5 -32
  21. package/lib/MicroAppsSvcs.d.ts +58 -86
  22. package/lib/MicroAppsSvcs.d.ts.map +1 -0
  23. package/lib/MicroAppsSvcs.js +36 -95
  24. package/lib/MicroAppsTable.d.ts +60 -0
  25. package/lib/MicroAppsTable.d.ts.map +1 -0
  26. package/lib/MicroAppsTable.js +42 -0
  27. package/lib/index.d.ts +3 -0
  28. package/lib/index.d.ts.map +1 -0
  29. package/lib/index.js +3 -1
  30. package/lib/microapps-deployer/index.js +174 -113
  31. package/lib/microapps-deployer/index.js.map +3 -3
  32. package/lib/microapps-edge-to-origin/index.js +97 -0
  33. package/lib/microapps-edge-to-origin/index.js.map +7 -0
  34. package/lib/microapps-router/index.js +54 -69
  35. package/lib/microapps-router/index.js.map +3 -3
  36. package/lib/microapps-router/templates/appFrame.html +0 -0
  37. package/lib/utils/ReverseDomain.d.ts +1 -0
  38. package/lib/utils/ReverseDomain.d.ts.map +1 -0
  39. package/package.json +29 -24
  40. package/releasetag.txt +1 -0
  41. package/version.txt +1 -0
  42. package/patches/@aws-cdk+aws-apigatewayv2-alpha+2.8.0-alpha.0.patch +0 -39
File without changes
@@ -2,3 +2,4 @@
2
2
  * Input like 'example.com.' will return as 'com.example'
3
3
  */
4
4
  export declare function reverseDomain(domain: string): string;
5
+ //# sourceMappingURL=ReverseDomain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReverseDomain.d.ts","sourceRoot":"","sources":["../../src/utils/ReverseDomain.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAMpD"}
package/package.json CHANGED
@@ -13,60 +13,62 @@
13
13
  "compile": "npx projen compile",
14
14
  "default": "npx projen default",
15
15
  "docgen": "npx projen docgen",
16
+ "eject": "npx projen eject",
16
17
  "eslint": "npx projen eslint",
17
18
  "package": "npx projen package",
19
+ "package-all": "npx projen package-all",
20
+ "package:dotnet": "npx projen package:dotnet",
21
+ "package:java": "npx projen package:java",
22
+ "package:js": "npx projen package:js",
23
+ "package:python": "npx projen package:python",
18
24
  "post-compile": "npx projen post-compile",
25
+ "post-upgrade": "npx projen post-upgrade",
19
26
  "pre-compile": "npx projen pre-compile",
20
- "publish:github": "npx projen publish:github",
21
- "publish:maven": "npx projen publish:maven",
22
- "publish:npm": "npx projen publish:npm",
23
- "publish:nuget": "npx projen publish:nuget",
24
- "publish:pypi": "npx projen publish:pypi",
25
27
  "release": "npx projen release",
26
28
  "test": "npx projen test",
27
29
  "unbump": "npx projen unbump",
28
30
  "upgrade": "npx projen upgrade",
29
- "upgrade-projen": "npx projen upgrade-projen",
30
31
  "watch": "npx projen watch",
31
32
  "projen": "npx projen"
32
33
  },
33
34
  "author": {
34
- "name": "Harold Hunt",
35
+ "name": "PwrDrvr LLC",
35
36
  "email": "harold@pwrdrvr.com",
36
- "organization": false
37
+ "organization": true
37
38
  },
38
39
  "devDependencies": {
39
- "@aws-cdk/assert": "^2.8.0",
40
- "@aws-cdk/aws-apigatewayv2-alpha": "2.8.0-alpha.0",
41
- "@types/node": "^12.0.0",
42
- "@typescript-eslint/eslint-plugin": "^4.33.0",
43
- "@typescript-eslint/parser": "^4.33.0",
44
- "aws-cdk-lib": "^2.8.0",
40
+ "@types/node": "^12",
41
+ "@typescript-eslint/eslint-plugin": "^5",
42
+ "@typescript-eslint/parser": "^5",
43
+ "aws-cdk-lib": "2.24.1",
44
+ "constructs": "10.0.5",
45
45
  "esbuild": "^0.14.11",
46
- "eslint": "^7.32.0",
46
+ "eslint": "^8",
47
47
  "eslint-import-resolver-node": "^0.3.6",
48
48
  "eslint-import-resolver-typescript": "^2.5.0",
49
49
  "eslint-plugin-import": "^2.25.4",
50
- "jsii": "^1.52.1",
50
+ "jsii": "^1.59.0",
51
51
  "jsii-diff": "^1.52.1",
52
52
  "jsii-docgen": "^2.0.7",
53
53
  "jsii-pacmak": "^1.52.1",
54
54
  "json-schema": "^0.4.0",
55
- "npm-check-updates": "^11",
56
- "patch-package": "^6.4.7",
57
- "projen": "0.34.20",
55
+ "npm-check-updates": "^12",
56
+ "projen": "0.56.19",
58
57
  "standard-version": "^9",
59
58
  "typescript": "^4.5.4"
60
59
  },
61
60
  "peerDependencies": {
62
- "@aws-cdk/aws-apigatewayv2-alpha": "2.8.0-alpha.0",
63
- "aws-cdk-lib": "^2.8.0",
61
+ "@aws-cdk/aws-apigatewayv2-alpha": "^2.24.1-alpha.0",
62
+ "@aws-cdk/aws-apigatewayv2-authorizers-alpha": "^2.24.1-alpha.0",
63
+ "@aws-cdk/aws-apigatewayv2-integrations-alpha": "^2.24.1-alpha.0",
64
+ "aws-cdk-lib": "^2.24.1",
64
65
  "constructs": "^10.0.5"
65
66
  },
66
67
  "dependencies": {
67
- "aws-cdk-lib": "^2.8.0"
68
+ "@aws-cdk/aws-apigatewayv2-alpha": "^2.24.1-alpha.0",
69
+ "@aws-cdk/aws-apigatewayv2-authorizers-alpha": "^2.24.1-alpha.0",
70
+ "@aws-cdk/aws-apigatewayv2-integrations-alpha": "^2.24.1-alpha.0"
68
71
  },
69
- "bundledDependencies": [],
70
72
  "keywords": [
71
73
  "awscdk",
72
74
  "cdk",
@@ -81,7 +83,7 @@
81
83
  "publishConfig": {
82
84
  "access": "public"
83
85
  },
84
- "version": "0.2.9",
86
+ "version": "0.2.12",
85
87
  "types": "lib/index.d.ts",
86
88
  "stability": "experimental",
87
89
  "jsii": {
@@ -108,5 +110,8 @@
108
110
  "rootDir": "src"
109
111
  }
110
112
  },
113
+ "resolutions": {
114
+ "@types/prettier": "2.6.0"
115
+ },
111
116
  "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
112
117
  }
package/releasetag.txt ADDED
@@ -0,0 +1 @@
1
+ v0.2.12
package/version.txt ADDED
@@ -0,0 +1 @@
1
+ 0.2.12
@@ -1,39 +0,0 @@
1
- diff --git a/node_modules/@aws-cdk/aws-apigatewayv2-alpha/lib/http/integration.d.ts b/node_modules/@aws-cdk/aws-apigatewayv2-alpha/lib/http/integration.d.ts
2
- index ed6a643..415d1ce 100644
3
- --- a/node_modules/@aws-cdk/aws-apigatewayv2-alpha/lib/http/integration.d.ts
4
- +++ b/node_modules/@aws-cdk/aws-apigatewayv2-alpha/lib/http/integration.d.ts
5
- @@ -339,7 +339,7 @@ export interface HttpRouteIntegrationBindOptions {
6
- */
7
- export declare abstract class HttpRouteIntegration {
8
- private readonly id;
9
- - private integration?;
10
- + protected integration?: HttpIntegration;
11
- /**
12
- * (experimental) Initialize an integration for a route on http api.
13
- *
14
- diff --git a/node_modules/@aws-cdk/aws-apigatewayv2-alpha/lib/http/route.d.ts b/node_modules/@aws-cdk/aws-apigatewayv2-alpha/lib/http/route.d.ts
15
- index 7bd7dd9..9d297b9 100644
16
- --- a/node_modules/@aws-cdk/aws-apigatewayv2-alpha/lib/http/route.d.ts
17
- +++ b/node_modules/@aws-cdk/aws-apigatewayv2-alpha/lib/http/route.d.ts
18
- @@ -241,7 +241,7 @@ export declare class HttpRoute extends Resource implements IHttpRoute {
19
- * @experimental
20
- */
21
- constructor(scope: Construct, id: string, props: HttpRouteProps);
22
- - private produceRouteArn;
23
- + public produceRouteArn(method: HttpMethod): string;
24
- /**
25
- * (experimental) Grant access to invoke the route.
26
- *
27
- diff --git a/node_modules/@aws-cdk/aws-apigatewayv2-alpha/lib/http/route.js b/node_modules/@aws-cdk/aws-apigatewayv2-alpha/lib/http/route.js
28
- index 0fa1475..72d6d28 100644
29
- --- a/node_modules/@aws-cdk/aws-apigatewayv2-alpha/lib/http/route.js
30
- +++ b/node_modules/@aws-cdk/aws-apigatewayv2-alpha/lib/http/route.js
31
- @@ -145,7 +145,7 @@ class HttpRoute extends aws_cdk_lib_1.Resource {
32
- grantInvoke(grantee, options = {}) {
33
- var _c;
34
- jsiiDeprecationWarnings._aws_cdk_aws_apigatewayv2_alpha_GrantInvokeOptions(options);
35
- - if (!this.authBindResult || this.authBindResult.authorizationType !== HttpRouteAuthorizationType.AWS_IAM) {
36
- + if (this.authBindResult && this.authBindResult.authorizationType !== HttpRouteAuthorizationType.AWS_IAM) {
37
- throw new Error('To use grantInvoke, you must use IAM authorization');
38
- }
39
- const httpMethods = Array.from(new Set((_c = options.httpMethods) !== null && _c !== void 0 ? _c : [this.method]));