@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 +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +24 -27
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +24 -27
- package/lib/index.mjs.map +1 -1
- package/package.json +3 -3
package/lib/index.mjs
CHANGED
|
@@ -30939,7 +30939,7 @@ var VERSION = {
|
|
|
30939
30939
|
*
|
|
30940
30940
|
* CLI and lib are versioned separately, so this is the CLI version.
|
|
30941
30941
|
*/
|
|
30942
|
-
AWS_CDK_CLI_VERSION: "2.1128.
|
|
30942
|
+
AWS_CDK_CLI_VERSION: "2.1128.1",
|
|
30943
30943
|
/**
|
|
30944
30944
|
* CDK Version to use for construct projects.
|
|
30945
30945
|
*
|
|
@@ -30966,7 +30966,7 @@ var VERSION = {
|
|
|
30966
30966
|
/**
|
|
30967
30967
|
* Version of Projen to use.
|
|
30968
30968
|
*/
|
|
30969
|
-
PROJEN_VERSION: "0.100.
|
|
30969
|
+
PROJEN_VERSION: "0.100.5",
|
|
30970
30970
|
/**
|
|
30971
30971
|
* Version of `actions/setup-node` to use in GitHub workflows.
|
|
30972
30972
|
* Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
|
|
@@ -31889,7 +31889,7 @@ function scopeFilePatternsToProjects(root, detected) {
|
|
|
31889
31889
|
for (const project of detected) {
|
|
31890
31890
|
const rel = path.relative(root.outdir, project.outdir);
|
|
31891
31891
|
const include = readTsconfigInclude(project);
|
|
31892
|
-
if (include
|
|
31892
|
+
if (include) {
|
|
31893
31893
|
for (const entry of include) {
|
|
31894
31894
|
patterns.add(prefix(rel, entry));
|
|
31895
31895
|
}
|
|
@@ -32663,14 +32663,10 @@ var DEFAULT_CLAUDE_DENY = [
|
|
|
32663
32663
|
"Bash(env *)"
|
|
32664
32664
|
];
|
|
32665
32665
|
var DEFAULT_CLAUDE_PATH_DENY = [
|
|
32666
|
-
"Read(./node_modules/**)",
|
|
32667
|
-
"Read(./dist/**)",
|
|
32668
|
-
"Read(./lib/**)",
|
|
32669
32666
|
"Read(./.astro/**)",
|
|
32670
32667
|
"Read(./.env)",
|
|
32671
32668
|
"Read(./.env.*)",
|
|
32672
32669
|
"Read(./*.lock)",
|
|
32673
|
-
"Read(./pnpm-lock.yaml)",
|
|
32674
32670
|
"Read(./package-lock.json)"
|
|
32675
32671
|
];
|
|
32676
32672
|
var DEFAULT_USAGE_LOG_PATH = ".claude/usage.log";
|
|
@@ -38060,6 +38056,15 @@ var TypeScriptProject = class extends typescript.TypeScriptProject {
|
|
|
38060
38056
|
npmIgnoreOptions: {
|
|
38061
38057
|
ignorePatterns: ["*.spec.*", "*.test.*"]
|
|
38062
38058
|
},
|
|
38059
|
+
/**
|
|
38060
|
+
* Tests are co-located in `src`, so projen 0.100.4+'s test-directory
|
|
38061
|
+
* tsconfig would only ever create an empty `test/` folder holding a
|
|
38062
|
+
* lone `test/tsconfig.json`. Disable it — the main `tsconfig.json`
|
|
38063
|
+
* already covers the co-located tests for the typescript-eslint
|
|
38064
|
+
* project service (see #830), so a separate dev/test config is dead
|
|
38065
|
+
* weight.
|
|
38066
|
+
*/
|
|
38067
|
+
disableTsconfigDev: true,
|
|
38063
38068
|
/**
|
|
38064
38069
|
* Options for the automated dependency upgrade task / workflow
|
|
38065
38070
|
* Automatically exclude any packages that are managed by the root
|
|
@@ -38088,8 +38093,7 @@ var TypeScriptProject = class extends typescript.TypeScriptProject {
|
|
|
38088
38093
|
const options = merge2(defaultOptions, userOptions);
|
|
38089
38094
|
super(options);
|
|
38090
38095
|
this.addDevDeps("@types/node@catalog:");
|
|
38091
|
-
this.tsconfig?.
|
|
38092
|
-
this.tsconfig?.addExclude("**/*.spec.*");
|
|
38096
|
+
this.tsconfig?.file.addOverride("compilerOptions.skipLibCheck", true);
|
|
38093
38097
|
if (options.testRunner === TestRunner.VITEST) {
|
|
38094
38098
|
new Vitest(this, {
|
|
38095
38099
|
config: {
|
|
@@ -38945,6 +38949,15 @@ var AwsCdkProject = class extends awscdk.AwsCdkTypeScriptApp {
|
|
|
38945
38949
|
npmIgnoreOptions: {
|
|
38946
38950
|
ignorePatterns: ["*.spec.*", "*.test.*"]
|
|
38947
38951
|
},
|
|
38952
|
+
/**
|
|
38953
|
+
* Tests are co-located in `src`, so projen 0.100.4+'s test-directory
|
|
38954
|
+
* tsconfig would only ever create an empty `test/` folder holding a
|
|
38955
|
+
* lone `test/tsconfig.json`. Disable it — the main `tsconfig.json`
|
|
38956
|
+
* already covers the co-located tests for the typescript-eslint
|
|
38957
|
+
* project service (see #830), so a separate dev/test config is dead
|
|
38958
|
+
* weight.
|
|
38959
|
+
*/
|
|
38960
|
+
disableTsconfigDev: true,
|
|
38948
38961
|
/**
|
|
38949
38962
|
* Options for the automated dependency upgrade task / workflow.
|
|
38950
38963
|
* Exclude any packages managed by the parent project's default catalog
|
|
@@ -38969,8 +38982,7 @@ var AwsCdkProject = class extends awscdk.AwsCdkTypeScriptApp {
|
|
|
38969
38982
|
const options = merge4(defaultOptions, userOptions);
|
|
38970
38983
|
super(options);
|
|
38971
38984
|
this.addDevDeps("@types/node@catalog:");
|
|
38972
|
-
this.tsconfig?.
|
|
38973
|
-
this.tsconfig?.addExclude("**/*.spec.*");
|
|
38985
|
+
this.tsconfig?.file.addOverride("compilerOptions.skipLibCheck", true);
|
|
38974
38986
|
if (testRunner === TestRunner.VITEST) {
|
|
38975
38987
|
new Vitest(this, {
|
|
38976
38988
|
config: {
|
|
@@ -39145,25 +39157,10 @@ var ReactViteSiteProject = class extends TypeScriptProject {
|
|
|
39145
39157
|
"@/*": ["./src/*"]
|
|
39146
39158
|
});
|
|
39147
39159
|
this.tsconfig?.file.addOverride("include", ["src"]);
|
|
39148
|
-
this.
|
|
39160
|
+
this.tsconfig?.file.addOverride("compilerOptions.types", [
|
|
39149
39161
|
"vitest/globals",
|
|
39150
39162
|
"vite/client"
|
|
39151
39163
|
]);
|
|
39152
|
-
this.tsconfigDev?.file.addOverride("include", [
|
|
39153
|
-
"src",
|
|
39154
|
-
"tests",
|
|
39155
|
-
"**/*.test.ts",
|
|
39156
|
-
"**/*.test.tsx",
|
|
39157
|
-
"**/*.spec.ts",
|
|
39158
|
-
"**/*.spec.tsx",
|
|
39159
|
-
"vitest.config.ts"
|
|
39160
|
-
]);
|
|
39161
|
-
this.tsconfigDev?.file.addOverride("exclude", [
|
|
39162
|
-
"node_modules",
|
|
39163
|
-
"dist",
|
|
39164
|
-
"build",
|
|
39165
|
-
".turbo"
|
|
39166
|
-
]);
|
|
39167
39164
|
new SampleFile5(this, "vite.config.ts", {
|
|
39168
39165
|
contents: `import { defineConfig } from 'vite';
|
|
39169
39166
|
import react from '@vitejs/plugin-react';
|