@vllnt/typescript 2.0.0-canary.786de03 → 2.0.0-canary.a89e191
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 +1 -0
- package/README.md +19 -1
- package/llms.txt +4 -1
- package/package.json +8 -9
- package/llms-full.txt +0 -70
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,7 @@ All notable changes to this project are documented in this file. The format foll
|
|
|
8
8
|
|
|
9
9
|
- Upgraded the development lint configuration to `@vllnt/eslint-config` 2.0.0.
|
|
10
10
|
- Removed development dependency overrides so clean installs use normal dependency resolution.
|
|
11
|
+
- Upgraded development and integration-test dependencies and added scoped overrides for patched releases of three transitive development dependencies (`handlebars`, `deepmerge-ts`, `brace-expansion`); the published presets are unchanged.
|
|
11
12
|
|
|
12
13
|
## [2.0.0] - 2026-08-31
|
|
13
14
|
|
package/README.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Shared TypeScript configurations for Node.js, libraries, React, and Next.js. Version 2 targets the native TypeScript 7 compiler while retaining a tested TypeScript 6 migration path.
|
|
4
4
|
|
|
5
|
+
Use these independently in any project; no vllnt monorepo or runtime dependency
|
|
6
|
+
is required. Extend a preset, then supply project-specific paths and ambient types.
|
|
7
|
+
|
|
5
8
|
## Install
|
|
6
9
|
|
|
7
10
|
For TypeScript 7 projects:
|
|
@@ -149,6 +152,21 @@ The checks compile every preset with TypeScript 6 and 7, verify declaration emit
|
|
|
149
152
|
- **Minor:** additive presets or backward-compatible options.
|
|
150
153
|
- **Patch:** fixes, documentation, tests, or CI changes without consumer-visible behavior changes.
|
|
151
154
|
|
|
155
|
+
## Documentation and support
|
|
156
|
+
|
|
157
|
+
- [LLM index](llms.txt) · [Changelog](CHANGELOG.md)
|
|
158
|
+
- [Contributing](CONTRIBUTING.md) · [Issues](https://github.com/vllnt/typescript/issues)
|
|
159
|
+
- [Security policy and private reporting](SECURITY.md)
|
|
160
|
+
|
|
161
|
+
npm `latest` is stable `2.0.0` at this audit. `@canary` selects moving prereleases;
|
|
162
|
+
pin and test them before adoption. The compatibility matrix above describes
|
|
163
|
+
this version's tested integrations, not a requirement to use every framework.
|
|
164
|
+
|
|
165
|
+
## Author
|
|
166
|
+
|
|
167
|
+
Built by [bntvllnt](https://github.com/bntvllnt) · [bntvllnt.com](https://bntvllnt.com).
|
|
168
|
+
Part of [@vllnt](https://github.com/vllnt). [Sponsor the work](https://github.com/sponsors/bntvllnt).
|
|
169
|
+
|
|
152
170
|
## License
|
|
153
171
|
|
|
154
|
-
MIT
|
|
172
|
+
[MIT](LICENSE)
|
package/llms.txt
CHANGED
|
@@ -6,9 +6,12 @@
|
|
|
6
6
|
- Repository: https://github.com/vllnt/typescript
|
|
7
7
|
- Documentation: https://github.com/vllnt/typescript#readme
|
|
8
8
|
- Changelog: https://github.com/vllnt/typescript/blob/main/CHANGELOG.md
|
|
9
|
-
- Full reference: https://github.com/vllnt/typescript/blob/main/llms-full.txt
|
|
10
9
|
- License: MIT
|
|
11
10
|
|
|
11
|
+
Install independently in any project; no vllnt monorepo is required. npm latest
|
|
12
|
+
is stable 2.0.0 at this audit; canary is a moving prerelease channel. Pin and test
|
|
13
|
+
prereleases. See [Contributing](CONTRIBUTING.md) and the [Security policy](SECURITY.md).
|
|
14
|
+
|
|
12
15
|
## Compatibility
|
|
13
16
|
|
|
14
17
|
- Node.js consumers: 22 or newer
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vllnt/typescript",
|
|
3
|
-
"version": "2.0.0-canary.
|
|
3
|
+
"version": "2.0.0-canary.a89e191",
|
|
4
4
|
"description": "Shared TypeScript configurations for vllnt projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -36,8 +36,7 @@
|
|
|
36
36
|
"node-library.json",
|
|
37
37
|
"react.json",
|
|
38
38
|
"CHANGELOG.md",
|
|
39
|
-
"llms.txt"
|
|
40
|
-
"llms-full.txt"
|
|
39
|
+
"llms.txt"
|
|
41
40
|
],
|
|
42
41
|
"exports": {
|
|
43
42
|
"./base.json": "./base.json",
|
|
@@ -62,16 +61,16 @@
|
|
|
62
61
|
"typescript": ">=6.0.2 <8"
|
|
63
62
|
},
|
|
64
63
|
"devDependencies": {
|
|
65
|
-
"@types/node": "22.20.
|
|
66
|
-
"@types/react": "19.
|
|
67
|
-
"@types/react-dom": "19.
|
|
64
|
+
"@types/node": "22.20.5",
|
|
65
|
+
"@types/react": "19.3.0",
|
|
66
|
+
"@types/react-dom": "19.3.0",
|
|
68
67
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
69
|
-
"@vitest/coverage-v8": "
|
|
68
|
+
"@vitest/coverage-v8": "5.0.5",
|
|
70
69
|
"@vllnt/eslint-config": "2.0.0",
|
|
71
70
|
"eslint": "9.39.5",
|
|
72
|
-
"prettier": "3.9.
|
|
71
|
+
"prettier": "3.9.10",
|
|
73
72
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
74
|
-
"vitest": "
|
|
73
|
+
"vitest": "5.0.5"
|
|
75
74
|
},
|
|
76
75
|
"publishConfig": {
|
|
77
76
|
"access": "public",
|
package/llms-full.txt
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
# @vllnt/typescript full reference
|
|
2
|
-
|
|
3
|
-
`@vllnt/typescript` publishes strict JSON compiler presets for Node.js 22+, npm libraries, React, and Next.js. Version 2 supports TypeScript `>=6.0.2 <8` and is validated with the TypeScript 6 compatibility package and native TypeScript 7.0.2.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
TypeScript 7-only projects install:
|
|
8
|
-
|
|
9
|
-
```sh
|
|
10
|
-
pnpm add --save-dev @vllnt/typescript@^2 typescript@^7
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
Tools that still import the legacy compiler API use the official side-by-side arrangement:
|
|
14
|
-
|
|
15
|
-
```json
|
|
16
|
-
{
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"@typescript/native": "npm:typescript@^7.0.2",
|
|
19
|
-
"@vllnt/typescript": "^2.0.0",
|
|
20
|
-
"typescript": "npm:@typescript/typescript6@^6.0.2"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
This exposes native TypeScript 7 as `tsc`, TypeScript 6 as `tsc6`, and TypeScript 6's JavaScript API through the `typescript` package name.
|
|
26
|
-
|
|
27
|
-
## Presets
|
|
28
|
-
|
|
29
|
-
| Preset | Use case | Module resolution | Target | Emit |
|
|
30
|
-
| --- | --- | --- | --- | --- |
|
|
31
|
-
| `base.json` | Shared foundation | Inherited | Inherited | Inherited |
|
|
32
|
-
| `nodejs.json` | Node.js applications | NodeNext | ES2024 | JavaScript, declarations, maps |
|
|
33
|
-
| `node-library.json` | Publishable npm packages | NodeNext | ES2024 | JavaScript, declarations and maps |
|
|
34
|
-
| `react.json` | Bundled React applications | Bundler | ES2022 | JavaScript, declarations, maps |
|
|
35
|
-
| `nextjs.json` | Next.js applications | Bundler | ES2022 | None |
|
|
36
|
-
|
|
37
|
-
## Shared compiler contract
|
|
38
|
-
|
|
39
|
-
All specialized presets inherit:
|
|
40
|
-
|
|
41
|
-
- `strict: true`
|
|
42
|
-
- `isolatedModules: true`
|
|
43
|
-
- `noUncheckedIndexedAccess: true`
|
|
44
|
-
- `noUncheckedSideEffectImports: true`
|
|
45
|
-
- `forceConsistentCasingInFileNames: true`
|
|
46
|
-
- `skipLibCheck: true`
|
|
47
|
-
- `esModuleInterop: true`
|
|
48
|
-
- `resolveJsonModule: true`
|
|
49
|
-
- `stableTypeOrdering: true`
|
|
50
|
-
- `libReplacement: false`
|
|
51
|
-
- `types: []`
|
|
52
|
-
|
|
53
|
-
Ambient types are opt-in. Consumers should add entries such as `node`, `react`, or `vitest/globals` to `types`. Emitting projects must set `rootDir` explicitly.
|
|
54
|
-
|
|
55
|
-
## Migration from version 1
|
|
56
|
-
|
|
57
|
-
Version 2 drops TypeScript 5. Consumers must remove `baseUrl`, avoid legacy module formats and resolution, use explicit `rootDir` and `types`, and run Next.js 16.3 or newer for native TypeScript 7 builds. Keep the TypeScript 6 compatibility API installed while tools such as `typescript-eslint` need it.
|
|
58
|
-
|
|
59
|
-
## Package validation
|
|
60
|
-
|
|
61
|
-
The repository compiles every preset with TypeScript 6 and 7, verifies strictness and declaration emit, installs the generated tarball into an isolated consumer, enforces its exact file surface, and builds real React/Vite and Next.js fixtures. The package has no runtime dependencies; TypeScript is a peer dependency.
|
|
62
|
-
|
|
63
|
-
## Resources
|
|
64
|
-
|
|
65
|
-
- Main documentation: `README.md`
|
|
66
|
-
- Release history: `CHANGELOG.md`
|
|
67
|
-
- Contributions: `CONTRIBUTING.md`
|
|
68
|
-
- Security policy: `SECURITY.md`
|
|
69
|
-
- Repository: https://github.com/vllnt/typescript
|
|
70
|
-
- License: MIT
|