@williamthorsen/tsconfig 0.10.0 → 0.11.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.
@@ -0,0 +1,347 @@
1
+ [
2
+ {
3
+ "version": "0.11.1",
4
+ "date": "2026-10-17",
5
+ "sections": [
6
+ {
7
+ "title": "♻️ Refactoring",
8
+ "audience": "dev",
9
+ "items": [
10
+ {
11
+ "description": "Returns the single value directly from `flatMap` callbacks in the readiness predicates and kits of `@williamthorsen/tsconfig` and `@williamthorsen/eslint-config-typescript`, rather than wrapping it in a one-element array. (#273)",
12
+ "hash": "1041ba308e4415a8f7a0ebd80d3aad743a848fe1",
13
+ "entry": 4
14
+ }
15
+ ]
16
+ }
17
+ ]
18
+ },
19
+ {
20
+ "version": "0.11.0",
21
+ "date": "2026-10-16",
22
+ "sections": [
23
+ {
24
+ "title": "🎉 Features",
25
+ "audience": "all",
26
+ "items": [
27
+ {
28
+ "description": "Ships `CHANGELOG.md` and the machine-readable `.meta/changelog.json` in the tarball of each published package, so that consumers receive the release history with the package. (#267)",
29
+ "hash": "c762a7d1dc34ddefc1cb2e4db74ca46eb70b2b0f",
30
+ "entry": 1
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "title": "♻️ Refactoring",
36
+ "audience": "dev",
37
+ "items": [
38
+ {
39
+ "description": "Rewrites the code reported by unicorn 76's new and widened rules in both readyup kits, `classifyChain`, and the `memoized-functions-returned-by-hook` and `no-undefined-with-number` rules, without changing what any of them returns. (#262)",
40
+ "hash": "d9234640a4ffd1f305d86c51b66ac1b1d9bc8e18",
41
+ "entry": 3
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "title": "📚 Documentation",
47
+ "audience": "dev",
48
+ "items": [
49
+ {
50
+ "description": "Updates the readyup kit instructions in the `@williamthorsen/eslint-config-typescript` and `@williamthorsen/tsconfig` READMEs to the readyup 0.40 form, which lists the kit under `sources` as an `npm:` entry and runs it with `rdy run --sources`. (#265)",
51
+ "hash": "a20621bcb43644b12ef7b07a10a07c3333cdbccf",
52
+ "entry": 5
53
+ }
54
+ ]
55
+ }
56
+ ]
57
+ },
58
+ {
59
+ "version": "0.10.0",
60
+ "date": "2026-09-29",
61
+ "sections": [
62
+ {
63
+ "title": "🎉 Features",
64
+ "audience": "all",
65
+ "items": [
66
+ {
67
+ "description": "Rewords the messages that the package's ReadyUp kit reports: The redundant-option check is now named \"No tsconfig re-declares an option that the base already supplies\", and the fix hints for the redundant-option, ES-year, Node-floor, and escaping-path checks are reworded. (#250)",
68
+ "hash": "ee5aa70fbb48acc8fa85a108163e16d0eaf1b701",
69
+ "entry": 1
70
+ }
71
+ ]
72
+ },
73
+ {
74
+ "title": "📚 Documentation",
75
+ "audience": "dev",
76
+ "items": [
77
+ {
78
+ "description": "Revises the comments under `packages/tsconfig/` to follow the comment-discipline rules, adding the missing comment on `target` in `tsconfig.base.json` and removing test comments that restate the description of the function under test. (#236)",
79
+ "hash": "0b6d6e9ba21954de6bca3c153cdf50c0531bd8ac",
80
+ "entry": 1
81
+ },
82
+ {
83
+ "description": "Revises the `@williamthorsen/tsconfig` README, code comments, and test titles to follow the plain-speech and writing conventions. (#250)",
84
+ "hash": "ee5aa70fbb48acc8fa85a108163e16d0eaf1b701",
85
+ "entry": 2
86
+ }
87
+ ]
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ "version": "0.9.0",
93
+ "date": "2026-09-08",
94
+ "sections": [
95
+ {
96
+ "title": "🎉 Features",
97
+ "audience": "all",
98
+ "items": [
99
+ {
100
+ "description": "Stop exempting vitest from n/no-extraneous-import (#219)",
101
+ "body": "- Removes the `allowModules: ['vitest']` option from `n/no-extraneous-import`, so the rule now reports `vitest` in any workspace whose own `package.json` does not declare it.\n\nMigration: Declare `vitest` in the `devDependencies` of every workspace that imports it; in a pnpm workspace, a catalog entry (`\"vitest\": \"catalog:\"`) declares it without repeating the version. To keep the old behavior instead, set `'n/no-extraneous-import': ['error', { allowModules: ['vitest'] }]` in the consuming config's own `rules` block.",
102
+ "breaking": true,
103
+ "migration": "Declare `vitest` in the `devDependencies` of every workspace that imports it; in a pnpm workspace, a catalog entry (`\"vitest\": \"catalog:\"`) declares it without repeating the version. To keep the old behavior instead, set `'n/no-extraneous-import': ['error', { allowModules: ['vitest'] }]` in the consuming config's own `rules` block.",
104
+ "hash": "6c19f6d06b76f0d3ab8e92d6f1c1fd07bfd09427"
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "title": "📚 Documentation",
110
+ "audience": "dev",
111
+ "items": [
112
+ {
113
+ "description": "Remove second person from package documentation (#216)",
114
+ "body": "- Removes the second-person pronouns from READMEs, migration guides, and the config template.",
115
+ "hash": "e54a3dfaae97f5519c3bd682c1a3fa32186ae5a8"
116
+ }
117
+ ]
118
+ }
119
+ ]
120
+ },
121
+ {
122
+ "version": "0.8.0",
123
+ "date": "2026-09-06",
124
+ "sections": [
125
+ {
126
+ "title": "🎉 Features",
127
+ "audience": "all",
128
+ "items": [
129
+ {
130
+ "description": "Require a relative specifier to name its TypeScript source (#209)",
131
+ "body": "- Adds an `import-x/resolver` default to `@williamthorsen/eslint-config-typescript`. The default sets `extensionAlias` and is scoped to TypeScript files, so `import-x/no-cycle` reports a cycle among specifiers ending in `.js` and a JavaScript source still resolves `./b.js` to `b.js`.\n- Raises the `typescript` peer range to `>=5.7`, the first version in which a project emitting with `tsc` can write the required spelling.\n- Sets `rewriteRelativeImportExtensions` in `@williamthorsen/tsconfig`'s base, so that a build that clears `noEmit` compiles a TypeScript-extension import.\n\nMigration: Upgrade `typescript` to 5.7 or later, rewrite each relative specifier naming a TypeScript file to end in that file's own extension (`./b.ts`, not `./b.js`), and in the tsconfig owning those sources set `allowImportingTsExtensions` alongside `noEmit` or `emitDeclarationOnly`, or set `rewriteRelativeImportExtensions`. Do the rewrite by hand or with a codemod, and do not apply the editor suggestion that `import-x/extensions` offers: it appends the resolved extension rather than replacing the written one, turning `./b.js` into `./b.js.ts`. `docs/migrating-to-v15.md` walks through each step.",
132
+ "breaking": true,
133
+ "migration": "Upgrade `typescript` to 5.7 or later, rewrite each relative specifier naming a TypeScript file to end in that file's own extension (`./b.ts`, not `./b.js`), and in the tsconfig owning those sources set `allowImportingTsExtensions` alongside `noEmit` or `emitDeclarationOnly`, or set `rewriteRelativeImportExtensions`. Do the rewrite by hand or with a codemod, and do not apply the editor suggestion that `import-x/extensions` offers: it appends the resolved extension rather than replacing the written one, turning `./b.js` into `./b.js.ts`. `docs/migrating-to-v15.md` walks through each step.",
134
+ "hash": "bcfb56d00650e047d435674df52f90c780842158"
135
+ }
136
+ ]
137
+ }
138
+ ]
139
+ },
140
+ {
141
+ "version": "0.7.0",
142
+ "date": "2026-08-30",
143
+ "sections": [
144
+ {
145
+ "title": "🎉 Features",
146
+ "audience": "all",
147
+ "items": [
148
+ {
149
+ "description": "Report an include, exclude, or files path outside a tsconfig's directory (#197)",
150
+ "body": "Adds a `hygiene` checklist to the `@williamthorsen/tsconfig` readiness kit, reporting at `warn` a workspace tsconfig whose effective `include`, `exclude`, or `files` names a path outside the directory holding it, whether that config declared the field itself or inherited it from a base.",
151
+ "hash": "502e7c79012d7817925cc5bacbe7bd11bb55702a"
152
+ }
153
+ ]
154
+ }
155
+ ]
156
+ },
157
+ {
158
+ "version": "0.6.1",
159
+ "date": "2026-08-27",
160
+ "sections": [
161
+ {
162
+ "title": "🐛 Bug fixes",
163
+ "audience": "all",
164
+ "items": [
165
+ {
166
+ "description": "Restore the repo root to both readiness kits' search directories (#187)",
167
+ "body": "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.",
168
+ "hash": "c24387a327ff68172fa1b26ec9b5c4c3f5a76013"
169
+ }
170
+ ]
171
+ }
172
+ ]
173
+ },
174
+ {
175
+ "version": "0.6.0",
176
+ "date": "2026-08-26",
177
+ "sections": [
178
+ {
179
+ "title": "🎉 Features",
180
+ "audience": "all",
181
+ "items": [
182
+ {
183
+ "description": "Declare readyup as an optional peer of both kit-shipping packages (#179)",
184
+ "body": "Declares `readyup` as an optional peer dependency of `@williamthorsen/tsconfig` and `@williamthorsen/eslint-config-typescript`, with a `>=0.33.0` floor. Both packages ship readiness kits that run against the consumer's own readyup, and below 0.33.0 that readyup omits the repo root from a monorepo's workspace list, so the kits check every member package and leave the root unchecked.\n\nBoth kits now take readyup's workspace list directly, dropping the root literal each carried to compensate for the older behavior.\n\nMigration: A consumer running `rdy` against either kit upgrades `readyup` to 0.33.0 or later.",
185
+ "breaking": true,
186
+ "migration": "A consumer running `rdy` against either kit upgrades `readyup` to 0.33.0 or later.",
187
+ "hash": "e6e178f74c13f5aec33636c75b2b1f640b42c7b6"
188
+ }
189
+ ]
190
+ },
191
+ {
192
+ "title": "♻️ Refactoring",
193
+ "audience": "dev",
194
+ "items": [
195
+ {
196
+ "description": "Align function names with naming conventions (#181)",
197
+ "body": "Renames functions in the `tsconfig`, `eslint-config-typescript`, and `strict-lint` workspaces to align with naming conventions.",
198
+ "hash": "48a7ee85c2498887d750cab38ab2fdb44c1b7e06"
199
+ }
200
+ ]
201
+ }
202
+ ]
203
+ },
204
+ {
205
+ "version": "0.5.0",
206
+ "date": "2026-08-11",
207
+ "sections": [
208
+ {
209
+ "title": "🎉 Features",
210
+ "audience": "all",
211
+ "items": [
212
+ {
213
+ "description": "Require author, engines, and publish metadata in package.json (#162)",
214
+ "body": "Adds six `package-json` rules to `@williamthorsen/eslint-config-typescript` and removes three overrides that suppressed rules the plugin's `recommended` preset supplies. Every `package.json` must now declare `author` and `engines` and carry no empty field; one that publishes must also declare `bugs`, `homepage`, `keywords`, `repository`, and `sideEffects`, and may not take a dependency on a local path. `specify-peers-locally` is the only rule the config still disables.",
215
+ "breaking": true,
216
+ "hash": "4511d4162cd04ae78a2f9f985cc1f7c2c3e650b8"
217
+ }
218
+ ]
219
+ },
220
+ {
221
+ "title": "🐛 Bug fixes",
222
+ "audience": "all",
223
+ "items": [
224
+ {
225
+ "description": "Accept a source-path import in the kit's extends check (#155)",
226
+ "body": "Fixes an issue where the readiness check bundled with `@williamthorsen/eslint-config-typescript` reported that this repo's root ESLint config did not extend the package. The kit now accepts that an import via the workspace path is equivalent.",
227
+ "hash": "afed82c529f0dcd428c73de6419f540eb26afe0d"
228
+ }
229
+ ]
230
+ },
231
+ {
232
+ "title": "🤖 Agentic support",
233
+ "audience": "dev",
234
+ "items": [
235
+ {
236
+ "description": "Update AGENTS.md (#161)",
237
+ "body": "Updates project guidance in AGENTS.md. In particular, most information about the `nmr` task runner has been removed in deference to the guidance bundled with `nmr` itself. `nmr check` is now promoted as the usual check in place of the much slower, and usually unnecessary, `nmr ci`.",
238
+ "hash": "fb93700ab1158102c9aac1ce1b432e8aa1a67745"
239
+ }
240
+ ]
241
+ }
242
+ ]
243
+ },
244
+ {
245
+ "version": "0.4.0",
246
+ "date": "2026-08-09",
247
+ "sections": [
248
+ {
249
+ "title": "🎉 Features",
250
+ "audience": "all",
251
+ "items": [
252
+ {
253
+ "description": "Add a bundled readyup kit that checks tsconfig adoption and alignment (#152)",
254
+ "body": "Adds a readiness check to `@williamthorsen/tsconfig` that reports, package by package, whether a repo has adopted the base config and stayed aligned with it. A package that extends a framework's own base is reported as having opted out. The Node floor is the only finding that fails the check; the rest is advisory. The check is run with `pnpm exec rdy run --from npm:@williamthorsen/tsconfig`.",
255
+ "hash": "f0ef4a0c2f8e6d4296a9148515208fb10ffc9e5e"
256
+ }
257
+ ]
258
+ }
259
+ ]
260
+ },
261
+ {
262
+ "version": "0.3.0",
263
+ "date": "2026-08-07",
264
+ "sections": [
265
+ {
266
+ "title": "🎉 Features",
267
+ "audience": "all",
268
+ "items": [
269
+ {
270
+ "description": "Support explicit resource management for consumers (#148)",
271
+ "body": "Adds `ESNext.Disposable` to the libraries recognized by TypeScript in the exported base config. This enables the use of `using` and `await using` declarations.",
272
+ "hash": "df0113e43e8ee9994c7d20e5e56fc577f9ca67b3"
273
+ }
274
+ ]
275
+ }
276
+ ]
277
+ },
278
+ {
279
+ "version": "0.2.1",
280
+ "date": "2026-08-04",
281
+ "sections": [
282
+ {
283
+ "title": "⚙️ Tooling",
284
+ "audience": "dev",
285
+ "items": [
286
+ {
287
+ "description": "Migrate the test suite to nmr's isolation tiers (#137)",
288
+ "body": "Changes Vitest configuration so that test suites are selected by a tier (\"unit\", \"tool\", \"localhost\", and \"remote\") corresponding to the services they use. `nmr test:unit` and `nmr test:tool` each run one of these; `nmr test:all` runs every suite. A test verifies that all test file names include the tier infix. `nmr test:integration` no longer exists, and no tests carry the `.int.` infix.",
289
+ "hash": "c2ce64bf7eecc1ced1c7c128288b0c0bf91d3544"
290
+ }
291
+ ]
292
+ }
293
+ ]
294
+ },
295
+ {
296
+ "version": "0.2.0",
297
+ "date": "2026-08-02",
298
+ "sections": [
299
+ {
300
+ "title": "🎉 Features",
301
+ "audience": "all",
302
+ "items": [
303
+ {
304
+ "description": "Add defineConfig for authoring strict-lint configs (#133)",
305
+ "body": "Adds a `defineConfig` helper function for authoring the `strict-lint` config file.",
306
+ "hash": "c7b26ff68ce6daaff9d2ea5bdfc1040d757e78d6"
307
+ }
308
+ ]
309
+ }
310
+ ]
311
+ },
312
+ {
313
+ "version": "0.1.1",
314
+ "date": "2026-08-01",
315
+ "sections": [
316
+ {
317
+ "title": "🐛 Bug fixes",
318
+ "audience": "all",
319
+ "items": [
320
+ {
321
+ "description": "Inline @tsconfig/strictest instead of extending it (#129)",
322
+ "body": "Fixes an issue where, under pnpm, tools that resolve tsconfig files without following symlinks failed to find `@tsconfig/strictest`, breaking lint runs and builds in projects that declare only `@williamthorsen/tsconfig`. Consuming projects no longer need to add `@tsconfig/strictest` to their own `package.json` as a workaround.",
323
+ "hash": "46091a4663fae35b65e2b71fbca598c539583bf6"
324
+ }
325
+ ]
326
+ }
327
+ ]
328
+ },
329
+ {
330
+ "version": "0.1.0",
331
+ "date": "2026-07-23",
332
+ "sections": [
333
+ {
334
+ "title": "🎉 Features",
335
+ "audience": "all",
336
+ "items": [
337
+ {
338
+ "description": "Publish a shared TypeScript config on a Node 24 floor (#108)",
339
+ "body": "Introduces `@williamthorsen/tsconfig`, a published baseline that Node-only TypeScript projects can extend. It pairs the strictest available TypeScript settings with additional Node and build options. A consumer is left to declare its own ambient types, path aliases, JSX, and file globs.\n\n`@williamthorsen/eslint-config-typescript` now requires Node 24 or later.",
340
+ "breaking": true,
341
+ "hash": "a8386334bd04b7e41bb617c20795900163d56089"
342
+ }
343
+ ]
344
+ }
345
+ ]
346
+ }
347
+ ]
@@ -1,6 +1,6 @@
1
1
  /** @noformat -- @generated. Do not edit. Compiled by rdy. */
2
2
  /* eslint-disable */
3
- export const __readyupVersion = "0.38.0";
3
+ export const __readyupVersion = "0.41.1";
4
4
 
5
5
 
6
6
  // .readyup/kits/default.ts
@@ -44,7 +44,7 @@ function classifyChain(chain) {
44
44
  }
45
45
  const baseIndex = findBaseIndex(chain.entries);
46
46
  if (baseIndex !== void 0) return { baseIndex, kind: "adopted" };
47
- return hasExternalBase(chain.entries) ? { kind: "external-base" } : { kind: "unadopted" };
47
+ return { kind: hasExternalBase(chain.entries) ? "external-base" : "unadopted" };
48
48
  }
49
49
 
50
50
  // src/readiness/es-year.ts
@@ -62,7 +62,7 @@ function readDeclaredEsYear(compilerOptions) {
62
62
  if (targetYear !== void 0) return targetYear;
63
63
  const libYears = toStringArray(compilerOptions["lib"]).flatMap((entry) => {
64
64
  const year = parseEsYear(entry);
65
- return year === void 0 ? [] : [year];
65
+ return year === void 0 ? [] : year;
66
66
  });
67
67
  return libYears.toSorted().at(-1);
68
68
  }
@@ -97,7 +97,7 @@ function findEscapingPathsInField(entries, field, judgedDir) {
97
97
  const declaredDir = dirname(declaring.path);
98
98
  return declared.filter((value) => typeof value === "string").flatMap((value) => {
99
99
  const outward = findOutwardPath(value, declaredDir, judgedDir);
100
- return outward === void 0 ? [] : [{ declaredIn: declaring.path, field, path: outward }];
100
+ return outward === void 0 ? [] : { declaredIn: declaring.path, field, path: outward };
101
101
  });
102
102
  }
103
103
  function findOutwardPath(value, declaredDir, judgedDir) {
@@ -155,7 +155,7 @@ function classifyNodeEsYear(major, esYearForMajor) {
155
155
  function findLowestNodeMajor(floors) {
156
156
  const majors = floors.flatMap((floor) => {
157
157
  const major = readNodeMajor(floor);
158
- return major === void 0 ? [] : [major];
158
+ return major === void 0 ? [] : major;
159
159
  });
160
160
  return majors.length === 0 ? void 0 : Math.min(...majors);
161
161
  }
@@ -306,7 +306,7 @@ function listDeclaredNodeFloors() {
306
306
  const manifest = readJsonFile(resolveDirPath(dir, "package.json"));
307
307
  if (manifest === void 0) return [];
308
308
  const floor = readEnginesNodeFloor(manifest);
309
- return floor.kind === "found" ? [floor.floor] : [];
309
+ return floor.kind === "found" ? floor.floor : [];
310
310
  });
311
311
  if (engineFloors.length > 0) return engineFloors;
312
312
  const toolVersionsFloor = readToolVersionsNode();
@@ -320,12 +320,12 @@ function listTsconfigSearchDirs() {
320
320
  }
321
321
  function nodeFloorSupportsBaseEsYear() {
322
322
  const verdict = judgeNodeFloor();
323
- return verdict.kind === "skip" ? true : { ok: verdict.kind === "pass", detail: verdict.detail };
323
+ return verdict.kind === "skip" || { ok: verdict.kind === "pass", detail: verdict.detail };
324
324
  }
325
325
  function noEscapingPaths() {
326
326
  const judged = findTsconfigs().flatMap((path) => {
327
327
  const chain = readChain(path);
328
- return chain === void 0 ? [] : [{ escapes: findEscapingPaths(chain.entries), path }];
328
+ return chain === void 0 ? [] : { escapes: findEscapingPaths(chain.entries), path };
329
329
  });
330
330
  const offenders = judged.filter((judgedConfig) => judgedConfig.escapes.length > 0);
331
331
  const progress = {
@@ -368,19 +368,19 @@ function resolveDirPath(dir, basename) {
368
368
  return dir === "." ? basename : `${dir}/${basename}`;
369
369
  }
370
370
  function skipUnlessBaseEsYearKnown() {
371
- return readBaseEsYear() === void 0 ? NO_BASE_ES_YEAR : false;
371
+ return readBaseEsYear() === void 0 && NO_BASE_ES_YEAR;
372
372
  }
373
373
  function skipUnlessNodeFloorComparable() {
374
374
  const verdict = judgeNodeFloor();
375
- return verdict.kind === "skip" ? verdict.reason : false;
375
+ return verdict.kind === "skip" && verdict.reason;
376
376
  }
377
377
  function skipUnlessSomeTsconfigIsAccountable() {
378
378
  const classified = classifyAdoptions();
379
379
  if (classified.length === 0) return "no workspace tsconfig was found";
380
- return classified.some((adoption) => adoption.kind !== "external-base") ? false : "every workspace tsconfig extends a base belonging to another package";
380
+ return classified.every((adoption) => adoption.kind === "external-base") && "every workspace tsconfig extends a base belonging to another package";
381
381
  }
382
382
  function skipUnlessSomeTsconfigWasFound() {
383
- return findTsconfigs().length === 0 ? "no workspace tsconfig was found" : false;
383
+ return findTsconfigs().length === 0 && "no workspace tsconfig was found";
384
384
  }
385
385
  export {
386
386
  default_default as default
@@ -2,6 +2,28 @@
2
2
  "version": 1,
3
3
  "kits": [
4
4
  {
5
+ "checklistChecks": [
6
+ {
7
+ "checklist": "adoption",
8
+ "checks": [
9
+ "Every workspace tsconfig extends @williamthorsen/tsconfig",
10
+ "No tsconfig re-declares an option that the base already supplies"
11
+ ]
12
+ },
13
+ {
14
+ "checklist": "alignment",
15
+ "checks": [
16
+ "No tsconfig declares an ES year other than the one @williamthorsen/tsconfig sets",
17
+ "The declared Node floor supports the base's ES year"
18
+ ]
19
+ },
20
+ {
21
+ "checklist": "hygiene",
22
+ "checks": [
23
+ "No tsconfig's include, exclude, or files names a path outside its own directory"
24
+ ]
25
+ }
26
+ ],
5
27
  "checklists": [
6
28
  "adoption",
7
29
  "alignment",
@@ -11,7 +33,7 @@
11
33
  "esbuildVersion": "0.28.2",
12
34
  "inputs": [
13
35
  {
14
- "hash": "d1952ca5",
36
+ "hash": "76ef7a7e",
15
37
  "kind": "module",
16
38
  "path": "kits/default.ts"
17
39
  },
@@ -21,17 +43,17 @@
21
43
  "path": "../src/readiness/base-chain.ts"
22
44
  },
23
45
  {
24
- "hash": "4f053be6",
46
+ "hash": "f8442965",
25
47
  "kind": "module",
26
48
  "path": "../src/readiness/classifyChain.ts"
27
49
  },
28
50
  {
29
- "hash": "4861e1ce",
51
+ "hash": "a640083e",
30
52
  "kind": "module",
31
53
  "path": "../src/readiness/es-year.ts"
32
54
  },
33
55
  {
34
- "hash": "7e81b592",
56
+ "hash": "cba222cb",
35
57
  "kind": "module",
36
58
  "path": "../src/readiness/findEscapingPaths.ts"
37
59
  },
@@ -46,17 +68,17 @@
46
68
  "path": "../src/readiness/listSearchDirs.ts"
47
69
  },
48
70
  {
49
- "hash": "ecb17b24",
71
+ "hash": "82ff91b4",
50
72
  "kind": "module",
51
73
  "path": "../src/readiness/node-floor.ts"
52
74
  }
53
75
  ],
54
76
  "name": "default",
55
77
  "path": "kits/default.js",
56
- "readyupVersion": "0.38.0",
78
+ "readyupVersion": "0.41.1",
57
79
  "source": "kits/default.ts",
58
- "sourceHash": "d1952ca5",
59
- "targetHash": "db184a57"
80
+ "sourceHash": "76ef7a7e",
81
+ "targetHash": "c3b50bc8"
60
82
  }
61
83
  ]
62
84
  }
package/CHANGELOG.md ADDED
@@ -0,0 +1,168 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## 0.11.1 — 2026-10-17
6
+
7
+ ### ♻️ Refactoring
8
+
9
+ - Returns the single value directly from `flatMap` callbacks in the readiness predicates and kits of `@williamthorsen/tsconfig` and `@williamthorsen/eslint-config-typescript`, rather than wrapping it in a one-element array. (#273)
10
+
11
+ ## 0.11.0 — 2026-10-16
12
+
13
+ ### 🎉 Features
14
+
15
+ - Ships `CHANGELOG.md` and the machine-readable `.meta/changelog.json` in the tarball of each published package, so that consumers receive the release history with the package. (#267)
16
+
17
+ ### ♻️ Refactoring
18
+
19
+ - Rewrites the code reported by unicorn 76's new and widened rules in both readyup kits, `classifyChain`, and the `memoized-functions-returned-by-hook` and `no-undefined-with-number` rules, without changing what any of them returns. (#262)
20
+
21
+ ### 📚 Documentation
22
+
23
+ - Updates the readyup kit instructions in the `@williamthorsen/eslint-config-typescript` and `@williamthorsen/tsconfig` READMEs to the readyup 0.40 form, which lists the kit under `sources` as an `npm:` entry and runs it with `rdy run --sources`. (#265)
24
+
25
+ ## 0.10.0 — 2026-09-29
26
+
27
+ ### 🎉 Features
28
+
29
+ - Rewords the messages that the package's ReadyUp kit reports: The redundant-option check is now named "No tsconfig re-declares an option that the base already supplies", and the fix hints for the redundant-option, ES-year, Node-floor, and escaping-path checks are reworded. (#250)
30
+
31
+ ### 📚 Documentation
32
+
33
+ - Revises the comments under `packages/tsconfig/` to follow the comment-discipline rules, adding the missing comment on `target` in `tsconfig.base.json` and removing test comments that restate the description of the function under test. (#236)
34
+ - Revises the `@williamthorsen/tsconfig` README, code comments, and test titles to follow the plain-speech and writing conventions. (#250)
35
+
36
+ ## 0.9.0 — 2026-09-08
37
+
38
+ ### 🎉 Features
39
+
40
+ - 🚨 **Breaking:** Stop exempting vitest from n/no-extraneous-import (#219)
41
+
42
+ - Removes the `allowModules: ['vitest']` option from `n/no-extraneous-import`, so the rule now reports `vitest` in any workspace whose own `package.json` does not declare it.
43
+
44
+ Migration: Declare `vitest` in the `devDependencies` of every workspace that imports it; in a pnpm workspace, a catalog entry (`"vitest": "catalog:"`) declares it without repeating the version. To keep the old behavior instead, set `'n/no-extraneous-import': ['error', { allowModules: ['vitest'] }]` in the consuming config's own `rules` block.
45
+
46
+ ### 📚 Documentation
47
+
48
+ - Remove second person from package documentation (#216)
49
+
50
+ - Removes the second-person pronouns from READMEs, migration guides, and the config template.
51
+
52
+ ## 0.8.0 — 2026-09-06
53
+
54
+ ### 🎉 Features
55
+
56
+ - 🚨 **Breaking:** Require a relative specifier to name its TypeScript source (#209)
57
+
58
+ - Adds an `import-x/resolver` default to `@williamthorsen/eslint-config-typescript`. The default sets `extensionAlias` and is scoped to TypeScript files, so `import-x/no-cycle` reports a cycle among specifiers ending in `.js` and a JavaScript source still resolves `./b.js` to `b.js`.
59
+ - Raises the `typescript` peer range to `>=5.7`, the first version in which a project emitting with `tsc` can write the required spelling.
60
+ - Sets `rewriteRelativeImportExtensions` in `@williamthorsen/tsconfig`'s base, so that a build that clears `noEmit` compiles a TypeScript-extension import.
61
+
62
+ Migration: Upgrade `typescript` to 5.7 or later, rewrite each relative specifier naming a TypeScript file to end in that file's own extension (`./b.ts`, not `./b.js`), and in the tsconfig owning those sources set `allowImportingTsExtensions` alongside `noEmit` or `emitDeclarationOnly`, or set `rewriteRelativeImportExtensions`. Do the rewrite by hand or with a codemod, and do not apply the editor suggestion that `import-x/extensions` offers: it appends the resolved extension rather than replacing the written one, turning `./b.js` into `./b.js.ts`. `docs/migrating-to-v15.md` walks through each step.
63
+
64
+ ## 0.7.0 — 2026-08-30
65
+
66
+ ### 🎉 Features
67
+
68
+ - Report an include, exclude, or files path outside a tsconfig's directory (#197)
69
+
70
+ Adds a `hygiene` checklist to the `@williamthorsen/tsconfig` readiness kit, reporting at `warn` a workspace tsconfig whose effective `include`, `exclude`, or `files` names a path outside the directory holding it, whether that config declared the field itself or inherited it from a base.
71
+
72
+ ## 0.6.1 — 2026-08-27
73
+
74
+ ### 🐛 Bug fixes
75
+
76
+ - Restore the repo root to both readiness kits' search directories (#187)
77
+
78
+ 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.
79
+
80
+ ## 0.6.0 — 2026-08-26
81
+
82
+ ### 🎉 Features
83
+
84
+ - 🚨 **Breaking:** Declare readyup as an optional peer of both kit-shipping packages (#179)
85
+
86
+ Declares `readyup` as an optional peer dependency of `@williamthorsen/tsconfig` and `@williamthorsen/eslint-config-typescript`, with a `>=0.33.0` floor. Both packages ship readiness kits that run against the consumer's own readyup, and below 0.33.0 that readyup omits the repo root from a monorepo's workspace list, so the kits check every member package and leave the root unchecked.
87
+
88
+ Both kits now take readyup's workspace list directly, dropping the root literal each carried to compensate for the older behavior.
89
+
90
+ Migration: A consumer running `rdy` against either kit upgrades `readyup` to 0.33.0 or later.
91
+
92
+ ### ♻️ Refactoring
93
+
94
+ - Align function names with naming conventions (#181)
95
+
96
+ Renames functions in the `tsconfig`, `eslint-config-typescript`, and `strict-lint` workspaces to align with naming conventions.
97
+
98
+ ## 0.5.0 — 2026-08-11
99
+
100
+ ### 🎉 Features
101
+
102
+ - 🚨 **Breaking:** Require author, engines, and publish metadata in package.json (#162)
103
+
104
+ Adds six `package-json` rules to `@williamthorsen/eslint-config-typescript` and removes three overrides that suppressed rules the plugin's `recommended` preset supplies. Every `package.json` must now declare `author` and `engines` and carry no empty field; one that publishes must also declare `bugs`, `homepage`, `keywords`, `repository`, and `sideEffects`, and may not take a dependency on a local path. `specify-peers-locally` is the only rule the config still disables.
105
+
106
+ ### 🐛 Bug fixes
107
+
108
+ - Accept a source-path import in the kit's extends check (#155)
109
+
110
+ Fixes an issue where the readiness check bundled with `@williamthorsen/eslint-config-typescript` reported that this repo's root ESLint config did not extend the package. The kit now accepts that an import via the workspace path is equivalent.
111
+
112
+ ### 🤖 Agentic support
113
+
114
+ - Update AGENTS.md (#161)
115
+
116
+ Updates project guidance in AGENTS.md. In particular, most information about the `nmr` task runner has been removed in deference to the guidance bundled with `nmr` itself. `nmr check` is now promoted as the usual check in place of the much slower, and usually unnecessary, `nmr ci`.
117
+
118
+ ## 0.4.0 — 2026-08-09
119
+
120
+ ### 🎉 Features
121
+
122
+ - Add a bundled readyup kit that checks tsconfig adoption and alignment (#152)
123
+
124
+ Adds a readiness check to `@williamthorsen/tsconfig` that reports, package by package, whether a repo has adopted the base config and stayed aligned with it. A package that extends a framework's own base is reported as having opted out. The Node floor is the only finding that fails the check; the rest is advisory. The check is run with `pnpm exec rdy run --from npm:@williamthorsen/tsconfig`.
125
+
126
+ ## 0.3.0 — 2026-08-07
127
+
128
+ ### 🎉 Features
129
+
130
+ - Support explicit resource management for consumers (#148)
131
+
132
+ Adds `ESNext.Disposable` to the libraries recognized by TypeScript in the exported base config. This enables the use of `using` and `await using` declarations.
133
+
134
+ ## 0.2.1 — 2026-08-04
135
+
136
+ ### ⚙️ Tooling
137
+
138
+ - Migrate the test suite to nmr's isolation tiers (#137)
139
+
140
+ Changes Vitest configuration so that test suites are selected by a tier ("unit", "tool", "localhost", and "remote") corresponding to the services they use. `nmr test:unit` and `nmr test:tool` each run one of these; `nmr test:all` runs every suite. A test verifies that all test file names include the tier infix. `nmr test:integration` no longer exists, and no tests carry the `.int.` infix.
141
+
142
+ ## 0.2.0 — 2026-08-02
143
+
144
+ ### 🎉 Features
145
+
146
+ - Add defineConfig for authoring strict-lint configs (#133)
147
+
148
+ Adds a `defineConfig` helper function for authoring the `strict-lint` config file.
149
+
150
+ ## 0.1.1 — 2026-08-01
151
+
152
+ ### 🐛 Bug fixes
153
+
154
+ - Inline @tsconfig/strictest instead of extending it (#129)
155
+
156
+ Fixes an issue where, under pnpm, tools that resolve tsconfig files without following symlinks failed to find `@tsconfig/strictest`, breaking lint runs and builds in projects that declare only `@williamthorsen/tsconfig`. Consuming projects no longer need to add `@tsconfig/strictest` to their own `package.json` as a workaround.
157
+
158
+ ## 0.1.0 — 2026-07-23
159
+
160
+ ### 🎉 Features
161
+
162
+ - 🚨 **Breaking:** Publish a shared TypeScript config on a Node 24 floor (#108)
163
+
164
+ Introduces `@williamthorsen/tsconfig`, a published baseline that Node-only TypeScript projects can extend. It pairs the strictest available TypeScript settings with additional Node and build options. A consumer is left to declare its own ambient types, path aliases, JSX, and file globs.
165
+
166
+ `@williamthorsen/eslint-config-typescript` now requires Node 24 or later.
167
+
168
+ <!-- Generated by release-kit. Do not edit this file. Use .meta/changelog-overrides.json to override entries. -->
package/README.md CHANGED
@@ -1,14 +1,10 @@
1
+ <!-- readme-type: config -->
2
+
1
3
  # @williamthorsen/tsconfig
2
4
 
3
5
  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 that it leaves out, so a consuming repo declares only what is genuinely its own.
4
6
 
5
- <!-- section:release-notes -->
6
- ## Release notes — v0.10.0 (2026-09-29)
7
-
8
- ### 🎉 Features
9
-
10
- - Rewords the messages that the package's ReadyUp kit reports: The redundant-option check is now named "No tsconfig re-declares an option that the base already supplies", and the fix hints for the redundant-option, ES-year, Node-floor, and escaping-path checks are reworded. (#250)
11
- <!-- /section:release-notes -->
7
+ <!-- section:release-notes --><!-- /section:release-notes -->
12
8
 
13
9
  ## Installation
14
10
 
@@ -86,13 +82,13 @@ Run it once:
86
82
  pnpm exec rdy run --from npm:@williamthorsen/tsconfig
87
83
  ```
88
84
 
89
- Or list it in `.config/readyup.config.ts` to include it in every `rdy run --packages`:
85
+ Or list it in `.config/readyup.config.ts` to include it in every `rdy run --sources`:
90
86
 
91
87
  ```ts
92
88
  import { defineRdyConfig } from 'readyup';
93
89
 
94
90
  export default defineRdyConfig({
95
- packages: ['@williamthorsen/tsconfig'],
91
+ sources: ['npm:@williamthorsen/tsconfig'],
96
92
  });
97
93
  ```
98
94
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@williamthorsen/tsconfig",
3
- "version": "0.10.0",
3
+ "version": "0.11.1",
4
4
  "description": "Shared TypeScript base config for Node-only projects",
5
5
  "keywords": [
6
6
  "tsconfig",
@@ -24,14 +24,16 @@
24
24
  "./tsconfig.base.json": "./tsconfig.base.json"
25
25
  },
26
26
  "files": [
27
+ ".meta/changelog.json",
27
28
  ".readyup/kits/*.js",
28
29
  ".readyup/manifest.json",
30
+ "CHANGELOG.md",
29
31
  "tsconfig.base.json"
30
32
  ],
31
33
  "devDependencies": {
32
34
  "@tsconfig/strictest": "2.0.8",
33
35
  "esbuild": "0.28.2",
34
- "readyup": "0.38.0",
36
+ "readyup": "0.41.1",
35
37
  "vitest": "4.1.11"
36
38
  },
37
39
  "peerDependencies": {