@kitschpatrol/shared-config 5.0.2 → 5.0.4
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 +7 -2
- package/package.json +12 -11
- package/readme.md +10 -13
package/bin/cli.js
CHANGED
|
@@ -5541,7 +5541,7 @@ var Yargs = YargsFactory(esm_default);
|
|
|
5541
5541
|
var yargs_default = Yargs;
|
|
5542
5542
|
|
|
5543
5543
|
// ../../package.json
|
|
5544
|
-
var version = "5.0.
|
|
5544
|
+
var version = "5.0.4";
|
|
5545
5545
|
|
|
5546
5546
|
// ../../src/execa-utils.ts
|
|
5547
5547
|
function isErrorExecaError(error) {
|
|
@@ -6638,7 +6638,12 @@ var commandDefinition4 = {
|
|
|
6638
6638
|
init: {
|
|
6639
6639
|
configFile: "mdat.config.ts",
|
|
6640
6640
|
configPackageJson: {
|
|
6641
|
-
|
|
6641
|
+
// Gnarly but it works...
|
|
6642
|
+
// https://github.com/cosmiconfig/cosmiconfig#imports
|
|
6643
|
+
// A plain `@kitschpatrol/mdat-config` unfortunately does not resolve the export
|
|
6644
|
+
mdat: {
|
|
6645
|
+
$import: "node_modules/@kitschpatrol/mdat-config/dist/index.js"
|
|
6646
|
+
}
|
|
6642
6647
|
},
|
|
6643
6648
|
locationOptionFlag: true
|
|
6644
6649
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/shared-config",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"description": "A collection of shared configurations for various linters and formatting tools. All managed as a single dependency, and invoked via a single command.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shared-config",
|
|
@@ -15,10 +15,11 @@
|
|
|
15
15
|
"cli",
|
|
16
16
|
"kpi"
|
|
17
17
|
],
|
|
18
|
+
"homepage": "https://github.com/kitschpatrol/shared-config",
|
|
18
19
|
"bugs": "https://github.com/kitschpatrol/shared-config/issues",
|
|
19
20
|
"repository": {
|
|
20
21
|
"type": "git",
|
|
21
|
-
"url": "git+https://github.com/kitschpatrol/shared-config
|
|
22
|
+
"url": "git+https://github.com/kitschpatrol/shared-config.git",
|
|
22
23
|
"directory": "packages/shared-config"
|
|
23
24
|
},
|
|
24
25
|
"license": "MIT",
|
|
@@ -41,15 +42,15 @@
|
|
|
41
42
|
"find-workspaces": "^0.3.1",
|
|
42
43
|
"fs-extra": "^11.3.0",
|
|
43
44
|
"prettier": "^3.4.2",
|
|
44
|
-
"@kitschpatrol/
|
|
45
|
-
"@kitschpatrol/knip-config": "5.0.
|
|
46
|
-
"@kitschpatrol/mdat-config": "5.0.
|
|
47
|
-
"@kitschpatrol/
|
|
48
|
-
"@kitschpatrol/
|
|
49
|
-
"@kitschpatrol/
|
|
50
|
-
"@kitschpatrol/
|
|
51
|
-
"@kitschpatrol/
|
|
52
|
-
"@kitschpatrol/typescript-config": "5.0.
|
|
45
|
+
"@kitschpatrol/eslint-config": "5.0.4",
|
|
46
|
+
"@kitschpatrol/knip-config": "5.0.4",
|
|
47
|
+
"@kitschpatrol/mdat-config": "5.0.4",
|
|
48
|
+
"@kitschpatrol/prettier-config": "5.0.4",
|
|
49
|
+
"@kitschpatrol/remark-config": "5.0.4",
|
|
50
|
+
"@kitschpatrol/stylelint-config": "5.0.4",
|
|
51
|
+
"@kitschpatrol/cspell-config": "5.0.4",
|
|
52
|
+
"@kitschpatrol/repo-config": "5.0.4",
|
|
53
|
+
"@kitschpatrol/typescript-config": "5.0.4"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
55
56
|
"chalk": "^5.4.1",
|
package/readme.md
CHANGED
|
@@ -67,19 +67,19 @@ This particular readme is for the [`@kitschpatrol/shared-config`](https://www.np
|
|
|
67
67
|
|
|
68
68
|
#### Primary package
|
|
69
69
|
|
|
70
|
-
- [`@kitschpatrol/shared-config`](/packages/shared-config/readme.md) (`kpi` command)
|
|
70
|
+
- [`@kitschpatrol/shared-config`](https://github.com/kitschpatrol/shared-config/blob/main/packages/shared-config/readme.md) (`kpi` command)
|
|
71
71
|
|
|
72
72
|
#### Sub-packages
|
|
73
73
|
|
|
74
|
-
- [`@kitschpatrol/cspell-config`](/packages/cspell-config/readme.md) (`kpi-cspell` command)
|
|
75
|
-
- [`@kitschpatrol/eslint-config`](/packages/eslint-config/readme.md) (`kpi-eslint` command)
|
|
76
|
-
- [`@kitschpatrol/knip-config`](/packages/knip-config/readme.md) (`kpi-knip` command)
|
|
77
|
-
- [`@kitschpatrol/mdat-config`](/packages/mdat-config/readme.md) (`kpi-mdat` command)
|
|
78
|
-
- [`@kitschpatrol/prettier-config`](/packages/prettier-config/readme.md) (`kpi-prettier` command)
|
|
79
|
-
- [`@kitschpatrol/remark-config`](/packages/remark-config/readme.md) (`kpi-remark` command)
|
|
80
|
-
- [`@kitschpatrol/repo-config`](/packages/repo-config/readme.md) (`kpi-repo` command)
|
|
81
|
-
- [`@kitschpatrol/stylelint-config`](/packages/stylelint-config/readme.md) (`kpi-stylelint` command)
|
|
82
|
-
- [`@kitschpatrol/typescript-config`](/packages/typescript-config/readme.md) (`kpi-typescript` command)
|
|
74
|
+
- [`@kitschpatrol/cspell-config`](https://github.com/kitschpatrol/shared-config/blob/main/packages/cspell-config/readme.md) (`kpi-cspell` command)
|
|
75
|
+
- [`@kitschpatrol/eslint-config`](https://github.com/kitschpatrol/shared-config/blob/main/packages/eslint-config/readme.md) (`kpi-eslint` command)
|
|
76
|
+
- [`@kitschpatrol/knip-config`](https://github.com/kitschpatrol/shared-config/blob/main/packages/knip-config/readme.md) (`kpi-knip` command)
|
|
77
|
+
- [`@kitschpatrol/mdat-config`](https://github.com/kitschpatrol/shared-config/blob/main/packages/mdat-config/readme.md) (`kpi-mdat` command)
|
|
78
|
+
- [`@kitschpatrol/prettier-config`](https://github.com/kitschpatrol/shared-config/blob/main/packages/prettier-config/readme.md) (`kpi-prettier` command)
|
|
79
|
+
- [`@kitschpatrol/remark-config`](https://github.com/kitschpatrol/shared-config/blob/main/packages/remark-config/readme.md) (`kpi-remark` command)
|
|
80
|
+
- [`@kitschpatrol/repo-config`](https://github.com/kitschpatrol/shared-config/blob/main/packages/repo-config/readme.md) (`kpi-repo` command)
|
|
81
|
+
- [`@kitschpatrol/stylelint-config`](https://github.com/kitschpatrol/shared-config/blob/main/packages/stylelint-config/readme.md) (`kpi-stylelint` command)
|
|
82
|
+
- [`@kitschpatrol/typescript-config`](https://github.com/kitschpatrol/shared-config/blob/main/packages/typescript-config/readme.md) (`kpi-typescript` command)
|
|
83
83
|
|
|
84
84
|
> [!IMPORTANT]
|
|
85
85
|
>
|
|
@@ -176,9 +176,6 @@ pnpm dlx @kitschpatrol/repo-config init && pnpm i && pnpm add -D @kitschpatrol/s
|
|
|
176
176
|
}
|
|
177
177
|
```
|
|
178
178
|
|
|
179
|
-
> [!NOTE]
|
|
180
|
-
> Prettier formatting for Ruby requires some extra legwork to configure, see [`the @kitschpatrol/prettier-config` package readme](https://github.com/kitschpatrol/shared-config/blob/main/packages/prettier-config/readme.md) for more details.
|
|
181
|
-
|
|
182
179
|
5. Set up GitHub action credentials (if desired)
|
|
183
180
|
|
|
184
181
|
The GitHub actions included in @kitschpatrol/repo-config require permissions to create releases and update your repository metadata. You can add these through the GitHub website under the _Settings → Secrets and variables → Actions_ page under the key `PERSONAL_ACCESS_TOKEN`, or with the [GitHub CLI](https://cli.github.com/) and a credential manager like [1Password CLI](https://developer.1password.com/docs/cli/get-started/):
|