@cldmv/fix-headers 2.6.0 → 2.6.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.
Files changed (2) hide show
  1. package/README.md +4 -6
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -14,19 +14,17 @@ Headers stay correct without hand-editing: `@Date` follows the file's real creat
14
14
 
15
15
  ## ✨ What's New
16
16
 
17
- ### Latest: v2.6.0 (November 2026)
17
+ ### Latest: v2.6.1 (November 2026)
18
18
 
19
- - **Headerless declarations take their source's header** — a `.d.ts` / `.d.mts` / `.d.cts` that `tsc` emitted without a header gets its source's `@Date`, `@Author` and `@Last modified` values, found through the tsconfig the declarations were built with (new `tsconfig` option, `--tsconfig`), so rebuilding them no longer stamps the build time; `@Filename` still names the declaration (fixes [#214](https://github.com/CLDMV/fix-headers/issues/214)).
20
- - **Generic CommonJS shim** — `src/index.cjs` is the standard CLDMV drop-in shim; `require("@cldmv/fix-headers")` still returns the `fixHeaders` function ([#212](https://github.com/CLDMV/fix-headers/pull/212), fixes [#209](https://github.com/CLDMV/fix-headers/issues/209)).
21
- - **Generated declarations** — `types/` is built and header-stamped at build and pack time instead of being committed; the package's `types` entry is now `types/src/index.d.mts` ([#215](https://github.com/CLDMV/fix-headers/pull/215), fixes [#211](https://github.com/CLDMV/fix-headers/issues/211)).
22
- - [View full v2.6.0 Changelog](https://github.com/CLDMV/fix-headers/blob/master/docs/changelog/v2/v2.6.0.md)
19
+ - **Dev tooling only, no behaviour changes** — the repository moves to `@cldmv/vitest-runner` 1.11.3 and `@cldmv/configs` 1.5.0, and `dependabot.yml` takes the CLDMV/.github v4.47.0 groups ([#219](https://github.com/CLDMV/fix-headers/pull/219)). fix-headers works exactly as in v2.6.0.
20
+ - [View full v2.6.1 Changelog](https://github.com/CLDMV/fix-headers/blob/master/docs/changelog/v2/v2.6.1.md)
23
21
 
24
22
  ### Recent Releases
25
23
 
24
+ - **v2.6.0** (November 2026) — headerless `tsc` declarations take their source's header dates and author (new `tsconfig` option), the generic CommonJS shim, and `types/` generated at build time ([Changelog](https://github.com/CLDMV/fix-headers/blob/master/docs/changelog/v2/v2.6.0.md))
26
25
  - **v2.5.1** (November 2026) — `dist/` is built one file per module instead of a bundle, and the CLI (`dist/cli.mjs`) imports the library; `bin/` is no longer published ([Changelog](https://github.com/CLDMV/fix-headers/blob/master/docs/changelog/v2/v2.5.1.md))
27
26
  - **v2.5.0** (November 2026) — generated declarations carrying `tsc`'s copy of their source's header are restamped for where they ship; `rewriteDeclarationCopies: false` opts out ([Changelog](https://github.com/CLDMV/fix-headers/blob/master/docs/changelog/v2/v2.5.0.md))
28
27
  - **v2.4.0** (November 2026) — `@Filename` is written without a leading slash (`src/index.mjs`), and declarations carrying `tsc`'s copy of their source's header are skipped ([Changelog](https://github.com/CLDMV/fix-headers/blob/master/docs/changelog/v2/v2.4.0.md))
29
- - **v2.3.0** (November 2026) — `.mts`/`.cts` in the `node` detector and a new `c` detector for C/C++; C files carrying another holder's license notice are skipped ([Changelog](https://github.com/CLDMV/fix-headers/blob/master/docs/changelog/v2/v2.3.0.md))
30
28
 
31
29
  📚 For complete release notes, see the [docs/changelog/](https://github.com/CLDMV/fix-headers/tree/master/docs/changelog/) folder.
32
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cldmv/fix-headers",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "description": "Multi-language project header normalizer with auto-detection and override support.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -93,11 +93,11 @@
93
93
  "license": "Apache-2.0",
94
94
  "sideEffects": false,
95
95
  "devDependencies": {
96
- "@cldmv/configs": "^1.4.0",
96
+ "@cldmv/configs": "^1.5.0",
97
97
  "@cldmv/eslint-plugin-jsonv": "^1.0.10",
98
98
  "@cldmv/jsonv": "^1.0.9",
99
99
  "@cldmv/prettier-plugin-jsonv": "^1.0.6",
100
- "@cldmv/vitest-runner": "^1.4.2",
100
+ "@cldmv/vitest-runner": "^1.11.3",
101
101
  "@eslint/css": "^2.0.0",
102
102
  "@eslint/js": "^10.0.1",
103
103
  "@eslint/json": "^2.1.0",