projen-pipelines 0.3.22 → 0.3.23
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 +7 -4
- package/API.md +420 -0
- package/lib/assign-approver/base.js +3 -4
- package/lib/assign-approver/github.js +4 -4
- package/lib/awscdk/base.js +47 -5
- package/lib/awscdk/bash.js +2 -4
- package/lib/awscdk/github.js +13 -6
- package/lib/awscdk/gitlab.js +11 -6
- package/lib/drift/base.js +8 -4
- package/lib/drift/bash.js +3 -4
- package/lib/drift/detect-drift.js +3 -2
- package/lib/drift/github.js +5 -4
- package/lib/drift/gitlab.js +5 -4
- package/lib/drift/step.js +2 -4
- package/lib/release.js +5 -2
- package/lib/steps/amplify-deploy.step.js +5 -4
- package/lib/steps/artifact-steps.js +5 -6
- package/lib/steps/aws-assume-role.step.js +3 -4
- package/lib/steps/github-summary.step.js +3 -4
- package/lib/steps/package-manager-setup.step.js +4 -6
- package/lib/steps/registries.js +7 -8
- package/lib/steps/set-env.step.js +2 -1
- package/lib/steps/step.js +9 -10
- package/lib/versioning/computation.js +6 -8
- package/lib/versioning/config.js +3 -6
- package/lib/versioning/outputs.js +13 -16
- package/lib/versioning/setup.js +4 -4
- package/lib/versioning/strategy.js +4 -4
- package/lib/versioning/version-info.js +18 -9
- package/node_modules/@babel/code-frame/package.json +2 -2
- package/node_modules/@babel/helper-validator-identifier/package.json +1 -1
- package/node_modules/@nodable/entities/README.md +52 -1
- package/node_modules/@nodable/entities/package.json +4 -1
- package/node_modules/@nodable/entities/src/EntityDecoder.js +105 -4
- package/node_modules/@nodable/entities/src/EntityEncoder.js +79 -34
- package/node_modules/@nodable/entities/src/all-entities.js +53 -0
- package/node_modules/@nodable/entities/src/entities.js +0 -38
- package/node_modules/@nodable/entities/src/entityTries.js +48 -37
- package/node_modules/@nodable/entities/src/index.d.ts +93 -2
- package/node_modules/@nodable/entities/src/index.js +2 -2
- package/node_modules/anynum/LICENSE +21 -0
- package/node_modules/anynum/README.md +142 -0
- package/node_modules/anynum/anynum.js +135 -0
- package/node_modules/anynum/digitTable.js +116 -0
- package/node_modules/anynum/package.json +42 -0
- package/node_modules/dotgitignore/node_modules/brace-expansion/README.md +23 -1
- package/node_modules/dotgitignore/node_modules/brace-expansion/index.js +265 -86
- package/node_modules/dotgitignore/node_modules/brace-expansion/package.json +1 -1
- package/node_modules/fast-xml-builder/CHANGELOG.md +12 -0
- package/node_modules/fast-xml-builder/README.md +4 -1
- package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -1
- package/node_modules/fast-xml-builder/lib/fxb.min.js +1 -1
- package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -1
- package/node_modules/fast-xml-builder/package.json +6 -10
- package/node_modules/fast-xml-builder/src/fxb.js +34 -24
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +18 -17
- package/node_modules/fast-xml-builder/src/util.js +10 -3
- package/node_modules/fast-xml-parser/CHANGELOG.md +34 -0
- package/node_modules/fast-xml-parser/README.md +10 -6
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +3 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/fast-xml-parser/package.json +8 -10
- package/node_modules/fast-xml-parser/src/fxp.d.ts +5 -1
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +16 -1
- package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +2 -1
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +36 -3
- package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +14 -0
- package/node_modules/get-pkg-repo/node_modules/yargs/package.json +27 -26
- package/node_modules/get-pkg-repo/node_modules/yargs/yargs +5 -9
- package/node_modules/get-pkg-repo/node_modules/yargs/yargs.cjs +15 -0
- package/node_modules/hasown/CHANGELOG.md +7 -0
- package/node_modules/hasown/index.d.ts +0 -1
- package/node_modules/hasown/package.json +4 -5
- package/node_modules/is-unsafe/LICENSE +21 -0
- package/node_modules/is-unsafe/README.md +599 -0
- package/node_modules/is-unsafe/package.json +56 -0
- package/node_modules/is-unsafe/src/contexts/html.js +102 -0
- package/node_modules/is-unsafe/src/contexts/log.js +98 -0
- package/node_modules/is-unsafe/src/contexts/nosql.js +114 -0
- package/node_modules/is-unsafe/src/contexts/redos.js +60 -0
- package/node_modules/is-unsafe/src/contexts/shell.js +105 -0
- package/node_modules/is-unsafe/src/contexts/sql-strict.js +47 -0
- package/node_modules/is-unsafe/src/contexts/sql.js +95 -0
- package/node_modules/is-unsafe/src/contexts/svg.js +81 -0
- package/node_modules/is-unsafe/src/contexts/xml.js +79 -0
- package/node_modules/is-unsafe/src/index.cjs +27 -0
- package/node_modules/is-unsafe/src/index.d.ts +95 -0
- package/node_modules/is-unsafe/src/index.js +265 -0
- package/node_modules/path-expression-matcher/README.md +82 -7
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
- package/node_modules/path-expression-matcher/lib/pem.d.cts +94 -3
- package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
- package/node_modules/path-expression-matcher/package.json +2 -1
- package/node_modules/path-expression-matcher/src/ExpressionSet.js +18 -2
- package/node_modules/path-expression-matcher/src/Matcher.js +109 -16
- package/node_modules/path-expression-matcher/src/index.d.ts +67 -1
- package/node_modules/path-expression-matcher/src/index.js +3 -2
- package/node_modules/semver/classes/range.js +24 -4
- package/node_modules/semver/classes/semver.js +19 -2
- package/node_modules/semver/package.json +2 -2
- package/node_modules/semver/ranges/subset.js +2 -2
- package/node_modules/strnum/CHANGELOG.md +14 -0
- package/node_modules/strnum/README.md +9 -0
- package/node_modules/strnum/package.json +7 -3
- package/node_modules/strnum/strnum.js +14 -2
- package/node_modules/xml-naming/LICENSE +21 -0
- package/node_modules/xml-naming/README.md +99 -1
- package/node_modules/xml-naming/package.json +4 -2
- package/node_modules/xml-naming/src/index.d.ts +34 -0
- package/node_modules/xml-naming/src/index.js +134 -22
- package/node_modules/yargs/build/index.cjs +1 -1
- package/node_modules/yargs/package.json +6 -4
- package/node_modules/yargs/yargs +5 -9
- package/node_modules/yargs/yargs.cjs +15 -0
- package/package.json +8 -9
- package/node_modules/yargs/browser.d.ts +0 -5
package/API.md
CHANGED
|
@@ -37,8 +37,10 @@ new AssignApprover(scope: Project, baseOptions: AssignApproverOptions)
|
|
|
37
37
|
| --- | --- |
|
|
38
38
|
| <code><a href="#projen-pipelines.AssignApprover.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
39
39
|
| <code><a href="#projen-pipelines.AssignApprover.with">with</a></code> | Applies one or more mixins to this construct. |
|
|
40
|
+
| <code><a href="#projen-pipelines.AssignApprover.postProjectCreation">postProjectCreation</a></code> | Called once, right after `postSynthesize()`, only when the project is created for the first time. |
|
|
40
41
|
| <code><a href="#projen-pipelines.AssignApprover.postSynthesize">postSynthesize</a></code> | Called after synthesis. |
|
|
41
42
|
| <code><a href="#projen-pipelines.AssignApprover.preSynthesize">preSynthesize</a></code> | Called before synthesis. |
|
|
43
|
+
| <code><a href="#projen-pipelines.AssignApprover.projectCreation">projectCreation</a></code> | Called once, right after `synthesize()`, only when the project is created for the first time. |
|
|
42
44
|
| <code><a href="#projen-pipelines.AssignApprover.synthesize">synthesize</a></code> | Synthesizes files to the project output directory. |
|
|
43
45
|
|
|
44
46
|
---
|
|
@@ -72,6 +74,27 @@ The mixins to apply.
|
|
|
72
74
|
|
|
73
75
|
---
|
|
74
76
|
|
|
77
|
+
##### `postProjectCreation` <a name="postProjectCreation" id="projen-pipelines.AssignApprover.postProjectCreation"></a>
|
|
78
|
+
|
|
79
|
+
```typescript
|
|
80
|
+
public postProjectCreation(initProject: InitProject): void
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Called once, right after `postSynthesize()`, only when the project is created for the first time.
|
|
84
|
+
|
|
85
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
86
|
+
It is also skipped when post-synthesis steps are disabled, e.g. `--no-post` or `PROJEN_DISABLE_POST`.
|
|
87
|
+
Use it for one-off setup that can be turned off by the user, like running a task to give the user immediate
|
|
88
|
+
feedback on their new project. Order across components is not guaranteed.
|
|
89
|
+
|
|
90
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.AssignApprover.postProjectCreation.parameter.initProject"></a>
|
|
91
|
+
|
|
92
|
+
- *Type:* projen.InitProject
|
|
93
|
+
|
|
94
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
75
98
|
##### `postSynthesize` <a name="postSynthesize" id="projen-pipelines.AssignApprover.postSynthesize"></a>
|
|
76
99
|
|
|
77
100
|
```typescript
|
|
@@ -90,6 +113,25 @@ public preSynthesize(): void
|
|
|
90
113
|
|
|
91
114
|
Called before synthesis.
|
|
92
115
|
|
|
116
|
+
##### `projectCreation` <a name="projectCreation" id="projen-pipelines.AssignApprover.projectCreation"></a>
|
|
117
|
+
|
|
118
|
+
```typescript
|
|
119
|
+
public projectCreation(initProject: InitProject): void
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
Called once, right after `synthesize()`, only when the project is created for the first time.
|
|
123
|
+
|
|
124
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
125
|
+
Use it for deterministic, one-off file generation. Order across components is not guaranteed.
|
|
126
|
+
|
|
127
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.AssignApprover.projectCreation.parameter.initProject"></a>
|
|
128
|
+
|
|
129
|
+
- *Type:* projen.InitProject
|
|
130
|
+
|
|
131
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
93
135
|
##### `synthesize` <a name="synthesize" id="projen-pipelines.AssignApprover.synthesize"></a>
|
|
94
136
|
|
|
95
137
|
```typescript
|
|
@@ -222,8 +264,10 @@ new BashCDKPipeline(app: AwsCdkTypeScriptApp, options: BashCDKPipelineOptions)
|
|
|
222
264
|
| --- | --- |
|
|
223
265
|
| <code><a href="#projen-pipelines.BashCDKPipeline.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
224
266
|
| <code><a href="#projen-pipelines.BashCDKPipeline.with">with</a></code> | Applies one or more mixins to this construct. |
|
|
267
|
+
| <code><a href="#projen-pipelines.BashCDKPipeline.postProjectCreation">postProjectCreation</a></code> | Called once, right after `postSynthesize()`, only when the project is created for the first time. |
|
|
225
268
|
| <code><a href="#projen-pipelines.BashCDKPipeline.postSynthesize">postSynthesize</a></code> | Called after synthesis. |
|
|
226
269
|
| <code><a href="#projen-pipelines.BashCDKPipeline.preSynthesize">preSynthesize</a></code> | Called before synthesis. |
|
|
270
|
+
| <code><a href="#projen-pipelines.BashCDKPipeline.projectCreation">projectCreation</a></code> | Called once, right after `synthesize()`, only when the project is created for the first time. |
|
|
227
271
|
| <code><a href="#projen-pipelines.BashCDKPipeline.synthesize">synthesize</a></code> | Synthesizes files to the project output directory. |
|
|
228
272
|
| <code><a href="#projen-pipelines.BashCDKPipeline.engineType">engineType</a></code> | *No description.* |
|
|
229
273
|
| <code><a href="#projen-pipelines.BashCDKPipeline.generateVersioningAppCode">generateVersioningAppCode</a></code> | Generate CDK application code for versioning. |
|
|
@@ -261,6 +305,27 @@ The mixins to apply.
|
|
|
261
305
|
|
|
262
306
|
---
|
|
263
307
|
|
|
308
|
+
##### `postProjectCreation` <a name="postProjectCreation" id="projen-pipelines.BashCDKPipeline.postProjectCreation"></a>
|
|
309
|
+
|
|
310
|
+
```typescript
|
|
311
|
+
public postProjectCreation(initProject: InitProject): void
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
Called once, right after `postSynthesize()`, only when the project is created for the first time.
|
|
315
|
+
|
|
316
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
317
|
+
It is also skipped when post-synthesis steps are disabled, e.g. `--no-post` or `PROJEN_DISABLE_POST`.
|
|
318
|
+
Use it for one-off setup that can be turned off by the user, like running a task to give the user immediate
|
|
319
|
+
feedback on their new project. Order across components is not guaranteed.
|
|
320
|
+
|
|
321
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.BashCDKPipeline.postProjectCreation.parameter.initProject"></a>
|
|
322
|
+
|
|
323
|
+
- *Type:* projen.InitProject
|
|
324
|
+
|
|
325
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
326
|
+
|
|
327
|
+
---
|
|
328
|
+
|
|
264
329
|
##### `postSynthesize` <a name="postSynthesize" id="projen-pipelines.BashCDKPipeline.postSynthesize"></a>
|
|
265
330
|
|
|
266
331
|
```typescript
|
|
@@ -279,6 +344,25 @@ public preSynthesize(): void
|
|
|
279
344
|
|
|
280
345
|
Called before synthesis.
|
|
281
346
|
|
|
347
|
+
##### `projectCreation` <a name="projectCreation" id="projen-pipelines.BashCDKPipeline.projectCreation"></a>
|
|
348
|
+
|
|
349
|
+
```typescript
|
|
350
|
+
public projectCreation(initProject: InitProject): void
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
Called once, right after `synthesize()`, only when the project is created for the first time.
|
|
354
|
+
|
|
355
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
356
|
+
Use it for deterministic, one-off file generation. Order across components is not guaranteed.
|
|
357
|
+
|
|
358
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.BashCDKPipeline.projectCreation.parameter.initProject"></a>
|
|
359
|
+
|
|
360
|
+
- *Type:* projen.InitProject
|
|
361
|
+
|
|
362
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
|
|
282
366
|
##### `synthesize` <a name="synthesize" id="projen-pipelines.BashCDKPipeline.synthesize"></a>
|
|
283
367
|
|
|
284
368
|
```typescript
|
|
@@ -469,8 +553,10 @@ new BashDriftDetectionWorkflow(project: Project, options: BashDriftDetectionWork
|
|
|
469
553
|
| --- | --- |
|
|
470
554
|
| <code><a href="#projen-pipelines.BashDriftDetectionWorkflow.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
471
555
|
| <code><a href="#projen-pipelines.BashDriftDetectionWorkflow.with">with</a></code> | Applies one or more mixins to this construct. |
|
|
556
|
+
| <code><a href="#projen-pipelines.BashDriftDetectionWorkflow.postProjectCreation">postProjectCreation</a></code> | Called once, right after `postSynthesize()`, only when the project is created for the first time. |
|
|
472
557
|
| <code><a href="#projen-pipelines.BashDriftDetectionWorkflow.postSynthesize">postSynthesize</a></code> | Called after synthesis. |
|
|
473
558
|
| <code><a href="#projen-pipelines.BashDriftDetectionWorkflow.preSynthesize">preSynthesize</a></code> | Called before synthesis. |
|
|
559
|
+
| <code><a href="#projen-pipelines.BashDriftDetectionWorkflow.projectCreation">projectCreation</a></code> | Called once, right after `synthesize()`, only when the project is created for the first time. |
|
|
474
560
|
| <code><a href="#projen-pipelines.BashDriftDetectionWorkflow.synthesize">synthesize</a></code> | Synthesizes files to the project output directory. |
|
|
475
561
|
|
|
476
562
|
---
|
|
@@ -504,6 +590,27 @@ The mixins to apply.
|
|
|
504
590
|
|
|
505
591
|
---
|
|
506
592
|
|
|
593
|
+
##### `postProjectCreation` <a name="postProjectCreation" id="projen-pipelines.BashDriftDetectionWorkflow.postProjectCreation"></a>
|
|
594
|
+
|
|
595
|
+
```typescript
|
|
596
|
+
public postProjectCreation(initProject: InitProject): void
|
|
597
|
+
```
|
|
598
|
+
|
|
599
|
+
Called once, right after `postSynthesize()`, only when the project is created for the first time.
|
|
600
|
+
|
|
601
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
602
|
+
It is also skipped when post-synthesis steps are disabled, e.g. `--no-post` or `PROJEN_DISABLE_POST`.
|
|
603
|
+
Use it for one-off setup that can be turned off by the user, like running a task to give the user immediate
|
|
604
|
+
feedback on their new project. Order across components is not guaranteed.
|
|
605
|
+
|
|
606
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.BashDriftDetectionWorkflow.postProjectCreation.parameter.initProject"></a>
|
|
607
|
+
|
|
608
|
+
- *Type:* projen.InitProject
|
|
609
|
+
|
|
610
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
611
|
+
|
|
612
|
+
---
|
|
613
|
+
|
|
507
614
|
##### `postSynthesize` <a name="postSynthesize" id="projen-pipelines.BashDriftDetectionWorkflow.postSynthesize"></a>
|
|
508
615
|
|
|
509
616
|
```typescript
|
|
@@ -522,6 +629,25 @@ public preSynthesize(): void
|
|
|
522
629
|
|
|
523
630
|
Called before synthesis.
|
|
524
631
|
|
|
632
|
+
##### `projectCreation` <a name="projectCreation" id="projen-pipelines.BashDriftDetectionWorkflow.projectCreation"></a>
|
|
633
|
+
|
|
634
|
+
```typescript
|
|
635
|
+
public projectCreation(initProject: InitProject): void
|
|
636
|
+
```
|
|
637
|
+
|
|
638
|
+
Called once, right after `synthesize()`, only when the project is created for the first time.
|
|
639
|
+
|
|
640
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
641
|
+
Use it for deterministic, one-off file generation. Order across components is not guaranteed.
|
|
642
|
+
|
|
643
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.BashDriftDetectionWorkflow.projectCreation.parameter.initProject"></a>
|
|
644
|
+
|
|
645
|
+
- *Type:* projen.InitProject
|
|
646
|
+
|
|
647
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
648
|
+
|
|
649
|
+
---
|
|
650
|
+
|
|
525
651
|
##### `synthesize` <a name="synthesize" id="projen-pipelines.BashDriftDetectionWorkflow.synthesize"></a>
|
|
526
652
|
|
|
527
653
|
```typescript
|
|
@@ -680,8 +806,10 @@ new CDKPipeline(app: AwsCdkTypeScriptApp, baseOptions: CDKPipelineOptions)
|
|
|
680
806
|
| --- | --- |
|
|
681
807
|
| <code><a href="#projen-pipelines.CDKPipeline.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
682
808
|
| <code><a href="#projen-pipelines.CDKPipeline.with">with</a></code> | Applies one or more mixins to this construct. |
|
|
809
|
+
| <code><a href="#projen-pipelines.CDKPipeline.postProjectCreation">postProjectCreation</a></code> | Called once, right after `postSynthesize()`, only when the project is created for the first time. |
|
|
683
810
|
| <code><a href="#projen-pipelines.CDKPipeline.postSynthesize">postSynthesize</a></code> | Called after synthesis. |
|
|
684
811
|
| <code><a href="#projen-pipelines.CDKPipeline.preSynthesize">preSynthesize</a></code> | Called before synthesis. |
|
|
812
|
+
| <code><a href="#projen-pipelines.CDKPipeline.projectCreation">projectCreation</a></code> | Called once, right after `synthesize()`, only when the project is created for the first time. |
|
|
685
813
|
| <code><a href="#projen-pipelines.CDKPipeline.synthesize">synthesize</a></code> | Synthesizes files to the project output directory. |
|
|
686
814
|
| <code><a href="#projen-pipelines.CDKPipeline.engineType">engineType</a></code> | *No description.* |
|
|
687
815
|
| <code><a href="#projen-pipelines.CDKPipeline.generateVersioningAppCode">generateVersioningAppCode</a></code> | Generate CDK application code for versioning. |
|
|
@@ -719,6 +847,27 @@ The mixins to apply.
|
|
|
719
847
|
|
|
720
848
|
---
|
|
721
849
|
|
|
850
|
+
##### `postProjectCreation` <a name="postProjectCreation" id="projen-pipelines.CDKPipeline.postProjectCreation"></a>
|
|
851
|
+
|
|
852
|
+
```typescript
|
|
853
|
+
public postProjectCreation(initProject: InitProject): void
|
|
854
|
+
```
|
|
855
|
+
|
|
856
|
+
Called once, right after `postSynthesize()`, only when the project is created for the first time.
|
|
857
|
+
|
|
858
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
859
|
+
It is also skipped when post-synthesis steps are disabled, e.g. `--no-post` or `PROJEN_DISABLE_POST`.
|
|
860
|
+
Use it for one-off setup that can be turned off by the user, like running a task to give the user immediate
|
|
861
|
+
feedback on their new project. Order across components is not guaranteed.
|
|
862
|
+
|
|
863
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.CDKPipeline.postProjectCreation.parameter.initProject"></a>
|
|
864
|
+
|
|
865
|
+
- *Type:* projen.InitProject
|
|
866
|
+
|
|
867
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
868
|
+
|
|
869
|
+
---
|
|
870
|
+
|
|
722
871
|
##### `postSynthesize` <a name="postSynthesize" id="projen-pipelines.CDKPipeline.postSynthesize"></a>
|
|
723
872
|
|
|
724
873
|
```typescript
|
|
@@ -737,6 +886,25 @@ public preSynthesize(): void
|
|
|
737
886
|
|
|
738
887
|
Called before synthesis.
|
|
739
888
|
|
|
889
|
+
##### `projectCreation` <a name="projectCreation" id="projen-pipelines.CDKPipeline.projectCreation"></a>
|
|
890
|
+
|
|
891
|
+
```typescript
|
|
892
|
+
public projectCreation(initProject: InitProject): void
|
|
893
|
+
```
|
|
894
|
+
|
|
895
|
+
Called once, right after `synthesize()`, only when the project is created for the first time.
|
|
896
|
+
|
|
897
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
898
|
+
Use it for deterministic, one-off file generation. Order across components is not guaranteed.
|
|
899
|
+
|
|
900
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.CDKPipeline.projectCreation.parameter.initProject"></a>
|
|
901
|
+
|
|
902
|
+
- *Type:* projen.InitProject
|
|
903
|
+
|
|
904
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
905
|
+
|
|
906
|
+
---
|
|
907
|
+
|
|
740
908
|
##### `synthesize` <a name="synthesize" id="projen-pipelines.CDKPipeline.synthesize"></a>
|
|
741
909
|
|
|
742
910
|
```typescript
|
|
@@ -927,8 +1095,10 @@ new DriftDetectionWorkflow(project: Project, options: DriftDetectionWorkflowOpti
|
|
|
927
1095
|
| --- | --- |
|
|
928
1096
|
| <code><a href="#projen-pipelines.DriftDetectionWorkflow.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
929
1097
|
| <code><a href="#projen-pipelines.DriftDetectionWorkflow.with">with</a></code> | Applies one or more mixins to this construct. |
|
|
1098
|
+
| <code><a href="#projen-pipelines.DriftDetectionWorkflow.postProjectCreation">postProjectCreation</a></code> | Called once, right after `postSynthesize()`, only when the project is created for the first time. |
|
|
930
1099
|
| <code><a href="#projen-pipelines.DriftDetectionWorkflow.postSynthesize">postSynthesize</a></code> | Called after synthesis. |
|
|
931
1100
|
| <code><a href="#projen-pipelines.DriftDetectionWorkflow.preSynthesize">preSynthesize</a></code> | Called before synthesis. |
|
|
1101
|
+
| <code><a href="#projen-pipelines.DriftDetectionWorkflow.projectCreation">projectCreation</a></code> | Called once, right after `synthesize()`, only when the project is created for the first time. |
|
|
932
1102
|
| <code><a href="#projen-pipelines.DriftDetectionWorkflow.synthesize">synthesize</a></code> | Synthesizes files to the project output directory. |
|
|
933
1103
|
|
|
934
1104
|
---
|
|
@@ -962,6 +1132,27 @@ The mixins to apply.
|
|
|
962
1132
|
|
|
963
1133
|
---
|
|
964
1134
|
|
|
1135
|
+
##### `postProjectCreation` <a name="postProjectCreation" id="projen-pipelines.DriftDetectionWorkflow.postProjectCreation"></a>
|
|
1136
|
+
|
|
1137
|
+
```typescript
|
|
1138
|
+
public postProjectCreation(initProject: InitProject): void
|
|
1139
|
+
```
|
|
1140
|
+
|
|
1141
|
+
Called once, right after `postSynthesize()`, only when the project is created for the first time.
|
|
1142
|
+
|
|
1143
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
1144
|
+
It is also skipped when post-synthesis steps are disabled, e.g. `--no-post` or `PROJEN_DISABLE_POST`.
|
|
1145
|
+
Use it for one-off setup that can be turned off by the user, like running a task to give the user immediate
|
|
1146
|
+
feedback on their new project. Order across components is not guaranteed.
|
|
1147
|
+
|
|
1148
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.DriftDetectionWorkflow.postProjectCreation.parameter.initProject"></a>
|
|
1149
|
+
|
|
1150
|
+
- *Type:* projen.InitProject
|
|
1151
|
+
|
|
1152
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
1153
|
+
|
|
1154
|
+
---
|
|
1155
|
+
|
|
965
1156
|
##### `postSynthesize` <a name="postSynthesize" id="projen-pipelines.DriftDetectionWorkflow.postSynthesize"></a>
|
|
966
1157
|
|
|
967
1158
|
```typescript
|
|
@@ -980,6 +1171,25 @@ public preSynthesize(): void
|
|
|
980
1171
|
|
|
981
1172
|
Called before synthesis.
|
|
982
1173
|
|
|
1174
|
+
##### `projectCreation` <a name="projectCreation" id="projen-pipelines.DriftDetectionWorkflow.projectCreation"></a>
|
|
1175
|
+
|
|
1176
|
+
```typescript
|
|
1177
|
+
public projectCreation(initProject: InitProject): void
|
|
1178
|
+
```
|
|
1179
|
+
|
|
1180
|
+
Called once, right after `synthesize()`, only when the project is created for the first time.
|
|
1181
|
+
|
|
1182
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
1183
|
+
Use it for deterministic, one-off file generation. Order across components is not guaranteed.
|
|
1184
|
+
|
|
1185
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.DriftDetectionWorkflow.projectCreation.parameter.initProject"></a>
|
|
1186
|
+
|
|
1187
|
+
- *Type:* projen.InitProject
|
|
1188
|
+
|
|
1189
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
1190
|
+
|
|
1191
|
+
---
|
|
1192
|
+
|
|
983
1193
|
##### `synthesize` <a name="synthesize" id="projen-pipelines.DriftDetectionWorkflow.synthesize"></a>
|
|
984
1194
|
|
|
985
1195
|
```typescript
|
|
@@ -1134,8 +1344,10 @@ new GitHubAssignApprover(scope: GitHubProject, options: GitHubAssignApproverOpti
|
|
|
1134
1344
|
| --- | --- |
|
|
1135
1345
|
| <code><a href="#projen-pipelines.GitHubAssignApprover.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
1136
1346
|
| <code><a href="#projen-pipelines.GitHubAssignApprover.with">with</a></code> | Applies one or more mixins to this construct. |
|
|
1347
|
+
| <code><a href="#projen-pipelines.GitHubAssignApprover.postProjectCreation">postProjectCreation</a></code> | Called once, right after `postSynthesize()`, only when the project is created for the first time. |
|
|
1137
1348
|
| <code><a href="#projen-pipelines.GitHubAssignApprover.postSynthesize">postSynthesize</a></code> | Called after synthesis. |
|
|
1138
1349
|
| <code><a href="#projen-pipelines.GitHubAssignApprover.preSynthesize">preSynthesize</a></code> | Called before synthesis. |
|
|
1350
|
+
| <code><a href="#projen-pipelines.GitHubAssignApprover.projectCreation">projectCreation</a></code> | Called once, right after `synthesize()`, only when the project is created for the first time. |
|
|
1139
1351
|
| <code><a href="#projen-pipelines.GitHubAssignApprover.synthesize">synthesize</a></code> | Synthesizes files to the project output directory. |
|
|
1140
1352
|
| <code><a href="#projen-pipelines.GitHubAssignApprover.renderPermissions">renderPermissions</a></code> | Get the required permissions for the GitHub workflow. |
|
|
1141
1353
|
|
|
@@ -1170,6 +1382,27 @@ The mixins to apply.
|
|
|
1170
1382
|
|
|
1171
1383
|
---
|
|
1172
1384
|
|
|
1385
|
+
##### `postProjectCreation` <a name="postProjectCreation" id="projen-pipelines.GitHubAssignApprover.postProjectCreation"></a>
|
|
1386
|
+
|
|
1387
|
+
```typescript
|
|
1388
|
+
public postProjectCreation(initProject: InitProject): void
|
|
1389
|
+
```
|
|
1390
|
+
|
|
1391
|
+
Called once, right after `postSynthesize()`, only when the project is created for the first time.
|
|
1392
|
+
|
|
1393
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
1394
|
+
It is also skipped when post-synthesis steps are disabled, e.g. `--no-post` or `PROJEN_DISABLE_POST`.
|
|
1395
|
+
Use it for one-off setup that can be turned off by the user, like running a task to give the user immediate
|
|
1396
|
+
feedback on their new project. Order across components is not guaranteed.
|
|
1397
|
+
|
|
1398
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.GitHubAssignApprover.postProjectCreation.parameter.initProject"></a>
|
|
1399
|
+
|
|
1400
|
+
- *Type:* projen.InitProject
|
|
1401
|
+
|
|
1402
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
1403
|
+
|
|
1404
|
+
---
|
|
1405
|
+
|
|
1173
1406
|
##### `postSynthesize` <a name="postSynthesize" id="projen-pipelines.GitHubAssignApprover.postSynthesize"></a>
|
|
1174
1407
|
|
|
1175
1408
|
```typescript
|
|
@@ -1188,6 +1421,25 @@ public preSynthesize(): void
|
|
|
1188
1421
|
|
|
1189
1422
|
Called before synthesis.
|
|
1190
1423
|
|
|
1424
|
+
##### `projectCreation` <a name="projectCreation" id="projen-pipelines.GitHubAssignApprover.projectCreation"></a>
|
|
1425
|
+
|
|
1426
|
+
```typescript
|
|
1427
|
+
public projectCreation(initProject: InitProject): void
|
|
1428
|
+
```
|
|
1429
|
+
|
|
1430
|
+
Called once, right after `synthesize()`, only when the project is created for the first time.
|
|
1431
|
+
|
|
1432
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
1433
|
+
Use it for deterministic, one-off file generation. Order across components is not guaranteed.
|
|
1434
|
+
|
|
1435
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.GitHubAssignApprover.projectCreation.parameter.initProject"></a>
|
|
1436
|
+
|
|
1437
|
+
- *Type:* projen.InitProject
|
|
1438
|
+
|
|
1439
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
1440
|
+
|
|
1441
|
+
---
|
|
1442
|
+
|
|
1191
1443
|
##### `synthesize` <a name="synthesize" id="projen-pipelines.GitHubAssignApprover.synthesize"></a>
|
|
1192
1444
|
|
|
1193
1445
|
```typescript
|
|
@@ -1334,8 +1586,10 @@ Configuration options for the pipeline.
|
|
|
1334
1586
|
| --- | --- |
|
|
1335
1587
|
| <code><a href="#projen-pipelines.GithubCDKPipeline.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
1336
1588
|
| <code><a href="#projen-pipelines.GithubCDKPipeline.with">with</a></code> | Applies one or more mixins to this construct. |
|
|
1589
|
+
| <code><a href="#projen-pipelines.GithubCDKPipeline.postProjectCreation">postProjectCreation</a></code> | Called once, right after `postSynthesize()`, only when the project is created for the first time. |
|
|
1337
1590
|
| <code><a href="#projen-pipelines.GithubCDKPipeline.postSynthesize">postSynthesize</a></code> | Called after synthesis. |
|
|
1338
1591
|
| <code><a href="#projen-pipelines.GithubCDKPipeline.preSynthesize">preSynthesize</a></code> | Called before synthesis. |
|
|
1592
|
+
| <code><a href="#projen-pipelines.GithubCDKPipeline.projectCreation">projectCreation</a></code> | Called once, right after `synthesize()`, only when the project is created for the first time. |
|
|
1339
1593
|
| <code><a href="#projen-pipelines.GithubCDKPipeline.synthesize">synthesize</a></code> | Synthesizes files to the project output directory. |
|
|
1340
1594
|
| <code><a href="#projen-pipelines.GithubCDKPipeline.engineType">engineType</a></code> | the type of engine this implementation of CDKPipeline is for. |
|
|
1341
1595
|
| <code><a href="#projen-pipelines.GithubCDKPipeline.generateVersioningAppCode">generateVersioningAppCode</a></code> | Generate CDK application code for versioning. |
|
|
@@ -1376,6 +1630,27 @@ The mixins to apply.
|
|
|
1376
1630
|
|
|
1377
1631
|
---
|
|
1378
1632
|
|
|
1633
|
+
##### `postProjectCreation` <a name="postProjectCreation" id="projen-pipelines.GithubCDKPipeline.postProjectCreation"></a>
|
|
1634
|
+
|
|
1635
|
+
```typescript
|
|
1636
|
+
public postProjectCreation(initProject: InitProject): void
|
|
1637
|
+
```
|
|
1638
|
+
|
|
1639
|
+
Called once, right after `postSynthesize()`, only when the project is created for the first time.
|
|
1640
|
+
|
|
1641
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
1642
|
+
It is also skipped when post-synthesis steps are disabled, e.g. `--no-post` or `PROJEN_DISABLE_POST`.
|
|
1643
|
+
Use it for one-off setup that can be turned off by the user, like running a task to give the user immediate
|
|
1644
|
+
feedback on their new project. Order across components is not guaranteed.
|
|
1645
|
+
|
|
1646
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.GithubCDKPipeline.postProjectCreation.parameter.initProject"></a>
|
|
1647
|
+
|
|
1648
|
+
- *Type:* projen.InitProject
|
|
1649
|
+
|
|
1650
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
1651
|
+
|
|
1652
|
+
---
|
|
1653
|
+
|
|
1379
1654
|
##### `postSynthesize` <a name="postSynthesize" id="projen-pipelines.GithubCDKPipeline.postSynthesize"></a>
|
|
1380
1655
|
|
|
1381
1656
|
```typescript
|
|
@@ -1394,6 +1669,25 @@ public preSynthesize(): void
|
|
|
1394
1669
|
|
|
1395
1670
|
Called before synthesis.
|
|
1396
1671
|
|
|
1672
|
+
##### `projectCreation` <a name="projectCreation" id="projen-pipelines.GithubCDKPipeline.projectCreation"></a>
|
|
1673
|
+
|
|
1674
|
+
```typescript
|
|
1675
|
+
public projectCreation(initProject: InitProject): void
|
|
1676
|
+
```
|
|
1677
|
+
|
|
1678
|
+
Called once, right after `synthesize()`, only when the project is created for the first time.
|
|
1679
|
+
|
|
1680
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
1681
|
+
Use it for deterministic, one-off file generation. Order across components is not guaranteed.
|
|
1682
|
+
|
|
1683
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.GithubCDKPipeline.projectCreation.parameter.initProject"></a>
|
|
1684
|
+
|
|
1685
|
+
- *Type:* projen.InitProject
|
|
1686
|
+
|
|
1687
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
1688
|
+
|
|
1689
|
+
---
|
|
1690
|
+
|
|
1397
1691
|
##### `synthesize` <a name="synthesize" id="projen-pipelines.GithubCDKPipeline.synthesize"></a>
|
|
1398
1692
|
|
|
1399
1693
|
```typescript
|
|
@@ -1657,8 +1951,10 @@ new GitHubDriftDetectionWorkflow(project: Project, options: GitHubDriftDetection
|
|
|
1657
1951
|
| --- | --- |
|
|
1658
1952
|
| <code><a href="#projen-pipelines.GitHubDriftDetectionWorkflow.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
1659
1953
|
| <code><a href="#projen-pipelines.GitHubDriftDetectionWorkflow.with">with</a></code> | Applies one or more mixins to this construct. |
|
|
1954
|
+
| <code><a href="#projen-pipelines.GitHubDriftDetectionWorkflow.postProjectCreation">postProjectCreation</a></code> | Called once, right after `postSynthesize()`, only when the project is created for the first time. |
|
|
1660
1955
|
| <code><a href="#projen-pipelines.GitHubDriftDetectionWorkflow.postSynthesize">postSynthesize</a></code> | Called after synthesis. |
|
|
1661
1956
|
| <code><a href="#projen-pipelines.GitHubDriftDetectionWorkflow.preSynthesize">preSynthesize</a></code> | Called before synthesis. |
|
|
1957
|
+
| <code><a href="#projen-pipelines.GitHubDriftDetectionWorkflow.projectCreation">projectCreation</a></code> | Called once, right after `synthesize()`, only when the project is created for the first time. |
|
|
1662
1958
|
| <code><a href="#projen-pipelines.GitHubDriftDetectionWorkflow.synthesize">synthesize</a></code> | Synthesizes files to the project output directory. |
|
|
1663
1959
|
|
|
1664
1960
|
---
|
|
@@ -1692,6 +1988,27 @@ The mixins to apply.
|
|
|
1692
1988
|
|
|
1693
1989
|
---
|
|
1694
1990
|
|
|
1991
|
+
##### `postProjectCreation` <a name="postProjectCreation" id="projen-pipelines.GitHubDriftDetectionWorkflow.postProjectCreation"></a>
|
|
1992
|
+
|
|
1993
|
+
```typescript
|
|
1994
|
+
public postProjectCreation(initProject: InitProject): void
|
|
1995
|
+
```
|
|
1996
|
+
|
|
1997
|
+
Called once, right after `postSynthesize()`, only when the project is created for the first time.
|
|
1998
|
+
|
|
1999
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
2000
|
+
It is also skipped when post-synthesis steps are disabled, e.g. `--no-post` or `PROJEN_DISABLE_POST`.
|
|
2001
|
+
Use it for one-off setup that can be turned off by the user, like running a task to give the user immediate
|
|
2002
|
+
feedback on their new project. Order across components is not guaranteed.
|
|
2003
|
+
|
|
2004
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.GitHubDriftDetectionWorkflow.postProjectCreation.parameter.initProject"></a>
|
|
2005
|
+
|
|
2006
|
+
- *Type:* projen.InitProject
|
|
2007
|
+
|
|
2008
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
2009
|
+
|
|
2010
|
+
---
|
|
2011
|
+
|
|
1695
2012
|
##### `postSynthesize` <a name="postSynthesize" id="projen-pipelines.GitHubDriftDetectionWorkflow.postSynthesize"></a>
|
|
1696
2013
|
|
|
1697
2014
|
```typescript
|
|
@@ -1710,6 +2027,25 @@ public preSynthesize(): void
|
|
|
1710
2027
|
|
|
1711
2028
|
Called before synthesis.
|
|
1712
2029
|
|
|
2030
|
+
##### `projectCreation` <a name="projectCreation" id="projen-pipelines.GitHubDriftDetectionWorkflow.projectCreation"></a>
|
|
2031
|
+
|
|
2032
|
+
```typescript
|
|
2033
|
+
public projectCreation(initProject: InitProject): void
|
|
2034
|
+
```
|
|
2035
|
+
|
|
2036
|
+
Called once, right after `synthesize()`, only when the project is created for the first time.
|
|
2037
|
+
|
|
2038
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
2039
|
+
Use it for deterministic, one-off file generation. Order across components is not guaranteed.
|
|
2040
|
+
|
|
2041
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.GitHubDriftDetectionWorkflow.projectCreation.parameter.initProject"></a>
|
|
2042
|
+
|
|
2043
|
+
- *Type:* projen.InitProject
|
|
2044
|
+
|
|
2045
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
2046
|
+
|
|
2047
|
+
---
|
|
2048
|
+
|
|
1713
2049
|
##### `synthesize` <a name="synthesize" id="projen-pipelines.GitHubDriftDetectionWorkflow.synthesize"></a>
|
|
1714
2050
|
|
|
1715
2051
|
```typescript
|
|
@@ -1873,8 +2209,10 @@ Configuration options for the pipeline.
|
|
|
1873
2209
|
| --- | --- |
|
|
1874
2210
|
| <code><a href="#projen-pipelines.GitlabCDKPipeline.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
1875
2211
|
| <code><a href="#projen-pipelines.GitlabCDKPipeline.with">with</a></code> | Applies one or more mixins to this construct. |
|
|
2212
|
+
| <code><a href="#projen-pipelines.GitlabCDKPipeline.postProjectCreation">postProjectCreation</a></code> | Called once, right after `postSynthesize()`, only when the project is created for the first time. |
|
|
1876
2213
|
| <code><a href="#projen-pipelines.GitlabCDKPipeline.postSynthesize">postSynthesize</a></code> | Called after synthesis. |
|
|
1877
2214
|
| <code><a href="#projen-pipelines.GitlabCDKPipeline.preSynthesize">preSynthesize</a></code> | Called before synthesis. |
|
|
2215
|
+
| <code><a href="#projen-pipelines.GitlabCDKPipeline.projectCreation">projectCreation</a></code> | Called once, right after `synthesize()`, only when the project is created for the first time. |
|
|
1878
2216
|
| <code><a href="#projen-pipelines.GitlabCDKPipeline.synthesize">synthesize</a></code> | Synthesizes files to the project output directory. |
|
|
1879
2217
|
| <code><a href="#projen-pipelines.GitlabCDKPipeline.engineType">engineType</a></code> | *No description.* |
|
|
1880
2218
|
| <code><a href="#projen-pipelines.GitlabCDKPipeline.generateVersioningAppCode">generateVersioningAppCode</a></code> | Generate CDK application code for versioning. |
|
|
@@ -1913,6 +2251,27 @@ The mixins to apply.
|
|
|
1913
2251
|
|
|
1914
2252
|
---
|
|
1915
2253
|
|
|
2254
|
+
##### `postProjectCreation` <a name="postProjectCreation" id="projen-pipelines.GitlabCDKPipeline.postProjectCreation"></a>
|
|
2255
|
+
|
|
2256
|
+
```typescript
|
|
2257
|
+
public postProjectCreation(initProject: InitProject): void
|
|
2258
|
+
```
|
|
2259
|
+
|
|
2260
|
+
Called once, right after `postSynthesize()`, only when the project is created for the first time.
|
|
2261
|
+
|
|
2262
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
2263
|
+
It is also skipped when post-synthesis steps are disabled, e.g. `--no-post` or `PROJEN_DISABLE_POST`.
|
|
2264
|
+
Use it for one-off setup that can be turned off by the user, like running a task to give the user immediate
|
|
2265
|
+
feedback on their new project. Order across components is not guaranteed.
|
|
2266
|
+
|
|
2267
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.GitlabCDKPipeline.postProjectCreation.parameter.initProject"></a>
|
|
2268
|
+
|
|
2269
|
+
- *Type:* projen.InitProject
|
|
2270
|
+
|
|
2271
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
2272
|
+
|
|
2273
|
+
---
|
|
2274
|
+
|
|
1916
2275
|
##### `postSynthesize` <a name="postSynthesize" id="projen-pipelines.GitlabCDKPipeline.postSynthesize"></a>
|
|
1917
2276
|
|
|
1918
2277
|
```typescript
|
|
@@ -1931,6 +2290,25 @@ public preSynthesize(): void
|
|
|
1931
2290
|
|
|
1932
2291
|
Called before synthesis.
|
|
1933
2292
|
|
|
2293
|
+
##### `projectCreation` <a name="projectCreation" id="projen-pipelines.GitlabCDKPipeline.projectCreation"></a>
|
|
2294
|
+
|
|
2295
|
+
```typescript
|
|
2296
|
+
public projectCreation(initProject: InitProject): void
|
|
2297
|
+
```
|
|
2298
|
+
|
|
2299
|
+
Called once, right after `synthesize()`, only when the project is created for the first time.
|
|
2300
|
+
|
|
2301
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
2302
|
+
Use it for deterministic, one-off file generation. Order across components is not guaranteed.
|
|
2303
|
+
|
|
2304
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.GitlabCDKPipeline.projectCreation.parameter.initProject"></a>
|
|
2305
|
+
|
|
2306
|
+
- *Type:* projen.InitProject
|
|
2307
|
+
|
|
2308
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
2309
|
+
|
|
2310
|
+
---
|
|
2311
|
+
|
|
1934
2312
|
##### `synthesize` <a name="synthesize" id="projen-pipelines.GitlabCDKPipeline.synthesize"></a>
|
|
1935
2313
|
|
|
1936
2314
|
```typescript
|
|
@@ -2180,8 +2558,10 @@ new GitLabDriftDetectionWorkflow(project: Project, options: GitLabDriftDetection
|
|
|
2180
2558
|
| --- | --- |
|
|
2181
2559
|
| <code><a href="#projen-pipelines.GitLabDriftDetectionWorkflow.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
2182
2560
|
| <code><a href="#projen-pipelines.GitLabDriftDetectionWorkflow.with">with</a></code> | Applies one or more mixins to this construct. |
|
|
2561
|
+
| <code><a href="#projen-pipelines.GitLabDriftDetectionWorkflow.postProjectCreation">postProjectCreation</a></code> | Called once, right after `postSynthesize()`, only when the project is created for the first time. |
|
|
2183
2562
|
| <code><a href="#projen-pipelines.GitLabDriftDetectionWorkflow.postSynthesize">postSynthesize</a></code> | Called after synthesis. |
|
|
2184
2563
|
| <code><a href="#projen-pipelines.GitLabDriftDetectionWorkflow.preSynthesize">preSynthesize</a></code> | Called before synthesis. |
|
|
2564
|
+
| <code><a href="#projen-pipelines.GitLabDriftDetectionWorkflow.projectCreation">projectCreation</a></code> | Called once, right after `synthesize()`, only when the project is created for the first time. |
|
|
2185
2565
|
| <code><a href="#projen-pipelines.GitLabDriftDetectionWorkflow.synthesize">synthesize</a></code> | Synthesizes files to the project output directory. |
|
|
2186
2566
|
|
|
2187
2567
|
---
|
|
@@ -2215,6 +2595,27 @@ The mixins to apply.
|
|
|
2215
2595
|
|
|
2216
2596
|
---
|
|
2217
2597
|
|
|
2598
|
+
##### `postProjectCreation` <a name="postProjectCreation" id="projen-pipelines.GitLabDriftDetectionWorkflow.postProjectCreation"></a>
|
|
2599
|
+
|
|
2600
|
+
```typescript
|
|
2601
|
+
public postProjectCreation(initProject: InitProject): void
|
|
2602
|
+
```
|
|
2603
|
+
|
|
2604
|
+
Called once, right after `postSynthesize()`, only when the project is created for the first time.
|
|
2605
|
+
|
|
2606
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
2607
|
+
It is also skipped when post-synthesis steps are disabled, e.g. `--no-post` or `PROJEN_DISABLE_POST`.
|
|
2608
|
+
Use it for one-off setup that can be turned off by the user, like running a task to give the user immediate
|
|
2609
|
+
feedback on their new project. Order across components is not guaranteed.
|
|
2610
|
+
|
|
2611
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.GitLabDriftDetectionWorkflow.postProjectCreation.parameter.initProject"></a>
|
|
2612
|
+
|
|
2613
|
+
- *Type:* projen.InitProject
|
|
2614
|
+
|
|
2615
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
2616
|
+
|
|
2617
|
+
---
|
|
2618
|
+
|
|
2218
2619
|
##### `postSynthesize` <a name="postSynthesize" id="projen-pipelines.GitLabDriftDetectionWorkflow.postSynthesize"></a>
|
|
2219
2620
|
|
|
2220
2621
|
```typescript
|
|
@@ -2233,6 +2634,25 @@ public preSynthesize(): void
|
|
|
2233
2634
|
|
|
2234
2635
|
Called before synthesis.
|
|
2235
2636
|
|
|
2637
|
+
##### `projectCreation` <a name="projectCreation" id="projen-pipelines.GitLabDriftDetectionWorkflow.projectCreation"></a>
|
|
2638
|
+
|
|
2639
|
+
```typescript
|
|
2640
|
+
public projectCreation(initProject: InitProject): void
|
|
2641
|
+
```
|
|
2642
|
+
|
|
2643
|
+
Called once, right after `synthesize()`, only when the project is created for the first time.
|
|
2644
|
+
|
|
2645
|
+
It does not run on later `projen` invocations. It only fires for `projen new` (or `Projects.createProject`).
|
|
2646
|
+
Use it for deterministic, one-off file generation. Order across components is not guaranteed.
|
|
2647
|
+
|
|
2648
|
+
###### `initProject`<sup>Required</sup> <a name="initProject" id="projen-pipelines.GitLabDriftDetectionWorkflow.projectCreation.parameter.initProject"></a>
|
|
2649
|
+
|
|
2650
|
+
- *Type:* projen.InitProject
|
|
2651
|
+
|
|
2652
|
+
Details about how the project was created, e.g. its type and the original CLI args.
|
|
2653
|
+
|
|
2654
|
+
---
|
|
2655
|
+
|
|
2236
2656
|
##### `synthesize` <a name="synthesize" id="projen-pipelines.GitLabDriftDetectionWorkflow.synthesize"></a>
|
|
2237
2657
|
|
|
2238
2658
|
```typescript
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var _a;
|
|
3
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
3
|
exports.AssignApprover = void 0;
|
|
5
4
|
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
6
5
|
const projen_1 = require("projen");
|
|
7
6
|
class AssignApprover extends projen_1.Component {
|
|
7
|
+
baseOptions;
|
|
8
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-pipelines.AssignApprover", version: "0.3.23" };
|
|
8
9
|
constructor(scope, baseOptions) {
|
|
9
10
|
super(scope);
|
|
10
11
|
this.baseOptions = baseOptions;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
14
|
exports.AssignApprover = AssignApprover;
|
|
14
|
-
|
|
15
|
-
AssignApprover[_a] = { fqn: "projen-pipelines.AssignApprover", version: "0.3.22" };
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hc3NpZ24tYXBwcm92ZXIvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLG1DQUE0QztBQXVCNUMsTUFBc0IsY0FBZSxTQUFRLGtCQUFTO0lBR3BELFlBQVksS0FBYyxFQUFxQixXQUFrQztRQUMvRSxLQUFLLENBQUMsS0FBSyxDQUFDLENBQUM7UUFEZ0MsZ0JBQVcsR0FBWCxXQUFXLENBQXVCO0lBRWpGLENBQUM7O0FBTEgsd0NBT0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIFByb2plY3QgfSBmcm9tICdwcm9qZW4nO1xuXG5leHBvcnQgaW50ZXJmYWNlIEFwcHJvdmVyTWFwcGluZyB7XG5cbiAgcmVhZG9ubHkgYXV0aG9yOiBzdHJpbmc7XG4gIHJlYWRvbmx5IGFwcHJvdmVyczogc3RyaW5nW107XG5cbn1cblxuZXhwb3J0IGludGVyZmFjZSBBc3NpZ25BcHByb3Zlck9wdGlvbnMge1xuXG4gIC8qKlxuICAgKiBUaGUgbWFwcGluZyBvZiBhdXRob3JzIHRvIGFwcHJvdmVycy5cbiAgICovXG4gIHJlYWRvbmx5IGFwcHJvdmVyTWFwcGluZzogQXBwcm92ZXJNYXBwaW5nW107XG5cbiAgLyoqXG4gICAqIFRoZSBHaXRIdWIgdG9rZW4gdG8gdXNlIGZvciB0aGUgQVBJIGNhbGxzLlxuICAgKi9cbiAgcmVhZG9ubHkgZGVmYXVsdEFwcHJvdmVyczogc3RyaW5nW107XG5cbn1cblxuZXhwb3J0IGFic3RyYWN0IGNsYXNzIEFzc2lnbkFwcHJvdmVyIGV4dGVuZHMgQ29tcG9uZW50IHtcblxuXG4gIGNvbnN0cnVjdG9yKHNjb3BlOiBQcm9qZWN0LCBwcm90ZWN0ZWQgcmVhZG9ubHkgYmFzZU9wdGlvbnM6IEFzc2lnbkFwcHJvdmVyT3B0aW9ucykge1xuICAgIHN1cGVyKHNjb3BlKTtcbiAgfVxuXG59Il19
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hc3NpZ24tYXBwcm92ZXIvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsbUNBQTRDO0FBdUI1QyxNQUFzQixjQUFlLFNBQVEsa0JBQVM7SUFHTDs7SUFBL0MsWUFBWSxLQUFjLEVBQXFCLFdBQWtDO1FBQy9FLEtBQUssQ0FBQyxLQUFLLENBQUMsQ0FBQztRQURnQyxnQkFBVyxHQUFYLFdBQVcsQ0FBdUI7SUFFakYsQ0FBQzs7QUFMSCx3Q0FPQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgUHJvamVjdCB9IGZyb20gJ3Byb2plbic7XG5cbmV4cG9ydCBpbnRlcmZhY2UgQXBwcm92ZXJNYXBwaW5nIHtcblxuICByZWFkb25seSBhdXRob3I6IHN0cmluZztcbiAgcmVhZG9ubHkgYXBwcm92ZXJzOiBzdHJpbmdbXTtcblxufVxuXG5leHBvcnQgaW50ZXJmYWNlIEFzc2lnbkFwcHJvdmVyT3B0aW9ucyB7XG5cbiAgLyoqXG4gICAqIFRoZSBtYXBwaW5nIG9mIGF1dGhvcnMgdG8gYXBwcm92ZXJzLlxuICAgKi9cbiAgcmVhZG9ubHkgYXBwcm92ZXJNYXBwaW5nOiBBcHByb3Zlck1hcHBpbmdbXTtcblxuICAvKipcbiAgICogVGhlIEdpdEh1YiB0b2tlbiB0byB1c2UgZm9yIHRoZSBBUEkgY2FsbHMuXG4gICAqL1xuICByZWFkb25seSBkZWZhdWx0QXBwcm92ZXJzOiBzdHJpbmdbXTtcblxufVxuXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgQXNzaWduQXBwcm92ZXIgZXh0ZW5kcyBDb21wb25lbnQge1xuXG5cbiAgY29uc3RydWN0b3Ioc2NvcGU6IFByb2plY3QsIHByb3RlY3RlZCByZWFkb25seSBiYXNlT3B0aW9uczogQXNzaWduQXBwcm92ZXJPcHRpb25zKSB7XG4gICAgc3VwZXIoc2NvcGUpO1xuICB9XG5cbn0iXX0=
|