@codedrifters/configulator 0.0.311 → 0.0.313

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 CHANGED
@@ -8373,7 +8373,7 @@ declare const VERSION: {
8373
8373
  /**
8374
8374
  * Version of Astro to pin for AstroProject scaffolding.
8375
8375
  */
8376
- readonly ASTRO_VERSION: "6.3.1";
8376
+ readonly ASTRO_VERSION: "6.3.2";
8377
8377
  /**
8378
8378
  * CDK CLI for workflows and command line operations.
8379
8379
  *
@@ -8385,7 +8385,7 @@ declare const VERSION: {
8385
8385
  *
8386
8386
  * CLI and lib are versioned separately, so this is the lib version.
8387
8387
  */
8388
- readonly AWS_CDK_LIB_VERSION: "2.253.1";
8388
+ readonly AWS_CDK_LIB_VERSION: "2.254.0";
8389
8389
  /**
8390
8390
  * Version of the AWS Constructs library to use.
8391
8391
  */
@@ -8406,7 +8406,7 @@ declare const VERSION: {
8406
8406
  /**
8407
8407
  * Version of Projen to use.
8408
8408
  */
8409
- readonly PROJEN_VERSION: "0.99.60";
8409
+ readonly PROJEN_VERSION: "0.99.61";
8410
8410
  /**
8411
8411
  * Version of `actions/setup-node` to use in GitHub workflows.
8412
8412
  * Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
@@ -9959,6 +9959,20 @@ interface MonorepoProjectOptions extends Omit<TypeScriptProjectOptions$1, "defau
9959
9959
  * Optionsal options for turborepo config
9960
9960
  */
9961
9961
  turboOptions?: TurboRepoOptions;
9962
+ /**
9963
+ * Steps to run in `build.yml` after the projen build, replacing the default
9964
+ * "Build Sub Projects" step that runs `pnpm exec projen build:all`.
9965
+ *
9966
+ * When omitted, behavior is unchanged: a single step runs the root
9967
+ * `build:all` task. Useful for repos whose CI wants a cheaper PR-time
9968
+ * check than the full turbo build (e.g. an Astro `sync` + `check`).
9969
+ *
9970
+ * The follow-on `Upload Turbo runs` artifact step is always emitted and
9971
+ * is a no-op when `.turbo/runs` is absent.
9972
+ *
9973
+ * @default - one step: `pnpm exec projen build:all`
9974
+ */
9975
+ readonly ciBuildSteps?: Array<JobStep>;
9962
9976
  /**
9963
9977
  * Enable the reset task that deletes all build artifacts.
9964
9978
  *
package/lib/index.d.ts CHANGED
@@ -8422,7 +8422,7 @@ declare const VERSION: {
8422
8422
  /**
8423
8423
  * Version of Astro to pin for AstroProject scaffolding.
8424
8424
  */
8425
- readonly ASTRO_VERSION: "6.3.1";
8425
+ readonly ASTRO_VERSION: "6.3.2";
8426
8426
  /**
8427
8427
  * CDK CLI for workflows and command line operations.
8428
8428
  *
@@ -8434,7 +8434,7 @@ declare const VERSION: {
8434
8434
  *
8435
8435
  * CLI and lib are versioned separately, so this is the lib version.
8436
8436
  */
8437
- readonly AWS_CDK_LIB_VERSION: "2.253.1";
8437
+ readonly AWS_CDK_LIB_VERSION: "2.254.0";
8438
8438
  /**
8439
8439
  * Version of the AWS Constructs library to use.
8440
8440
  */
@@ -8455,7 +8455,7 @@ declare const VERSION: {
8455
8455
  /**
8456
8456
  * Version of Projen to use.
8457
8457
  */
8458
- readonly PROJEN_VERSION: "0.99.60";
8458
+ readonly PROJEN_VERSION: "0.99.61";
8459
8459
  /**
8460
8460
  * Version of `actions/setup-node` to use in GitHub workflows.
8461
8461
  * Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
@@ -10008,6 +10008,20 @@ interface MonorepoProjectOptions extends Omit<TypeScriptProjectOptions$1, "defau
10008
10008
  * Optionsal options for turborepo config
10009
10009
  */
10010
10010
  turboOptions?: TurboRepoOptions;
10011
+ /**
10012
+ * Steps to run in `build.yml` after the projen build, replacing the default
10013
+ * "Build Sub Projects" step that runs `pnpm exec projen build:all`.
10014
+ *
10015
+ * When omitted, behavior is unchanged: a single step runs the root
10016
+ * `build:all` task. Useful for repos whose CI wants a cheaper PR-time
10017
+ * check than the full turbo build (e.g. an Astro `sync` + `check`).
10018
+ *
10019
+ * The follow-on `Upload Turbo runs` artifact step is always emitted and
10020
+ * is a no-op when `.turbo/runs` is absent.
10021
+ *
10022
+ * @default - one step: `pnpm exec projen build:all`
10023
+ */
10024
+ readonly ciBuildSteps?: Array<JobStep>;
10011
10025
  /**
10012
10026
  * Enable the reset task that deletes all build artifacts.
10013
10027
  *
package/lib/index.js CHANGED
@@ -28312,7 +28312,7 @@ var VERSION = {
28312
28312
  /**
28313
28313
  * Version of Astro to pin for AstroProject scaffolding.
28314
28314
  */
28315
- ASTRO_VERSION: "6.3.1",
28315
+ ASTRO_VERSION: "6.3.2",
28316
28316
  /**
28317
28317
  * CDK CLI for workflows and command line operations.
28318
28318
  *
@@ -28324,7 +28324,7 @@ var VERSION = {
28324
28324
  *
28325
28325
  * CLI and lib are versioned separately, so this is the lib version.
28326
28326
  */
28327
- AWS_CDK_LIB_VERSION: "2.253.1",
28327
+ AWS_CDK_LIB_VERSION: "2.254.0",
28328
28328
  /**
28329
28329
  * Version of the AWS Constructs library to use.
28330
28330
  */
@@ -28345,7 +28345,7 @@ var VERSION = {
28345
28345
  /**
28346
28346
  * Version of Projen to use.
28347
28347
  */
28348
- PROJEN_VERSION: "0.99.60",
28348
+ PROJEN_VERSION: "0.99.61",
28349
28349
  /**
28350
28350
  * Version of `actions/setup-node` to use in GitHub workflows.
28351
28351
  * Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
@@ -34121,11 +34121,15 @@ var MonorepoProject = class extends import_typescript3.TypeScriptAppProject {
34121
34121
  new PnpmWorkspace(this, options.pnpmOptions?.pnpmWorkspaceOptions);
34122
34122
  if (options.turbo) {
34123
34123
  new TurboRepo(this, options.turboOptions);
34124
+ const defaultBuildSubProjectsStep = {
34125
+ name: "Build Sub Projects",
34126
+ run: `pnpm exec projen ${ROOT_CI_TASK_NAME}`
34127
+ };
34128
+ const buildSubProjectsSteps = options.ciBuildSteps ?? [
34129
+ defaultBuildSubProjectsStep
34130
+ ];
34124
34131
  this.buildWorkflow?.addPostBuildSteps(
34125
- {
34126
- name: "Build Sub Projects",
34127
- run: `pnpm exec projen ${ROOT_CI_TASK_NAME}`
34128
- },
34132
+ ...buildSubProjectsSteps,
34129
34133
  import_github4.WorkflowSteps.uploadArtifact({
34130
34134
  name: "Upload Turbo runs",
34131
34135
  if: "always()",