@codedrifters/configulator 0.0.365 → 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 +10 -5
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +10 -5
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -38705,7 +38705,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen25.Compone
|
|
|
38705
38705
|
name: "Setup PNPM",
|
|
38706
38706
|
uses: `pnpm/action-setup@${VERSION.PNPM_ACTION_SETUP_VERSION}`,
|
|
38707
38707
|
with: {
|
|
38708
|
-
version:
|
|
38708
|
+
version: this.rootProject.pnpmVersion
|
|
38709
38709
|
}
|
|
38710
38710
|
}
|
|
38711
38711
|
];
|
|
@@ -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)
|