@codedrifters/configulator 0.0.112 → 0.0.114
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 +5 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +7 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +7 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -336,10 +336,15 @@ var _TurboRepo = class _TurboRepo extends Component2 {
|
|
|
336
336
|
this.globalEnv.push(name);
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
|
+
/**
|
|
340
|
+
* Sets GIT_BRANCH_NAME so root tasks (e.g. build:all) pass the current branch.
|
|
341
|
+
* Value must be exactly $(...) so Projen's task runtime expands it; the shell
|
|
342
|
+
* then expands ${GIT_BRANCH_NAME:-$(git rev-parse --abbrev-ref HEAD)}.
|
|
343
|
+
*/
|
|
339
344
|
activateBranchNameEnvVar() {
|
|
340
345
|
this.addGlobalEnvVar(
|
|
341
346
|
"GIT_BRANCH_NAME",
|
|
342
|
-
"${GIT_BRANCH_NAME:-$(git rev-parse --abbrev-ref HEAD)}"
|
|
347
|
+
'$(echo "${GIT_BRANCH_NAME:-$(git rev-parse --abbrev-ref HEAD)}")'
|
|
343
348
|
);
|
|
344
349
|
}
|
|
345
350
|
preSynthesize() {
|
|
@@ -1261,7 +1266,7 @@ var MonorepoProject = class extends TypeScriptAppProject {
|
|
|
1261
1266
|
depsUpgrade: true,
|
|
1262
1267
|
depsUpgradeOptions: {
|
|
1263
1268
|
workflowOptions: {
|
|
1264
|
-
schedule: UpgradeDependenciesSchedule2.
|
|
1269
|
+
schedule: UpgradeDependenciesSchedule2.DAILY
|
|
1265
1270
|
},
|
|
1266
1271
|
cooldown: 1
|
|
1267
1272
|
},
|