@vllnt/typescript 2.0.1-canary.c9d3f8e → 2.0.1-canary.f2d6ca9

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
@@ -6,8 +6,6 @@ All notable changes to this project are documented in this file. The format foll
6
6
 
7
7
  ## [2.0.1] - Unreleased
8
8
 
9
- The presets are unchanged from 2.0.0.
10
-
11
9
  ### Changed
12
10
 
13
11
  - Clarified standalone preset usage and release channels; retained `llms.txt` as the maintained LLM index and removed `llms-full.txt` from the repository and package contents.
@@ -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
@@ -8,7 +8,6 @@
8
8
  "moduleResolution": "NodeNext",
9
9
  "target": "ES2024",
10
10
  "declaration": true,
11
- "sourceMap": true,
12
- "incremental": true
11
+ "sourceMap": true
13
12
  }
14
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vllnt/typescript",
3
- "version": "2.0.1-canary.c9d3f8e",
3
+ "version": "2.0.1-canary.f2d6ca9",
4
4
  "description": "Shared TypeScript configurations for vllnt projects",
5
5
  "license": "MIT",
6
6
  "author": {
package/react.json CHANGED
@@ -9,7 +9,6 @@
9
9
  "target": "ES2022",
10
10
  "jsx": "react-jsx",
11
11
  "declaration": true,
12
- "sourceMap": true,
13
- "incremental": true
12
+ "sourceMap": true
14
13
  }
15
14
  }