@kitschpatrol/prettier-config 5.0.3 → 5.0.5
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 +9 -4
- package/package.json +5 -4
- package/readme.md +1 -1
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.5";
|
|
5545
5545
|
|
|
5546
5546
|
// ../../src/execa-utils.ts
|
|
5547
5547
|
function isErrorExecaError(error) {
|
|
@@ -5847,10 +5847,15 @@ async function executeCliCommand(logStream, positionalArguments, optionFlags, co
|
|
|
5847
5847
|
try {
|
|
5848
5848
|
const subprocess = execa(command2.name, resolvedArguments, {
|
|
5849
5849
|
cwd,
|
|
5850
|
-
env:
|
|
5850
|
+
env: {
|
|
5851
|
+
// Use colorful output unless NO_COLOR is set
|
|
5851
5852
|
// eslint-disable-next-line ts/naming-convention
|
|
5852
|
-
FORCE_COLOR: "true"
|
|
5853
|
-
|
|
5853
|
+
...process.env.NO_COLOR === void 0 ? { FORCE_COLOR: "true" } : {},
|
|
5854
|
+
// Quiet node for when processing *.config.ts files in Node 22
|
|
5855
|
+
// Suppress experimental type stripping warning with --no-warnings
|
|
5856
|
+
// eslint-disable-next-line ts/naming-convention
|
|
5857
|
+
NODE_OPTIONS: "--experimental-strip-types --disable-warning=ExperimentalWarning"
|
|
5858
|
+
},
|
|
5854
5859
|
preferLocal: true,
|
|
5855
5860
|
reject: false,
|
|
5856
5861
|
// Prevents throwing on non-zero exit code
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/prettier-config",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.5",
|
|
4
4
|
"description": "Prettier configuration for @kitschpatrol/shared-config.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shared-config",
|
|
@@ -10,10 +10,11 @@
|
|
|
10
10
|
"kpi",
|
|
11
11
|
"kpi-prettier"
|
|
12
12
|
],
|
|
13
|
+
"homepage": "https://github.com/kitschpatrol/shared-config/tree/main/packages/prettier-config",
|
|
13
14
|
"bugs": "https://github.com/kitschpatrol/shared-config/issues",
|
|
14
15
|
"repository": {
|
|
15
16
|
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/kitschpatrol/shared-config
|
|
17
|
+
"url": "git+https://github.com/kitschpatrol/shared-config.git",
|
|
17
18
|
"directory": "packages/prettier-config"
|
|
18
19
|
},
|
|
19
20
|
"license": "MIT",
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"execa": "^9.5.2",
|
|
50
51
|
"find-workspaces": "^0.3.1",
|
|
51
52
|
"fs-extra": "^11.3.0",
|
|
52
|
-
"prettier": "^3.
|
|
53
|
+
"prettier": "^3.5.0",
|
|
53
54
|
"prettier-plugin-astro": "^0.14.1",
|
|
54
55
|
"prettier-plugin-packagejson": "^2.5.8",
|
|
55
56
|
"prettier-plugin-sh": "^0.14.0",
|
|
@@ -60,7 +61,7 @@
|
|
|
60
61
|
"sort-package-json": "^2.14.0"
|
|
61
62
|
},
|
|
62
63
|
"engines": {
|
|
63
|
-
"node": ">=22.
|
|
64
|
+
"node": ">=22.13.1",
|
|
64
65
|
"pnpm": ">=10.0.0"
|
|
65
66
|
},
|
|
66
67
|
"publishConfig": {
|
package/readme.md
CHANGED
|
@@ -25,7 +25,7 @@ It's a shared [Prettier](https://prettier.io) config, plus a command-line tool `
|
|
|
25
25
|
|
|
26
26
|
<!-- recommendation -->
|
|
27
27
|
|
|
28
|
-
> [!
|
|
28
|
+
> [!IMPORTANT]
|
|
29
29
|
>
|
|
30
30
|
> **You can use this package on its own, but it's recommended to use [`@kitschpatrol/shared-config`](https://www.npmjs.com/package/@kitschpatrol/shared-config) instead for a single-dependency and single-package approach to linting and fixing your project.**
|
|
31
31
|
>
|