diff --git a/CHANGELOG.md b/CHANGELOG.md index d506f34..4f03638 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] - upgrade dependencies +- ignore `@types/node` in `maintain:outdated` (misleading `latest` dist-tag) ## [0.1.7] - 2026-09-16 diff --git a/development/tooling.md b/development/tooling.md index e5d7d5b..b619050 100644 --- a/development/tooling.md +++ b/development/tooling.md @@ -163,6 +163,28 @@ rules disabled in `.oxlintrc.json`. are part of the public API. - The narrower scope keeps the signal high without config-file boilerplate. +### `maintain:outdated` ignores `@types/node` + +#### Decision (2026-09) + +Pass `--ignore-packages @types/node`. + +#### Why + +- DT pins `@types/node`'s `latest` dist-tag to LTS (22.x); current-line types + ride other tags. Scan sees latest < installed — permanent "reverted", exit + 1, zero signal. `--ignore-pre-releases` no help: 22.20.3 is stable. + +#### Rejected + +- `--types major,minor,patch`: hides real reverted reports elsewhere. +- `@types/node@26.*`: tag stays wrong across majors; un-pin per bump = ritual. + +#### Known issue + +- A genuinely behind `@types/node` goes unreported; match it to + `.node-version` by hand. + ### `attw` targets ESM-only #### Decision (2026-09) diff --git a/package.json b/package.json index f762cff..d1c2c53 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "create:release": "./scripts/release.sh", "maintain": "npm run maintain:knip; npm run maintain:outdated", "maintain:knip": "knip --include dependencies,exports,files", - "maintain:outdated": "check-outdated --ignore-pre-releases", + "maintain:outdated": "check-outdated --ignore-pre-releases --ignore-packages @types/node", "test": "npm run check:tsc && node --test --strip-types \"src/**/*.test.ts\"", "test:ci": "c8 --reporter=text --reporter=lcov --reporter=html node --test --strip-types \"src/**/*.test.ts\"", "test:unit": "node --test --strip-types \"src/**/*.test.ts\"",