@kitschpatrol/knip-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.
Files changed (3) hide show
  1. package/bin/cli.js +9 -4
  2. package/package.json +5 -4
  3. 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.3";
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: process.env.NO_COLOR === void 0 ? {
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",
3
+ "version": "5.0.5",
4
4
  "description": "Knip configuration for @kitschpatrol/shared-config.",
5
5
  "keywords": [
6
6
  "shared-config",
@@ -10,10 +10,11 @@
10
10
  "kpi",
11
11
  "kpi-knip"
12
12
  ],
13
+ "homepage": "https://github.com/kitschpatrol/shared-config/tree/main/packages/knip-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/cli.git",
17
+ "url": "git+https://github.com/kitschpatrol/shared-config.git",
17
18
  "directory": "packages/knip-config"
18
19
  },
19
20
  "license": "MIT",
@@ -47,10 +48,10 @@
47
48
  "find-workspaces": "^0.3.1",
48
49
  "fs-extra": "^11.3.0",
49
50
  "knip": "^5.43.6",
50
- "prettier": "^3.4.2"
51
+ "prettier": "^3.5.0"
51
52
  },
52
53
  "engines": {
53
- "node": ">=22.0.0",
54
+ "node": ">=22.13.1",
54
55
  "pnpm": ">=10.0.0"
55
56
  },
56
57
  "publishConfig": {
package/readme.md CHANGED
@@ -25,7 +25,7 @@ It's a shared [Knip](https://knip.dev) config, plus a command-line tool `kpi-kni
25
25
 
26
26
  <!-- recommendation -->
27
27
 
28
- > [!Important]
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
  >