@kitschpatrol/shared-config 5.0.5 → 5.0.7
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/bin/cli.js +6563 -64
- package/package.json +12 -13
- package/readme.md +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/shared-config",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.7",
|
|
4
4
|
"description": "A collection of shared configurations, linters, and formatting tools for TypeScript projects. All managed as a single dependency, and invoked via a single CLI command.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shared-config",
|
|
@@ -41,24 +41,23 @@
|
|
|
41
41
|
"execa": "^9.5.2",
|
|
42
42
|
"find-workspaces": "^0.3.1",
|
|
43
43
|
"fs-extra": "^11.3.0",
|
|
44
|
-
"prettier": "^3.5.
|
|
45
|
-
"@kitschpatrol/cspell-config": "5.0.
|
|
46
|
-
"@kitschpatrol/eslint-config": "5.0.
|
|
47
|
-
"@kitschpatrol/
|
|
48
|
-
"@kitschpatrol/
|
|
49
|
-
"@kitschpatrol/prettier-config": "5.0.
|
|
50
|
-
"@kitschpatrol/
|
|
51
|
-
"@kitschpatrol/
|
|
52
|
-
"@kitschpatrol/
|
|
53
|
-
"@kitschpatrol/
|
|
44
|
+
"prettier": "^3.5.2",
|
|
45
|
+
"@kitschpatrol/cspell-config": "5.0.7",
|
|
46
|
+
"@kitschpatrol/eslint-config": "5.0.7",
|
|
47
|
+
"@kitschpatrol/knip-config": "5.0.7",
|
|
48
|
+
"@kitschpatrol/remark-config": "5.0.7",
|
|
49
|
+
"@kitschpatrol/prettier-config": "5.0.7",
|
|
50
|
+
"@kitschpatrol/typescript-config": "5.0.7",
|
|
51
|
+
"@kitschpatrol/mdat-config": "5.0.7",
|
|
52
|
+
"@kitschpatrol/repo-config": "5.0.7",
|
|
53
|
+
"@kitschpatrol/stylelint-config": "5.0.7"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"chalk": "^5.4.1",
|
|
57
57
|
"globby": "^14.1.0"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
|
-
"node": ">=
|
|
61
|
-
"pnpm": ">=10.0.0"
|
|
60
|
+
"node": ">=20.9.0"
|
|
62
61
|
},
|
|
63
62
|
"publishConfig": {
|
|
64
63
|
"access": "public"
|
package/readme.md
CHANGED
|
@@ -117,7 +117,7 @@ The top-level `kpi` command also takes care of some nuances in terms of _which_
|
|
|
117
117
|
|
|
118
118
|
### Dependencies
|
|
119
119
|
|
|
120
|
-
Node
|
|
120
|
+
[Node](https://nodejs.org) >=20.9.0 is required, and [pnpm](https://pnpm.io) >=10 is recommended. NPM and yarn might work as well, but I haven't tested them.
|
|
121
121
|
|
|
122
122
|
### Installation
|
|
123
123
|
|
|
@@ -129,7 +129,7 @@ Bootstrap a new project and open in VS Code:
|
|
|
129
129
|
git init && pnpm init && pnpm pkg set type="module" && pnpm dlx @kitschpatrol/repo-config init && pnpm add -D @kitschpatrol/shared-config && pnpm kpi init --location package && pnpm i && code .
|
|
130
130
|
```
|
|
131
131
|
|
|
132
|
-
The `--location package` flag will put as much configuration in your `package.json` as possible instead of in discrete files in your project root. This saves some clutter but can make it clunkier to extend or customize configurations. At any point, you can call `kpi init` with or without a `--location package` or `--location file` flag to reinitialize your configuration files in one place
|
|
132
|
+
The `--location package` flag will put as much configuration in your `package.json` as possible instead of in discrete files in your project root. This saves some clutter but can make it clunkier to extend or customize configurations. At any point, you can call `kpi init` with or without a `--location package` or `--location file` flag to reinitialize your configuration files in one place or the other.
|
|
133
133
|
|
|
134
134
|
#### Quick add to an existing project:
|
|
135
135
|
|
|
@@ -343,7 +343,7 @@ To tell git to ignore changes to the placeholders, run `pnpm run bin-ignore`.
|
|
|
343
343
|
|
|
344
344
|
For local development via `pnpm`, use `file:` dependency protocol instead of `link:`
|
|
345
345
|
|
|
346
|
-
Something to investigate: An [approach](https://github.com/antfu/eslint-config#vs-code-support-auto-fix) to ignoring style rules in VS Code, and possibly migrate all style handling to
|
|
346
|
+
Something to investigate: An [approach](https://github.com/antfu/eslint-config#vs-code-support-auto-fix) to ignoring style rules in VS Code, and possibly migrate all style handling to ESLint instead of Prettier.
|
|
347
347
|
|
|
348
348
|
## Background
|
|
349
349
|
|