@vllnt/typescript 2.0.1-canary.c9d3f8e → 2.0.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 +5 -3
- package/README.md +3 -0
- package/llms.txt +1 -0
- package/nodejs.json +1 -2
- package/package.json +1 -1
- package/react.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,9 +4,7 @@ All notable changes to this project are documented in this file. The format foll
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
-
## [2.0.1] -
|
|
8
|
-
|
|
9
|
-
The presets are unchanged from 2.0.0.
|
|
7
|
+
## [2.0.1] - 2026-11-16
|
|
10
8
|
|
|
11
9
|
### Changed
|
|
12
10
|
|
|
@@ -16,6 +14,10 @@ The presets are unchanged from 2.0.0.
|
|
|
16
14
|
- Set the pnpm release-age policy in `pnpm-workspace.yaml`, moved to pnpm 11.28.8, and added low-memory development defaults.
|
|
17
15
|
- Upgraded the development lint configuration to `@vllnt/eslint-config` 2.0.0 and refreshed development and integration-test dependencies, with scoped overrides for patched releases of two transitive development dependencies (`handlebars`, `deepmerge-ts`).
|
|
18
16
|
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- `nodejs.json` and `react.json` no longer enable `incremental`. With it, a clean build that deleted only the output directory could reuse a leftover `.tsbuildinfo` and emit nothing, so a package could be published empty. JavaScript, declaration, and source-map output of a clean build is unchanged; only build caching changes, so this ships as a patch under the README's build-cache exception. Ordinary `tsc` and `tsc --project` builds using these presets are no longer incremental and no longer write a `.tsbuildinfo`; `tsc --build` and `composite` projects still write one. To restore caching for ordinary builds, set `incremental: true` in your project; setting only `tsBuildInfoFile` is not enough. `nextjs.json` keeps `incremental` because it does not emit.
|
|
20
|
+
|
|
19
21
|
## [2.0.0] - 2026-08-31
|
|
20
22
|
|
|
21
23
|
### Added
|
package/README.md
CHANGED
|
@@ -37,6 +37,8 @@ This is the [official side-by-side migration arrangement](https://devblogs.micro
|
|
|
37
37
|
| `react.json` | Bundled React applications | Bundler | ES2022 | JavaScript, declarations, source maps |
|
|
38
38
|
| `nextjs.json` | Next.js applications | Bundler | ES2022 | None |
|
|
39
39
|
|
|
40
|
+
Emitting presets do not enable `incremental`. Unless you opt in, a clean build emits every output even when a `.tsbuildinfo` file is left over. If you set `incremental: true`, delete the `.tsbuildinfo` file together with the output directory before a clean build. `nextjs.json` keeps `incremental` because it does not emit; if you override `noEmit`, also set `incremental: false`.
|
|
41
|
+
|
|
40
42
|
### Node.js application
|
|
41
43
|
|
|
42
44
|
```json
|
|
@@ -151,6 +153,7 @@ The checks compile every preset with TypeScript 6 and 7, verify declaration emit
|
|
|
151
153
|
- **Major:** raised TypeScript floor, stricter diagnostics, target/module/emit changes, or removed/renamed presets.
|
|
152
154
|
- **Minor:** additive presets or backward-compatible options.
|
|
153
155
|
- **Patch:** fixes, documentation, tests, or CI changes without consumer-visible behavior changes.
|
|
156
|
+
- **Build-cache exception:** a patch may remove a build-cache default, such as `incremental`, that makes builds emit wrong or missing output. JavaScript, declaration, and source-map output of a clean build and all diagnostics must stay the same. The changelog states the cache effect and how to opt back in. 2.0.1 uses this exception.
|
|
154
157
|
|
|
155
158
|
## Documentation and support
|
|
156
159
|
|
package/llms.txt
CHANGED
|
@@ -28,3 +28,4 @@ prereleases. See [Contributing](CONTRIBUTING.md) and the [Security policy](SECUR
|
|
|
28
28
|
- `@vllnt/typescript/nextjs.json`: no-emit Next.js applications
|
|
29
29
|
|
|
30
30
|
Consumers should list required ambient packages in `types` and set `rootDir` in emitting projects.
|
|
31
|
+
Emitting presets do not enable `incremental`, so a clean build emits every output even when a `.tsbuildinfo` file is left over. Projects that set `incremental: true` should delete the `.tsbuildinfo` file with the output directory before a clean build.
|
package/nodejs.json
CHANGED
package/package.json
CHANGED