@codedrifters/configulator 0.0.312 → 0.0.314
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 +19 -5
- package/lib/index.d.ts +19 -5
- package/lib/index.js +13 -9
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +13 -9
- package/lib/index.mjs.map +1 -1
- package/package.json +5 -5
package/lib/index.d.mts
CHANGED
|
@@ -8373,13 +8373,13 @@ declare const VERSION: {
|
|
|
8373
8373
|
/**
|
|
8374
8374
|
* Version of Astro to pin for AstroProject scaffolding.
|
|
8375
8375
|
*/
|
|
8376
|
-
readonly ASTRO_VERSION: "6.3.
|
|
8376
|
+
readonly ASTRO_VERSION: "6.3.3";
|
|
8377
8377
|
/**
|
|
8378
8378
|
* CDK CLI for workflows and command line operations.
|
|
8379
8379
|
*
|
|
8380
8380
|
* CLI and lib are versioned separately, so this is the CLI version.
|
|
8381
8381
|
*/
|
|
8382
|
-
readonly AWS_CDK_CLI_VERSION: "2.
|
|
8382
|
+
readonly AWS_CDK_CLI_VERSION: "2.1122.0";
|
|
8383
8383
|
/**
|
|
8384
8384
|
* CDK Version to use for construct projects.
|
|
8385
8385
|
*
|
|
@@ -8402,7 +8402,7 @@ declare const VERSION: {
|
|
|
8402
8402
|
/**
|
|
8403
8403
|
* Version of PNPM to use in workflows at github actions.
|
|
8404
8404
|
*/
|
|
8405
|
-
readonly PNPM_VERSION: "11.1.
|
|
8405
|
+
readonly PNPM_VERSION: "11.1.2";
|
|
8406
8406
|
/**
|
|
8407
8407
|
* Version of Projen to use.
|
|
8408
8408
|
*/
|
|
@@ -8424,11 +8424,11 @@ declare const VERSION: {
|
|
|
8424
8424
|
/**
|
|
8425
8425
|
* What version of the turborepo library should we use?
|
|
8426
8426
|
*/
|
|
8427
|
-
readonly TURBO_VERSION: "2.9.
|
|
8427
|
+
readonly TURBO_VERSION: "2.9.14";
|
|
8428
8428
|
/**
|
|
8429
8429
|
* Version of @types/node to use across all packages (pnpm catalog).
|
|
8430
8430
|
*/
|
|
8431
|
-
readonly TYPES_NODE_VERSION: "25.
|
|
8431
|
+
readonly TYPES_NODE_VERSION: "25.8.0";
|
|
8432
8432
|
/**
|
|
8433
8433
|
* What version of Vite to use (pnpm override). Pinned to 5.x so Vitest 4.x
|
|
8434
8434
|
* can load config (Vite 6+/7+ are ESM-only; see issue #142). Remove override
|
|
@@ -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,13 +8422,13 @@ declare const VERSION: {
|
|
|
8422
8422
|
/**
|
|
8423
8423
|
* Version of Astro to pin for AstroProject scaffolding.
|
|
8424
8424
|
*/
|
|
8425
|
-
readonly ASTRO_VERSION: "6.3.
|
|
8425
|
+
readonly ASTRO_VERSION: "6.3.3";
|
|
8426
8426
|
/**
|
|
8427
8427
|
* CDK CLI for workflows and command line operations.
|
|
8428
8428
|
*
|
|
8429
8429
|
* CLI and lib are versioned separately, so this is the CLI version.
|
|
8430
8430
|
*/
|
|
8431
|
-
readonly AWS_CDK_CLI_VERSION: "2.
|
|
8431
|
+
readonly AWS_CDK_CLI_VERSION: "2.1122.0";
|
|
8432
8432
|
/**
|
|
8433
8433
|
* CDK Version to use for construct projects.
|
|
8434
8434
|
*
|
|
@@ -8451,7 +8451,7 @@ declare const VERSION: {
|
|
|
8451
8451
|
/**
|
|
8452
8452
|
* Version of PNPM to use in workflows at github actions.
|
|
8453
8453
|
*/
|
|
8454
|
-
readonly PNPM_VERSION: "11.1.
|
|
8454
|
+
readonly PNPM_VERSION: "11.1.2";
|
|
8455
8455
|
/**
|
|
8456
8456
|
* Version of Projen to use.
|
|
8457
8457
|
*/
|
|
@@ -8473,11 +8473,11 @@ declare const VERSION: {
|
|
|
8473
8473
|
/**
|
|
8474
8474
|
* What version of the turborepo library should we use?
|
|
8475
8475
|
*/
|
|
8476
|
-
readonly TURBO_VERSION: "2.9.
|
|
8476
|
+
readonly TURBO_VERSION: "2.9.14";
|
|
8477
8477
|
/**
|
|
8478
8478
|
* Version of @types/node to use across all packages (pnpm catalog).
|
|
8479
8479
|
*/
|
|
8480
|
-
readonly TYPES_NODE_VERSION: "25.
|
|
8480
|
+
readonly TYPES_NODE_VERSION: "25.8.0";
|
|
8481
8481
|
/**
|
|
8482
8482
|
* What version of Vite to use (pnpm override). Pinned to 5.x so Vitest 4.x
|
|
8483
8483
|
* can load config (Vite 6+/7+ are ESM-only; see issue #142). Remove override
|
|
@@ -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,13 +28312,13 @@ var VERSION = {
|
|
|
28312
28312
|
/**
|
|
28313
28313
|
* Version of Astro to pin for AstroProject scaffolding.
|
|
28314
28314
|
*/
|
|
28315
|
-
ASTRO_VERSION: "6.3.
|
|
28315
|
+
ASTRO_VERSION: "6.3.3",
|
|
28316
28316
|
/**
|
|
28317
28317
|
* CDK CLI for workflows and command line operations.
|
|
28318
28318
|
*
|
|
28319
28319
|
* CLI and lib are versioned separately, so this is the CLI version.
|
|
28320
28320
|
*/
|
|
28321
|
-
AWS_CDK_CLI_VERSION: "2.
|
|
28321
|
+
AWS_CDK_CLI_VERSION: "2.1122.0",
|
|
28322
28322
|
/**
|
|
28323
28323
|
* CDK Version to use for construct projects.
|
|
28324
28324
|
*
|
|
@@ -28341,7 +28341,7 @@ var VERSION = {
|
|
|
28341
28341
|
/**
|
|
28342
28342
|
* Version of PNPM to use in workflows at github actions.
|
|
28343
28343
|
*/
|
|
28344
|
-
PNPM_VERSION: "11.1.
|
|
28344
|
+
PNPM_VERSION: "11.1.2",
|
|
28345
28345
|
/**
|
|
28346
28346
|
* Version of Projen to use.
|
|
28347
28347
|
*/
|
|
@@ -28363,11 +28363,11 @@ var VERSION = {
|
|
|
28363
28363
|
/**
|
|
28364
28364
|
* What version of the turborepo library should we use?
|
|
28365
28365
|
*/
|
|
28366
|
-
TURBO_VERSION: "2.9.
|
|
28366
|
+
TURBO_VERSION: "2.9.14",
|
|
28367
28367
|
/**
|
|
28368
28368
|
* Version of @types/node to use across all packages (pnpm catalog).
|
|
28369
28369
|
*/
|
|
28370
|
-
TYPES_NODE_VERSION: "25.
|
|
28370
|
+
TYPES_NODE_VERSION: "25.8.0",
|
|
28371
28371
|
/**
|
|
28372
28372
|
* What version of Vite to use (pnpm override). Pinned to 5.x so Vitest 4.x
|
|
28373
28373
|
* can load config (Vite 6+/7+ are ESM-only; see issue #142). Remove override
|
|
@@ -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()",
|