@codedrifters/configulator 0.0.362 → 0.0.364
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 +9 -2
- package/lib/index.d.ts +9 -2
- package/lib/index.js +45 -40
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +15 -10
- package/lib/index.mjs.map +1 -1
- package/package.json +4 -4
package/lib/index.mjs
CHANGED
|
@@ -30892,7 +30892,7 @@ var VERSION = {
|
|
|
30892
30892
|
/**
|
|
30893
30893
|
* Version of Projen to use.
|
|
30894
30894
|
*/
|
|
30895
|
-
PROJEN_VERSION: "0.
|
|
30895
|
+
PROJEN_VERSION: "0.100.2",
|
|
30896
30896
|
/**
|
|
30897
30897
|
* Version of `actions/setup-node` to use in GitHub workflows.
|
|
30898
30898
|
* Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
|
|
@@ -30902,7 +30902,7 @@ var VERSION = {
|
|
|
30902
30902
|
* Version of sharp to pin for StarlightProject (required peer for
|
|
30903
30903
|
* Starlight's image optimization pipeline).
|
|
30904
30904
|
*/
|
|
30905
|
-
SHARP_VERSION: "0.35.
|
|
30905
|
+
SHARP_VERSION: "0.35.2",
|
|
30906
30906
|
/**
|
|
30907
30907
|
* Version of `@astrojs/starlight` to pin for StarlightProject scaffolding.
|
|
30908
30908
|
*/
|
|
@@ -36702,7 +36702,6 @@ import { ReleaseTrigger } from "projen/lib/release";
|
|
|
36702
36702
|
import { merge as merge2 } from "ts-deepmerge";
|
|
36703
36703
|
|
|
36704
36704
|
// src/projects/monorepo-project.ts
|
|
36705
|
-
import { TaskRuntime } from "projen";
|
|
36706
36705
|
import { WorkflowSteps } from "projen/lib/github";
|
|
36707
36706
|
import {
|
|
36708
36707
|
NodePackageManager,
|
|
@@ -37750,11 +37749,17 @@ var MonorepoProject = class extends TypeScriptAppProject {
|
|
|
37750
37749
|
* rewritten workspace — matching the canonical regen sequence consumers
|
|
37751
37750
|
* already document (`pnpm i && pnpm exec projen && pnpm i`, neither frozen).
|
|
37752
37751
|
*
|
|
37752
|
+
* Runs the task via `this.tasks.runTask` (the public task-execution API,
|
|
37753
|
+
* which projen itself uses in `NodePackage.installDependencies`) rather than
|
|
37754
|
+
* constructing a `TaskRuntime`: projen 0.100 removed `TaskRuntime` from the
|
|
37755
|
+
* package root and made it internal to the CLI. `Tasks.runTask` is stable
|
|
37756
|
+
* across the 0.99/0.100 boundary and executes against this project's outdir,
|
|
37757
|
+
* so behavior is unchanged.
|
|
37758
|
+
*
|
|
37753
37759
|
* @see https://github.com/codedrifters/packages/issues/570
|
|
37754
37760
|
*/
|
|
37755
37761
|
installDependenciesNonFrozen() {
|
|
37756
|
-
|
|
37757
|
-
runtime.runTask(this.package.installTask.name);
|
|
37762
|
+
this.tasks.runTask(this.package.installTask.name);
|
|
37758
37763
|
}
|
|
37759
37764
|
/**
|
|
37760
37765
|
* Hooks into the install dependencies cycle
|
|
@@ -38964,12 +38969,12 @@ var ReactViteSiteProject = class extends TypeScriptProject {
|
|
|
38964
38969
|
const defaultOptions = {
|
|
38965
38970
|
testRunner: TestRunner.VITEST,
|
|
38966
38971
|
apiExtractor: false,
|
|
38967
|
-
// ESLint inherited from TypeScriptProject lints `src`
|
|
38968
|
-
//
|
|
38969
|
-
//
|
|
38972
|
+
// ESLint inherited from TypeScriptProject lints `src` only. projen 0.100
|
|
38973
|
+
// removed the `lintProjenRc` option and no longer auto-lints the projenrc
|
|
38974
|
+
// file, so the previous explicit opt-out is unnecessary — downstream
|
|
38975
|
+
// sites configure projen through their own root project.
|
|
38970
38976
|
eslintOptions: {
|
|
38971
|
-
dirs: ["src"]
|
|
38972
|
-
lintProjenRc: false
|
|
38977
|
+
dirs: ["src"]
|
|
38973
38978
|
},
|
|
38974
38979
|
// VSCode workspace defaults (Prettier formatter, ESLint on save)
|
|
38975
38980
|
// need a project-level `.vscode/` folder. The inherited
|