@codefast/typescript-config 0.10.0 → 0.12.0
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 +16 -0
- package/README.md +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @codefast/typescript-config
|
|
2
2
|
|
|
3
|
+
## 0.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1188](https://github.com/codefastlabs/codefast/pull/1188) Every `@codefast/*` package now requires Node.js 24.15 or later and drops Node 22. The packages ship as one set, so they
|
|
8
|
+
share one floor instead of each sitting on its own 22.x release. `@codefast/typescript-config` removes the `node22.json`
|
|
9
|
+
and `node22-dom.json` overlays; extend a preset alone. `codefast audit engines` reports a published package whose floor
|
|
10
|
+
differs from the highest one any published package declares.
|
|
11
|
+
|
|
12
|
+
## 0.11.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#1068](https://github.com/codefastlabs/codefast/pull/1068) Add the `node22.json` and `node22-dom.json` overlays, which narrow `lib` and `target` to what Node 22 ships for a
|
|
17
|
+
package whose floor is on Node 22, and lower the package's own Node.js floor to 22.12.
|
|
18
|
+
|
|
3
19
|
## 0.10.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ The presets are plain JSON `tsconfig` files. There's no runtime code, and nothin
|
|
|
19
19
|
way Vite, esbuild, and friends resolve them.
|
|
20
20
|
- **`lib` and `target` match the runtime floors**: both are `ES2025`, the newest edition that Node 24 and the browser
|
|
21
21
|
floor both ship ([support policy](../../SUPPORT.md)). A builtin newer than that, such as `Map.prototype.getOrInsert`,
|
|
22
|
-
is a type error here rather than a runtime crash on the floor.
|
|
22
|
+
is a type error here rather than a runtime crash on the floor.
|
|
23
23
|
- **Ambient types follow the runtime.** No preset loads `@types/node` or lists `ESNext.Disposable`. A program that runs
|
|
24
24
|
on Node adds `types: ["node"]`, which brings the Node globals and explicit resource management with it. A browser
|
|
25
25
|
program leaves both out: Safari has not shipped explicit resource management yet.
|
|
@@ -32,7 +32,7 @@ The presets are plain JSON `tsconfig` files. There's no runtime code, and nothin
|
|
|
32
32
|
pnpm add -D @codefast/typescript-config
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
`@codefast/typescript-config` requires Node.js 24 or later, and `typescript` 7 or later as a peer dependency —
|
|
35
|
+
`@codefast/typescript-config` requires Node.js 24.15 or later, and `typescript` 7 or later as a peer dependency —
|
|
36
36
|
TypeScript 7 is the one compiler the presets are checked against. The package is published on 0.x and versioned on its
|
|
37
37
|
own track: breaking changes ship as minor versions, so pin the minor version when you need stability.
|
|
38
38
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codefast/typescript-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "Shared TypeScript configuration for the monorepo",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"browser",
|
|
@@ -44,6 +44,6 @@
|
|
|
44
44
|
"typescript": ">=7.0.0"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
|
-
"node": ">=24.
|
|
47
|
+
"node": ">=24.15.0"
|
|
48
48
|
}
|
|
49
49
|
}
|