@vllnt/typescript 3.0.1-canary.5b71f64 → 3.0.1-canary.a2c7289
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 +3 -2
- package/README.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,9 +8,9 @@ Presets are unchanged from 3.0.0. This release changes package metadata and the
|
|
|
8
8
|
|
|
9
9
|
### Added
|
|
10
10
|
|
|
11
|
-
- The README follows the shared @vllnt layout for coding agents: a "For coding agents" note (the documentation ships in `node_modules/@vllnt/typescript/` and matches the installed version), When to use, Install, Quick start, API (each preset's own `compilerOptions`), Common tasks, Errors and fixes, Limits and gotchas, Compatibility, Related packages, and a Links section (package docs and release feed, package index and search, source and
|
|
11
|
+
- The README follows the shared @vllnt layout for coding agents: a "For coding agents" note (the documentation ships in `node_modules/@vllnt/typescript/` and matches the installed version), When to use, Install, Quick start, API (each preset's own `compilerOptions`), Common tasks, Errors and fixes, Limits and gotchas, Compatibility, Related packages, and a Links section (package docs and release feed, package index and search, source, issues and npm, Discord and X, company and author, sponsor), which replaces the Author section, then the footer. `llms.txt` rewrites the summary, adds the same note and when-to-use, links to the shipped `README.md` (API and errors tables) and `CHANGELOG.md` with relative paths, and ends with a six-link Ecosystem block (package page, release feed, all @vllnt packages, search, vllnt, author).
|
|
12
12
|
- `tests/docs.test.mjs` checks the README and `llms.txt` against the packed package under TypeScript 6 and 7: required sections in order, the install command and quick start within the first 40 lines, the `llms.txt` summary line, that the packed files include `README.md`, `llms.txt` and `CHANGELOG.md`, tagged code blocks, relative links and anchors, every export in the API table, each preset's options, and every code in "Errors and fixes" with each message found in at least one compiler's output. It compiles every README `tsconfig.json` and source example and requires exactly the diagnostics its `// error` comments mark; the Quick start and "Build an npm library" examples must emit exactly the files listed, and the other emitting examples must emit `index.js`. No packed or tracked file may name the retired vllnt domain.
|
|
13
|
-
- `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.
|
|
13
|
+
- `scripts/check-package-contents.sh` checks the packed file list against an allowlist and the privacy denylist, rejects test and spec files of every flavour (`.ts`, `.tsx`, `.js`, `.mjs`, `.cjs`, `.mts`, `.cts`, `.jsx`), `__tests__/` and `.env` files, 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.
|
|
14
14
|
- 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.
|
|
15
15
|
|
|
16
16
|
### Changed
|
|
@@ -25,6 +25,7 @@ Presets are unchanged from 3.0.0. This release changes package metadata and the
|
|
|
25
25
|
- The README and `llms.txt` listed TS2322 as an `exactOptionalPropertyTypes` diagnostic; it is TS2412 (assigning `undefined` to an optional property), next to TS2375 and TS2379.
|
|
26
26
|
- The README said that TypeScript 7 cannot disable strict mode. It can; with these presets, `strict: false` also needs `exactOptionalPropertyTypes: false` (TS5052).
|
|
27
27
|
- `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.
|
|
28
|
+
- The package test's temporary consumer install now follows the repository's 7-day release-age rule (`minimumReleaseAge`) and its `@vllnt/*` exclusion: it gets a copy of the repository `pnpm-workspace.yaml`. Before, it had no workspace file, so it resolved the newest transitive versions without that rule.
|
|
28
29
|
|
|
29
30
|
## [3.0.0] - 2026-11-16
|
|
30
31
|
|
package/README.md
CHANGED
|
@@ -340,7 +340,7 @@ See [CONTRIBUTING.md](https://github.com/vllnt/typescript/blob/main/CONTRIBUTING
|
|
|
340
340
|
|
|
341
341
|
- Docs and changelog: [oss.vllnt.com/packages/typescript](https://oss.vllnt.com/packages/typescript) · [release feed](https://oss.vllnt.com/packages/typescript/rss.xml)
|
|
342
342
|
- All @vllnt packages: [oss.vllnt.com](https://oss.vllnt.com) · [search packages and docs on index.vllnt.com](https://index.vllnt.com)
|
|
343
|
-
- Source and issues: [GitHub](https://github.com/vllnt/typescript) · [issues](https://github.com/vllnt/typescript/issues)
|
|
343
|
+
- Source and issues: [GitHub](https://github.com/vllnt/typescript) · [issues](https://github.com/vllnt/typescript/issues) · [npm](https://www.npmjs.com/package/@vllnt/typescript)
|
|
344
344
|
- Questions and updates: [Discord](https://bntvllnt.com/discord) · [X @bntvllnt](https://x.com/bntvllnt)
|
|
345
345
|
- Company and author: [vllnt.com](https://vllnt.com) · [bntvllnt.com](https://bntvllnt.com) · [GitHub @bntvllnt](https://github.com/bntvllnt) · [LinkedIn](https://linkedin.com/in/bntvllnt)
|
|
346
346
|
- Sponsor: [GitHub Sponsors](https://github.com/sponsors/bntvllnt)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vllnt/typescript",
|
|
3
|
-
"version": "3.0.1-canary.
|
|
3
|
+
"version": "3.0.1-canary.a2c7289",
|
|
4
4
|
"description": "Shared tsconfig presets for Node.js apps, npm libraries, React and Next.js, with strict type-checking, tested with TypeScript 6 and 7.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|