@ocavue/tsconfig 0.3.5 → 0.3.7

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.7](https://github.com/ocavue/tsconfig/compare/v0.3.6...v0.3.7) (2025-04-18)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * correct `outDir` for build-bundler.json ([#21](https://github.com/ocavue/tsconfig/issues/21)) ([efab1c3](https://github.com/ocavue/tsconfig/commit/efab1c3bbca4024e9997803efed6297bb19782b6))
9
+
10
+ ## [0.3.6](https://github.com/ocavue/tsconfig/compare/v0.3.5...v0.3.6) (2025-04-17)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * add back `outDir` fields ([#19](https://github.com/ocavue/tsconfig/issues/19)) ([345c5e8](https://github.com/ocavue/tsconfig/commit/345c5e84b23152e11e4cfb71238f7df70a257216))
16
+
3
17
  ## [0.3.5](https://github.com/ocavue/tsconfig/compare/v0.3.4...v0.3.5) (2025-04-17)
4
18
 
5
19
 
package/dom/app.json CHANGED
@@ -48,7 +48,10 @@
48
48
 
49
49
  "module": "preserve",
50
50
  "moduleResolution": "bundler",
51
- "emitDeclarationOnly": true
51
+ "emitDeclarationOnly": true,
52
+
53
+ // Set the output directory to a directory that would be ignored by almost all tools.
54
+ "outDir": "${configDir}/node_modules/.cache/tsconfig_dom_bundler_all/out"
52
55
  },
53
56
 
54
57
  "include": ["${configDir}/**/*"]
@@ -50,7 +50,8 @@
50
50
  "moduleResolution": "bundler",
51
51
  "emitDeclarationOnly": true,
52
52
 
53
- "rootDir": "${configDir}/src"
53
+ // Set the output directory to a directory that would be ignored by almost all tools.
54
+ "outDir": "${configDir}/node_modules/.cache/tsconfig_dom_bundler_src/out"
54
55
  },
55
56
 
56
57
  "include": ["${configDir}/src/**/*"]
@@ -49,7 +49,14 @@
49
49
  "module": "NodeNext",
50
50
  "moduleResolution": "NodeNext",
51
51
 
52
- "rootDir": "${configDir}/src"
52
+ // Set the root directory to src/ so that the output file structure
53
+ // in dist/ matches the file structure in src/.
54
+ "rootDir": "${configDir}/src",
55
+
56
+ // Set the output directory to dist/.
57
+ "outDir": "${configDir}/dist",
58
+ // By default, ._* paths are ignored by npm publish.
59
+ "tsBuildInfoFile": "${configDir}/dist/._cache/tsconfig_dom_node_src/tsconfig.tsbuildinfo"
53
60
  },
54
61
 
55
62
  "include": ["${configDir}/src/**/*"]
package/dom/root.json CHANGED
@@ -48,7 +48,10 @@
48
48
 
49
49
  "module": "preserve",
50
50
  "moduleResolution": "bundler",
51
- "emitDeclarationOnly": true
51
+ "emitDeclarationOnly": true,
52
+
53
+ // Set the output directory to a directory that would be ignored by almost all tools.
54
+ "outDir": "${configDir}/node_modules/.cache/tsconfig_dom_bundler_root/out"
52
55
  },
53
56
 
54
57
  "include": ["${configDir}/*"]
package/es/app.json CHANGED
@@ -42,7 +42,10 @@
42
42
 
43
43
  "module": "preserve",
44
44
  "moduleResolution": "bundler",
45
- "emitDeclarationOnly": true
45
+ "emitDeclarationOnly": true,
46
+
47
+ // Set the output directory to a directory that would be ignored by almost all tools.
48
+ "outDir": "${configDir}/node_modules/.cache/tsconfig_es_bundler_all/out"
46
49
  },
47
50
 
48
51
  "include": ["${configDir}/**/*"]
@@ -44,7 +44,8 @@
44
44
  "moduleResolution": "bundler",
45
45
  "emitDeclarationOnly": true,
46
46
 
47
- "rootDir": "${configDir}/src"
47
+ // Set the output directory to a directory that would be ignored by almost all tools.
48
+ "outDir": "${configDir}/node_modules/.cache/tsconfig_es_bundler_src/out"
48
49
  },
49
50
 
50
51
  "include": ["${configDir}/src/**/*"]
package/es/build-tsc.json CHANGED
@@ -43,7 +43,14 @@
43
43
  "module": "NodeNext",
44
44
  "moduleResolution": "NodeNext",
45
45
 
46
- "rootDir": "${configDir}/src"
46
+ // Set the root directory to src/ so that the output file structure
47
+ // in dist/ matches the file structure in src/.
48
+ "rootDir": "${configDir}/src",
49
+
50
+ // Set the output directory to dist/.
51
+ "outDir": "${configDir}/dist",
52
+ // By default, ._* paths are ignored by npm publish.
53
+ "tsBuildInfoFile": "${configDir}/dist/._cache/tsconfig_es_node_src/tsconfig.tsbuildinfo"
47
54
  },
48
55
 
49
56
  "include": ["${configDir}/src/**/*"]
package/es/root.json CHANGED
@@ -42,7 +42,10 @@
42
42
 
43
43
  "module": "preserve",
44
44
  "moduleResolution": "bundler",
45
- "emitDeclarationOnly": true
45
+ "emitDeclarationOnly": true,
46
+
47
+ // Set the output directory to a directory that would be ignored by almost all tools.
48
+ "outDir": "${configDir}/node_modules/.cache/tsconfig_es_bundler_root/out"
46
49
  },
47
50
 
48
51
  "include": ["${configDir}/*"]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocavue/tsconfig",
3
3
  "type": "module",
4
- "version": "0.3.5",
4
+ "version": "0.3.7",
5
5
  "description": "A collection of reusable TypeScript configurations",
6
6
  "author": "ocavue <ocavue@gmail.com>",
7
7
  "license": "MIT",