tsconfig-voss 1.0.20 → 1.0.22
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,7 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"extends": "./tsconfig.back-end.json",
|
3
3
|
"compilerOptions": {
|
4
|
-
"allowImportingTsExtensions":
|
4
|
+
"allowImportingTsExtensions": true, // ✅ Allow imports with .ts extension,
|
5
|
+
"declaration": true, // Enable declaration files,
|
6
|
+
"emitDeclarationOnly": true, // Emit only declaration files,
|
5
7
|
"module": "Node16",
|
6
8
|
"noEmit": false
|
7
9
|
}
|
package/tsconfig.back-end.json
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"extends": "./tsconfig.base.json",
|
3
3
|
"compilerOptions": {
|
4
|
-
"target": "ES2022",
|
5
|
-
"module": "nodenext", // ✅ must match old
|
6
|
-
"moduleResolution": "nodenext", // ✅ must match old
|
7
4
|
"allowImportingTsExtensions": true,
|
8
|
-
"esModuleInterop": true,
|
9
5
|
"allowSyntheticDefaultImports": true,
|
6
|
+
"esModuleInterop": true,
|
7
|
+
"lib": ["ESNext", "DOM"] // ✅ needed if you had it before,
|
8
|
+
"module": "nodenext", // ✅ must match old,
|
9
|
+
"moduleResolution": "nodenext", // ✅ must match old,
|
10
10
|
"skipLibCheck": true,
|
11
|
-
"
|
12
|
-
"
|
11
|
+
"target": "ES2022",
|
12
|
+
"types": ["node"]
|
13
13
|
}
|
14
14
|
}
|
package/tsconfig.common.json
CHANGED
@@ -9,7 +9,11 @@
|
|
9
9
|
"allowSyntheticDefaultImports": true,
|
10
10
|
"resolveJsonModule": true,
|
11
11
|
"isolatedModules": true,
|
12
|
-
"types": []
|
12
|
+
"types": [],
|
13
|
+
|
14
|
+
"composite": true,
|
15
|
+
"declaration": true,
|
16
|
+
"emitDeclarationOnly": false // Ensures only .d.ts files are generated
|
13
17
|
},
|
14
18
|
"include": ["src"]
|
15
19
|
}
|