@polka-codes/cli 0.7.6 → 0.7.9
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/dist/index.js +5 -11
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -14506,7 +14506,7 @@ var require_yoctocolors_cjs = __commonJS((exports, module2) => {
|
|
|
14506
14506
|
module2.exports = colors;
|
|
14507
14507
|
});
|
|
14508
14508
|
|
|
14509
|
-
// ../../node_modules/cli-width/index.js
|
|
14509
|
+
// ../../node_modules/@inquirer/core/node_modules/cli-width/index.js
|
|
14510
14510
|
var require_cli_width = __commonJS((exports, module2) => {
|
|
14511
14511
|
module2.exports = cliWidth;
|
|
14512
14512
|
function normalizeOpts(options) {
|
|
@@ -24629,7 +24629,7 @@ var {
|
|
|
24629
24629
|
Help
|
|
24630
24630
|
} = import__.default;
|
|
24631
24631
|
// package.json
|
|
24632
|
-
var version = "0.7.
|
|
24632
|
+
var version = "0.7.9";
|
|
24633
24633
|
|
|
24634
24634
|
// ../../node_modules/@anthropic-ai/sdk/version.mjs
|
|
24635
24635
|
var VERSION = "0.39.0";
|
|
@@ -37463,7 +37463,7 @@ async function searchFiles(path2, regex, filePattern, cwd, excludeFiles) {
|
|
|
37463
37463
|
}
|
|
37464
37464
|
if (excludeFiles) {
|
|
37465
37465
|
for (const pattern of excludeFiles) {
|
|
37466
|
-
args2.push("--
|
|
37466
|
+
args2.push("--glob", `!${pattern}`);
|
|
37467
37467
|
}
|
|
37468
37468
|
}
|
|
37469
37469
|
args2.push(regex, path2);
|
|
@@ -37478,12 +37478,6 @@ async function searchFiles(path2, regex, filePattern, cwd, excludeFiles) {
|
|
|
37478
37478
|
`).filter(Boolean);
|
|
37479
37479
|
results.push(...lines2);
|
|
37480
37480
|
});
|
|
37481
|
-
rg.stderr.on("data", (data) => {
|
|
37482
|
-
const err2 = data.toString();
|
|
37483
|
-
if (!err2.startsWith("WARNING:")) {
|
|
37484
|
-
console.warn(err2);
|
|
37485
|
-
}
|
|
37486
|
-
});
|
|
37487
37481
|
rg.on("error", (error) => {
|
|
37488
37482
|
reject(new Error(`Failed to execute ripgrep: ${error.message}`));
|
|
37489
37483
|
});
|
|
@@ -46676,7 +46670,7 @@ var cli_cursor_default = cliCursor;
|
|
|
46676
46670
|
// ../../node_modules/ora/index.js
|
|
46677
46671
|
var import_cli_spinners = __toESM(require_cli_spinners(), 1);
|
|
46678
46672
|
|
|
46679
|
-
// ../../node_modules/log-symbols/node_modules/is-unicode-supported/index.js
|
|
46673
|
+
// ../../node_modules/ora/node_modules/log-symbols/node_modules/is-unicode-supported/index.js
|
|
46680
46674
|
import process7 from "node:process";
|
|
46681
46675
|
function isUnicodeSupported2() {
|
|
46682
46676
|
if (process7.platform !== "win32") {
|
|
@@ -46685,7 +46679,7 @@ function isUnicodeSupported2() {
|
|
|
46685
46679
|
return Boolean(process7.env.CI) || Boolean(process7.env.WT_SESSION) || Boolean(process7.env.TERMINUS_SUBLIME) || process7.env.ConEmuTask === "{cmd::Cmder}" || process7.env.TERM_PROGRAM === "Terminus-Sublime" || process7.env.TERM_PROGRAM === "vscode" || process7.env.TERM === "xterm-256color" || process7.env.TERM === "alacritty" || process7.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
46686
46680
|
}
|
|
46687
46681
|
|
|
46688
|
-
// ../../node_modules/log-symbols/index.js
|
|
46682
|
+
// ../../node_modules/ora/node_modules/log-symbols/index.js
|
|
46689
46683
|
var main = {
|
|
46690
46684
|
info: source_default.blue("ℹ"),
|
|
46691
46685
|
success: source_default.green("✔"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polka-codes/cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.9",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"author": "github@polka.codes",
|
|
6
6
|
"type": "module",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@inquirer/prompts": "^7.2.3",
|
|
21
|
-
"@polka-codes/core": "0.7.
|
|
21
|
+
"@polka-codes/core": "0.7.7",
|
|
22
22
|
"@vscode/ripgrep": "^1.15.10",
|
|
23
23
|
"chalk": "^5.4.1",
|
|
24
24
|
"commander": "^13.0.0",
|