deployable-awscdk-app-ts 0.0.3 → 0.0.7
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/.jsii +58 -19
- package/.projenrc.ts +4 -4
- package/API.md +408 -168
- package/lib/index.d.ts +7 -3
- package/lib/index.js +18 -8
- package/lib/steps.d.ts +2 -1
- package/lib/steps.js +17 -6
- package/lib/types.d.ts +12 -2
- package/lib/types.js +1 -1
- package/package.json +11 -11
package/.jsii
CHANGED
|
@@ -7,22 +7,21 @@
|
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"projen": "^0.
|
|
10
|
+
"projen": "^0.37.1"
|
|
11
11
|
},
|
|
12
12
|
"dependencyClosure": {
|
|
13
13
|
"projen": {
|
|
14
14
|
"submodules": {
|
|
15
15
|
"projen.awscdk": {},
|
|
16
|
-
"projen.
|
|
17
|
-
"projen.
|
|
16
|
+
"projen.cdk": {},
|
|
17
|
+
"projen.cdk8s": {},
|
|
18
|
+
"projen.cdktf": {},
|
|
18
19
|
"projen.github": {},
|
|
19
20
|
"projen.github.workflows": {},
|
|
20
21
|
"projen.java": {},
|
|
21
22
|
"projen.javascript": {},
|
|
22
|
-
"projen.json": {},
|
|
23
23
|
"projen.python": {},
|
|
24
24
|
"projen.release": {},
|
|
25
|
-
"projen.tasks": {},
|
|
26
25
|
"projen.typescript": {},
|
|
27
26
|
"projen.vscode": {},
|
|
28
27
|
"projen.web": {}
|
|
@@ -90,7 +89,7 @@
|
|
|
90
89
|
"kind": "interface",
|
|
91
90
|
"locationInModule": {
|
|
92
91
|
"filename": "src/types.ts",
|
|
93
|
-
"line":
|
|
92
|
+
"line": 52
|
|
94
93
|
},
|
|
95
94
|
"name": "AWSCredentials",
|
|
96
95
|
"properties": [
|
|
@@ -104,7 +103,7 @@
|
|
|
104
103
|
"immutable": true,
|
|
105
104
|
"locationInModule": {
|
|
106
105
|
"filename": "src/types.ts",
|
|
107
|
-
"line":
|
|
106
|
+
"line": 80
|
|
108
107
|
},
|
|
109
108
|
"name": "region",
|
|
110
109
|
"type": {
|
|
@@ -121,7 +120,7 @@
|
|
|
121
120
|
"immutable": true,
|
|
122
121
|
"locationInModule": {
|
|
123
122
|
"filename": "src/types.ts",
|
|
124
|
-
"line":
|
|
123
|
+
"line": 57
|
|
125
124
|
},
|
|
126
125
|
"name": "accessKeyIdSecretName",
|
|
127
126
|
"optional": true,
|
|
@@ -139,7 +138,7 @@
|
|
|
139
138
|
"immutable": true,
|
|
140
139
|
"locationInModule": {
|
|
141
140
|
"filename": "src/types.ts",
|
|
142
|
-
"line":
|
|
141
|
+
"line": 74
|
|
143
142
|
},
|
|
144
143
|
"name": "assumeRoleDurationSeconds",
|
|
145
144
|
"optional": true,
|
|
@@ -156,7 +155,7 @@
|
|
|
156
155
|
"immutable": true,
|
|
157
156
|
"locationInModule": {
|
|
158
157
|
"filename": "src/types.ts",
|
|
159
|
-
"line":
|
|
158
|
+
"line": 68
|
|
160
159
|
},
|
|
161
160
|
"name": "roleToAssume",
|
|
162
161
|
"optional": true,
|
|
@@ -174,7 +173,7 @@
|
|
|
174
173
|
"immutable": true,
|
|
175
174
|
"locationInModule": {
|
|
176
175
|
"filename": "src/types.ts",
|
|
177
|
-
"line":
|
|
176
|
+
"line": 63
|
|
178
177
|
},
|
|
179
178
|
"name": "secretAccessKeySecretName",
|
|
180
179
|
"optional": true,
|
|
@@ -223,6 +222,26 @@
|
|
|
223
222
|
{
|
|
224
223
|
"abstract": true,
|
|
225
224
|
"docs": {
|
|
225
|
+
"default": "undefined",
|
|
226
|
+
"remarks": "if not provided will not set",
|
|
227
|
+
"stability": "stable",
|
|
228
|
+
"summary": "npm config name to set as the environment name This might be useful in deployment process."
|
|
229
|
+
},
|
|
230
|
+
"immutable": true,
|
|
231
|
+
"locationInModule": {
|
|
232
|
+
"filename": "src/types.ts",
|
|
233
|
+
"line": 37
|
|
234
|
+
},
|
|
235
|
+
"name": "npmConfigEnvironment",
|
|
236
|
+
"optional": true,
|
|
237
|
+
"type": {
|
|
238
|
+
"primitive": "string"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"abstract": true,
|
|
243
|
+
"docs": {
|
|
244
|
+
"default": "undefined",
|
|
226
245
|
"remarks": "if not provided matches all of the stacks in the CDK App.",
|
|
227
246
|
"stability": "stable",
|
|
228
247
|
"summary": "Regex for stacks to be deployed."
|
|
@@ -230,7 +249,7 @@
|
|
|
230
249
|
"immutable": true,
|
|
231
250
|
"locationInModule": {
|
|
232
251
|
"filename": "src/types.ts",
|
|
233
|
-
"line":
|
|
252
|
+
"line": 28
|
|
234
253
|
},
|
|
235
254
|
"name": "stackPattern",
|
|
236
255
|
"optional": true,
|
|
@@ -243,7 +262,7 @@
|
|
|
243
262
|
},
|
|
244
263
|
"deployable-awscdk-app-ts.DeployableAwsCdkTypeScriptApp": {
|
|
245
264
|
"assembly": "deployable-awscdk-app-ts",
|
|
246
|
-
"base": "projen.AwsCdkTypeScriptApp",
|
|
265
|
+
"base": "projen.awscdk.AwsCdkTypeScriptApp",
|
|
247
266
|
"docs": {
|
|
248
267
|
"stability": "stable"
|
|
249
268
|
},
|
|
@@ -271,6 +290,26 @@
|
|
|
271
290
|
"line": 8
|
|
272
291
|
},
|
|
273
292
|
"methods": [
|
|
293
|
+
{
|
|
294
|
+
"docs": {
|
|
295
|
+
"stability": "stable"
|
|
296
|
+
},
|
|
297
|
+
"locationInModule": {
|
|
298
|
+
"filename": "src/index.ts",
|
|
299
|
+
"line": 45
|
|
300
|
+
},
|
|
301
|
+
"name": "addEnvironments",
|
|
302
|
+
"parameters": [
|
|
303
|
+
{
|
|
304
|
+
"name": "items",
|
|
305
|
+
"type": {
|
|
306
|
+
"fqn": "deployable-awscdk-app-ts.EnvironmentOptions"
|
|
307
|
+
},
|
|
308
|
+
"variadic": true
|
|
309
|
+
}
|
|
310
|
+
],
|
|
311
|
+
"variadic": true
|
|
312
|
+
},
|
|
274
313
|
{
|
|
275
314
|
"docs": {
|
|
276
315
|
"remarks": "1. Call \"this.preSynthesize()\"\n2. Delete all generated files\n3. Synthesize all sub-projects\n4. Synthesize all components of this project\n5. Call \"postSynthesize()\" for all components of this project\n6. Call \"this.postSynthesize()\"",
|
|
@@ -296,7 +335,7 @@
|
|
|
296
335
|
},
|
|
297
336
|
"fqn": "deployable-awscdk-app-ts.DeployableAwsCdkTypeScriptAppOptions",
|
|
298
337
|
"interfaces": [
|
|
299
|
-
"projen.AwsCdkTypeScriptAppOptions"
|
|
338
|
+
"projen.awscdk.AwsCdkTypeScriptAppOptions"
|
|
300
339
|
],
|
|
301
340
|
"kind": "interface",
|
|
302
341
|
"locationInModule": {
|
|
@@ -352,7 +391,7 @@
|
|
|
352
391
|
"kind": "interface",
|
|
353
392
|
"locationInModule": {
|
|
354
393
|
"filename": "src/types.ts",
|
|
355
|
-
"line":
|
|
394
|
+
"line": 40
|
|
356
395
|
},
|
|
357
396
|
"name": "EnvironmentOptions",
|
|
358
397
|
"properties": [
|
|
@@ -365,7 +404,7 @@
|
|
|
365
404
|
"immutable": true,
|
|
366
405
|
"locationInModule": {
|
|
367
406
|
"filename": "src/types.ts",
|
|
368
|
-
"line":
|
|
407
|
+
"line": 49
|
|
369
408
|
},
|
|
370
409
|
"name": "awsCredentials",
|
|
371
410
|
"type": {
|
|
@@ -381,7 +420,7 @@
|
|
|
381
420
|
"immutable": true,
|
|
382
421
|
"locationInModule": {
|
|
383
422
|
"filename": "src/types.ts",
|
|
384
|
-
"line":
|
|
423
|
+
"line": 44
|
|
385
424
|
},
|
|
386
425
|
"name": "name",
|
|
387
426
|
"type": {
|
|
@@ -392,6 +431,6 @@
|
|
|
392
431
|
"symbolId": "src/types:EnvironmentOptions"
|
|
393
432
|
}
|
|
394
433
|
},
|
|
395
|
-
"version": "0.0.
|
|
396
|
-
"fingerprint": "
|
|
434
|
+
"version": "0.0.7",
|
|
435
|
+
"fingerprint": "nT0TqpLHYQlflimXGi+/v3uX4JVCkBNte3/rqAxNmQ8="
|
|
397
436
|
}
|
package/.projenrc.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {javascript, cdk, TextFile} from 'projen'
|
|
2
2
|
|
|
3
3
|
const nodeVersion = '14.18.1'
|
|
4
4
|
|
|
5
|
-
const project = new JsiiProject({
|
|
5
|
+
const project = new cdk.JsiiProject({
|
|
6
6
|
author: 'Amin Fazl',
|
|
7
7
|
authorAddress: 'amin.fazl@mondo.com.au',
|
|
8
8
|
defaultReleaseBranch: 'main',
|
|
@@ -16,8 +16,8 @@ const project = new JsiiProject({
|
|
|
16
16
|
],
|
|
17
17
|
projenrcTs: true,
|
|
18
18
|
repositoryUrl: 'https://github.com/amin.fazl/deployable-awscdk-app-ts.git',
|
|
19
|
-
packageManager: NodePackageManager.NPM,
|
|
20
|
-
npmAccess: NpmAccess.PUBLIC,
|
|
19
|
+
packageManager: javascript.NodePackageManager.NPM,
|
|
20
|
+
npmAccess: javascript.NpmAccess.PUBLIC,
|
|
21
21
|
deps: [
|
|
22
22
|
'projen',
|
|
23
23
|
],
|