@williamthorsen/tsconfig 0.4.0 → 0.5.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/.readyup/kits/default.js +1 -1
- package/.readyup/manifest.json +2 -2
- package/README.md +9 -3
- package/package.json +3 -2
- package/tsconfig.base.json +1 -1
package/.readyup/kits/default.js
CHANGED
package/.readyup/manifest.json
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"description": "Adoption and alignment checks for a project consuming @williamthorsen/tsconfig",
|
|
10
10
|
"name": "default",
|
|
11
11
|
"path": "kits/default.js",
|
|
12
|
-
"readyupVersion": "0.
|
|
12
|
+
"readyupVersion": "0.27.0",
|
|
13
13
|
"source": "kits/default.ts",
|
|
14
14
|
"sourceHash": "4d0a555c",
|
|
15
|
-
"targetHash": "
|
|
15
|
+
"targetHash": "c478ceff"
|
|
16
16
|
}
|
|
17
17
|
]
|
|
18
18
|
}
|
package/README.md
CHANGED
|
@@ -3,13 +3,19 @@
|
|
|
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
|
+
## Release notes — v0.5.0 (2026-08-11)
|
|
7
7
|
|
|
8
8
|
### 🎉 Features
|
|
9
9
|
|
|
10
|
-
-
|
|
10
|
+
- 🚨 **Breaking:** Require author, engines, and publish metadata in package.json (#162)
|
|
11
11
|
|
|
12
|
-
Adds
|
|
12
|
+
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.
|
|
13
|
+
|
|
14
|
+
### 🐛 Bug fixes
|
|
15
|
+
|
|
16
|
+
- Accept a source-path import in the kit's extends check (#155)
|
|
17
|
+
|
|
18
|
+
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.
|
|
13
19
|
<!-- /section:release-notes -->
|
|
14
20
|
|
|
15
21
|
## Installation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@williamthorsen/tsconfig",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Shared TypeScript base config for Node-only projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tsconfig",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"license": "ISC",
|
|
19
19
|
"author": "William Thorsen <william@thorsen.dev> (https://github.com/williamthorsen)",
|
|
20
|
+
"sideEffects": false,
|
|
20
21
|
"type": "module",
|
|
21
22
|
"exports": {
|
|
22
23
|
"./package.json": "./package.json",
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"@tsconfig/strictest": "2.0.8",
|
|
32
33
|
"esbuild": "0.28.1",
|
|
33
|
-
"readyup": "0.
|
|
34
|
+
"readyup": "0.27.0"
|
|
34
35
|
},
|
|
35
36
|
"engines": {
|
|
36
37
|
"node": ">=24"
|
package/tsconfig.base.json
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
// Without this, `lib` follows `target` into the `.full` variant, admitting DOM globals.
|
|
32
32
|
// `ESNext.Disposable` carries the explicit-resource-management declarations; no numbered lib has them.
|
|
33
33
|
"lib": ["ES2025", "ESNext.Disposable"],
|
|
34
|
-
// Default is `ES2022` with `Bundler` resolution
|
|
34
|
+
// Default is `ES2022` with `Bundler` resolution: wrong for published Node packages.
|
|
35
35
|
"module": "NodeNext",
|
|
36
36
|
// Files with no import or export would otherwise be scripts sharing global scope.
|
|
37
37
|
"moduleDetection": "force",
|