@ocavue/tsconfig 0.3.4 → 0.3.6

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.6](https://github.com/ocavue/tsconfig/compare/v0.3.5...v0.3.6) (2025-04-17)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * add back `outDir` fields ([#19](https://github.com/ocavue/tsconfig/issues/19)) ([345c5e8](https://github.com/ocavue/tsconfig/commit/345c5e84b23152e11e4cfb71238f7df70a257216))
9
+
10
+ ## [0.3.5](https://github.com/ocavue/tsconfig/compare/v0.3.4...v0.3.5) (2025-04-17)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * correct `include` field for tsc ([#17](https://github.com/ocavue/tsconfig/issues/17)) ([168a86f](https://github.com/ocavue/tsconfig/commit/168a86f495e0b26e79884c9e2ce40d1cc0f450fd))
16
+
3
17
  ## [0.3.4](https://github.com/ocavue/tsconfig/compare/v0.3.3...v0.3.4) (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,8 +50,15 @@
50
50
  "moduleResolution": "bundler",
51
51
  "emitDeclarationOnly": true,
52
52
 
53
- "rootDir": "${configDir}/src"
53
+ // Set the root directory to src/ so that the output file structure
54
+ // in dist/ matches the file structure in src/.
55
+ "rootDir": "${configDir}/src",
56
+
57
+ // Set the output directory to dist/.
58
+ "outDir": "${configDir}/dist",
59
+ // By default, ._* paths are ignored by npm publish.
60
+ "tsBuildInfoFile": "${configDir}/dist/._cache/tsconfig_dom_bundler_src/tsconfig.tsbuildinfo"
54
61
  },
55
62
 
56
- "include": ["src/**/*"]
63
+ "include": ["${configDir}/src/**/*"]
57
64
  }
@@ -49,8 +49,15 @@
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
- "include": ["src/**/*"]
62
+ "include": ["${configDir}/src/**/*"]
56
63
  }
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,8 +44,15 @@
44
44
  "moduleResolution": "bundler",
45
45
  "emitDeclarationOnly": true,
46
46
 
47
- "rootDir": "${configDir}/src"
47
+ // Set the root directory to src/ so that the output file structure
48
+ // in dist/ matches the file structure in src/.
49
+ "rootDir": "${configDir}/src",
50
+
51
+ // Set the output directory to dist/.
52
+ "outDir": "${configDir}/dist",
53
+ // By default, ._* paths are ignored by npm publish.
54
+ "tsBuildInfoFile": "${configDir}/dist/._cache/tsconfig_es_bundler_src/tsconfig.tsbuildinfo"
48
55
  },
49
56
 
50
- "include": ["src/**/*"]
57
+ "include": ["${configDir}/src/**/*"]
51
58
  }
package/es/build-tsc.json CHANGED
@@ -43,8 +43,15 @@
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
- "include": ["src/**/*"]
56
+ "include": ["${configDir}/src/**/*"]
50
57
  }
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.4",
4
+ "version": "0.3.6",
5
5
  "description": "A collection of reusable TypeScript configurations",
6
6
  "author": "ocavue <ocavue@gmail.com>",
7
7
  "license": "MIT",