@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.mjs
CHANGED
|
@@ -1156,7 +1156,7 @@ var MonorepoProject = class extends TypeScriptAppProject {
|
|
|
1156
1156
|
depsUpgrade: true,
|
|
1157
1157
|
depsUpgradeOptions: {
|
|
1158
1158
|
workflowOptions: {
|
|
1159
|
-
schedule: UpgradeDependenciesSchedule2.
|
|
1159
|
+
schedule: UpgradeDependenciesSchedule2.expressions(["0 23 * * *"])
|
|
1160
1160
|
},
|
|
1161
1161
|
cooldown: 1
|
|
1162
1162
|
},
|
|
@@ -1356,6 +1356,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component10 {
|
|
|
1356
1356
|
constructor(project, options = {}) {
|
|
1357
1357
|
super(project);
|
|
1358
1358
|
this.project = project;
|
|
1359
|
+
this.options = options;
|
|
1359
1360
|
/**
|
|
1360
1361
|
* AWS environment type, such as primary or secondary.
|
|
1361
1362
|
*
|
|
@@ -1408,6 +1409,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component10 {
|
|
|
1408
1409
|
if (branchPattern.includes("*")) {
|
|
1409
1410
|
const prefix = branchPattern.replace(/\*.*$/, "");
|
|
1410
1411
|
conditions.push(`startsWith(github.ref, 'refs/heads/${prefix}')`);
|
|
1412
|
+
conditions.push(`startsWith(github.head_ref, '${prefix}')`);
|
|
1411
1413
|
} else {
|
|
1412
1414
|
conditions.push(`github.ref == 'refs/heads/${branchPattern}'`);
|
|
1413
1415
|
}
|