@d1g1tal/tsbuild 1.8.6 → 1.8.8
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 +66 -0
- package/dist/{ZEGDBXXN.js → 5DXLYKZU.js} +1 -1
- package/dist/{JKGYA2AW.js → QL4XMDMJ.js} +3 -1
- package/dist/{2LQAKZEG.js → RJIPAUMH.js} +456 -221
- package/dist/tsbuild.js +3 -3
- package/dist/type-script-project.d.ts +27 -3
- package/dist/type-script-project.js +2 -2
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,69 @@
|
|
|
1
|
+
## [1.8.8](https://github.com/D1g1talEntr0py/tsbuild/compare/v1.8.7...v1.8.8) (2026-05-17)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **project:** do not auto-inject node types for non-node platforms (7e23a502d4fda7805fd0fd35081a1b3fdbdda160)
|
|
6
|
+
- Check if the target platform is Node before automatically applying 'node' to the compiler types array
|
|
7
|
+
- Ensure user-specified types arrays are properly respected on browser builds
|
|
8
|
+
- Include assertions and test coverage to verify DOM library types do not implicitly load @types/node
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Performance Improvements
|
|
12
|
+
|
|
13
|
+
* **loader:** implement deterministic stat caching and stable path hashing (585b055934e61d6d8f6133b9a280658c1afbae57)
|
|
14
|
+
- Add a fast-path to skip caching logic for non-relative bare specifiers
|
|
15
|
+
- Snapshot the cache directory on startup to prevent repeated ENOENT lookups
|
|
16
|
+
- Hash the running Node version and esbuild version into the cache key for robust invalidation
|
|
17
|
+
- Implement a SHA-256 stable path hashing and share `statSync` calls between `resolve` and `load`
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Code Refactoring
|
|
21
|
+
|
|
22
|
+
* simplify internals in declaration bundler and logger (70b91297a12138a35f45cb759ef65b53adf13b73)
|
|
23
|
+
- Remove redundant files existence check before creating the out directory in bundler
|
|
24
|
+
- Remove unneeded node module imports and process logic in logger
|
|
25
|
+
- Optimize declaration source collection loop in declaration bundler
|
|
26
|
+
- Ensure recursive mkdir handles already-existing folders safely
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Miscellaneous Chores
|
|
30
|
+
|
|
31
|
+
* update dependencies and rewrite benchmarks with mitata (5ace062e6a5d8fa070493aadb12d4986a55df0c4)
|
|
32
|
+
- Update various dev dependencies including pnpm, vitest, eslint, and typescript-eslint
|
|
33
|
+
- Replace tinybench with mitata for benchmarking
|
|
34
|
+
- Rewrite the benchmark script to compare bundlers and measure artifact metadata
|
|
35
|
+
- Update the generated benchmarking docs with the new mitata measurements
|
|
36
|
+
|
|
37
|
+
## [1.8.7](https://github.com/D1g1talEntr0py/tsbuild/compare/v1.8.6...v1.8.7) (2026-05-09)
|
|
38
|
+
|
|
39
|
+
### Performance Improvements
|
|
40
|
+
|
|
41
|
+
* **core:** speed up build and cleanup paths (9d44486ac97b3d7ea5a647246cf814649fffe27a)
|
|
42
|
+
- defer cache persistence until after parallel build phases complete
|
|
43
|
+
- add manifest-based stale output cleanup and incremental state probes
|
|
44
|
+
- optimize file clearing, path normalization, and dependency collection
|
|
45
|
+
- reduce declaration bundling and preprocessing overhead
|
|
46
|
+
- refactor the iife plugin to reuse in-memory primary outputs
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Tests
|
|
50
|
+
|
|
51
|
+
* **perf:** update coverage for build optimizations (284857a6dac88fe0fb6940060f10ea92fc898962)
|
|
52
|
+
- refresh benchmark measurements for the new tinybench-based runner
|
|
53
|
+
- remove tests for the exported performance step helper
|
|
54
|
+
- add coverage for the new cache manifest and stale output cleanup paths
|
|
55
|
+
- adapt iife plugin tests to the outputFiles-based primary build flow
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Build System
|
|
59
|
+
|
|
60
|
+
* **tooling:** migrate scripts to strip-types loader (7f236e0e92ec4a790a00b3fdbcbdcdc62756bdf4)
|
|
61
|
+
- replace tsx-based build and tooling entrypoints with node --experimental-strip-types
|
|
62
|
+
- add the custom loader used to resolve and transpile local TypeScript scripts
|
|
63
|
+
- move the benchmark runner to the test scripts directory and switch it to tinybench
|
|
64
|
+
- update lint config for JavaScript script files and package manager metadata
|
|
65
|
+
- refresh workspace and lockfile dependencies for the toolchain migration
|
|
66
|
+
|
|
1
67
|
## [1.8.6](https://github.com/D1g1talEntr0py/tsbuild/compare/v1.8.5...v1.8.6) (2026-04-14)
|
|
2
68
|
|
|
3
69
|
### Bug Fixes
|
|
@@ -113,7 +113,8 @@ var defaultEntryFile = "src/index.ts";
|
|
|
113
113
|
var cacheDirectory = ".tsbuild";
|
|
114
114
|
var buildInfoFile = "tsconfig.tsbuildinfo";
|
|
115
115
|
var dtsCacheFile = "dts_cache.v8.br";
|
|
116
|
-
var
|
|
116
|
+
var outputManifestFile = "outputs.manifest.json";
|
|
117
|
+
var dtsCacheVersion = 4;
|
|
117
118
|
var format = "esm";
|
|
118
119
|
var newLine = "\n";
|
|
119
120
|
var typeMatcher = /\btype\b/;
|
|
@@ -272,6 +273,7 @@ export {
|
|
|
272
273
|
cacheDirectory,
|
|
273
274
|
buildInfoFile,
|
|
274
275
|
dtsCacheFile,
|
|
276
|
+
outputManifestFile,
|
|
275
277
|
dtsCacheVersion,
|
|
276
278
|
format,
|
|
277
279
|
newLine,
|