@codedrifters/configulator 0.0.93 → 0.0.95
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.d.mts +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +3 -1
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.mts
CHANGED
|
@@ -1293,6 +1293,7 @@ interface DeployWorkflowOptions {
|
|
|
1293
1293
|
}
|
|
1294
1294
|
declare class AwsDeployWorkflow extends Component {
|
|
1295
1295
|
project: AwsCdkTypeScriptApp;
|
|
1296
|
+
options: DeployWorkflowOptions;
|
|
1296
1297
|
static of(project: AwsCdkTypeScriptApp, buildWorkflow: BuildWorkflow): AwsDeployWorkflow | undefined;
|
|
1297
1298
|
/**
|
|
1298
1299
|
* The root project for this deploy workflow. Must be a monorepo project.
|
package/lib/index.d.ts
CHANGED
|
@@ -1342,6 +1342,7 @@ interface DeployWorkflowOptions {
|
|
|
1342
1342
|
}
|
|
1343
1343
|
declare class AwsDeployWorkflow extends Component {
|
|
1344
1344
|
project: AwsCdkTypeScriptApp;
|
|
1345
|
+
options: DeployWorkflowOptions;
|
|
1345
1346
|
static of(project: AwsCdkTypeScriptApp, buildWorkflow: BuildWorkflow): AwsDeployWorkflow | undefined;
|
|
1346
1347
|
/**
|
|
1347
1348
|
* The root project for this deploy workflow. Must be a monorepo project.
|
package/lib/index.js
CHANGED
|
@@ -1169,7 +1169,7 @@ var MonorepoProject = class extends import_typescript.TypeScriptAppProject {
|
|
|
1169
1169
|
depsUpgrade: true,
|
|
1170
1170
|
depsUpgradeOptions: {
|
|
1171
1171
|
workflowOptions: {
|
|
1172
|
-
schedule: import_javascript2.UpgradeDependenciesSchedule.
|
|
1172
|
+
schedule: import_javascript2.UpgradeDependenciesSchedule.expressions(["0 23 * * *"])
|
|
1173
1173
|
},
|
|
1174
1174
|
cooldown: 1
|
|
1175
1175
|
},
|
|
@@ -1369,6 +1369,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen9.Componen
|
|
|
1369
1369
|
constructor(project, options = {}) {
|
|
1370
1370
|
super(project);
|
|
1371
1371
|
this.project = project;
|
|
1372
|
+
this.options = options;
|
|
1372
1373
|
/**
|
|
1373
1374
|
* AWS environment type, such as primary or secondary.
|
|
1374
1375
|
*
|
|
@@ -1421,6 +1422,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen9.Componen
|
|
|
1421
1422
|
if (branchPattern.includes("*")) {
|
|
1422
1423
|
const prefix = branchPattern.replace(/\*.*$/, "");
|
|
1423
1424
|
conditions.push(`startsWith(github.ref, 'refs/heads/${prefix}')`);
|
|
1425
|
+
conditions.push(`startsWith(github.head_ref, '${prefix}')`);
|
|
1424
1426
|
} else {
|
|
1425
1427
|
conditions.push(`github.ref == 'refs/heads/${branchPattern}'`);
|
|
1426
1428
|
}
|