@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 +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +24 -23
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +24 -23
- 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
|
}
|
|
@@ -38056,6 +38056,15 @@ var TypeScriptProject = class extends typescript.TypeScriptProject {
|
|
|
38056
38056
|
npmIgnoreOptions: {
|
|
38057
38057
|
ignorePatterns: ["*.spec.*", "*.test.*"]
|
|
38058
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,
|
|
38059
38068
|
/**
|
|
38060
38069
|
* Options for the automated dependency upgrade task / workflow
|
|
38061
38070
|
* Automatically exclude any packages that are managed by the root
|
|
@@ -38084,8 +38093,7 @@ var TypeScriptProject = class extends typescript.TypeScriptProject {
|
|
|
38084
38093
|
const options = merge2(defaultOptions, userOptions);
|
|
38085
38094
|
super(options);
|
|
38086
38095
|
this.addDevDeps("@types/node@catalog:");
|
|
38087
|
-
this.tsconfig?.
|
|
38088
|
-
this.tsconfig?.addExclude("**/*.spec.*");
|
|
38096
|
+
this.tsconfig?.file.addOverride("compilerOptions.skipLibCheck", true);
|
|
38089
38097
|
if (options.testRunner === TestRunner.VITEST) {
|
|
38090
38098
|
new Vitest(this, {
|
|
38091
38099
|
config: {
|
|
@@ -38941,6 +38949,15 @@ var AwsCdkProject = class extends awscdk.AwsCdkTypeScriptApp {
|
|
|
38941
38949
|
npmIgnoreOptions: {
|
|
38942
38950
|
ignorePatterns: ["*.spec.*", "*.test.*"]
|
|
38943
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,
|
|
38944
38961
|
/**
|
|
38945
38962
|
* Options for the automated dependency upgrade task / workflow.
|
|
38946
38963
|
* Exclude any packages managed by the parent project's default catalog
|
|
@@ -38965,8 +38982,7 @@ var AwsCdkProject = class extends awscdk.AwsCdkTypeScriptApp {
|
|
|
38965
38982
|
const options = merge4(defaultOptions, userOptions);
|
|
38966
38983
|
super(options);
|
|
38967
38984
|
this.addDevDeps("@types/node@catalog:");
|
|
38968
|
-
this.tsconfig?.
|
|
38969
|
-
this.tsconfig?.addExclude("**/*.spec.*");
|
|
38985
|
+
this.tsconfig?.file.addOverride("compilerOptions.skipLibCheck", true);
|
|
38970
38986
|
if (testRunner === TestRunner.VITEST) {
|
|
38971
38987
|
new Vitest(this, {
|
|
38972
38988
|
config: {
|
|
@@ -39141,25 +39157,10 @@ var ReactViteSiteProject = class extends TypeScriptProject {
|
|
|
39141
39157
|
"@/*": ["./src/*"]
|
|
39142
39158
|
});
|
|
39143
39159
|
this.tsconfig?.file.addOverride("include", ["src"]);
|
|
39144
|
-
this.
|
|
39160
|
+
this.tsconfig?.file.addOverride("compilerOptions.types", [
|
|
39145
39161
|
"vitest/globals",
|
|
39146
39162
|
"vite/client"
|
|
39147
39163
|
]);
|
|
39148
|
-
this.tsconfigDev?.file.addOverride("include", [
|
|
39149
|
-
"src",
|
|
39150
|
-
"tests",
|
|
39151
|
-
"**/*.test.ts",
|
|
39152
|
-
"**/*.test.tsx",
|
|
39153
|
-
"**/*.spec.ts",
|
|
39154
|
-
"**/*.spec.tsx",
|
|
39155
|
-
"vitest.config.ts"
|
|
39156
|
-
]);
|
|
39157
|
-
this.tsconfigDev?.file.addOverride("exclude", [
|
|
39158
|
-
"node_modules",
|
|
39159
|
-
"dist",
|
|
39160
|
-
"build",
|
|
39161
|
-
".turbo"
|
|
39162
|
-
]);
|
|
39163
39164
|
new SampleFile5(this, "vite.config.ts", {
|
|
39164
39165
|
contents: `import { defineConfig } from 'vite';
|
|
39165
39166
|
import react from '@vitejs/plugin-react';
|