@codedrifters/configulator 0.0.366 → 0.0.367
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/lib/index.js +9 -4
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +9 -4
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -39322,10 +39322,15 @@ var AwsCdkProject = class extends import_projen27.awscdk.AwsCdkTypeScriptApp {
|
|
|
39322
39322
|
);
|
|
39323
39323
|
const targetsForAutoDerive = AwsDeploymentConfig.of(this)?.awsDeploymentTargets ?? [];
|
|
39324
39324
|
const deployWorkflows = options.deployWorkflows ?? Array.from(new Set(targetsForAutoDerive.map((t) => t.awsStageType))).map(
|
|
39325
|
-
(awsStageType) =>
|
|
39326
|
-
|
|
39327
|
-
|
|
39328
|
-
|
|
39325
|
+
(awsStageType) => {
|
|
39326
|
+
if (options.sharedBuildWorkflow) {
|
|
39327
|
+
return { awsStageType, buildWorkflow: options.sharedBuildWorkflow };
|
|
39328
|
+
}
|
|
39329
|
+
return {
|
|
39330
|
+
awsStageType,
|
|
39331
|
+
...options.buildWorkflowOptions ? { buildWorkflowOptions: options.buildWorkflowOptions } : {}
|
|
39332
|
+
};
|
|
39333
|
+
}
|
|
39329
39334
|
);
|
|
39330
39335
|
deployWorkflows.forEach(
|
|
39331
39336
|
(workflowOptions) => new AwsDeployWorkflow(this, workflowOptions)
|