@vllnt/typescript 3.0.1-canary.3a20e5b → 3.0.1-canary.411eca5

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
@@ -4,20 +4,26 @@ All notable changes to this project are documented in this file. The format foll
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [3.0.1] - 2026-11-27
8
+
9
+ Presets are unchanged from 3.0.0. This release changes package metadata and the shipped documentation.
10
+
7
11
  ### Added
8
12
 
9
13
  - `README.md` and `llms.txt` have a "For coding agents" note: the documentation ships in `node_modules/@vllnt/typescript/` and matches the installed version. `llms.txt` links to the shipped `README.md` and `CHANGELOG.md` with relative paths and adds related-package and ecosystem links; the README adds a related-packages section and documents each preset's notable compiler options. Presets are unchanged.
10
- - `scripts/check-package-contents.sh` fails when a path listed in `.package-contents-required` is missing from the tarball, and `pnpm check` runs it with its tests.
14
+ - `scripts/check-package-contents.sh` checks the packed file list against an allowlist and the privacy denylist, and fails when a path listed in `.package-contents-required` is missing from the tarball. `pnpm check`, the canary job and the release job run it before publishing; it reads both the array-shaped and the npm 12 object-shaped `npm pack --json` output.
15
+ - A Privacy Guard workflow runs on every push and pull request. It checks commit author, committer and trailer emails against an allowlist of GitHub noreply addresses, rejects private hostnames and internal IPs in commit metadata, scans tracked files against a privacy denylist, and runs a gitleaks secret scan.
11
16
 
12
17
  ### Changed
13
18
 
14
19
  - `package.json` `homepage` is https://oss.vllnt.com/packages/typescript, with more accurate `keywords`. Publish path filters include `README.md`, `llms.txt` and `CHANGELOG.md`, so a documentation-only change publishes a canary.
15
- - Upgraded the development dependencies `vitest` and `@vitest/coverage-v8` to 5.1.0 and `prettier` to 3.10.1, and added a scoped override to a patched `minimatch` 11 for GHSA-g3hv-75wg-m249 (moderate, reached only through the development lint toolchain). `prettier` 3.10.1 is installed through a version-scoped exception to the 7-day release-age rule in `pnpm-workspace.yaml`, removable after 2026-11-19. Removed the unused root development dependency `@types/react-dom` (the integration fixtures declare their own). Presets and the packed file list are unchanged.
20
+ - Upgraded the development dependencies `vitest` and `@vitest/coverage-v8` to 5.1.1 and `prettier` to 3.10.1, and added a scoped override to a patched `minimatch` 11 (11.0.9) for GHSA-g3hv-75wg-m249 (moderate, reached only through the development lint toolchain). Removed the unused root development dependency `@types/react-dom` (the integration fixtures declare their own). Presets and the packed file list are unchanged.
16
21
  - Upgraded the development dependency `@vllnt/eslint-config` to 2.1.0 and the integration fixtures to `next` 16.4.6 and `vite` 8.3.8. No change to the presets or the packed file list.
22
+ - Moved the repository package manager to pnpm 12.22.0 (`packageManager`; the lockfile now also pins pnpm itself). No change to the presets or the packed file list.
17
23
 
18
24
  ### Fixed
19
25
 
20
- - `scripts/check-package-contents.sh` reads the object-shaped `npm pack --json` output of npm 12. The canary job had failed with "npm pack reported no files" since the check was added.
26
+ - `pnpm check` type-checks the repository scripts and tests (`pnpm typecheck`, TypeScript 6 and 7). The root `tsconfig.json` enabled `checkJs`, but nothing ran it, and it had 23 errors under TypeScript 7 and 21 under TypeScript 6. The root `tsconfig.json` sets `declaration: false`, because it only type-checks.
21
27
 
22
28
  ## [3.0.0] - 2026-11-16
23
29
 
@@ -84,7 +90,9 @@ The flags add diagnostics and leave JavaScript output unchanged, but inferred de
84
90
  - Added `base.json`, `nodejs.json`, `node-library.json`, `react.json`, and `nextjs.json` presets.
85
91
  - Documented Node.js 22+ and TypeScript 5+ expectations.
86
92
 
87
- [Unreleased]: https://github.com/vllnt/typescript/compare/v2.0.1...HEAD
93
+ [Unreleased]: https://github.com/vllnt/typescript/compare/v3.0.1...HEAD
94
+ [3.0.1]: https://github.com/vllnt/typescript/compare/v3.0.0...v3.0.1
95
+ [3.0.0]: https://github.com/vllnt/typescript/compare/v2.0.1...v3.0.0
88
96
  [2.0.1]: https://github.com/vllnt/typescript/compare/v2.0.0...v2.0.1
89
97
  [2.0.0]: https://github.com/vllnt/typescript/compare/v1.0.0...v2.0.0
90
98
  [1.0.0]: https://github.com/vllnt/typescript/releases/tag/v1.0.0
package/README.md CHANGED
@@ -173,15 +173,15 @@ TypeScript 7 also removes ES5 targeting, legacy module formats and resolution, `
173
173
 
174
174
  ## Compatibility
175
175
 
176
- | Surface | Supported version |
177
- | ---------------------- | -------------------------------------------------- |
178
- | Node.js consumers | `>=22` |
179
- | TypeScript | `>=6.0.2 <8` |
180
- | Tested compilers | TypeScript 6.0.2 (compatibility package) and 7.0.2 |
181
- | Next.js integration | 16.4.6 |
182
- | React integration | 19.3.1 |
183
- | Vite integration | 8.3.8 |
184
- | Repository development | Node.js 22.13+, pnpm 11.28.8 |
176
+ | Surface | Supported version |
177
+ | ---------------------- | -------------------------------------------------------------------------------- |
178
+ | Node.js consumers | `>=22` |
179
+ | TypeScript | `>=6.0.2 <8` |
180
+ | Tested compilers | TypeScript 7.0.2, and `@typescript/typescript6` 6.0.2 (its `tsc6` reports 6.0.3) |
181
+ | Next.js integration | 16.4.6 |
182
+ | React integration | 19.3.1 |
183
+ | Vite integration | 8.3.8 |
184
+ | Repository development | Node.js 22.13+, pnpm 12.22.0 |
185
185
 
186
186
  ## Development
187
187
 
@@ -191,7 +191,7 @@ pnpm check
191
191
  pnpm pack --dry-run
192
192
  ```
193
193
 
194
- The checks compile every preset with TypeScript 6 and 7, prove that each inherited strictness flag is active, verify declaration emit, install and compile the packed package, enforce full test-helper coverage, and build real React/Vite and Next.js fixtures.
194
+ The checks type-check the repository scripts and tests and compile every preset with TypeScript 6 and 7, prove that each inherited strictness flag is active, verify declaration emit, install and compile the packed package, enforce full test-helper coverage, and build real React/Vite and Next.js fixtures.
195
195
 
196
196
  ## Versioning
197
197
 
@@ -206,7 +206,7 @@ The checks compile every preset with TypeScript 6 and 7, prove that each inherit
206
206
  - [Contributing](https://github.com/vllnt/typescript/blob/main/CONTRIBUTING.md) · [Issues](https://github.com/vllnt/typescript/issues)
207
207
  - [Security policy and private reporting](https://github.com/vllnt/typescript/blob/main/SECURITY.md)
208
208
 
209
- npm `latest` is stable `3.0.0` at this audit. `@canary` selects moving prereleases;
209
+ npm `latest` is stable `3.0.1` at this audit. `@canary` selects moving prereleases;
210
210
  pin and test them before adoption. The compatibility matrix above describes
211
211
  this version's tested integrations, not a requirement to use every framework.
212
212
 
package/llms.txt CHANGED
@@ -9,7 +9,7 @@
9
9
  - License: MIT
10
10
 
11
11
  Install independently in any project; no vllnt monorepo is required. npm latest
12
- is stable 3.0.0 at this audit; canary is a moving prerelease channel. Pin and test
12
+ is stable 3.0.1 at this audit; canary is a moving prerelease channel. Pin and test
13
13
  prereleases. See [Contributing](https://github.com/vllnt/typescript/blob/main/CONTRIBUTING.md) and the [Security policy](https://github.com/vllnt/typescript/blob/main/SECURITY.md).
14
14
 
15
15
  ## For coding agents
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vllnt/typescript",
3
- "version": "3.0.1-canary.3a20e5b",
3
+ "version": "3.0.1-canary.411eca5",
4
4
  "description": "Shared TypeScript configurations for vllnt projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -28,7 +28,7 @@
28
28
  "react",
29
29
  "nextjs"
30
30
  ],
31
- "packageManager": "pnpm@11.28.8",
31
+ "packageManager": "pnpm@12.22.0",
32
32
  "engines": {
33
33
  "node": ">=22"
34
34
  },
@@ -57,9 +57,10 @@
57
57
  "test": "vitest run",
58
58
  "test:coverage": "vitest run --coverage",
59
59
  "test:integration": "pnpm --dir tests/integration/react build && pnpm --dir tests/integration/nextjs build",
60
- "check": "pnpm format:check && pnpm lint && pnpm test:coverage && pnpm test:integration && pnpm test:package",
60
+ "check": "pnpm format:check && pnpm lint && pnpm typecheck && pnpm test:coverage && pnpm test:integration && pnpm test:package",
61
61
  "check:agents": "node -e \"const f=require('node:fs');if(!f.existsSync('AGENTS.md')||f.existsSync('CLAUDE.md')||f.existsSync('.claude'))process.exit(1)\"",
62
- "test:package": "bash scripts/test-check-package-contents.sh && bash scripts/check-package-contents.sh"
62
+ "test:package": "bash scripts/test-check-package-contents.sh && bash scripts/check-package-contents.sh",
63
+ "typecheck": "tsc --project tsconfig.json && tsc6 --project tsconfig.json"
63
64
  },
64
65
  "peerDependencies": {
65
66
  "typescript": ">=6.0.2 <8"
@@ -68,12 +69,12 @@
68
69
  "@types/node": "22.20.5",
69
70
  "@types/react": "19.3.0",
70
71
  "@typescript/native": "npm:typescript@7.0.2",
71
- "@vitest/coverage-v8": "5.1.0",
72
+ "@vitest/coverage-v8": "5.1.1",
72
73
  "@vllnt/eslint-config": "2.1.0",
73
74
  "eslint": "9.39.5",
74
75
  "prettier": "3.10.1",
75
76
  "typescript": "npm:@typescript/typescript6@6.0.2",
76
- "vitest": "5.1.0"
77
+ "vitest": "5.1.1"
77
78
  },
78
79
  "publishConfig": {
79
80
  "access": "public",