claudekit-cli 3.38.0-dev.9 → 3.39.0-dev.1
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 +9 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -43235,6 +43235,7 @@ function normalizeCommand(cmd) {
|
|
|
43235
43235
|
normalized = normalized.replace(/\$\{HOME\}/g, "$HOME");
|
|
43236
43236
|
normalized = normalized.replace(/%USERPROFILE%/g, "$HOME");
|
|
43237
43237
|
normalized = normalized.replace(/%CLAUDE_PROJECT_DIR%/g, "$HOME");
|
|
43238
|
+
normalized = normalized.replace(/(^|\s)(?:\.\/)?\.claude\//g, "$1$HOME/.claude/");
|
|
43238
43239
|
normalized = normalized.replace(/\\/g, "/");
|
|
43239
43240
|
normalized = normalized.replace(/\s+/g, " ").trim();
|
|
43240
43241
|
return normalized;
|
|
@@ -57244,7 +57245,7 @@ var package_default;
|
|
|
57244
57245
|
var init_package = __esm(() => {
|
|
57245
57246
|
package_default = {
|
|
57246
57247
|
name: "claudekit-cli",
|
|
57247
|
-
version: "3.
|
|
57248
|
+
version: "3.39.0-dev.1",
|
|
57248
57249
|
description: "CLI tool for bootstrapping and updating ClaudeKit projects",
|
|
57249
57250
|
type: "module",
|
|
57250
57251
|
repository: {
|
|
@@ -93085,6 +93086,11 @@ class SettingsProcessor {
|
|
|
93085
93086
|
fixSingleCommandPath(cmd) {
|
|
93086
93087
|
if (!cmd.includes(".claude/") && !cmd.includes(".claude\\"))
|
|
93087
93088
|
return cmd;
|
|
93089
|
+
const bareRelativeRe = /^(node\s+)(?:\.\/)?\.claude\//;
|
|
93090
|
+
if (bareRelativeRe.test(cmd)) {
|
|
93091
|
+
const prefix = this.isGlobal ? "$HOME" : "$CLAUDE_PROJECT_DIR";
|
|
93092
|
+
return cmd.replace(/^(node\s+)(?:\.\/)?(\.claude\/.+)$/, `$1"${prefix}/$2"`);
|
|
93093
|
+
}
|
|
93088
93094
|
const varOnlyQuotingRe = /^(node\s+)"(\$HOME|\$CLAUDE_PROJECT_DIR|%USERPROFILE%|%CLAUDE_PROJECT_DIR%)"[/\\](.+)$/;
|
|
93089
93095
|
const varOnlyMatch = cmd.match(varOnlyQuotingRe);
|
|
93090
93096
|
if (varOnlyMatch) {
|
|
@@ -97607,6 +97613,8 @@ function getHomeDirPrefix() {
|
|
|
97607
97613
|
var TRANSFORMABLE_EXTENSIONS3 = new Set([
|
|
97608
97614
|
".md",
|
|
97609
97615
|
".js",
|
|
97616
|
+
".cjs",
|
|
97617
|
+
".mjs",
|
|
97610
97618
|
".ts",
|
|
97611
97619
|
".json",
|
|
97612
97620
|
".sh",
|