@kitschpatrol/knip-config 5.0.5 → 5.0.6
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 -9
- package/package.json +4 -4
package/bin/cli.js
CHANGED
|
@@ -5541,14 +5541,14 @@ 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.6";
|
|
5545
5545
|
|
|
5546
|
-
// ../../src/execa-
|
|
5546
|
+
// ../../src/execa-utilities.ts
|
|
5547
5547
|
function isErrorExecaError(error) {
|
|
5548
5548
|
return error instanceof Error && "exitCode" in error && typeof error.exitCode === "number";
|
|
5549
5549
|
}
|
|
5550
5550
|
|
|
5551
|
-
// ../../src/json-
|
|
5551
|
+
// ../../src/json-utilities.ts
|
|
5552
5552
|
import jsonColorizer from "@pinojs/json-colorizer";
|
|
5553
5553
|
|
|
5554
5554
|
// ../../node_modules/.pnpm/decircular@1.0.0/node_modules/decircular/index.js
|
|
@@ -5573,7 +5573,7 @@ function decircular(object) {
|
|
|
5573
5573
|
return internalDecircular(object);
|
|
5574
5574
|
}
|
|
5575
5575
|
|
|
5576
|
-
// ../../src/json-
|
|
5576
|
+
// ../../src/json-utilities.ts
|
|
5577
5577
|
var import_deepmerge = __toESM(require_cjs(), 1);
|
|
5578
5578
|
|
|
5579
5579
|
// ../../node_modules/.pnpm/json-stringify-pretty-compact@4.0.0/node_modules/json-stringify-pretty-compact/index.js
|
|
@@ -5655,7 +5655,7 @@ ${currentIndent}`
|
|
|
5655
5655
|
}(passedObj, "", 0);
|
|
5656
5656
|
}
|
|
5657
5657
|
|
|
5658
|
-
// ../../src/json-
|
|
5658
|
+
// ../../src/json-utilities.ts
|
|
5659
5659
|
function stringify2(object) {
|
|
5660
5660
|
return jsonColorizer(
|
|
5661
5661
|
stringify(decircular(object), {
|
|
@@ -5692,7 +5692,7 @@ function merge(destination, source, options = { arrayMerge: combineMerge }) {
|
|
|
5692
5692
|
return (0, import_deepmerge.default)(destination, source, options);
|
|
5693
5693
|
}
|
|
5694
5694
|
|
|
5695
|
-
// ../../src/path-
|
|
5695
|
+
// ../../src/path-utilities.ts
|
|
5696
5696
|
import { findWorkspaces, findWorkspacesRoot } from "find-workspaces";
|
|
5697
5697
|
import fse from "fs-extra";
|
|
5698
5698
|
import path2 from "node:path";
|
|
@@ -5729,7 +5729,7 @@ function getCwdOverride(option) {
|
|
|
5729
5729
|
return process.cwd();
|
|
5730
5730
|
}
|
|
5731
5731
|
|
|
5732
|
-
// ../../src/prettier-
|
|
5732
|
+
// ../../src/prettier-utilities.ts
|
|
5733
5733
|
import fs2 from "node:fs/promises";
|
|
5734
5734
|
async function formatTextAndSaveFile(filePath, content) {
|
|
5735
5735
|
try {
|
|
@@ -5752,7 +5752,7 @@ async function formatFileInPlace(filePath) {
|
|
|
5752
5752
|
}
|
|
5753
5753
|
}
|
|
5754
5754
|
|
|
5755
|
-
// ../../src/stream-
|
|
5755
|
+
// ../../src/stream-utilities.ts
|
|
5756
5756
|
import { Transform } from "node:stream";
|
|
5757
5757
|
function createStreamTransform(logPrefix, logColor) {
|
|
5758
5758
|
return new Transform({
|
|
@@ -5780,7 +5780,7 @@ async function streamToString(stream) {
|
|
|
5780
5780
|
});
|
|
5781
5781
|
}
|
|
5782
5782
|
|
|
5783
|
-
// ../../src/string-
|
|
5783
|
+
// ../../src/string-utilities.ts
|
|
5784
5784
|
function pluralize(text, quantity) {
|
|
5785
5785
|
return quantity === 1 ? text : text + "s";
|
|
5786
5786
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/knip-config",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.6",
|
|
4
4
|
"description": "Knip configuration for @kitschpatrol/shared-config.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shared-config",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@pinojs/json-colorizer": "^4.0.0",
|
|
45
45
|
"cosmiconfig": "^9.0.0",
|
|
46
|
-
"deepmerge-ts": "^7.1.
|
|
46
|
+
"deepmerge-ts": "^7.1.5",
|
|
47
47
|
"execa": "^9.5.2",
|
|
48
48
|
"find-workspaces": "^0.3.1",
|
|
49
49
|
"fs-extra": "^11.3.0",
|
|
50
|
-
"knip": "^5.
|
|
51
|
-
"prettier": "^3.5.
|
|
50
|
+
"knip": "^5.45.0",
|
|
51
|
+
"prettier": "^3.5.2"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=22.13.1",
|