tsconfig-voss 1.0.33 → 1.0.35
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/package.json
CHANGED
@@ -1,24 +1,19 @@
|
|
1
1
|
{
|
2
2
|
"name": "tsconfig-voss",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.35",
|
4
4
|
"description": "Shared TypeScript configs",
|
5
5
|
"exports": {
|
6
6
|
"./base": "./tsconfig.base.json",
|
7
7
|
"./common": "./tsconfig.common.json",
|
8
|
-
"./common-build": "./tsconfig.common.build.json",
|
9
8
|
"./back-end": "./back-end/tsconfig.json",
|
10
|
-
"./back-end-dev": "./tsconfig.back-end.json",
|
11
|
-
"./back-end-build": "./tsconfig.back-end.build.json",
|
12
9
|
"./front-end-base": "./tsconfig.front-end.base.json",
|
13
10
|
"./front-end-dev": "./tsconfig.front-end.dev.json",
|
14
11
|
"./front-end-build": "./tsconfig.front-end.build.json"
|
15
12
|
},
|
16
13
|
"files": [
|
17
14
|
"tsconfig.base.json",
|
18
|
-
"tsconfig.common.build.json",
|
19
15
|
"tsconfig.common.json",
|
20
16
|
"tsconfig.back-end.json",
|
21
|
-
"tsconfig.back-end.build.json",
|
22
17
|
"tsconfig.front-end.base.json",
|
23
18
|
"tsconfig.front-end.build.json",
|
24
19
|
"tsconfig.front-end.dev.json",
|
package/tsconfig.back-end.json
CHANGED
@@ -1,16 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"extends": "./tsconfig.base.json",
|
3
3
|
"compilerOptions": {
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"
|
7
|
-
"isolatedModules": false, // 👈 Explicitly turn off,
|
8
|
-
"lib": ["ESNext", "DOM"], // ✅ needed if you had it before,
|
9
|
-
"module": "nodenext", // ✅ must match old,
|
10
|
-
"moduleResolution": "nodenext", // ✅ must match old,
|
11
|
-
"noEmit": true, // ✅ Allow emitting .js files for Knex to find
|
4
|
+
"module": "preserve",
|
5
|
+
"resolveJsonModule": true,
|
6
|
+
"target": "esnext",
|
12
7
|
"skipLibCheck": true,
|
13
|
-
"
|
14
|
-
"types": ["node"]
|
8
|
+
"noEmit": true,
|
15
9
|
}
|
16
10
|
}
|
package/tsconfig.base.json
CHANGED
@@ -34,6 +34,6 @@
|
|
34
34
|
"allowUnreachableCode": false, /* Disable error reporting for unreachable code. */
|
35
35
|
|
36
36
|
/* Completeness */
|
37
|
-
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript.
|
37
|
+
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */,
|
38
38
|
}
|
39
39
|
}
|
package/tsconfig.common.json
CHANGED
@@ -1,20 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"extends": "./tsconfig.base.json",
|
3
3
|
"compilerOptions": {
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"
|
7
|
-
"declarationMap": true,
|
8
|
-
"emitDeclarationOnly": false, // Ensures only .d.ts files are generated,
|
9
|
-
"esModuleInterop": true,
|
10
|
-
"incremental": true,
|
11
|
-
"isolatedModules": true,
|
12
|
-
"module": "CommonJS",
|
13
|
-
"moduleResolution": "Node",
|
14
|
-
"noEmit": true,
|
15
|
-
"resolveJsonModule": true,
|
16
|
-
"target": "ES2020",
|
17
|
-
"types": []
|
4
|
+
"module": "esnext",
|
5
|
+
"target": "es2022",
|
6
|
+
"noEmit": true
|
18
7
|
},
|
19
8
|
"include": ["src"]
|
20
9
|
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"extends": "./tsconfig.back-end.json",
|
3
|
-
"compilerOptions": {
|
4
|
-
"allowImportingTsExtensions": false,
|
5
|
-
"declaration": true, // Enable declaration files,
|
6
|
-
"emitDeclarationOnly": false, // Emit only declaration files,
|
7
|
-
"module": "Node16",
|
8
|
-
"noEmit": false
|
9
|
-
}
|
10
|
-
}
|