@williamthorsen/tsconfig 0.6.0 → 0.6.1
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/.readyup/kits/default.js +8 -3
- package/.readyup/manifest.json +9 -4
- package/README.md +5 -9
- package/package.json +2 -2
package/.readyup/kits/default.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @noformat
|
|
1
|
+
/** @noformat -- @generated. Do not edit. Compiled by rdy. */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export const __readyupVersion = "0.
|
|
3
|
+
export const __readyupVersion = "0.34.0";
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
// .readyup/kits/default.ts
|
|
@@ -96,6 +96,11 @@ function collectDependencyDeclaredKeys(entries, baseIndex) {
|
|
|
96
96
|
return keys;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
// src/readiness/listSearchDirs.ts
|
|
100
|
+
function listSearchDirs(workspaceDirs) {
|
|
101
|
+
return [.../* @__PURE__ */ new Set([".", ...workspaceDirs])];
|
|
102
|
+
}
|
|
103
|
+
|
|
99
104
|
// src/readiness/node-floor.ts
|
|
100
105
|
var NODE_MAJOR = /^v?(\d+)(?:[.\s]|$)/;
|
|
101
106
|
var NODE_MAJOR_CEILING = 99;
|
|
@@ -256,7 +261,7 @@ function listPathsOfKind(classified, kind) {
|
|
|
256
261
|
return classified.filter((adoption) => adoption.kind === kind).map((adoption) => adoption.path);
|
|
257
262
|
}
|
|
258
263
|
function listTsconfigSearchDirs() {
|
|
259
|
-
return discoverWorkspaces().map((workspace) => workspace.dir);
|
|
264
|
+
return listSearchDirs(discoverWorkspaces().map((workspace) => workspace.dir));
|
|
260
265
|
}
|
|
261
266
|
function nodeFloorSupportsBaseEsYear() {
|
|
262
267
|
const verdict = judgeNodeFloor();
|
package/.readyup/manifest.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"esbuildVersion": "0.28.2",
|
|
11
11
|
"inputs": [
|
|
12
12
|
{
|
|
13
|
-
"hash": "
|
|
13
|
+
"hash": "defbbe48",
|
|
14
14
|
"kind": "module",
|
|
15
15
|
"path": "kits/default.ts"
|
|
16
16
|
},
|
|
@@ -34,6 +34,11 @@
|
|
|
34
34
|
"kind": "module",
|
|
35
35
|
"path": "../src/readiness/findRedundantOptions.ts"
|
|
36
36
|
},
|
|
37
|
+
{
|
|
38
|
+
"hash": "30178e5c",
|
|
39
|
+
"kind": "module",
|
|
40
|
+
"path": "../src/readiness/listSearchDirs.ts"
|
|
41
|
+
},
|
|
37
42
|
{
|
|
38
43
|
"hash": "31b0fbf5",
|
|
39
44
|
"kind": "module",
|
|
@@ -42,10 +47,10 @@
|
|
|
42
47
|
],
|
|
43
48
|
"name": "default",
|
|
44
49
|
"path": "kits/default.js",
|
|
45
|
-
"readyupVersion": "0.
|
|
50
|
+
"readyupVersion": "0.34.0",
|
|
46
51
|
"source": "kits/default.ts",
|
|
47
|
-
"sourceHash": "
|
|
48
|
-
"targetHash": "
|
|
52
|
+
"sourceHash": "defbbe48",
|
|
53
|
+
"targetHash": "20355baf"
|
|
49
54
|
}
|
|
50
55
|
]
|
|
51
56
|
}
|
package/README.md
CHANGED
|
@@ -3,17 +3,13 @@
|
|
|
3
3
|
Shared TypeScript base config for Node-only projects. Inlines the settings of [`@tsconfig/strictest`](https://www.npmjs.com/package/@tsconfig/strictest) and adds the Node and build options it leaves out, so a consuming repo declares only what is genuinely its own.
|
|
4
4
|
|
|
5
5
|
<!-- section:release-notes -->
|
|
6
|
-
## Release notes — v0.6.
|
|
6
|
+
## Release notes — v0.6.1 (2026-08-27)
|
|
7
7
|
|
|
8
|
-
###
|
|
8
|
+
### 🐛 Bug fixes
|
|
9
9
|
|
|
10
|
-
-
|
|
10
|
+
- Restore the repo root to both readiness kits' search directories (#187)
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Both kits now take readyup's workspace list directly, dropping the root literal each carried to compensate for the older behavior.
|
|
15
|
-
|
|
16
|
-
Migration: A consumer running `rdy` against either kit upgrades `readyup` to 0.33.0 or later.
|
|
12
|
+
Fixes an issue where the readiness kits in `@williamthorsen/tsconfig` and `@williamthorsen/eslint-config-typescript` skipped the repo root in a monorepo running readyup below 0.33.0. Each kit now supplies the root itself, so the sweep is whole under any readyup version.
|
|
17
13
|
<!-- /section:release-notes -->
|
|
18
14
|
|
|
19
15
|
## Installation
|
|
@@ -102,7 +98,7 @@ export default defineRdyConfig({
|
|
|
102
98
|
});
|
|
103
99
|
```
|
|
104
100
|
|
|
105
|
-
The
|
|
101
|
+
The `readyup >=0.33.0` optional peer names the version the kit is developed and tested against. Below 0.33.0, readyup does not report the repo root among a monorepo's workspaces, so the kit supplies the root itself and sweeps every member package alongside it.
|
|
106
102
|
|
|
107
103
|
The kit walks each workspace tsconfig's `extends` chain and reports four things:
|
|
108
104
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@williamthorsen/tsconfig",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Shared TypeScript base config for Node-only projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tsconfig",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@tsconfig/strictest": "2.0.8",
|
|
33
33
|
"esbuild": "0.28.2",
|
|
34
|
-
"readyup": "0.
|
|
34
|
+
"readyup": "0.34.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"readyup": ">=0.33.0"
|