@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.mjs
CHANGED
|
@@ -38991,10 +38991,15 @@ var AwsCdkProject = class extends awscdk.AwsCdkTypeScriptApp {
|
|
|
38991
38991
|
);
|
|
38992
38992
|
const targetsForAutoDerive = AwsDeploymentConfig.of(this)?.awsDeploymentTargets ?? [];
|
|
38993
38993
|
const deployWorkflows = options.deployWorkflows ?? Array.from(new Set(targetsForAutoDerive.map((t) => t.awsStageType))).map(
|
|
38994
|
-
(awsStageType) =>
|
|
38995
|
-
|
|
38996
|
-
|
|
38997
|
-
|
|
38994
|
+
(awsStageType) => {
|
|
38995
|
+
if (options.sharedBuildWorkflow) {
|
|
38996
|
+
return { awsStageType, buildWorkflow: options.sharedBuildWorkflow };
|
|
38997
|
+
}
|
|
38998
|
+
return {
|
|
38999
|
+
awsStageType,
|
|
39000
|
+
...options.buildWorkflowOptions ? { buildWorkflowOptions: options.buildWorkflowOptions } : {}
|
|
39001
|
+
};
|
|
39002
|
+
}
|
|
38998
39003
|
);
|
|
38999
39004
|
deployWorkflows.forEach(
|
|
39000
39005
|
(workflowOptions) => new AwsDeployWorkflow(this, workflowOptions)
|