@ocavue/tsconfig 0.6.0 → 0.6.1
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/CHANGELOG.md +7 -0
- package/dom/app.json +4 -6
- package/dom/build-bundler.json +4 -6
- package/dom/build-tsc.json +4 -6
- package/dom/root.json +4 -6
- package/es/app.json +4 -6
- package/es/build-bundler.json +4 -6
- package/es/build-tsc.json +4 -6
- package/es/root.json +4 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.1](https://github.com/ocavue/tsconfig/compare/v0.6.0...v0.6.1) (2025-11-20)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* enable `allowImportingTsExtensions` for bundlers ([#32](https://github.com/ocavue/tsconfig/issues/32)) ([69ea97b](https://github.com/ocavue/tsconfig/commit/69ea97be666ee3c257f98f24cd841353f7fe8eb8))
|
|
9
|
+
|
|
3
10
|
## [0.6.0](https://github.com/ocavue/tsconfig/compare/v0.5.0...v0.6.0) (2025-11-20)
|
|
4
11
|
|
|
5
12
|
|
package/dom/app.json
CHANGED
|
@@ -21,11 +21,6 @@
|
|
|
21
21
|
"skipLibCheck": true,
|
|
22
22
|
// Allow JavaScript files to be included in the project.
|
|
23
23
|
"allowJs": true,
|
|
24
|
-
// Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
|
|
25
|
-
// paths to their JavaScript equivalent in output files. Also allow
|
|
26
|
-
// TypeScript files to import each other with a TypeScript-specific
|
|
27
|
-
// extension like .ts, .mts, or .tsx.
|
|
28
|
-
"rewriteRelativeImportExtensions": true,
|
|
29
24
|
// Allow JSON files to be imported as modules.
|
|
30
25
|
"resolveJsonModule": true,
|
|
31
26
|
// Force TypeScript to consider all files as modules. This helps to avoid
|
|
@@ -60,7 +55,10 @@
|
|
|
60
55
|
"emitDeclarationOnly": true,
|
|
61
56
|
|
|
62
57
|
// Set the output directory to a directory that would be ignored by almost all tools.
|
|
63
|
-
"outDir": "${configDir}/node_modules/.cache/tsconfig_dom_bundler_all/out"
|
|
58
|
+
"outDir": "${configDir}/node_modules/.cache/tsconfig_dom_bundler_all/out",
|
|
59
|
+
// Allow TypeScript files to import each other with a TypeScript-specific
|
|
60
|
+
// extension like .ts, .mts, or .tsx.
|
|
61
|
+
"allowImportingTsExtensions": true
|
|
64
62
|
},
|
|
65
63
|
|
|
66
64
|
"include": ["${configDir}/**/*", "${configDir}/**/*.json"],
|
package/dom/build-bundler.json
CHANGED
|
@@ -21,11 +21,6 @@
|
|
|
21
21
|
"skipLibCheck": true,
|
|
22
22
|
// Allow JavaScript files to be included in the project.
|
|
23
23
|
"allowJs": true,
|
|
24
|
-
// Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
|
|
25
|
-
// paths to their JavaScript equivalent in output files. Also allow
|
|
26
|
-
// TypeScript files to import each other with a TypeScript-specific
|
|
27
|
-
// extension like .ts, .mts, or .tsx.
|
|
28
|
-
"rewriteRelativeImportExtensions": true,
|
|
29
24
|
// Allow JSON files to be imported as modules.
|
|
30
25
|
"resolveJsonModule": true,
|
|
31
26
|
// Force TypeScript to consider all files as modules. This helps to avoid
|
|
@@ -60,7 +55,10 @@
|
|
|
60
55
|
"emitDeclarationOnly": true,
|
|
61
56
|
|
|
62
57
|
// Set the output directory to a directory that would be ignored by almost all tools.
|
|
63
|
-
"outDir": "${configDir}/node_modules/.cache/tsconfig_dom_bundler_src/out"
|
|
58
|
+
"outDir": "${configDir}/node_modules/.cache/tsconfig_dom_bundler_src/out",
|
|
59
|
+
// Allow TypeScript files to import each other with a TypeScript-specific
|
|
60
|
+
// extension like .ts, .mts, or .tsx.
|
|
61
|
+
"allowImportingTsExtensions": true
|
|
64
62
|
},
|
|
65
63
|
|
|
66
64
|
"include": ["${configDir}/src/**/*", "${configDir}/src/**/*.json"]
|
package/dom/build-tsc.json
CHANGED
|
@@ -21,11 +21,6 @@
|
|
|
21
21
|
"skipLibCheck": true,
|
|
22
22
|
// Allow JavaScript files to be included in the project.
|
|
23
23
|
"allowJs": true,
|
|
24
|
-
// Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
|
|
25
|
-
// paths to their JavaScript equivalent in output files. Also allow
|
|
26
|
-
// TypeScript files to import each other with a TypeScript-specific
|
|
27
|
-
// extension like .ts, .mts, or .tsx.
|
|
28
|
-
"rewriteRelativeImportExtensions": true,
|
|
29
24
|
// Allow JSON files to be imported as modules.
|
|
30
25
|
"resolveJsonModule": true,
|
|
31
26
|
// Force TypeScript to consider all files as modules. This helps to avoid
|
|
@@ -65,7 +60,10 @@
|
|
|
65
60
|
// Set the output directory to dist/.
|
|
66
61
|
"outDir": "${configDir}/dist",
|
|
67
62
|
// By default, ._* paths are ignored by npm publish.
|
|
68
|
-
"tsBuildInfoFile": "${configDir}/dist/._cache/tsconfig_dom_node_src/tsconfig.tsbuildinfo"
|
|
63
|
+
"tsBuildInfoFile": "${configDir}/dist/._cache/tsconfig_dom_node_src/tsconfig.tsbuildinfo",
|
|
64
|
+
// Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
|
|
65
|
+
// paths to their JavaScript equivalent in output files.
|
|
66
|
+
"rewriteRelativeImportExtensions": true
|
|
69
67
|
},
|
|
70
68
|
|
|
71
69
|
"include": ["${configDir}/src/**/*", "${configDir}/src/**/*.json"]
|
package/dom/root.json
CHANGED
|
@@ -21,11 +21,6 @@
|
|
|
21
21
|
"skipLibCheck": true,
|
|
22
22
|
// Allow JavaScript files to be included in the project.
|
|
23
23
|
"allowJs": true,
|
|
24
|
-
// Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
|
|
25
|
-
// paths to their JavaScript equivalent in output files. Also allow
|
|
26
|
-
// TypeScript files to import each other with a TypeScript-specific
|
|
27
|
-
// extension like .ts, .mts, or .tsx.
|
|
28
|
-
"rewriteRelativeImportExtensions": true,
|
|
29
24
|
// Allow JSON files to be imported as modules.
|
|
30
25
|
"resolveJsonModule": true,
|
|
31
26
|
// Force TypeScript to consider all files as modules. This helps to avoid
|
|
@@ -60,7 +55,10 @@
|
|
|
60
55
|
"emitDeclarationOnly": true,
|
|
61
56
|
|
|
62
57
|
// Set the output directory to a directory that would be ignored by almost all tools.
|
|
63
|
-
"outDir": "${configDir}/node_modules/.cache/tsconfig_dom_bundler_root/out"
|
|
58
|
+
"outDir": "${configDir}/node_modules/.cache/tsconfig_dom_bundler_root/out",
|
|
59
|
+
// Allow TypeScript files to import each other with a TypeScript-specific
|
|
60
|
+
// extension like .ts, .mts, or .tsx.
|
|
61
|
+
"allowImportingTsExtensions": true
|
|
64
62
|
},
|
|
65
63
|
|
|
66
64
|
"include": ["${configDir}/*", "${configDir}/**/*.json"],
|
package/es/app.json
CHANGED
|
@@ -21,11 +21,6 @@
|
|
|
21
21
|
"skipLibCheck": true,
|
|
22
22
|
// Allow JavaScript files to be included in the project.
|
|
23
23
|
"allowJs": true,
|
|
24
|
-
// Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
|
|
25
|
-
// paths to their JavaScript equivalent in output files. Also allow
|
|
26
|
-
// TypeScript files to import each other with a TypeScript-specific
|
|
27
|
-
// extension like .ts, .mts, or .tsx.
|
|
28
|
-
"rewriteRelativeImportExtensions": true,
|
|
29
24
|
// Allow JSON files to be imported as modules.
|
|
30
25
|
"resolveJsonModule": true,
|
|
31
26
|
// Force TypeScript to consider all files as modules. This helps to avoid
|
|
@@ -54,7 +49,10 @@
|
|
|
54
49
|
"emitDeclarationOnly": true,
|
|
55
50
|
|
|
56
51
|
// Set the output directory to a directory that would be ignored by almost all tools.
|
|
57
|
-
"outDir": "${configDir}/node_modules/.cache/tsconfig_es_bundler_all/out"
|
|
52
|
+
"outDir": "${configDir}/node_modules/.cache/tsconfig_es_bundler_all/out",
|
|
53
|
+
// Allow TypeScript files to import each other with a TypeScript-specific
|
|
54
|
+
// extension like .ts, .mts, or .tsx.
|
|
55
|
+
"allowImportingTsExtensions": true
|
|
58
56
|
},
|
|
59
57
|
|
|
60
58
|
"include": ["${configDir}/**/*", "${configDir}/**/*.json"],
|
package/es/build-bundler.json
CHANGED
|
@@ -21,11 +21,6 @@
|
|
|
21
21
|
"skipLibCheck": true,
|
|
22
22
|
// Allow JavaScript files to be included in the project.
|
|
23
23
|
"allowJs": true,
|
|
24
|
-
// Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
|
|
25
|
-
// paths to their JavaScript equivalent in output files. Also allow
|
|
26
|
-
// TypeScript files to import each other with a TypeScript-specific
|
|
27
|
-
// extension like .ts, .mts, or .tsx.
|
|
28
|
-
"rewriteRelativeImportExtensions": true,
|
|
29
24
|
// Allow JSON files to be imported as modules.
|
|
30
25
|
"resolveJsonModule": true,
|
|
31
26
|
// Force TypeScript to consider all files as modules. This helps to avoid
|
|
@@ -54,7 +49,10 @@
|
|
|
54
49
|
"emitDeclarationOnly": true,
|
|
55
50
|
|
|
56
51
|
// Set the output directory to a directory that would be ignored by almost all tools.
|
|
57
|
-
"outDir": "${configDir}/node_modules/.cache/tsconfig_es_bundler_src/out"
|
|
52
|
+
"outDir": "${configDir}/node_modules/.cache/tsconfig_es_bundler_src/out",
|
|
53
|
+
// Allow TypeScript files to import each other with a TypeScript-specific
|
|
54
|
+
// extension like .ts, .mts, or .tsx.
|
|
55
|
+
"allowImportingTsExtensions": true
|
|
58
56
|
},
|
|
59
57
|
|
|
60
58
|
"include": ["${configDir}/src/**/*", "${configDir}/src/**/*.json"]
|
package/es/build-tsc.json
CHANGED
|
@@ -21,11 +21,6 @@
|
|
|
21
21
|
"skipLibCheck": true,
|
|
22
22
|
// Allow JavaScript files to be included in the project.
|
|
23
23
|
"allowJs": true,
|
|
24
|
-
// Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
|
|
25
|
-
// paths to their JavaScript equivalent in output files. Also allow
|
|
26
|
-
// TypeScript files to import each other with a TypeScript-specific
|
|
27
|
-
// extension like .ts, .mts, or .tsx.
|
|
28
|
-
"rewriteRelativeImportExtensions": true,
|
|
29
24
|
// Allow JSON files to be imported as modules.
|
|
30
25
|
"resolveJsonModule": true,
|
|
31
26
|
// Force TypeScript to consider all files as modules. This helps to avoid
|
|
@@ -59,7 +54,10 @@
|
|
|
59
54
|
// Set the output directory to dist/.
|
|
60
55
|
"outDir": "${configDir}/dist",
|
|
61
56
|
// By default, ._* paths are ignored by npm publish.
|
|
62
|
-
"tsBuildInfoFile": "${configDir}/dist/._cache/tsconfig_es_node_src/tsconfig.tsbuildinfo"
|
|
57
|
+
"tsBuildInfoFile": "${configDir}/dist/._cache/tsconfig_es_node_src/tsconfig.tsbuildinfo",
|
|
58
|
+
// Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
|
|
59
|
+
// paths to their JavaScript equivalent in output files.
|
|
60
|
+
"rewriteRelativeImportExtensions": true
|
|
63
61
|
},
|
|
64
62
|
|
|
65
63
|
"include": ["${configDir}/src/**/*", "${configDir}/src/**/*.json"]
|
package/es/root.json
CHANGED
|
@@ -21,11 +21,6 @@
|
|
|
21
21
|
"skipLibCheck": true,
|
|
22
22
|
// Allow JavaScript files to be included in the project.
|
|
23
23
|
"allowJs": true,
|
|
24
|
-
// Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
|
|
25
|
-
// paths to their JavaScript equivalent in output files. Also allow
|
|
26
|
-
// TypeScript files to import each other with a TypeScript-specific
|
|
27
|
-
// extension like .ts, .mts, or .tsx.
|
|
28
|
-
"rewriteRelativeImportExtensions": true,
|
|
29
24
|
// Allow JSON files to be imported as modules.
|
|
30
25
|
"resolveJsonModule": true,
|
|
31
26
|
// Force TypeScript to consider all files as modules. This helps to avoid
|
|
@@ -54,7 +49,10 @@
|
|
|
54
49
|
"emitDeclarationOnly": true,
|
|
55
50
|
|
|
56
51
|
// Set the output directory to a directory that would be ignored by almost all tools.
|
|
57
|
-
"outDir": "${configDir}/node_modules/.cache/tsconfig_es_bundler_root/out"
|
|
52
|
+
"outDir": "${configDir}/node_modules/.cache/tsconfig_es_bundler_root/out",
|
|
53
|
+
// Allow TypeScript files to import each other with a TypeScript-specific
|
|
54
|
+
// extension like .ts, .mts, or .tsx.
|
|
55
|
+
"allowImportingTsExtensions": true
|
|
58
56
|
},
|
|
59
57
|
|
|
60
58
|
"include": ["${configDir}/*", "${configDir}/**/*.json"],
|