@yamada-ui/cli 1.1.0 → 1.1.1-dev-20240813005013
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/command/index.js +3 -3
- package/dist/command/theme/index.js +3 -3
- package/dist/command/tokens/create-theme-typings.js +2 -2
- package/dist/command/tokens/index.js +2 -2
- package/dist/index.js +154 -113
- package/dist/utils/cli.js +153 -112
- package/dist/utils/fs.js +1 -1
- package/dist/utils/index.js +153 -112
- package/package.json +2 -2
package/dist/command/index.js
CHANGED
|
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
));
|
|
31
31
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
32
32
|
|
|
33
|
-
// ../../node_modules/.pnpm/tsup@8.2.
|
|
33
|
+
// ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.10_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js
|
|
34
34
|
var init_cjs_shims = __esm({
|
|
35
|
-
"../../node_modules/.pnpm/tsup@8.2.
|
|
35
|
+
"../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.10_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js"() {
|
|
36
36
|
"use strict";
|
|
37
37
|
}
|
|
38
38
|
});
|
|
@@ -868,7 +868,7 @@ var isWriteable = async (directory) => {
|
|
|
868
868
|
try {
|
|
869
869
|
await import_fs.default.promises.access(directory, (import_fs.default.constants || import_fs.default).W_OK);
|
|
870
870
|
return true;
|
|
871
|
-
} catch
|
|
871
|
+
} catch {
|
|
872
872
|
return false;
|
|
873
873
|
}
|
|
874
874
|
};
|
|
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
));
|
|
31
31
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
32
32
|
|
|
33
|
-
// ../../node_modules/.pnpm/tsup@8.2.
|
|
33
|
+
// ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.10_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js
|
|
34
34
|
var init_cjs_shims = __esm({
|
|
35
|
-
"../../node_modules/.pnpm/tsup@8.2.
|
|
35
|
+
"../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.10_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js"() {
|
|
36
36
|
"use strict";
|
|
37
37
|
}
|
|
38
38
|
});
|
|
@@ -577,7 +577,7 @@ var isWriteable = async (directory) => {
|
|
|
577
577
|
try {
|
|
578
578
|
await import_fs.default.promises.access(directory, (import_fs.default.constants || import_fs.default).W_OK);
|
|
579
579
|
return true;
|
|
580
|
-
} catch
|
|
580
|
+
} catch {
|
|
581
581
|
return false;
|
|
582
582
|
}
|
|
583
583
|
};
|
|
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
));
|
|
31
31
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
32
32
|
|
|
33
|
-
// ../../node_modules/.pnpm/tsup@8.2.
|
|
33
|
+
// ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.10_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js
|
|
34
34
|
var init_cjs_shims = __esm({
|
|
35
|
-
"../../node_modules/.pnpm/tsup@8.2.
|
|
35
|
+
"../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.10_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js"() {
|
|
36
36
|
"use strict";
|
|
37
37
|
}
|
|
38
38
|
});
|
|
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
));
|
|
31
31
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
32
32
|
|
|
33
|
-
// ../../node_modules/.pnpm/tsup@8.2.
|
|
33
|
+
// ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.10_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js
|
|
34
34
|
var init_cjs_shims = __esm({
|
|
35
|
-
"../../node_modules/.pnpm/tsup@8.2.
|
|
35
|
+
"../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.10_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js"() {
|
|
36
36
|
"use strict";
|
|
37
37
|
}
|
|
38
38
|
});
|
package/dist/index.js
CHANGED
|
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@8.2.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.10_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@8.2.
|
|
39
|
+
"../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.10_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
"use strict";
|
|
41
41
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
42
42
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -4604,9 +4604,9 @@ var require_config_chain = __commonJS({
|
|
|
4604
4604
|
}
|
|
4605
4605
|
});
|
|
4606
4606
|
|
|
4607
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4607
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js
|
|
4608
4608
|
var require_envKeyToSetting = __commonJS({
|
|
4609
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4609
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js"(exports2, module2) {
|
|
4610
4610
|
"use strict";
|
|
4611
4611
|
init_cjs_shims();
|
|
4612
4612
|
module2.exports = function(x) {
|
|
@@ -4680,14 +4680,20 @@ var require_dist2 = __commonJS({
|
|
|
4680
4680
|
}
|
|
4681
4681
|
});
|
|
4682
4682
|
|
|
4683
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4683
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/util.js
|
|
4684
4684
|
var require_util = __commonJS({
|
|
4685
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4685
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/util.js"(exports2) {
|
|
4686
4686
|
"use strict";
|
|
4687
4687
|
init_cjs_shims();
|
|
4688
4688
|
var fs6 = require("fs");
|
|
4689
4689
|
var path14 = require("path");
|
|
4690
4690
|
var { envReplace } = require_dist2();
|
|
4691
|
+
var parseKey = (key) => {
|
|
4692
|
+
if (typeof key !== "string") {
|
|
4693
|
+
return key;
|
|
4694
|
+
}
|
|
4695
|
+
return envReplace(key, process.env);
|
|
4696
|
+
};
|
|
4691
4697
|
var parseField = (types, field, key) => {
|
|
4692
4698
|
if (typeof field !== "string") {
|
|
4693
4699
|
return field;
|
|
@@ -4775,12 +4781,13 @@ var require_util = __commonJS({
|
|
|
4775
4781
|
exports2.envReplace = envReplace;
|
|
4776
4782
|
exports2.findPrefix = findPrefix;
|
|
4777
4783
|
exports2.parseField = parseField;
|
|
4784
|
+
exports2.parseKey = parseKey;
|
|
4778
4785
|
}
|
|
4779
4786
|
});
|
|
4780
4787
|
|
|
4781
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4788
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/types.js
|
|
4782
4789
|
var require_types = __commonJS({
|
|
4783
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4790
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/types.js"(exports2) {
|
|
4784
4791
|
"use strict";
|
|
4785
4792
|
init_cjs_shims();
|
|
4786
4793
|
var path14 = require("path");
|
|
@@ -4918,9 +4925,9 @@ var require_types = __commonJS({
|
|
|
4918
4925
|
}
|
|
4919
4926
|
});
|
|
4920
4927
|
|
|
4921
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4928
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/conf.js
|
|
4922
4929
|
var require_conf = __commonJS({
|
|
4923
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4930
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/conf.js"(exports2, module2) {
|
|
4924
4931
|
"use strict";
|
|
4925
4932
|
init_cjs_shims();
|
|
4926
4933
|
var { readCAFileSync } = require_dist();
|
|
@@ -4939,8 +4946,12 @@ var require_conf = __commonJS({
|
|
|
4939
4946
|
// https://github.com/npm/cli/blob/latest/lib/config/core.js#L326-L338
|
|
4940
4947
|
add(data, marker) {
|
|
4941
4948
|
try {
|
|
4942
|
-
for (const
|
|
4943
|
-
|
|
4949
|
+
for (const [key, value] of Object.entries(data)) {
|
|
4950
|
+
const substKey = util.parseKey(key);
|
|
4951
|
+
if (substKey !== key) {
|
|
4952
|
+
delete data[key];
|
|
4953
|
+
}
|
|
4954
|
+
data[substKey] = this._parseField(value, substKey);
|
|
4944
4955
|
}
|
|
4945
4956
|
} catch (error) {
|
|
4946
4957
|
throw error;
|
|
@@ -4960,7 +4971,7 @@ var require_conf = __commonJS({
|
|
|
4960
4971
|
} catch (error) {
|
|
4961
4972
|
if (error.code === "ENOENT") {
|
|
4962
4973
|
this.add({}, marker);
|
|
4963
|
-
} else {
|
|
4974
|
+
} else if (error.code !== "EISDIR") {
|
|
4964
4975
|
return `Issue while reading "${file}". ${error.message}`;
|
|
4965
4976
|
}
|
|
4966
4977
|
}
|
|
@@ -4973,7 +4984,9 @@ var require_conf = __commonJS({
|
|
|
4973
4984
|
if (!env4[x]) {
|
|
4974
4985
|
return;
|
|
4975
4986
|
}
|
|
4976
|
-
|
|
4987
|
+
const key = envKeyToSetting(x.substr(11));
|
|
4988
|
+
const rawVal = env4[x];
|
|
4989
|
+
conf[key] = deserializeEnvVal(key, rawVal);
|
|
4977
4990
|
});
|
|
4978
4991
|
return super.addEnv("", conf, "env");
|
|
4979
4992
|
}
|
|
@@ -5054,13 +5067,28 @@ var require_conf = __commonJS({
|
|
|
5054
5067
|
}
|
|
5055
5068
|
}
|
|
5056
5069
|
};
|
|
5070
|
+
function deserializeEnvVal(envKey, envValue) {
|
|
5071
|
+
function deserializeList(envValue2) {
|
|
5072
|
+
const npmConfigSep = "\n\n";
|
|
5073
|
+
if (envValue2.indexOf(npmConfigSep)) {
|
|
5074
|
+
return envValue2.split(npmConfigSep);
|
|
5075
|
+
}
|
|
5076
|
+
return envValue2.split(",");
|
|
5077
|
+
}
|
|
5078
|
+
switch (envKey) {
|
|
5079
|
+
case "hoist-pattern":
|
|
5080
|
+
case "public-hoist-pattern":
|
|
5081
|
+
return deserializeList(envValue);
|
|
5082
|
+
}
|
|
5083
|
+
return envValue;
|
|
5084
|
+
}
|
|
5057
5085
|
module2.exports = Conf;
|
|
5058
5086
|
}
|
|
5059
5087
|
});
|
|
5060
5088
|
|
|
5061
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
5089
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/defaults.js
|
|
5062
5090
|
var require_defaults = __commonJS({
|
|
5063
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
5091
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/defaults.js"(exports2) {
|
|
5064
5092
|
"use strict";
|
|
5065
5093
|
init_cjs_shims();
|
|
5066
5094
|
var os6 = require("os");
|
|
@@ -5227,9 +5255,9 @@ var require_defaults = __commonJS({
|
|
|
5227
5255
|
}
|
|
5228
5256
|
});
|
|
5229
5257
|
|
|
5230
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
5258
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/index.js
|
|
5231
5259
|
var require_npm_conf = __commonJS({
|
|
5232
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
5260
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/index.js"(exports2, module2) {
|
|
5233
5261
|
"use strict";
|
|
5234
5262
|
init_cjs_shims();
|
|
5235
5263
|
var path14 = require("path");
|
|
@@ -5617,6 +5645,105 @@ var require_ini2 = __commonJS({
|
|
|
5617
5645
|
}
|
|
5618
5646
|
});
|
|
5619
5647
|
|
|
5648
|
+
// ../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json
|
|
5649
|
+
var require_boxes = __commonJS({
|
|
5650
|
+
"../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json"(exports2, module2) {
|
|
5651
|
+
module2.exports = {
|
|
5652
|
+
single: {
|
|
5653
|
+
topLeft: "\u250C",
|
|
5654
|
+
top: "\u2500",
|
|
5655
|
+
topRight: "\u2510",
|
|
5656
|
+
right: "\u2502",
|
|
5657
|
+
bottomRight: "\u2518",
|
|
5658
|
+
bottom: "\u2500",
|
|
5659
|
+
bottomLeft: "\u2514",
|
|
5660
|
+
left: "\u2502"
|
|
5661
|
+
},
|
|
5662
|
+
double: {
|
|
5663
|
+
topLeft: "\u2554",
|
|
5664
|
+
top: "\u2550",
|
|
5665
|
+
topRight: "\u2557",
|
|
5666
|
+
right: "\u2551",
|
|
5667
|
+
bottomRight: "\u255D",
|
|
5668
|
+
bottom: "\u2550",
|
|
5669
|
+
bottomLeft: "\u255A",
|
|
5670
|
+
left: "\u2551"
|
|
5671
|
+
},
|
|
5672
|
+
round: {
|
|
5673
|
+
topLeft: "\u256D",
|
|
5674
|
+
top: "\u2500",
|
|
5675
|
+
topRight: "\u256E",
|
|
5676
|
+
right: "\u2502",
|
|
5677
|
+
bottomRight: "\u256F",
|
|
5678
|
+
bottom: "\u2500",
|
|
5679
|
+
bottomLeft: "\u2570",
|
|
5680
|
+
left: "\u2502"
|
|
5681
|
+
},
|
|
5682
|
+
bold: {
|
|
5683
|
+
topLeft: "\u250F",
|
|
5684
|
+
top: "\u2501",
|
|
5685
|
+
topRight: "\u2513",
|
|
5686
|
+
right: "\u2503",
|
|
5687
|
+
bottomRight: "\u251B",
|
|
5688
|
+
bottom: "\u2501",
|
|
5689
|
+
bottomLeft: "\u2517",
|
|
5690
|
+
left: "\u2503"
|
|
5691
|
+
},
|
|
5692
|
+
singleDouble: {
|
|
5693
|
+
topLeft: "\u2553",
|
|
5694
|
+
top: "\u2500",
|
|
5695
|
+
topRight: "\u2556",
|
|
5696
|
+
right: "\u2551",
|
|
5697
|
+
bottomRight: "\u255C",
|
|
5698
|
+
bottom: "\u2500",
|
|
5699
|
+
bottomLeft: "\u2559",
|
|
5700
|
+
left: "\u2551"
|
|
5701
|
+
},
|
|
5702
|
+
doubleSingle: {
|
|
5703
|
+
topLeft: "\u2552",
|
|
5704
|
+
top: "\u2550",
|
|
5705
|
+
topRight: "\u2555",
|
|
5706
|
+
right: "\u2502",
|
|
5707
|
+
bottomRight: "\u255B",
|
|
5708
|
+
bottom: "\u2550",
|
|
5709
|
+
bottomLeft: "\u2558",
|
|
5710
|
+
left: "\u2502"
|
|
5711
|
+
},
|
|
5712
|
+
classic: {
|
|
5713
|
+
topLeft: "+",
|
|
5714
|
+
top: "-",
|
|
5715
|
+
topRight: "+",
|
|
5716
|
+
right: "|",
|
|
5717
|
+
bottomRight: "+",
|
|
5718
|
+
bottom: "-",
|
|
5719
|
+
bottomLeft: "+",
|
|
5720
|
+
left: "|"
|
|
5721
|
+
},
|
|
5722
|
+
arrow: {
|
|
5723
|
+
topLeft: "\u2198",
|
|
5724
|
+
top: "\u2193",
|
|
5725
|
+
topRight: "\u2199",
|
|
5726
|
+
right: "\u2190",
|
|
5727
|
+
bottomRight: "\u2196",
|
|
5728
|
+
bottom: "\u2191",
|
|
5729
|
+
bottomLeft: "\u2197",
|
|
5730
|
+
left: "\u2192"
|
|
5731
|
+
}
|
|
5732
|
+
};
|
|
5733
|
+
}
|
|
5734
|
+
});
|
|
5735
|
+
|
|
5736
|
+
// ../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/index.js
|
|
5737
|
+
var require_cli_boxes = __commonJS({
|
|
5738
|
+
"../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/index.js"(exports2, module2) {
|
|
5739
|
+
"use strict";
|
|
5740
|
+
init_cjs_shims();
|
|
5741
|
+
var cliBoxes2 = require_boxes();
|
|
5742
|
+
module2.exports = cliBoxes2;
|
|
5743
|
+
module2.exports.default = cliBoxes2;
|
|
5744
|
+
}
|
|
5745
|
+
});
|
|
5746
|
+
|
|
5620
5747
|
// ../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js
|
|
5621
5748
|
var require_ansi_regex = __commonJS({
|
|
5622
5749
|
"../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js"(exports2, module2) {
|
|
@@ -7845,7 +7972,7 @@ var isInstalledGlobally = (() => {
|
|
|
7845
7972
|
})();
|
|
7846
7973
|
var is_installed_globally_default = isInstalledGlobally;
|
|
7847
7974
|
|
|
7848
|
-
// ../../node_modules/.pnpm/boxen@8.0.
|
|
7975
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
7849
7976
|
init_cjs_shims();
|
|
7850
7977
|
var import_node_process8 = __toESM(require("process"), 1);
|
|
7851
7978
|
|
|
@@ -7967,95 +8094,8 @@ function widestLine(string) {
|
|
|
7967
8094
|
return lineWidth;
|
|
7968
8095
|
}
|
|
7969
8096
|
|
|
7970
|
-
// ../../node_modules/.pnpm/
|
|
7971
|
-
|
|
7972
|
-
|
|
7973
|
-
// ../../node_modules/.pnpm/cli-boxes@4.0.0/node_modules/cli-boxes/boxes.json
|
|
7974
|
-
var boxes_default = {
|
|
7975
|
-
single: {
|
|
7976
|
-
topLeft: "\u250C",
|
|
7977
|
-
top: "\u2500",
|
|
7978
|
-
topRight: "\u2510",
|
|
7979
|
-
right: "\u2502",
|
|
7980
|
-
bottomRight: "\u2518",
|
|
7981
|
-
bottom: "\u2500",
|
|
7982
|
-
bottomLeft: "\u2514",
|
|
7983
|
-
left: "\u2502"
|
|
7984
|
-
},
|
|
7985
|
-
double: {
|
|
7986
|
-
topLeft: "\u2554",
|
|
7987
|
-
top: "\u2550",
|
|
7988
|
-
topRight: "\u2557",
|
|
7989
|
-
right: "\u2551",
|
|
7990
|
-
bottomRight: "\u255D",
|
|
7991
|
-
bottom: "\u2550",
|
|
7992
|
-
bottomLeft: "\u255A",
|
|
7993
|
-
left: "\u2551"
|
|
7994
|
-
},
|
|
7995
|
-
round: {
|
|
7996
|
-
topLeft: "\u256D",
|
|
7997
|
-
top: "\u2500",
|
|
7998
|
-
topRight: "\u256E",
|
|
7999
|
-
right: "\u2502",
|
|
8000
|
-
bottomRight: "\u256F",
|
|
8001
|
-
bottom: "\u2500",
|
|
8002
|
-
bottomLeft: "\u2570",
|
|
8003
|
-
left: "\u2502"
|
|
8004
|
-
},
|
|
8005
|
-
bold: {
|
|
8006
|
-
topLeft: "\u250F",
|
|
8007
|
-
top: "\u2501",
|
|
8008
|
-
topRight: "\u2513",
|
|
8009
|
-
right: "\u2503",
|
|
8010
|
-
bottomRight: "\u251B",
|
|
8011
|
-
bottom: "\u2501",
|
|
8012
|
-
bottomLeft: "\u2517",
|
|
8013
|
-
left: "\u2503"
|
|
8014
|
-
},
|
|
8015
|
-
singleDouble: {
|
|
8016
|
-
topLeft: "\u2553",
|
|
8017
|
-
top: "\u2500",
|
|
8018
|
-
topRight: "\u2556",
|
|
8019
|
-
right: "\u2551",
|
|
8020
|
-
bottomRight: "\u255C",
|
|
8021
|
-
bottom: "\u2500",
|
|
8022
|
-
bottomLeft: "\u2559",
|
|
8023
|
-
left: "\u2551"
|
|
8024
|
-
},
|
|
8025
|
-
doubleSingle: {
|
|
8026
|
-
topLeft: "\u2552",
|
|
8027
|
-
top: "\u2550",
|
|
8028
|
-
topRight: "\u2555",
|
|
8029
|
-
right: "\u2502",
|
|
8030
|
-
bottomRight: "\u255B",
|
|
8031
|
-
bottom: "\u2550",
|
|
8032
|
-
bottomLeft: "\u2558",
|
|
8033
|
-
left: "\u2502"
|
|
8034
|
-
},
|
|
8035
|
-
classic: {
|
|
8036
|
-
topLeft: "+",
|
|
8037
|
-
top: "-",
|
|
8038
|
-
topRight: "+",
|
|
8039
|
-
right: "|",
|
|
8040
|
-
bottomRight: "+",
|
|
8041
|
-
bottom: "-",
|
|
8042
|
-
bottomLeft: "+",
|
|
8043
|
-
left: "|"
|
|
8044
|
-
},
|
|
8045
|
-
arrow: {
|
|
8046
|
-
topLeft: "\u2198",
|
|
8047
|
-
top: "\u2193",
|
|
8048
|
-
topRight: "\u2199",
|
|
8049
|
-
right: "\u2190",
|
|
8050
|
-
bottomRight: "\u2196",
|
|
8051
|
-
bottom: "\u2191",
|
|
8052
|
-
bottomLeft: "\u2197",
|
|
8053
|
-
left: "\u2192"
|
|
8054
|
-
}
|
|
8055
|
-
};
|
|
8056
|
-
|
|
8057
|
-
// ../../node_modules/.pnpm/cli-boxes@4.0.0/node_modules/cli-boxes/index.js
|
|
8058
|
-
var cli_boxes_default = boxes_default;
|
|
8097
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
8098
|
+
var import_cli_boxes = __toESM(require_cli_boxes(), 1);
|
|
8059
8099
|
|
|
8060
8100
|
// ../../node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.js
|
|
8061
8101
|
init_cjs_shims();
|
|
@@ -8140,7 +8180,7 @@ function camelCase(input, options) {
|
|
|
8140
8180
|
return postProcess(input, toUpperCase);
|
|
8141
8181
|
}
|
|
8142
8182
|
|
|
8143
|
-
// ../../node_modules/.pnpm/boxen@8.0.
|
|
8183
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
8144
8184
|
var import_ansi_align = __toESM(require_ansi_align(), 1);
|
|
8145
8185
|
|
|
8146
8186
|
// ../../node_modules/.pnpm/wrap-ansi@9.0.0/node_modules/wrap-ansi/index.js
|
|
@@ -8488,7 +8528,8 @@ function wrapAnsi(string, columns, options) {
|
|
|
8488
8528
|
return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
|
|
8489
8529
|
}
|
|
8490
8530
|
|
|
8491
|
-
// ../../node_modules/.pnpm/boxen@8.0.
|
|
8531
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
8532
|
+
var import_cli_boxes2 = __toESM(require_cli_boxes(), 1);
|
|
8492
8533
|
var NEWLINE = "\n";
|
|
8493
8534
|
var PAD = " ";
|
|
8494
8535
|
var NONE = "none";
|
|
@@ -8537,7 +8578,7 @@ var getBorderChars = (borderStyle) => {
|
|
|
8537
8578
|
}
|
|
8538
8579
|
}
|
|
8539
8580
|
if (typeof borderStyle === "string") {
|
|
8540
|
-
characters =
|
|
8581
|
+
characters = import_cli_boxes.default[borderStyle];
|
|
8541
8582
|
if (!characters) {
|
|
8542
8583
|
throw new TypeError(`Invalid border style: ${borderStyle}`);
|
|
8543
8584
|
}
|
|
@@ -9005,7 +9046,7 @@ var package_default = {
|
|
|
9005
9046
|
"@types/cli-welcome": "^2.2.2",
|
|
9006
9047
|
"@types/update-notifier": "6.0.8",
|
|
9007
9048
|
chalk: "^5.3.0",
|
|
9008
|
-
"update-notifier": "^7.
|
|
9049
|
+
"update-notifier": "^7.2.0"
|
|
9009
9050
|
}
|
|
9010
9051
|
};
|
|
9011
9052
|
|
|
@@ -9338,7 +9379,7 @@ var isWriteable = async (directory) => {
|
|
|
9338
9379
|
try {
|
|
9339
9380
|
await import_fs.default.promises.access(directory, (import_fs.default.constants || import_fs.default).W_OK);
|
|
9340
9381
|
return true;
|
|
9341
|
-
} catch
|
|
9382
|
+
} catch {
|
|
9342
9383
|
return false;
|
|
9343
9384
|
}
|
|
9344
9385
|
};
|
package/dist/utils/cli.js
CHANGED
|
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@8.2.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.10_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@8.2.
|
|
39
|
+
"../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.10_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
"use strict";
|
|
41
41
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
42
42
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -4604,9 +4604,9 @@ var require_config_chain = __commonJS({
|
|
|
4604
4604
|
}
|
|
4605
4605
|
});
|
|
4606
4606
|
|
|
4607
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4607
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js
|
|
4608
4608
|
var require_envKeyToSetting = __commonJS({
|
|
4609
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4609
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js"(exports2, module2) {
|
|
4610
4610
|
"use strict";
|
|
4611
4611
|
init_cjs_shims();
|
|
4612
4612
|
module2.exports = function(x) {
|
|
@@ -4680,14 +4680,20 @@ var require_dist2 = __commonJS({
|
|
|
4680
4680
|
}
|
|
4681
4681
|
});
|
|
4682
4682
|
|
|
4683
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4683
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/util.js
|
|
4684
4684
|
var require_util = __commonJS({
|
|
4685
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4685
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/util.js"(exports2) {
|
|
4686
4686
|
"use strict";
|
|
4687
4687
|
init_cjs_shims();
|
|
4688
4688
|
var fs5 = require("fs");
|
|
4689
4689
|
var path9 = require("path");
|
|
4690
4690
|
var { envReplace } = require_dist2();
|
|
4691
|
+
var parseKey = (key) => {
|
|
4692
|
+
if (typeof key !== "string") {
|
|
4693
|
+
return key;
|
|
4694
|
+
}
|
|
4695
|
+
return envReplace(key, process.env);
|
|
4696
|
+
};
|
|
4691
4697
|
var parseField = (types, field, key) => {
|
|
4692
4698
|
if (typeof field !== "string") {
|
|
4693
4699
|
return field;
|
|
@@ -4775,12 +4781,13 @@ var require_util = __commonJS({
|
|
|
4775
4781
|
exports2.envReplace = envReplace;
|
|
4776
4782
|
exports2.findPrefix = findPrefix;
|
|
4777
4783
|
exports2.parseField = parseField;
|
|
4784
|
+
exports2.parseKey = parseKey;
|
|
4778
4785
|
}
|
|
4779
4786
|
});
|
|
4780
4787
|
|
|
4781
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4788
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/types.js
|
|
4782
4789
|
var require_types = __commonJS({
|
|
4783
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4790
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/types.js"(exports2) {
|
|
4784
4791
|
"use strict";
|
|
4785
4792
|
init_cjs_shims();
|
|
4786
4793
|
var path9 = require("path");
|
|
@@ -4918,9 +4925,9 @@ var require_types = __commonJS({
|
|
|
4918
4925
|
}
|
|
4919
4926
|
});
|
|
4920
4927
|
|
|
4921
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4928
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/conf.js
|
|
4922
4929
|
var require_conf = __commonJS({
|
|
4923
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4930
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/conf.js"(exports2, module2) {
|
|
4924
4931
|
"use strict";
|
|
4925
4932
|
init_cjs_shims();
|
|
4926
4933
|
var { readCAFileSync } = require_dist();
|
|
@@ -4939,8 +4946,12 @@ var require_conf = __commonJS({
|
|
|
4939
4946
|
// https://github.com/npm/cli/blob/latest/lib/config/core.js#L326-L338
|
|
4940
4947
|
add(data, marker) {
|
|
4941
4948
|
try {
|
|
4942
|
-
for (const
|
|
4943
|
-
|
|
4949
|
+
for (const [key, value] of Object.entries(data)) {
|
|
4950
|
+
const substKey = util.parseKey(key);
|
|
4951
|
+
if (substKey !== key) {
|
|
4952
|
+
delete data[key];
|
|
4953
|
+
}
|
|
4954
|
+
data[substKey] = this._parseField(value, substKey);
|
|
4944
4955
|
}
|
|
4945
4956
|
} catch (error) {
|
|
4946
4957
|
throw error;
|
|
@@ -4960,7 +4971,7 @@ var require_conf = __commonJS({
|
|
|
4960
4971
|
} catch (error) {
|
|
4961
4972
|
if (error.code === "ENOENT") {
|
|
4962
4973
|
this.add({}, marker);
|
|
4963
|
-
} else {
|
|
4974
|
+
} else if (error.code !== "EISDIR") {
|
|
4964
4975
|
return `Issue while reading "${file}". ${error.message}`;
|
|
4965
4976
|
}
|
|
4966
4977
|
}
|
|
@@ -4973,7 +4984,9 @@ var require_conf = __commonJS({
|
|
|
4973
4984
|
if (!env4[x]) {
|
|
4974
4985
|
return;
|
|
4975
4986
|
}
|
|
4976
|
-
|
|
4987
|
+
const key = envKeyToSetting(x.substr(11));
|
|
4988
|
+
const rawVal = env4[x];
|
|
4989
|
+
conf[key] = deserializeEnvVal(key, rawVal);
|
|
4977
4990
|
});
|
|
4978
4991
|
return super.addEnv("", conf, "env");
|
|
4979
4992
|
}
|
|
@@ -5054,13 +5067,28 @@ var require_conf = __commonJS({
|
|
|
5054
5067
|
}
|
|
5055
5068
|
}
|
|
5056
5069
|
};
|
|
5070
|
+
function deserializeEnvVal(envKey, envValue) {
|
|
5071
|
+
function deserializeList(envValue2) {
|
|
5072
|
+
const npmConfigSep = "\n\n";
|
|
5073
|
+
if (envValue2.indexOf(npmConfigSep)) {
|
|
5074
|
+
return envValue2.split(npmConfigSep);
|
|
5075
|
+
}
|
|
5076
|
+
return envValue2.split(",");
|
|
5077
|
+
}
|
|
5078
|
+
switch (envKey) {
|
|
5079
|
+
case "hoist-pattern":
|
|
5080
|
+
case "public-hoist-pattern":
|
|
5081
|
+
return deserializeList(envValue);
|
|
5082
|
+
}
|
|
5083
|
+
return envValue;
|
|
5084
|
+
}
|
|
5057
5085
|
module2.exports = Conf;
|
|
5058
5086
|
}
|
|
5059
5087
|
});
|
|
5060
5088
|
|
|
5061
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
5089
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/defaults.js
|
|
5062
5090
|
var require_defaults = __commonJS({
|
|
5063
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
5091
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/defaults.js"(exports2) {
|
|
5064
5092
|
"use strict";
|
|
5065
5093
|
init_cjs_shims();
|
|
5066
5094
|
var os6 = require("os");
|
|
@@ -5227,9 +5255,9 @@ var require_defaults = __commonJS({
|
|
|
5227
5255
|
}
|
|
5228
5256
|
});
|
|
5229
5257
|
|
|
5230
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
5258
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/index.js
|
|
5231
5259
|
var require_npm_conf = __commonJS({
|
|
5232
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
5260
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/index.js"(exports2, module2) {
|
|
5233
5261
|
"use strict";
|
|
5234
5262
|
init_cjs_shims();
|
|
5235
5263
|
var path9 = require("path");
|
|
@@ -5617,6 +5645,105 @@ var require_ini2 = __commonJS({
|
|
|
5617
5645
|
}
|
|
5618
5646
|
});
|
|
5619
5647
|
|
|
5648
|
+
// ../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json
|
|
5649
|
+
var require_boxes = __commonJS({
|
|
5650
|
+
"../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json"(exports2, module2) {
|
|
5651
|
+
module2.exports = {
|
|
5652
|
+
single: {
|
|
5653
|
+
topLeft: "\u250C",
|
|
5654
|
+
top: "\u2500",
|
|
5655
|
+
topRight: "\u2510",
|
|
5656
|
+
right: "\u2502",
|
|
5657
|
+
bottomRight: "\u2518",
|
|
5658
|
+
bottom: "\u2500",
|
|
5659
|
+
bottomLeft: "\u2514",
|
|
5660
|
+
left: "\u2502"
|
|
5661
|
+
},
|
|
5662
|
+
double: {
|
|
5663
|
+
topLeft: "\u2554",
|
|
5664
|
+
top: "\u2550",
|
|
5665
|
+
topRight: "\u2557",
|
|
5666
|
+
right: "\u2551",
|
|
5667
|
+
bottomRight: "\u255D",
|
|
5668
|
+
bottom: "\u2550",
|
|
5669
|
+
bottomLeft: "\u255A",
|
|
5670
|
+
left: "\u2551"
|
|
5671
|
+
},
|
|
5672
|
+
round: {
|
|
5673
|
+
topLeft: "\u256D",
|
|
5674
|
+
top: "\u2500",
|
|
5675
|
+
topRight: "\u256E",
|
|
5676
|
+
right: "\u2502",
|
|
5677
|
+
bottomRight: "\u256F",
|
|
5678
|
+
bottom: "\u2500",
|
|
5679
|
+
bottomLeft: "\u2570",
|
|
5680
|
+
left: "\u2502"
|
|
5681
|
+
},
|
|
5682
|
+
bold: {
|
|
5683
|
+
topLeft: "\u250F",
|
|
5684
|
+
top: "\u2501",
|
|
5685
|
+
topRight: "\u2513",
|
|
5686
|
+
right: "\u2503",
|
|
5687
|
+
bottomRight: "\u251B",
|
|
5688
|
+
bottom: "\u2501",
|
|
5689
|
+
bottomLeft: "\u2517",
|
|
5690
|
+
left: "\u2503"
|
|
5691
|
+
},
|
|
5692
|
+
singleDouble: {
|
|
5693
|
+
topLeft: "\u2553",
|
|
5694
|
+
top: "\u2500",
|
|
5695
|
+
topRight: "\u2556",
|
|
5696
|
+
right: "\u2551",
|
|
5697
|
+
bottomRight: "\u255C",
|
|
5698
|
+
bottom: "\u2500",
|
|
5699
|
+
bottomLeft: "\u2559",
|
|
5700
|
+
left: "\u2551"
|
|
5701
|
+
},
|
|
5702
|
+
doubleSingle: {
|
|
5703
|
+
topLeft: "\u2552",
|
|
5704
|
+
top: "\u2550",
|
|
5705
|
+
topRight: "\u2555",
|
|
5706
|
+
right: "\u2502",
|
|
5707
|
+
bottomRight: "\u255B",
|
|
5708
|
+
bottom: "\u2550",
|
|
5709
|
+
bottomLeft: "\u2558",
|
|
5710
|
+
left: "\u2502"
|
|
5711
|
+
},
|
|
5712
|
+
classic: {
|
|
5713
|
+
topLeft: "+",
|
|
5714
|
+
top: "-",
|
|
5715
|
+
topRight: "+",
|
|
5716
|
+
right: "|",
|
|
5717
|
+
bottomRight: "+",
|
|
5718
|
+
bottom: "-",
|
|
5719
|
+
bottomLeft: "+",
|
|
5720
|
+
left: "|"
|
|
5721
|
+
},
|
|
5722
|
+
arrow: {
|
|
5723
|
+
topLeft: "\u2198",
|
|
5724
|
+
top: "\u2193",
|
|
5725
|
+
topRight: "\u2199",
|
|
5726
|
+
right: "\u2190",
|
|
5727
|
+
bottomRight: "\u2196",
|
|
5728
|
+
bottom: "\u2191",
|
|
5729
|
+
bottomLeft: "\u2197",
|
|
5730
|
+
left: "\u2192"
|
|
5731
|
+
}
|
|
5732
|
+
};
|
|
5733
|
+
}
|
|
5734
|
+
});
|
|
5735
|
+
|
|
5736
|
+
// ../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/index.js
|
|
5737
|
+
var require_cli_boxes = __commonJS({
|
|
5738
|
+
"../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/index.js"(exports2, module2) {
|
|
5739
|
+
"use strict";
|
|
5740
|
+
init_cjs_shims();
|
|
5741
|
+
var cliBoxes2 = require_boxes();
|
|
5742
|
+
module2.exports = cliBoxes2;
|
|
5743
|
+
module2.exports.default = cliBoxes2;
|
|
5744
|
+
}
|
|
5745
|
+
});
|
|
5746
|
+
|
|
5620
5747
|
// ../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js
|
|
5621
5748
|
var require_ansi_regex = __commonJS({
|
|
5622
5749
|
"../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js"(exports2, module2) {
|
|
@@ -7819,7 +7946,7 @@ var isInstalledGlobally = (() => {
|
|
|
7819
7946
|
})();
|
|
7820
7947
|
var is_installed_globally_default = isInstalledGlobally;
|
|
7821
7948
|
|
|
7822
|
-
// ../../node_modules/.pnpm/boxen@8.0.
|
|
7949
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
7823
7950
|
init_cjs_shims();
|
|
7824
7951
|
var import_node_process8 = __toESM(require("process"), 1);
|
|
7825
7952
|
|
|
@@ -7941,95 +8068,8 @@ function widestLine(string) {
|
|
|
7941
8068
|
return lineWidth;
|
|
7942
8069
|
}
|
|
7943
8070
|
|
|
7944
|
-
// ../../node_modules/.pnpm/
|
|
7945
|
-
|
|
7946
|
-
|
|
7947
|
-
// ../../node_modules/.pnpm/cli-boxes@4.0.0/node_modules/cli-boxes/boxes.json
|
|
7948
|
-
var boxes_default = {
|
|
7949
|
-
single: {
|
|
7950
|
-
topLeft: "\u250C",
|
|
7951
|
-
top: "\u2500",
|
|
7952
|
-
topRight: "\u2510",
|
|
7953
|
-
right: "\u2502",
|
|
7954
|
-
bottomRight: "\u2518",
|
|
7955
|
-
bottom: "\u2500",
|
|
7956
|
-
bottomLeft: "\u2514",
|
|
7957
|
-
left: "\u2502"
|
|
7958
|
-
},
|
|
7959
|
-
double: {
|
|
7960
|
-
topLeft: "\u2554",
|
|
7961
|
-
top: "\u2550",
|
|
7962
|
-
topRight: "\u2557",
|
|
7963
|
-
right: "\u2551",
|
|
7964
|
-
bottomRight: "\u255D",
|
|
7965
|
-
bottom: "\u2550",
|
|
7966
|
-
bottomLeft: "\u255A",
|
|
7967
|
-
left: "\u2551"
|
|
7968
|
-
},
|
|
7969
|
-
round: {
|
|
7970
|
-
topLeft: "\u256D",
|
|
7971
|
-
top: "\u2500",
|
|
7972
|
-
topRight: "\u256E",
|
|
7973
|
-
right: "\u2502",
|
|
7974
|
-
bottomRight: "\u256F",
|
|
7975
|
-
bottom: "\u2500",
|
|
7976
|
-
bottomLeft: "\u2570",
|
|
7977
|
-
left: "\u2502"
|
|
7978
|
-
},
|
|
7979
|
-
bold: {
|
|
7980
|
-
topLeft: "\u250F",
|
|
7981
|
-
top: "\u2501",
|
|
7982
|
-
topRight: "\u2513",
|
|
7983
|
-
right: "\u2503",
|
|
7984
|
-
bottomRight: "\u251B",
|
|
7985
|
-
bottom: "\u2501",
|
|
7986
|
-
bottomLeft: "\u2517",
|
|
7987
|
-
left: "\u2503"
|
|
7988
|
-
},
|
|
7989
|
-
singleDouble: {
|
|
7990
|
-
topLeft: "\u2553",
|
|
7991
|
-
top: "\u2500",
|
|
7992
|
-
topRight: "\u2556",
|
|
7993
|
-
right: "\u2551",
|
|
7994
|
-
bottomRight: "\u255C",
|
|
7995
|
-
bottom: "\u2500",
|
|
7996
|
-
bottomLeft: "\u2559",
|
|
7997
|
-
left: "\u2551"
|
|
7998
|
-
},
|
|
7999
|
-
doubleSingle: {
|
|
8000
|
-
topLeft: "\u2552",
|
|
8001
|
-
top: "\u2550",
|
|
8002
|
-
topRight: "\u2555",
|
|
8003
|
-
right: "\u2502",
|
|
8004
|
-
bottomRight: "\u255B",
|
|
8005
|
-
bottom: "\u2550",
|
|
8006
|
-
bottomLeft: "\u2558",
|
|
8007
|
-
left: "\u2502"
|
|
8008
|
-
},
|
|
8009
|
-
classic: {
|
|
8010
|
-
topLeft: "+",
|
|
8011
|
-
top: "-",
|
|
8012
|
-
topRight: "+",
|
|
8013
|
-
right: "|",
|
|
8014
|
-
bottomRight: "+",
|
|
8015
|
-
bottom: "-",
|
|
8016
|
-
bottomLeft: "+",
|
|
8017
|
-
left: "|"
|
|
8018
|
-
},
|
|
8019
|
-
arrow: {
|
|
8020
|
-
topLeft: "\u2198",
|
|
8021
|
-
top: "\u2193",
|
|
8022
|
-
topRight: "\u2199",
|
|
8023
|
-
right: "\u2190",
|
|
8024
|
-
bottomRight: "\u2196",
|
|
8025
|
-
bottom: "\u2191",
|
|
8026
|
-
bottomLeft: "\u2197",
|
|
8027
|
-
left: "\u2192"
|
|
8028
|
-
}
|
|
8029
|
-
};
|
|
8030
|
-
|
|
8031
|
-
// ../../node_modules/.pnpm/cli-boxes@4.0.0/node_modules/cli-boxes/index.js
|
|
8032
|
-
var cli_boxes_default = boxes_default;
|
|
8071
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
8072
|
+
var import_cli_boxes = __toESM(require_cli_boxes(), 1);
|
|
8033
8073
|
|
|
8034
8074
|
// ../../node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.js
|
|
8035
8075
|
init_cjs_shims();
|
|
@@ -8114,7 +8154,7 @@ function camelCase(input, options) {
|
|
|
8114
8154
|
return postProcess(input, toUpperCase);
|
|
8115
8155
|
}
|
|
8116
8156
|
|
|
8117
|
-
// ../../node_modules/.pnpm/boxen@8.0.
|
|
8157
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
8118
8158
|
var import_ansi_align = __toESM(require_ansi_align(), 1);
|
|
8119
8159
|
|
|
8120
8160
|
// ../../node_modules/.pnpm/wrap-ansi@9.0.0/node_modules/wrap-ansi/index.js
|
|
@@ -8462,7 +8502,8 @@ function wrapAnsi(string, columns, options) {
|
|
|
8462
8502
|
return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
|
|
8463
8503
|
}
|
|
8464
8504
|
|
|
8465
|
-
// ../../node_modules/.pnpm/boxen@8.0.
|
|
8505
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
8506
|
+
var import_cli_boxes2 = __toESM(require_cli_boxes(), 1);
|
|
8466
8507
|
var NEWLINE = "\n";
|
|
8467
8508
|
var PAD = " ";
|
|
8468
8509
|
var NONE = "none";
|
|
@@ -8511,7 +8552,7 @@ var getBorderChars = (borderStyle) => {
|
|
|
8511
8552
|
}
|
|
8512
8553
|
}
|
|
8513
8554
|
if (typeof borderStyle === "string") {
|
|
8514
|
-
characters =
|
|
8555
|
+
characters = import_cli_boxes.default[borderStyle];
|
|
8515
8556
|
if (!characters) {
|
|
8516
8557
|
throw new TypeError(`Invalid border style: ${borderStyle}`);
|
|
8517
8558
|
}
|
|
@@ -8979,7 +9020,7 @@ var package_default = {
|
|
|
8979
9020
|
"@types/cli-welcome": "^2.2.2",
|
|
8980
9021
|
"@types/update-notifier": "6.0.8",
|
|
8981
9022
|
chalk: "^5.3.0",
|
|
8982
|
-
"update-notifier": "^7.
|
|
9023
|
+
"update-notifier": "^7.2.0"
|
|
8983
9024
|
}
|
|
8984
9025
|
};
|
|
8985
9026
|
|
package/dist/utils/fs.js
CHANGED
package/dist/utils/index.js
CHANGED
|
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@8.2.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.10_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@8.2.
|
|
39
|
+
"../../node_modules/.pnpm/tsup@8.2.4_@swc+core@1.7.10_@swc+helpers@0.5.5__jiti@1.21.6_postcss@8.4.41_tsx@4.17.0_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
"use strict";
|
|
41
41
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
42
42
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -4604,9 +4604,9 @@ var require_config_chain = __commonJS({
|
|
|
4604
4604
|
}
|
|
4605
4605
|
});
|
|
4606
4606
|
|
|
4607
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4607
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js
|
|
4608
4608
|
var require_envKeyToSetting = __commonJS({
|
|
4609
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4609
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js"(exports2, module2) {
|
|
4610
4610
|
"use strict";
|
|
4611
4611
|
init_cjs_shims();
|
|
4612
4612
|
module2.exports = function(x) {
|
|
@@ -4680,14 +4680,20 @@ var require_dist2 = __commonJS({
|
|
|
4680
4680
|
}
|
|
4681
4681
|
});
|
|
4682
4682
|
|
|
4683
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4683
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/util.js
|
|
4684
4684
|
var require_util = __commonJS({
|
|
4685
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4685
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/util.js"(exports2) {
|
|
4686
4686
|
"use strict";
|
|
4687
4687
|
init_cjs_shims();
|
|
4688
4688
|
var fs5 = require("fs");
|
|
4689
4689
|
var path10 = require("path");
|
|
4690
4690
|
var { envReplace } = require_dist2();
|
|
4691
|
+
var parseKey = (key) => {
|
|
4692
|
+
if (typeof key !== "string") {
|
|
4693
|
+
return key;
|
|
4694
|
+
}
|
|
4695
|
+
return envReplace(key, process.env);
|
|
4696
|
+
};
|
|
4691
4697
|
var parseField = (types, field, key) => {
|
|
4692
4698
|
if (typeof field !== "string") {
|
|
4693
4699
|
return field;
|
|
@@ -4775,12 +4781,13 @@ var require_util = __commonJS({
|
|
|
4775
4781
|
exports2.envReplace = envReplace;
|
|
4776
4782
|
exports2.findPrefix = findPrefix;
|
|
4777
4783
|
exports2.parseField = parseField;
|
|
4784
|
+
exports2.parseKey = parseKey;
|
|
4778
4785
|
}
|
|
4779
4786
|
});
|
|
4780
4787
|
|
|
4781
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4788
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/types.js
|
|
4782
4789
|
var require_types = __commonJS({
|
|
4783
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4790
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/types.js"(exports2) {
|
|
4784
4791
|
"use strict";
|
|
4785
4792
|
init_cjs_shims();
|
|
4786
4793
|
var path10 = require("path");
|
|
@@ -4918,9 +4925,9 @@ var require_types = __commonJS({
|
|
|
4918
4925
|
}
|
|
4919
4926
|
});
|
|
4920
4927
|
|
|
4921
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4928
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/conf.js
|
|
4922
4929
|
var require_conf = __commonJS({
|
|
4923
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
4930
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/conf.js"(exports2, module2) {
|
|
4924
4931
|
"use strict";
|
|
4925
4932
|
init_cjs_shims();
|
|
4926
4933
|
var { readCAFileSync } = require_dist();
|
|
@@ -4939,8 +4946,12 @@ var require_conf = __commonJS({
|
|
|
4939
4946
|
// https://github.com/npm/cli/blob/latest/lib/config/core.js#L326-L338
|
|
4940
4947
|
add(data, marker) {
|
|
4941
4948
|
try {
|
|
4942
|
-
for (const
|
|
4943
|
-
|
|
4949
|
+
for (const [key, value] of Object.entries(data)) {
|
|
4950
|
+
const substKey = util.parseKey(key);
|
|
4951
|
+
if (substKey !== key) {
|
|
4952
|
+
delete data[key];
|
|
4953
|
+
}
|
|
4954
|
+
data[substKey] = this._parseField(value, substKey);
|
|
4944
4955
|
}
|
|
4945
4956
|
} catch (error) {
|
|
4946
4957
|
throw error;
|
|
@@ -4960,7 +4971,7 @@ var require_conf = __commonJS({
|
|
|
4960
4971
|
} catch (error) {
|
|
4961
4972
|
if (error.code === "ENOENT") {
|
|
4962
4973
|
this.add({}, marker);
|
|
4963
|
-
} else {
|
|
4974
|
+
} else if (error.code !== "EISDIR") {
|
|
4964
4975
|
return `Issue while reading "${file}". ${error.message}`;
|
|
4965
4976
|
}
|
|
4966
4977
|
}
|
|
@@ -4973,7 +4984,9 @@ var require_conf = __commonJS({
|
|
|
4973
4984
|
if (!env4[x]) {
|
|
4974
4985
|
return;
|
|
4975
4986
|
}
|
|
4976
|
-
|
|
4987
|
+
const key = envKeyToSetting(x.substr(11));
|
|
4988
|
+
const rawVal = env4[x];
|
|
4989
|
+
conf[key] = deserializeEnvVal(key, rawVal);
|
|
4977
4990
|
});
|
|
4978
4991
|
return super.addEnv("", conf, "env");
|
|
4979
4992
|
}
|
|
@@ -5054,13 +5067,28 @@ var require_conf = __commonJS({
|
|
|
5054
5067
|
}
|
|
5055
5068
|
}
|
|
5056
5069
|
};
|
|
5070
|
+
function deserializeEnvVal(envKey, envValue) {
|
|
5071
|
+
function deserializeList(envValue2) {
|
|
5072
|
+
const npmConfigSep = "\n\n";
|
|
5073
|
+
if (envValue2.indexOf(npmConfigSep)) {
|
|
5074
|
+
return envValue2.split(npmConfigSep);
|
|
5075
|
+
}
|
|
5076
|
+
return envValue2.split(",");
|
|
5077
|
+
}
|
|
5078
|
+
switch (envKey) {
|
|
5079
|
+
case "hoist-pattern":
|
|
5080
|
+
case "public-hoist-pattern":
|
|
5081
|
+
return deserializeList(envValue);
|
|
5082
|
+
}
|
|
5083
|
+
return envValue;
|
|
5084
|
+
}
|
|
5057
5085
|
module2.exports = Conf;
|
|
5058
5086
|
}
|
|
5059
5087
|
});
|
|
5060
5088
|
|
|
5061
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
5089
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/defaults.js
|
|
5062
5090
|
var require_defaults = __commonJS({
|
|
5063
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
5091
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/defaults.js"(exports2) {
|
|
5064
5092
|
"use strict";
|
|
5065
5093
|
init_cjs_shims();
|
|
5066
5094
|
var os6 = require("os");
|
|
@@ -5227,9 +5255,9 @@ var require_defaults = __commonJS({
|
|
|
5227
5255
|
}
|
|
5228
5256
|
});
|
|
5229
5257
|
|
|
5230
|
-
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
5258
|
+
// ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/index.js
|
|
5231
5259
|
var require_npm_conf = __commonJS({
|
|
5232
|
-
"../../node_modules/.pnpm/@pnpm+npm-conf@2.
|
|
5260
|
+
"../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/index.js"(exports2, module2) {
|
|
5233
5261
|
"use strict";
|
|
5234
5262
|
init_cjs_shims();
|
|
5235
5263
|
var path10 = require("path");
|
|
@@ -5617,6 +5645,105 @@ var require_ini2 = __commonJS({
|
|
|
5617
5645
|
}
|
|
5618
5646
|
});
|
|
5619
5647
|
|
|
5648
|
+
// ../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json
|
|
5649
|
+
var require_boxes = __commonJS({
|
|
5650
|
+
"../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/boxes.json"(exports2, module2) {
|
|
5651
|
+
module2.exports = {
|
|
5652
|
+
single: {
|
|
5653
|
+
topLeft: "\u250C",
|
|
5654
|
+
top: "\u2500",
|
|
5655
|
+
topRight: "\u2510",
|
|
5656
|
+
right: "\u2502",
|
|
5657
|
+
bottomRight: "\u2518",
|
|
5658
|
+
bottom: "\u2500",
|
|
5659
|
+
bottomLeft: "\u2514",
|
|
5660
|
+
left: "\u2502"
|
|
5661
|
+
},
|
|
5662
|
+
double: {
|
|
5663
|
+
topLeft: "\u2554",
|
|
5664
|
+
top: "\u2550",
|
|
5665
|
+
topRight: "\u2557",
|
|
5666
|
+
right: "\u2551",
|
|
5667
|
+
bottomRight: "\u255D",
|
|
5668
|
+
bottom: "\u2550",
|
|
5669
|
+
bottomLeft: "\u255A",
|
|
5670
|
+
left: "\u2551"
|
|
5671
|
+
},
|
|
5672
|
+
round: {
|
|
5673
|
+
topLeft: "\u256D",
|
|
5674
|
+
top: "\u2500",
|
|
5675
|
+
topRight: "\u256E",
|
|
5676
|
+
right: "\u2502",
|
|
5677
|
+
bottomRight: "\u256F",
|
|
5678
|
+
bottom: "\u2500",
|
|
5679
|
+
bottomLeft: "\u2570",
|
|
5680
|
+
left: "\u2502"
|
|
5681
|
+
},
|
|
5682
|
+
bold: {
|
|
5683
|
+
topLeft: "\u250F",
|
|
5684
|
+
top: "\u2501",
|
|
5685
|
+
topRight: "\u2513",
|
|
5686
|
+
right: "\u2503",
|
|
5687
|
+
bottomRight: "\u251B",
|
|
5688
|
+
bottom: "\u2501",
|
|
5689
|
+
bottomLeft: "\u2517",
|
|
5690
|
+
left: "\u2503"
|
|
5691
|
+
},
|
|
5692
|
+
singleDouble: {
|
|
5693
|
+
topLeft: "\u2553",
|
|
5694
|
+
top: "\u2500",
|
|
5695
|
+
topRight: "\u2556",
|
|
5696
|
+
right: "\u2551",
|
|
5697
|
+
bottomRight: "\u255C",
|
|
5698
|
+
bottom: "\u2500",
|
|
5699
|
+
bottomLeft: "\u2559",
|
|
5700
|
+
left: "\u2551"
|
|
5701
|
+
},
|
|
5702
|
+
doubleSingle: {
|
|
5703
|
+
topLeft: "\u2552",
|
|
5704
|
+
top: "\u2550",
|
|
5705
|
+
topRight: "\u2555",
|
|
5706
|
+
right: "\u2502",
|
|
5707
|
+
bottomRight: "\u255B",
|
|
5708
|
+
bottom: "\u2550",
|
|
5709
|
+
bottomLeft: "\u2558",
|
|
5710
|
+
left: "\u2502"
|
|
5711
|
+
},
|
|
5712
|
+
classic: {
|
|
5713
|
+
topLeft: "+",
|
|
5714
|
+
top: "-",
|
|
5715
|
+
topRight: "+",
|
|
5716
|
+
right: "|",
|
|
5717
|
+
bottomRight: "+",
|
|
5718
|
+
bottom: "-",
|
|
5719
|
+
bottomLeft: "+",
|
|
5720
|
+
left: "|"
|
|
5721
|
+
},
|
|
5722
|
+
arrow: {
|
|
5723
|
+
topLeft: "\u2198",
|
|
5724
|
+
top: "\u2193",
|
|
5725
|
+
topRight: "\u2199",
|
|
5726
|
+
right: "\u2190",
|
|
5727
|
+
bottomRight: "\u2196",
|
|
5728
|
+
bottom: "\u2191",
|
|
5729
|
+
bottomLeft: "\u2197",
|
|
5730
|
+
left: "\u2192"
|
|
5731
|
+
}
|
|
5732
|
+
};
|
|
5733
|
+
}
|
|
5734
|
+
});
|
|
5735
|
+
|
|
5736
|
+
// ../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/index.js
|
|
5737
|
+
var require_cli_boxes = __commonJS({
|
|
5738
|
+
"../../node_modules/.pnpm/cli-boxes@3.0.0/node_modules/cli-boxes/index.js"(exports2, module2) {
|
|
5739
|
+
"use strict";
|
|
5740
|
+
init_cjs_shims();
|
|
5741
|
+
var cliBoxes2 = require_boxes();
|
|
5742
|
+
module2.exports = cliBoxes2;
|
|
5743
|
+
module2.exports.default = cliBoxes2;
|
|
5744
|
+
}
|
|
5745
|
+
});
|
|
5746
|
+
|
|
5620
5747
|
// ../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js
|
|
5621
5748
|
var require_ansi_regex = __commonJS({
|
|
5622
5749
|
"../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js"(exports2, module2) {
|
|
@@ -7845,7 +7972,7 @@ var isInstalledGlobally = (() => {
|
|
|
7845
7972
|
})();
|
|
7846
7973
|
var is_installed_globally_default = isInstalledGlobally;
|
|
7847
7974
|
|
|
7848
|
-
// ../../node_modules/.pnpm/boxen@8.0.
|
|
7975
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
7849
7976
|
init_cjs_shims();
|
|
7850
7977
|
var import_node_process8 = __toESM(require("process"), 1);
|
|
7851
7978
|
|
|
@@ -7967,95 +8094,8 @@ function widestLine(string) {
|
|
|
7967
8094
|
return lineWidth;
|
|
7968
8095
|
}
|
|
7969
8096
|
|
|
7970
|
-
// ../../node_modules/.pnpm/
|
|
7971
|
-
|
|
7972
|
-
|
|
7973
|
-
// ../../node_modules/.pnpm/cli-boxes@4.0.0/node_modules/cli-boxes/boxes.json
|
|
7974
|
-
var boxes_default = {
|
|
7975
|
-
single: {
|
|
7976
|
-
topLeft: "\u250C",
|
|
7977
|
-
top: "\u2500",
|
|
7978
|
-
topRight: "\u2510",
|
|
7979
|
-
right: "\u2502",
|
|
7980
|
-
bottomRight: "\u2518",
|
|
7981
|
-
bottom: "\u2500",
|
|
7982
|
-
bottomLeft: "\u2514",
|
|
7983
|
-
left: "\u2502"
|
|
7984
|
-
},
|
|
7985
|
-
double: {
|
|
7986
|
-
topLeft: "\u2554",
|
|
7987
|
-
top: "\u2550",
|
|
7988
|
-
topRight: "\u2557",
|
|
7989
|
-
right: "\u2551",
|
|
7990
|
-
bottomRight: "\u255D",
|
|
7991
|
-
bottom: "\u2550",
|
|
7992
|
-
bottomLeft: "\u255A",
|
|
7993
|
-
left: "\u2551"
|
|
7994
|
-
},
|
|
7995
|
-
round: {
|
|
7996
|
-
topLeft: "\u256D",
|
|
7997
|
-
top: "\u2500",
|
|
7998
|
-
topRight: "\u256E",
|
|
7999
|
-
right: "\u2502",
|
|
8000
|
-
bottomRight: "\u256F",
|
|
8001
|
-
bottom: "\u2500",
|
|
8002
|
-
bottomLeft: "\u2570",
|
|
8003
|
-
left: "\u2502"
|
|
8004
|
-
},
|
|
8005
|
-
bold: {
|
|
8006
|
-
topLeft: "\u250F",
|
|
8007
|
-
top: "\u2501",
|
|
8008
|
-
topRight: "\u2513",
|
|
8009
|
-
right: "\u2503",
|
|
8010
|
-
bottomRight: "\u251B",
|
|
8011
|
-
bottom: "\u2501",
|
|
8012
|
-
bottomLeft: "\u2517",
|
|
8013
|
-
left: "\u2503"
|
|
8014
|
-
},
|
|
8015
|
-
singleDouble: {
|
|
8016
|
-
topLeft: "\u2553",
|
|
8017
|
-
top: "\u2500",
|
|
8018
|
-
topRight: "\u2556",
|
|
8019
|
-
right: "\u2551",
|
|
8020
|
-
bottomRight: "\u255C",
|
|
8021
|
-
bottom: "\u2500",
|
|
8022
|
-
bottomLeft: "\u2559",
|
|
8023
|
-
left: "\u2551"
|
|
8024
|
-
},
|
|
8025
|
-
doubleSingle: {
|
|
8026
|
-
topLeft: "\u2552",
|
|
8027
|
-
top: "\u2550",
|
|
8028
|
-
topRight: "\u2555",
|
|
8029
|
-
right: "\u2502",
|
|
8030
|
-
bottomRight: "\u255B",
|
|
8031
|
-
bottom: "\u2550",
|
|
8032
|
-
bottomLeft: "\u2558",
|
|
8033
|
-
left: "\u2502"
|
|
8034
|
-
},
|
|
8035
|
-
classic: {
|
|
8036
|
-
topLeft: "+",
|
|
8037
|
-
top: "-",
|
|
8038
|
-
topRight: "+",
|
|
8039
|
-
right: "|",
|
|
8040
|
-
bottomRight: "+",
|
|
8041
|
-
bottom: "-",
|
|
8042
|
-
bottomLeft: "+",
|
|
8043
|
-
left: "|"
|
|
8044
|
-
},
|
|
8045
|
-
arrow: {
|
|
8046
|
-
topLeft: "\u2198",
|
|
8047
|
-
top: "\u2193",
|
|
8048
|
-
topRight: "\u2199",
|
|
8049
|
-
right: "\u2190",
|
|
8050
|
-
bottomRight: "\u2196",
|
|
8051
|
-
bottom: "\u2191",
|
|
8052
|
-
bottomLeft: "\u2197",
|
|
8053
|
-
left: "\u2192"
|
|
8054
|
-
}
|
|
8055
|
-
};
|
|
8056
|
-
|
|
8057
|
-
// ../../node_modules/.pnpm/cli-boxes@4.0.0/node_modules/cli-boxes/index.js
|
|
8058
|
-
var cli_boxes_default = boxes_default;
|
|
8097
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
8098
|
+
var import_cli_boxes = __toESM(require_cli_boxes(), 1);
|
|
8059
8099
|
|
|
8060
8100
|
// ../../node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.js
|
|
8061
8101
|
init_cjs_shims();
|
|
@@ -8140,7 +8180,7 @@ function camelCase(input, options) {
|
|
|
8140
8180
|
return postProcess(input, toUpperCase);
|
|
8141
8181
|
}
|
|
8142
8182
|
|
|
8143
|
-
// ../../node_modules/.pnpm/boxen@8.0.
|
|
8183
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
8144
8184
|
var import_ansi_align = __toESM(require_ansi_align(), 1);
|
|
8145
8185
|
|
|
8146
8186
|
// ../../node_modules/.pnpm/wrap-ansi@9.0.0/node_modules/wrap-ansi/index.js
|
|
@@ -8488,7 +8528,8 @@ function wrapAnsi(string, columns, options) {
|
|
|
8488
8528
|
return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
|
|
8489
8529
|
}
|
|
8490
8530
|
|
|
8491
|
-
// ../../node_modules/.pnpm/boxen@8.0.
|
|
8531
|
+
// ../../node_modules/.pnpm/boxen@8.0.1/node_modules/boxen/index.js
|
|
8532
|
+
var import_cli_boxes2 = __toESM(require_cli_boxes(), 1);
|
|
8492
8533
|
var NEWLINE = "\n";
|
|
8493
8534
|
var PAD = " ";
|
|
8494
8535
|
var NONE = "none";
|
|
@@ -8537,7 +8578,7 @@ var getBorderChars = (borderStyle) => {
|
|
|
8537
8578
|
}
|
|
8538
8579
|
}
|
|
8539
8580
|
if (typeof borderStyle === "string") {
|
|
8540
|
-
characters =
|
|
8581
|
+
characters = import_cli_boxes.default[borderStyle];
|
|
8541
8582
|
if (!characters) {
|
|
8542
8583
|
throw new TypeError(`Invalid border style: ${borderStyle}`);
|
|
8543
8584
|
}
|
|
@@ -9005,7 +9046,7 @@ var package_default = {
|
|
|
9005
9046
|
"@types/cli-welcome": "^2.2.2",
|
|
9006
9047
|
"@types/update-notifier": "6.0.8",
|
|
9007
9048
|
chalk: "^5.3.0",
|
|
9008
|
-
"update-notifier": "^7.
|
|
9049
|
+
"update-notifier": "^7.2.0"
|
|
9009
9050
|
}
|
|
9010
9051
|
};
|
|
9011
9052
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1-dev-20240813005013",
|
|
4
4
|
"description": "Generate theme tokens for autocomplete",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"theme",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@types/cli-welcome": "^2.2.2",
|
|
53
53
|
"@types/update-notifier": "6.0.8",
|
|
54
54
|
"chalk": "^5.3.0",
|
|
55
|
-
"update-notifier": "^7.
|
|
55
|
+
"update-notifier": "^7.2.0"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"clean": "rimraf dist .turbo",
|