@codedrifters/configulator 0.0.368 → 0.0.370

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
@@ -10539,7 +10539,7 @@ declare const VERSION: {
10539
10539
  *
10540
10540
  * CLI and lib are versioned separately, so this is the CLI version.
10541
10541
  */
10542
- readonly AWS_CDK_CLI_VERSION: "2.1128.0";
10542
+ readonly AWS_CDK_CLI_VERSION: "2.1128.1";
10543
10543
  /**
10544
10544
  * CDK Version to use for construct projects.
10545
10545
  *
@@ -10566,7 +10566,7 @@ declare const VERSION: {
10566
10566
  /**
10567
10567
  * Version of Projen to use.
10568
10568
  */
10569
- readonly PROJEN_VERSION: "0.100.2";
10569
+ readonly PROJEN_VERSION: "0.100.5";
10570
10570
  /**
10571
10571
  * Version of `actions/setup-node` to use in GitHub workflows.
10572
10572
  * Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
package/lib/index.d.ts CHANGED
@@ -10588,7 +10588,7 @@ declare const VERSION: {
10588
10588
  *
10589
10589
  * CLI and lib are versioned separately, so this is the CLI version.
10590
10590
  */
10591
- readonly AWS_CDK_CLI_VERSION: "2.1128.0";
10591
+ readonly AWS_CDK_CLI_VERSION: "2.1128.1";
10592
10592
  /**
10593
10593
  * CDK Version to use for construct projects.
10594
10594
  *
@@ -10615,7 +10615,7 @@ declare const VERSION: {
10615
10615
  /**
10616
10616
  * Version of Projen to use.
10617
10617
  */
10618
- readonly PROJEN_VERSION: "0.100.2";
10618
+ readonly PROJEN_VERSION: "0.100.5";
10619
10619
  /**
10620
10620
  * Version of `actions/setup-node` to use in GitHub workflows.
10621
10621
  * Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
package/lib/index.js CHANGED
@@ -31283,7 +31283,7 @@ var VERSION = {
31283
31283
  *
31284
31284
  * CLI and lib are versioned separately, so this is the CLI version.
31285
31285
  */
31286
- AWS_CDK_CLI_VERSION: "2.1128.0",
31286
+ AWS_CDK_CLI_VERSION: "2.1128.1",
31287
31287
  /**
31288
31288
  * CDK Version to use for construct projects.
31289
31289
  *
@@ -31310,7 +31310,7 @@ var VERSION = {
31310
31310
  /**
31311
31311
  * Version of Projen to use.
31312
31312
  */
31313
- PROJEN_VERSION: "0.100.2",
31313
+ PROJEN_VERSION: "0.100.5",
31314
31314
  /**
31315
31315
  * Version of `actions/setup-node` to use in GitHub workflows.
31316
31316
  * Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
@@ -32233,7 +32233,7 @@ function scopeFilePatternsToProjects(root, detected) {
32233
32233
  for (const project of detected) {
32234
32234
  const rel = path.relative(root.outdir, project.outdir);
32235
32235
  const include = readTsconfigInclude(project);
32236
- if (include && include.length > 0) {
32236
+ if (include) {
32237
32237
  for (const entry of include) {
32238
32238
  patterns.add(prefix(rel, entry));
32239
32239
  }
@@ -33007,14 +33007,10 @@ var DEFAULT_CLAUDE_DENY = [
33007
33007
  "Bash(env *)"
33008
33008
  ];
33009
33009
  var DEFAULT_CLAUDE_PATH_DENY = [
33010
- "Read(./node_modules/**)",
33011
- "Read(./dist/**)",
33012
- "Read(./lib/**)",
33013
33010
  "Read(./.astro/**)",
33014
33011
  "Read(./.env)",
33015
33012
  "Read(./.env.*)",
33016
33013
  "Read(./*.lock)",
33017
- "Read(./pnpm-lock.yaml)",
33018
33014
  "Read(./package-lock.json)"
33019
33015
  ];
33020
33016
  var DEFAULT_USAGE_LOG_PATH = ".claude/usage.log";
@@ -38395,6 +38391,15 @@ var TypeScriptProject = class extends import_projen23.typescript.TypeScriptProje
38395
38391
  npmIgnoreOptions: {
38396
38392
  ignorePatterns: ["*.spec.*", "*.test.*"]
38397
38393
  },
38394
+ /**
38395
+ * Tests are co-located in `src`, so projen 0.100.4+'s test-directory
38396
+ * tsconfig would only ever create an empty `test/` folder holding a
38397
+ * lone `test/tsconfig.json`. Disable it — the main `tsconfig.json`
38398
+ * already covers the co-located tests for the typescript-eslint
38399
+ * project service (see #830), so a separate dev/test config is dead
38400
+ * weight.
38401
+ */
38402
+ disableTsconfigDev: true,
38398
38403
  /**
38399
38404
  * Options for the automated dependency upgrade task / workflow
38400
38405
  * Automatically exclude any packages that are managed by the root
@@ -38423,8 +38428,7 @@ var TypeScriptProject = class extends import_projen23.typescript.TypeScriptProje
38423
38428
  const options = (0, import_ts_deepmerge2.merge)(defaultOptions, userOptions);
38424
38429
  super(options);
38425
38430
  this.addDevDeps("@types/node@catalog:");
38426
- this.tsconfig?.addExclude("**/*.test.*");
38427
- this.tsconfig?.addExclude("**/*.spec.*");
38431
+ this.tsconfig?.file.addOverride("compilerOptions.skipLibCheck", true);
38428
38432
  if (options.testRunner === TestRunner.VITEST) {
38429
38433
  new Vitest(this, {
38430
38434
  config: {
@@ -39276,6 +39280,15 @@ var AwsCdkProject = class extends import_projen27.awscdk.AwsCdkTypeScriptApp {
39276
39280
  npmIgnoreOptions: {
39277
39281
  ignorePatterns: ["*.spec.*", "*.test.*"]
39278
39282
  },
39283
+ /**
39284
+ * Tests are co-located in `src`, so projen 0.100.4+'s test-directory
39285
+ * tsconfig would only ever create an empty `test/` folder holding a
39286
+ * lone `test/tsconfig.json`. Disable it — the main `tsconfig.json`
39287
+ * already covers the co-located tests for the typescript-eslint
39288
+ * project service (see #830), so a separate dev/test config is dead
39289
+ * weight.
39290
+ */
39291
+ disableTsconfigDev: true,
39279
39292
  /**
39280
39293
  * Options for the automated dependency upgrade task / workflow.
39281
39294
  * Exclude any packages managed by the parent project's default catalog
@@ -39300,8 +39313,7 @@ var AwsCdkProject = class extends import_projen27.awscdk.AwsCdkTypeScriptApp {
39300
39313
  const options = (0, import_ts_deepmerge4.merge)(defaultOptions, userOptions);
39301
39314
  super(options);
39302
39315
  this.addDevDeps("@types/node@catalog:");
39303
- this.tsconfig?.addExclude("**/*.test.*");
39304
- this.tsconfig?.addExclude("**/*.spec.*");
39316
+ this.tsconfig?.file.addOverride("compilerOptions.skipLibCheck", true);
39305
39317
  if (testRunner === TestRunner.VITEST) {
39306
39318
  new Vitest(this, {
39307
39319
  config: {
@@ -39476,25 +39488,10 @@ var ReactViteSiteProject = class extends TypeScriptProject {
39476
39488
  "@/*": ["./src/*"]
39477
39489
  });
39478
39490
  this.tsconfig?.file.addOverride("include", ["src"]);
39479
- this.tsconfigDev?.file.addOverride("compilerOptions.types", [
39491
+ this.tsconfig?.file.addOverride("compilerOptions.types", [
39480
39492
  "vitest/globals",
39481
39493
  "vite/client"
39482
39494
  ]);
39483
- this.tsconfigDev?.file.addOverride("include", [
39484
- "src",
39485
- "tests",
39486
- "**/*.test.ts",
39487
- "**/*.test.tsx",
39488
- "**/*.spec.ts",
39489
- "**/*.spec.tsx",
39490
- "vitest.config.ts"
39491
- ]);
39492
- this.tsconfigDev?.file.addOverride("exclude", [
39493
- "node_modules",
39494
- "dist",
39495
- "build",
39496
- ".turbo"
39497
- ]);
39498
39495
  new import_projen28.SampleFile(this, "vite.config.ts", {
39499
39496
  contents: `import { defineConfig } from 'vite';
39500
39497
  import react from '@vitejs/plugin-react';