@codedrifters/configulator 0.0.198 → 0.0.199

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
@@ -2982,6 +2982,11 @@ var VERSION = {
2982
2982
  * Version of Node.js to use in CI workflows at github actions.
2983
2983
  */
2984
2984
  NODE_WORKFLOWS: "24",
2985
+ /**
2986
+ * Version of `pnpm/action-setup` to use in GitHub workflows.
2987
+ * Tracks the version projen currently emits (see node_modules/projen/lib/javascript/node-project.js).
2988
+ */
2989
+ PNPM_ACTION_SETUP_VERSION: "v5",
2985
2990
  /**
2986
2991
  * Version of PNPM to use in workflows at github actions.
2987
2992
  */
@@ -2990,6 +2995,11 @@ var VERSION = {
2990
2995
  * Version of Projen to use.
2991
2996
  */
2992
2997
  PROJEN_VERSION: "0.99.48",
2998
+ /**
2999
+ * Version of `actions/setup-node` to use in GitHub workflows.
3000
+ * Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
3001
+ */
3002
+ SETUP_NODE_ACTION_VERSION: "v6",
2993
3003
  /**
2994
3004
  * Version of sharp to pin for StarlightProject (required peer for
2995
3005
  * Starlight's image optimization pipeline).
@@ -4842,6 +4852,7 @@ import { ReleaseTrigger } from "projen/lib/release";
4842
4852
  import { merge as merge2 } from "ts-deepmerge";
4843
4853
 
4844
4854
  // src/projects/monorepo-project.ts
4855
+ import { WorkflowSteps } from "projen/lib/github";
4845
4856
  import {
4846
4857
  NodePackageManager,
4847
4858
  UpgradeDependenciesSchedule
@@ -5476,16 +5487,15 @@ var MonorepoProject = class extends TypeScriptAppProject {
5476
5487
  name: "Build Sub Projects",
5477
5488
  run: `npx projen ${ROOT_CI_TASK_NAME}`
5478
5489
  },
5479
- {
5490
+ WorkflowSteps.uploadArtifact({
5480
5491
  name: "Upload Turbo runs",
5481
5492
  if: "always()",
5482
- uses: "actions/upload-artifact@v4.6.2",
5493
+ continueOnError: true,
5483
5494
  with: {
5484
5495
  name: "turbo-runs",
5485
5496
  path: ".turbo/runs"
5486
- },
5487
- continueOnError: true
5488
- }
5497
+ }
5498
+ })
5489
5499
  );
5490
5500
  }
5491
5501
  if (options.resetTask !== false) {
@@ -5884,7 +5894,7 @@ import { merge as merge3 } from "ts-deepmerge";
5884
5894
  var import_utils11 = __toESM(require_lib());
5885
5895
  import { Component as Component16 } from "projen";
5886
5896
  import { BuildWorkflow } from "projen/lib/build";
5887
- import { GitHub as GitHub2 } from "projen/lib/github";
5897
+ import { GitHub as GitHub2, WorkflowSteps as WorkflowSteps2 } from "projen/lib/github";
5888
5898
  import { JobPermission as JobPermission5 } from "projen/lib/github/workflows-model";
5889
5899
  var PROD_DEPLOY_NAME = "prod-deploy";
5890
5900
  var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component16 {
@@ -5903,7 +5913,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component16 {
5903
5913
  return [
5904
5914
  {
5905
5915
  name: "Setup Node",
5906
- uses: "actions/setup-node@v4",
5916
+ uses: `actions/setup-node@${VERSION.SETUP_NODE_ACTION_VERSION}`,
5907
5917
  with: {
5908
5918
  ["node-version"]: VERSION.NODE_WORKFLOWS
5909
5919
  },
@@ -5916,7 +5926,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component16 {
5916
5926
  return [
5917
5927
  {
5918
5928
  name: "Setup PNPM",
5919
- uses: "pnpm/action-setup@v3",
5929
+ uses: `pnpm/action-setup@${VERSION.PNPM_ACTION_SETUP_VERSION}`,
5920
5930
  with: {
5921
5931
  version: VERSION.PNPM_VERSION
5922
5932
  }
@@ -6135,16 +6145,15 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component16 {
6135
6145
  name: "Build Sub Projects",
6136
6146
  run: `npx projen ${ROOT_CI_TASK_NAME}`
6137
6147
  },
6138
- {
6148
+ WorkflowSteps2.uploadArtifact({
6139
6149
  name: "Upload Turbo runs",
6140
6150
  if: "always()",
6141
- uses: "actions/upload-artifact@v4.6.2",
6151
+ continueOnError: true,
6142
6152
  with: {
6143
6153
  name: "turbo-runs",
6144
6154
  path: ".turbo/runs"
6145
- },
6146
- continueOnError: true
6147
- }
6155
+ }
6156
+ })
6148
6157
  );
6149
6158
  }
6150
6159
  super.preSynthesize();