@codedrifters/configulator 0.0.369 → 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
  }
@@ -38391,6 +38391,15 @@ var TypeScriptProject = class extends import_projen23.typescript.TypeScriptProje
38391
38391
  npmIgnoreOptions: {
38392
38392
  ignorePatterns: ["*.spec.*", "*.test.*"]
38393
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,
38394
38403
  /**
38395
38404
  * Options for the automated dependency upgrade task / workflow
38396
38405
  * Automatically exclude any packages that are managed by the root
@@ -38419,8 +38428,7 @@ var TypeScriptProject = class extends import_projen23.typescript.TypeScriptProje
38419
38428
  const options = (0, import_ts_deepmerge2.merge)(defaultOptions, userOptions);
38420
38429
  super(options);
38421
38430
  this.addDevDeps("@types/node@catalog:");
38422
- this.tsconfig?.addExclude("**/*.test.*");
38423
- this.tsconfig?.addExclude("**/*.spec.*");
38431
+ this.tsconfig?.file.addOverride("compilerOptions.skipLibCheck", true);
38424
38432
  if (options.testRunner === TestRunner.VITEST) {
38425
38433
  new Vitest(this, {
38426
38434
  config: {
@@ -39272,6 +39280,15 @@ var AwsCdkProject = class extends import_projen27.awscdk.AwsCdkTypeScriptApp {
39272
39280
  npmIgnoreOptions: {
39273
39281
  ignorePatterns: ["*.spec.*", "*.test.*"]
39274
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,
39275
39292
  /**
39276
39293
  * Options for the automated dependency upgrade task / workflow.
39277
39294
  * Exclude any packages managed by the parent project's default catalog
@@ -39296,8 +39313,7 @@ var AwsCdkProject = class extends import_projen27.awscdk.AwsCdkTypeScriptApp {
39296
39313
  const options = (0, import_ts_deepmerge4.merge)(defaultOptions, userOptions);
39297
39314
  super(options);
39298
39315
  this.addDevDeps("@types/node@catalog:");
39299
- this.tsconfig?.addExclude("**/*.test.*");
39300
- this.tsconfig?.addExclude("**/*.spec.*");
39316
+ this.tsconfig?.file.addOverride("compilerOptions.skipLibCheck", true);
39301
39317
  if (testRunner === TestRunner.VITEST) {
39302
39318
  new Vitest(this, {
39303
39319
  config: {
@@ -39472,25 +39488,10 @@ var ReactViteSiteProject = class extends TypeScriptProject {
39472
39488
  "@/*": ["./src/*"]
39473
39489
  });
39474
39490
  this.tsconfig?.file.addOverride("include", ["src"]);
39475
- this.tsconfigDev?.file.addOverride("compilerOptions.types", [
39491
+ this.tsconfig?.file.addOverride("compilerOptions.types", [
39476
39492
  "vitest/globals",
39477
39493
  "vite/client"
39478
39494
  ]);
39479
- this.tsconfigDev?.file.addOverride("include", [
39480
- "src",
39481
- "tests",
39482
- "**/*.test.ts",
39483
- "**/*.test.tsx",
39484
- "**/*.spec.ts",
39485
- "**/*.spec.tsx",
39486
- "vitest.config.ts"
39487
- ]);
39488
- this.tsconfigDev?.file.addOverride("exclude", [
39489
- "node_modules",
39490
- "dist",
39491
- "build",
39492
- ".turbo"
39493
- ]);
39494
39495
  new import_projen28.SampleFile(this, "vite.config.ts", {
39495
39496
  contents: `import { defineConfig } from 'vite';
39496
39497
  import react from '@vitejs/plugin-react';