@codedrifters/configulator 0.0.108 → 0.0.110

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.mjs CHANGED
@@ -338,8 +338,8 @@ var _TurboRepo = class _TurboRepo extends Component2 {
338
338
  }
339
339
  activateBranchNameEnvVar() {
340
340
  this.addGlobalEnvVar(
341
- "BRANCH_NAME",
342
- "${BRANCH_NAME:-$(git rev-parse --abbrev-ref HEAD)}"
341
+ "GIT_BRANCH_NAME",
342
+ "${GIT_BRANCH_NAME:-$(git rev-parse --abbrev-ref HEAD)}"
343
343
  );
344
344
  }
345
345
  preSynthesize() {
@@ -398,7 +398,7 @@ var _TurboRepo = class _TurboRepo extends Component2 {
398
398
  _TurboRepo.buildWorkflowOptions = (remoteCacheOptions) => {
399
399
  return {
400
400
  env: {
401
- BRANCH_NAME: "${{ github.head_ref || github.ref_name }}"
401
+ GIT_BRANCH_NAME: "${{ github.head_ref || github.ref_name }}"
402
402
  },
403
403
  permissions: {
404
404
  contents: JobPermission.WRITE,
@@ -441,7 +441,7 @@ var AwsDeploymentConfig = class _AwsDeploymentConfig extends Component3 {
441
441
  this.project.tasks.tryFind("synth:silent")?.reset(`rm -rf ${this.cdkOut}`);
442
442
  this.project.tasks.tryFind("synth:silent")?.exec(`cdk synth -q --output ${this.cdkOut}`, { env: this.env });
443
443
  };
444
- this.env = { GIT_BRANCH: "$(git branch --show-current)" };
444
+ this.env = { GIT_BRANCH_NAME: "$(git branch --show-current)" };
445
445
  this.projectPath = relative(project.root.outdir, project.outdir);
446
446
  this.rootPath = relative(project.outdir, project.root.outdir);
447
447
  this.rootCdkOut = join("dist", this.projectPath, "cdk.out");
@@ -750,13 +750,13 @@ var VERSION = {
750
750
  *
751
751
  * CLI and lib are versioned separately, so this is the CLI version.
752
752
  */
753
- AWS_CDK_CLI_VERSION: "2.1106.1",
753
+ AWS_CDK_CLI_VERSION: "2.1107.0",
754
754
  /**
755
755
  * CDK Version to use for construct projects.
756
756
  *
757
757
  * CLI and lib are versioned separately, so this is the lib version.
758
758
  */
759
- AWS_CDK_LIB_VERSION: "2.239.0",
759
+ AWS_CDK_LIB_VERSION: "2.240.0",
760
760
  /**
761
761
  * Version of the AWS Constructs library to use.
762
762
  */
@@ -768,7 +768,7 @@ var VERSION = {
768
768
  /**
769
769
  * Version of PNPM to use in workflows at github actions.
770
770
  */
771
- PNPM_VERSION: "10.30.1",
771
+ PNPM_VERSION: "10.30.2",
772
772
  /**
773
773
  * Version of Projen to use.
774
774
  */
@@ -1318,11 +1318,11 @@ var MonorepoProject = class extends TypeScriptAppProject {
1318
1318
  packageManager: NodePackageManager2.PNPM,
1319
1319
  /**
1320
1320
  * Some additional pre-build steps if we're using turbo's remote cache.
1321
- * Set BRANCH_NAME so Turborepo remote cache hashes match between local and CI.
1321
+ * Set GIT_BRANCH_NAME so Turborepo remote cache hashes match between local and CI.
1322
1322
  */
1323
1323
  buildWorkflowOptions: {
1324
1324
  env: {
1325
- BRANCH_NAME: "${{ github.head_ref || github.ref_name }}",
1325
+ GIT_BRANCH_NAME: "${{ github.head_ref || github.ref_name }}",
1326
1326
  ...buildWorkflowOptions?.env,
1327
1327
  ...userOptions.buildWorkflowOptions?.env
1328
1328
  },
@@ -1631,10 +1631,10 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component10 {
1631
1631
  */
1632
1632
  ...options.buildWorkflowOptions,
1633
1633
  /**
1634
- * Set BRANCH_NAME so Turborepo remote cache hashes match between local and CI.
1634
+ * Set GIT_BRANCH_NAME so Turborepo remote cache hashes match between local and CI.
1635
1635
  */
1636
1636
  env: {
1637
- BRANCH_NAME: "${{ github.head_ref || github.ref_name }}",
1637
+ GIT_BRANCH_NAME: "${{ github.head_ref || github.ref_name }}",
1638
1638
  ...options.buildWorkflowOptions?.env,
1639
1639
  ...buildWorkflowOptions?.env
1640
1640
  },