@kitschpatrol/knip-config 5.0.4 → 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 +3 -3
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) {
|
|
@@ -5843,10 +5843,15 @@ async function executeCliCommand(logStream, positionalArguments, optionFlags, co
|
|
|
5843
5843
|
try {
|
|
5844
5844
|
const subprocess = execa(command2.name, resolvedArguments, {
|
|
5845
5845
|
cwd,
|
|
5846
|
-
env:
|
|
5846
|
+
env: {
|
|
5847
|
+
// Use colorful output unless NO_COLOR is set
|
|
5847
5848
|
// eslint-disable-next-line ts/naming-convention
|
|
5848
|
-
FORCE_COLOR: "true"
|
|
5849
|
-
|
|
5849
|
+
...process.env.NO_COLOR === void 0 ? { FORCE_COLOR: "true" } : {},
|
|
5850
|
+
// Quiet node for when processing *.config.ts files in Node 22
|
|
5851
|
+
// Suppress experimental type stripping warning with --no-warnings
|
|
5852
|
+
// eslint-disable-next-line ts/naming-convention
|
|
5853
|
+
NODE_OPTIONS: "--experimental-strip-types --disable-warning=ExperimentalWarning"
|
|
5854
|
+
},
|
|
5850
5855
|
preferLocal: true,
|
|
5851
5856
|
reject: false,
|
|
5852
5857
|
// Prevents throwing on non-zero exit code
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/knip-config",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.5",
|
|
4
4
|
"description": "Knip configuration for @kitschpatrol/shared-config.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shared-config",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"find-workspaces": "^0.3.1",
|
|
49
49
|
"fs-extra": "^11.3.0",
|
|
50
50
|
"knip": "^5.43.6",
|
|
51
|
-
"prettier": "^3.
|
|
51
|
+
"prettier": "^3.5.0"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
|
-
"node": ">=22.
|
|
54
|
+
"node": ">=22.13.1",
|
|
55
55
|
"pnpm": ">=10.0.0"
|
|
56
56
|
},
|
|
57
57
|
"publishConfig": {
|