@storm-software/workspace-tools 1.52.15 → 1.52.17
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/CHANGELOG.md +14 -0
- package/index.js +19 -17
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +17 -15
- package/src/executors/tsup-browser/executor.js +19 -17
- package/src/executors/tsup-neutral/executor.js +19 -17
- package/src/executors/tsup-node/executor.js +19 -17
- package/src/utils/index.js +7 -5
package/package.json
CHANGED
|
@@ -32362,8 +32362,8 @@ var require_select = __commonJS({
|
|
|
32362
32362
|
separator() {
|
|
32363
32363
|
if (this.options.separator)
|
|
32364
32364
|
return super.separator();
|
|
32365
|
-
let
|
|
32366
|
-
return this.state.submitted ? super.separator() :
|
|
32365
|
+
let sep3 = this.styles.muted(this.symbols.ellipsis);
|
|
32366
|
+
return this.state.submitted ? super.separator() : sep3;
|
|
32367
32367
|
}
|
|
32368
32368
|
pointer(choice, i) {
|
|
32369
32369
|
return !this.multiple || this.options.pointer ? super.pointer(choice, i) : "";
|
|
@@ -32727,8 +32727,8 @@ var require_form = __commonJS({
|
|
|
32727
32727
|
return choice.input ? "\u29BF" : "\u2299";
|
|
32728
32728
|
}
|
|
32729
32729
|
async choiceSeparator(choice, i) {
|
|
32730
|
-
let
|
|
32731
|
-
return
|
|
32730
|
+
let sep3 = await this.resolve(choice.separator, this.state, choice, i) || ":";
|
|
32731
|
+
return sep3 ? " " + this.styles.disabled(sep3) : "";
|
|
32732
32732
|
}
|
|
32733
32733
|
async renderChoice(choice, i) {
|
|
32734
32734
|
await this.onChoice(choice, i);
|
|
@@ -32738,7 +32738,7 @@ var require_form = __commonJS({
|
|
|
32738
32738
|
let help = hint;
|
|
32739
32739
|
let focused = this.index === i;
|
|
32740
32740
|
let validate = choice.validate || (() => true);
|
|
32741
|
-
let
|
|
32741
|
+
let sep3 = await this.choiceSeparator(choice, i);
|
|
32742
32742
|
let msg = choice.message;
|
|
32743
32743
|
if (this.align === "right")
|
|
32744
32744
|
msg = msg.padStart(this.longest + 1, " ");
|
|
@@ -32752,7 +32752,7 @@ var require_form = __commonJS({
|
|
|
32752
32752
|
let style = styles[color];
|
|
32753
32753
|
let indicator = style(await this.indicator(choice, i)) + (choice.pad || "");
|
|
32754
32754
|
let indent = this.indent(choice);
|
|
32755
|
-
let line = () => [indent, indicator, msg +
|
|
32755
|
+
let line = () => [indent, indicator, msg + sep3, input, help].filter(Boolean).join(" ");
|
|
32756
32756
|
if (state.submitted) {
|
|
32757
32757
|
msg = colors.unstyle(msg);
|
|
32758
32758
|
input = submitted(input);
|
|
@@ -32908,10 +32908,10 @@ var require_boolean = __commonJS({
|
|
|
32908
32908
|
async render() {
|
|
32909
32909
|
let { input, size } = this.state;
|
|
32910
32910
|
let prefix = await this.prefix();
|
|
32911
|
-
let
|
|
32911
|
+
let sep3 = await this.separator();
|
|
32912
32912
|
let msg = await this.message();
|
|
32913
32913
|
let hint = this.styles.muted(this.default);
|
|
32914
|
-
let promptLine = [prefix, msg, hint,
|
|
32914
|
+
let promptLine = [prefix, msg, hint, sep3].filter(Boolean).join(" ");
|
|
32915
32915
|
this.state.prompt = promptLine;
|
|
32916
32916
|
let header = await this.header();
|
|
32917
32917
|
let value = this.value = this.cast(input);
|
|
@@ -95623,7 +95623,7 @@ var require_shared = __commonJS({
|
|
|
95623
95623
|
var isBinaryPath$1 = (filePath) => extensions.has(path4.extname(filePath).slice(1).toLowerCase());
|
|
95624
95624
|
var constants3 = {};
|
|
95625
95625
|
(function(exports3) {
|
|
95626
|
-
const { sep:
|
|
95626
|
+
const { sep: sep3 } = require$$0$2;
|
|
95627
95627
|
const { platform } = process;
|
|
95628
95628
|
const os2 = require$$2$1;
|
|
95629
95629
|
exports3.EV_ALL = "all";
|
|
@@ -95651,7 +95651,7 @@ var require_shared = __commonJS({
|
|
|
95651
95651
|
exports3.KEY_ERR = "errHandlers";
|
|
95652
95652
|
exports3.KEY_RAW = "rawEmitters";
|
|
95653
95653
|
exports3.HANDLER_KEYS = [exports3.KEY_LISTENERS, exports3.KEY_ERR, exports3.KEY_RAW];
|
|
95654
|
-
exports3.DOT_SLASH = `.${
|
|
95654
|
+
exports3.DOT_SLASH = `.${sep3}`;
|
|
95655
95655
|
exports3.BACK_SLASH_RE = /\\/g;
|
|
95656
95656
|
exports3.DOUBLE_SLASH_RE = /\/\//;
|
|
95657
95657
|
exports3.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
@@ -98410,7 +98410,7 @@ var require_is_binary_path = __commonJS({
|
|
|
98410
98410
|
var require_constants5 = __commonJS({
|
|
98411
98411
|
"node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/constants.js"(exports2) {
|
|
98412
98412
|
"use strict";
|
|
98413
|
-
var { sep:
|
|
98413
|
+
var { sep: sep3 } = require("path");
|
|
98414
98414
|
var { platform } = process;
|
|
98415
98415
|
var os2 = require("os");
|
|
98416
98416
|
exports2.EV_ALL = "all";
|
|
@@ -98438,7 +98438,7 @@ var require_constants5 = __commonJS({
|
|
|
98438
98438
|
exports2.KEY_ERR = "errHandlers";
|
|
98439
98439
|
exports2.KEY_RAW = "rawEmitters";
|
|
98440
98440
|
exports2.HANDLER_KEYS = [exports2.KEY_LISTENERS, exports2.KEY_ERR, exports2.KEY_RAW];
|
|
98441
|
-
exports2.DOT_SLASH = `.${
|
|
98441
|
+
exports2.DOT_SLASH = `.${sep3}`;
|
|
98442
98442
|
exports2.BACK_SLASH_RE = /\\/g;
|
|
98443
98443
|
exports2.DOUBLE_SLASH_RE = /\/\//;
|
|
98444
98444
|
exports2.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
@@ -113418,7 +113418,7 @@ var PathScurryBase = class {
|
|
|
113418
113418
|
*
|
|
113419
113419
|
* @internal
|
|
113420
113420
|
*/
|
|
113421
|
-
constructor(cwd = process.cwd(), pathImpl,
|
|
113421
|
+
constructor(cwd = process.cwd(), pathImpl, sep3, { nocase, childrenCacheSize = 16 * 1024, fs = defaultFS } = {}) {
|
|
113422
113422
|
this.#fs = fsFromOption(fs);
|
|
113423
113423
|
if (cwd instanceof URL || cwd.startsWith("file://")) {
|
|
113424
113424
|
cwd = (0, import_url.fileURLToPath)(cwd);
|
|
@@ -113429,7 +113429,7 @@ var PathScurryBase = class {
|
|
|
113429
113429
|
this.#resolveCache = new ResolveCache();
|
|
113430
113430
|
this.#resolvePosixCache = new ResolveCache();
|
|
113431
113431
|
this.#children = new ChildrenCache(childrenCacheSize);
|
|
113432
|
-
const split = cwdPath.substring(this.rootPath.length).split(
|
|
113432
|
+
const split = cwdPath.substring(this.rootPath.length).split(sep3);
|
|
113433
113433
|
if (split.length === 1 && !split[0]) {
|
|
113434
113434
|
split.pop();
|
|
113435
113435
|
}
|
|
@@ -115487,7 +115487,9 @@ var runTsupBuild = async (context, config, options) => {
|
|
|
115487
115487
|
...options,
|
|
115488
115488
|
main: context.main,
|
|
115489
115489
|
entry: {
|
|
115490
|
-
[removeExtension(
|
|
115490
|
+
[removeExtension(
|
|
115491
|
+
context.main?.split(context.main?.includes(import_node_path5.sep) ? import_node_path5.sep : context.main?.includes("/") ? "/" : "\\")?.pop()
|
|
115492
|
+
)]: context.main
|
|
115491
115493
|
},
|
|
115492
115494
|
define: {
|
|
115493
115495
|
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
@@ -84019,7 +84019,7 @@ var require_shared = __commonJS({
|
|
|
84019
84019
|
var isBinaryPath$1 = (filePath) => extensions.has(path4.extname(filePath).slice(1).toLowerCase());
|
|
84020
84020
|
var constants3 = {};
|
|
84021
84021
|
(function(exports3) {
|
|
84022
|
-
const { sep:
|
|
84022
|
+
const { sep: sep3 } = require$$0$2;
|
|
84023
84023
|
const { platform } = process;
|
|
84024
84024
|
const os2 = require$$2$1;
|
|
84025
84025
|
exports3.EV_ALL = "all";
|
|
@@ -84047,7 +84047,7 @@ var require_shared = __commonJS({
|
|
|
84047
84047
|
exports3.KEY_ERR = "errHandlers";
|
|
84048
84048
|
exports3.KEY_RAW = "rawEmitters";
|
|
84049
84049
|
exports3.HANDLER_KEYS = [exports3.KEY_LISTENERS, exports3.KEY_ERR, exports3.KEY_RAW];
|
|
84050
|
-
exports3.DOT_SLASH = `.${
|
|
84050
|
+
exports3.DOT_SLASH = `.${sep3}`;
|
|
84051
84051
|
exports3.BACK_SLASH_RE = /\\/g;
|
|
84052
84052
|
exports3.DOUBLE_SLASH_RE = /\/\//;
|
|
84053
84053
|
exports3.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
@@ -86806,7 +86806,7 @@ var require_is_binary_path = __commonJS({
|
|
|
86806
86806
|
var require_constants5 = __commonJS({
|
|
86807
86807
|
"node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/constants.js"(exports2) {
|
|
86808
86808
|
"use strict";
|
|
86809
|
-
var { sep:
|
|
86809
|
+
var { sep: sep3 } = require("path");
|
|
86810
86810
|
var { platform } = process;
|
|
86811
86811
|
var os2 = require("os");
|
|
86812
86812
|
exports2.EV_ALL = "all";
|
|
@@ -86834,7 +86834,7 @@ var require_constants5 = __commonJS({
|
|
|
86834
86834
|
exports2.KEY_ERR = "errHandlers";
|
|
86835
86835
|
exports2.KEY_RAW = "rawEmitters";
|
|
86836
86836
|
exports2.HANDLER_KEYS = [exports2.KEY_LISTENERS, exports2.KEY_ERR, exports2.KEY_RAW];
|
|
86837
|
-
exports2.DOT_SLASH = `.${
|
|
86837
|
+
exports2.DOT_SLASH = `.${sep3}`;
|
|
86838
86838
|
exports2.BACK_SLASH_RE = /\\/g;
|
|
86839
86839
|
exports2.DOUBLE_SLASH_RE = /\/\//;
|
|
86840
86840
|
exports2.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
@@ -98604,8 +98604,8 @@ var require_select = __commonJS({
|
|
|
98604
98604
|
separator() {
|
|
98605
98605
|
if (this.options.separator)
|
|
98606
98606
|
return super.separator();
|
|
98607
|
-
let
|
|
98608
|
-
return this.state.submitted ? super.separator() :
|
|
98607
|
+
let sep3 = this.styles.muted(this.symbols.ellipsis);
|
|
98608
|
+
return this.state.submitted ? super.separator() : sep3;
|
|
98609
98609
|
}
|
|
98610
98610
|
pointer(choice, i) {
|
|
98611
98611
|
return !this.multiple || this.options.pointer ? super.pointer(choice, i) : "";
|
|
@@ -98969,8 +98969,8 @@ var require_form = __commonJS({
|
|
|
98969
98969
|
return choice.input ? "\u29BF" : "\u2299";
|
|
98970
98970
|
}
|
|
98971
98971
|
async choiceSeparator(choice, i) {
|
|
98972
|
-
let
|
|
98973
|
-
return
|
|
98972
|
+
let sep3 = await this.resolve(choice.separator, this.state, choice, i) || ":";
|
|
98973
|
+
return sep3 ? " " + this.styles.disabled(sep3) : "";
|
|
98974
98974
|
}
|
|
98975
98975
|
async renderChoice(choice, i) {
|
|
98976
98976
|
await this.onChoice(choice, i);
|
|
@@ -98980,7 +98980,7 @@ var require_form = __commonJS({
|
|
|
98980
98980
|
let help = hint;
|
|
98981
98981
|
let focused = this.index === i;
|
|
98982
98982
|
let validate = choice.validate || (() => true);
|
|
98983
|
-
let
|
|
98983
|
+
let sep3 = await this.choiceSeparator(choice, i);
|
|
98984
98984
|
let msg = choice.message;
|
|
98985
98985
|
if (this.align === "right")
|
|
98986
98986
|
msg = msg.padStart(this.longest + 1, " ");
|
|
@@ -98994,7 +98994,7 @@ var require_form = __commonJS({
|
|
|
98994
98994
|
let style = styles[color];
|
|
98995
98995
|
let indicator = style(await this.indicator(choice, i)) + (choice.pad || "");
|
|
98996
98996
|
let indent = this.indent(choice);
|
|
98997
|
-
let line = () => [indent, indicator, msg +
|
|
98997
|
+
let line = () => [indent, indicator, msg + sep3, input, help].filter(Boolean).join(" ");
|
|
98998
98998
|
if (state.submitted) {
|
|
98999
98999
|
msg = colors.unstyle(msg);
|
|
99000
99000
|
input = submitted(input);
|
|
@@ -99150,10 +99150,10 @@ var require_boolean = __commonJS({
|
|
|
99150
99150
|
async render() {
|
|
99151
99151
|
let { input, size } = this.state;
|
|
99152
99152
|
let prefix = await this.prefix();
|
|
99153
|
-
let
|
|
99153
|
+
let sep3 = await this.separator();
|
|
99154
99154
|
let msg = await this.message();
|
|
99155
99155
|
let hint = this.styles.muted(this.default);
|
|
99156
|
-
let promptLine = [prefix, msg, hint,
|
|
99156
|
+
let promptLine = [prefix, msg, hint, sep3].filter(Boolean).join(" ");
|
|
99157
99157
|
this.state.prompt = promptLine;
|
|
99158
99158
|
let header = await this.header();
|
|
99159
99159
|
let value = this.value = this.cast(input);
|
|
@@ -109296,7 +109296,9 @@ var runTsupBuild = async (context, config, options) => {
|
|
|
109296
109296
|
...options,
|
|
109297
109297
|
main: context.main,
|
|
109298
109298
|
entry: {
|
|
109299
|
-
[removeExtension(
|
|
109299
|
+
[removeExtension(
|
|
109300
|
+
context.main?.split(context.main?.includes(import_node_path5.sep) ? import_node_path5.sep : context.main?.includes("/") ? "/" : "\\")?.pop()
|
|
109301
|
+
)]: context.main
|
|
109300
109302
|
},
|
|
109301
109303
|
define: {
|
|
109302
109304
|
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
@@ -110118,8 +110120,8 @@ var path3 = {
|
|
|
110118
110120
|
win32: { sep: "\\" },
|
|
110119
110121
|
posix: { sep: "/" }
|
|
110120
110122
|
};
|
|
110121
|
-
var
|
|
110122
|
-
minimatch.sep =
|
|
110123
|
+
var sep2 = defaultPlatform === "win32" ? path3.win32.sep : path3.posix.sep;
|
|
110124
|
+
minimatch.sep = sep2;
|
|
110123
110125
|
var GLOBSTAR = Symbol("globstar **");
|
|
110124
110126
|
minimatch.GLOBSTAR = GLOBSTAR;
|
|
110125
110127
|
var qmark2 = "[^/]";
|
|
@@ -113987,7 +113989,7 @@ var PathScurryBase = class {
|
|
|
113987
113989
|
*
|
|
113988
113990
|
* @internal
|
|
113989
113991
|
*/
|
|
113990
|
-
constructor(cwd = process.cwd(), pathImpl,
|
|
113992
|
+
constructor(cwd = process.cwd(), pathImpl, sep3, { nocase, childrenCacheSize = 16 * 1024, fs = defaultFS } = {}) {
|
|
113991
113993
|
this.#fs = fsFromOption(fs);
|
|
113992
113994
|
if (cwd instanceof URL || cwd.startsWith("file://")) {
|
|
113993
113995
|
cwd = (0, import_url.fileURLToPath)(cwd);
|
|
@@ -113998,7 +114000,7 @@ var PathScurryBase = class {
|
|
|
113998
114000
|
this.#resolveCache = new ResolveCache();
|
|
113999
114001
|
this.#resolvePosixCache = new ResolveCache();
|
|
114000
114002
|
this.#children = new ChildrenCache(childrenCacheSize);
|
|
114001
|
-
const split = cwdPath.substring(this.rootPath.length).split(
|
|
114003
|
+
const split = cwdPath.substring(this.rootPath.length).split(sep3);
|
|
114002
114004
|
if (split.length === 1 && !split[0]) {
|
|
114003
114005
|
split.pop();
|
|
114004
114006
|
}
|
|
@@ -84019,7 +84019,7 @@ var require_shared = __commonJS({
|
|
|
84019
84019
|
var isBinaryPath$1 = (filePath) => extensions.has(path4.extname(filePath).slice(1).toLowerCase());
|
|
84020
84020
|
var constants3 = {};
|
|
84021
84021
|
(function(exports3) {
|
|
84022
|
-
const { sep:
|
|
84022
|
+
const { sep: sep3 } = require$$0$2;
|
|
84023
84023
|
const { platform } = process;
|
|
84024
84024
|
const os2 = require$$2$1;
|
|
84025
84025
|
exports3.EV_ALL = "all";
|
|
@@ -84047,7 +84047,7 @@ var require_shared = __commonJS({
|
|
|
84047
84047
|
exports3.KEY_ERR = "errHandlers";
|
|
84048
84048
|
exports3.KEY_RAW = "rawEmitters";
|
|
84049
84049
|
exports3.HANDLER_KEYS = [exports3.KEY_LISTENERS, exports3.KEY_ERR, exports3.KEY_RAW];
|
|
84050
|
-
exports3.DOT_SLASH = `.${
|
|
84050
|
+
exports3.DOT_SLASH = `.${sep3}`;
|
|
84051
84051
|
exports3.BACK_SLASH_RE = /\\/g;
|
|
84052
84052
|
exports3.DOUBLE_SLASH_RE = /\/\//;
|
|
84053
84053
|
exports3.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
@@ -86806,7 +86806,7 @@ var require_is_binary_path = __commonJS({
|
|
|
86806
86806
|
var require_constants5 = __commonJS({
|
|
86807
86807
|
"node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/constants.js"(exports2) {
|
|
86808
86808
|
"use strict";
|
|
86809
|
-
var { sep:
|
|
86809
|
+
var { sep: sep3 } = require("path");
|
|
86810
86810
|
var { platform } = process;
|
|
86811
86811
|
var os2 = require("os");
|
|
86812
86812
|
exports2.EV_ALL = "all";
|
|
@@ -86834,7 +86834,7 @@ var require_constants5 = __commonJS({
|
|
|
86834
86834
|
exports2.KEY_ERR = "errHandlers";
|
|
86835
86835
|
exports2.KEY_RAW = "rawEmitters";
|
|
86836
86836
|
exports2.HANDLER_KEYS = [exports2.KEY_LISTENERS, exports2.KEY_ERR, exports2.KEY_RAW];
|
|
86837
|
-
exports2.DOT_SLASH = `.${
|
|
86837
|
+
exports2.DOT_SLASH = `.${sep3}`;
|
|
86838
86838
|
exports2.BACK_SLASH_RE = /\\/g;
|
|
86839
86839
|
exports2.DOUBLE_SLASH_RE = /\/\//;
|
|
86840
86840
|
exports2.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
@@ -98604,8 +98604,8 @@ var require_select = __commonJS({
|
|
|
98604
98604
|
separator() {
|
|
98605
98605
|
if (this.options.separator)
|
|
98606
98606
|
return super.separator();
|
|
98607
|
-
let
|
|
98608
|
-
return this.state.submitted ? super.separator() :
|
|
98607
|
+
let sep3 = this.styles.muted(this.symbols.ellipsis);
|
|
98608
|
+
return this.state.submitted ? super.separator() : sep3;
|
|
98609
98609
|
}
|
|
98610
98610
|
pointer(choice, i) {
|
|
98611
98611
|
return !this.multiple || this.options.pointer ? super.pointer(choice, i) : "";
|
|
@@ -98969,8 +98969,8 @@ var require_form = __commonJS({
|
|
|
98969
98969
|
return choice.input ? "\u29BF" : "\u2299";
|
|
98970
98970
|
}
|
|
98971
98971
|
async choiceSeparator(choice, i) {
|
|
98972
|
-
let
|
|
98973
|
-
return
|
|
98972
|
+
let sep3 = await this.resolve(choice.separator, this.state, choice, i) || ":";
|
|
98973
|
+
return sep3 ? " " + this.styles.disabled(sep3) : "";
|
|
98974
98974
|
}
|
|
98975
98975
|
async renderChoice(choice, i) {
|
|
98976
98976
|
await this.onChoice(choice, i);
|
|
@@ -98980,7 +98980,7 @@ var require_form = __commonJS({
|
|
|
98980
98980
|
let help = hint;
|
|
98981
98981
|
let focused = this.index === i;
|
|
98982
98982
|
let validate = choice.validate || (() => true);
|
|
98983
|
-
let
|
|
98983
|
+
let sep3 = await this.choiceSeparator(choice, i);
|
|
98984
98984
|
let msg = choice.message;
|
|
98985
98985
|
if (this.align === "right")
|
|
98986
98986
|
msg = msg.padStart(this.longest + 1, " ");
|
|
@@ -98994,7 +98994,7 @@ var require_form = __commonJS({
|
|
|
98994
98994
|
let style = styles[color];
|
|
98995
98995
|
let indicator = style(await this.indicator(choice, i)) + (choice.pad || "");
|
|
98996
98996
|
let indent = this.indent(choice);
|
|
98997
|
-
let line = () => [indent, indicator, msg +
|
|
98997
|
+
let line = () => [indent, indicator, msg + sep3, input, help].filter(Boolean).join(" ");
|
|
98998
98998
|
if (state.submitted) {
|
|
98999
98999
|
msg = colors.unstyle(msg);
|
|
99000
99000
|
input = submitted(input);
|
|
@@ -99150,10 +99150,10 @@ var require_boolean = __commonJS({
|
|
|
99150
99150
|
async render() {
|
|
99151
99151
|
let { input, size } = this.state;
|
|
99152
99152
|
let prefix = await this.prefix();
|
|
99153
|
-
let
|
|
99153
|
+
let sep3 = await this.separator();
|
|
99154
99154
|
let msg = await this.message();
|
|
99155
99155
|
let hint = this.styles.muted(this.default);
|
|
99156
|
-
let promptLine = [prefix, msg, hint,
|
|
99156
|
+
let promptLine = [prefix, msg, hint, sep3].filter(Boolean).join(" ");
|
|
99157
99157
|
this.state.prompt = promptLine;
|
|
99158
99158
|
let header = await this.header();
|
|
99159
99159
|
let value = this.value = this.cast(input);
|
|
@@ -109296,7 +109296,9 @@ var runTsupBuild = async (context, config, options) => {
|
|
|
109296
109296
|
...options,
|
|
109297
109297
|
main: context.main,
|
|
109298
109298
|
entry: {
|
|
109299
|
-
[removeExtension(
|
|
109299
|
+
[removeExtension(
|
|
109300
|
+
context.main?.split(context.main?.includes(import_node_path5.sep) ? import_node_path5.sep : context.main?.includes("/") ? "/" : "\\")?.pop()
|
|
109301
|
+
)]: context.main
|
|
109300
109302
|
},
|
|
109301
109303
|
define: {
|
|
109302
109304
|
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
@@ -110118,8 +110120,8 @@ var path3 = {
|
|
|
110118
110120
|
win32: { sep: "\\" },
|
|
110119
110121
|
posix: { sep: "/" }
|
|
110120
110122
|
};
|
|
110121
|
-
var
|
|
110122
|
-
minimatch.sep =
|
|
110123
|
+
var sep2 = defaultPlatform === "win32" ? path3.win32.sep : path3.posix.sep;
|
|
110124
|
+
minimatch.sep = sep2;
|
|
110123
110125
|
var GLOBSTAR = Symbol("globstar **");
|
|
110124
110126
|
minimatch.GLOBSTAR = GLOBSTAR;
|
|
110125
110127
|
var qmark2 = "[^/]";
|
|
@@ -113987,7 +113989,7 @@ var PathScurryBase = class {
|
|
|
113987
113989
|
*
|
|
113988
113990
|
* @internal
|
|
113989
113991
|
*/
|
|
113990
|
-
constructor(cwd = process.cwd(), pathImpl,
|
|
113992
|
+
constructor(cwd = process.cwd(), pathImpl, sep3, { nocase, childrenCacheSize = 16 * 1024, fs = defaultFS } = {}) {
|
|
113991
113993
|
this.#fs = fsFromOption(fs);
|
|
113992
113994
|
if (cwd instanceof URL || cwd.startsWith("file://")) {
|
|
113993
113995
|
cwd = (0, import_url.fileURLToPath)(cwd);
|
|
@@ -113998,7 +114000,7 @@ var PathScurryBase = class {
|
|
|
113998
114000
|
this.#resolveCache = new ResolveCache();
|
|
113999
114001
|
this.#resolvePosixCache = new ResolveCache();
|
|
114000
114002
|
this.#children = new ChildrenCache(childrenCacheSize);
|
|
114001
|
-
const split = cwdPath.substring(this.rootPath.length).split(
|
|
114003
|
+
const split = cwdPath.substring(this.rootPath.length).split(sep3);
|
|
114002
114004
|
if (split.length === 1 && !split[0]) {
|
|
114003
114005
|
split.pop();
|
|
114004
114006
|
}
|
|
@@ -84019,7 +84019,7 @@ var require_shared = __commonJS({
|
|
|
84019
84019
|
var isBinaryPath$1 = (filePath) => extensions.has(path4.extname(filePath).slice(1).toLowerCase());
|
|
84020
84020
|
var constants3 = {};
|
|
84021
84021
|
(function(exports3) {
|
|
84022
|
-
const { sep:
|
|
84022
|
+
const { sep: sep3 } = require$$0$2;
|
|
84023
84023
|
const { platform } = process;
|
|
84024
84024
|
const os2 = require$$2$1;
|
|
84025
84025
|
exports3.EV_ALL = "all";
|
|
@@ -84047,7 +84047,7 @@ var require_shared = __commonJS({
|
|
|
84047
84047
|
exports3.KEY_ERR = "errHandlers";
|
|
84048
84048
|
exports3.KEY_RAW = "rawEmitters";
|
|
84049
84049
|
exports3.HANDLER_KEYS = [exports3.KEY_LISTENERS, exports3.KEY_ERR, exports3.KEY_RAW];
|
|
84050
|
-
exports3.DOT_SLASH = `.${
|
|
84050
|
+
exports3.DOT_SLASH = `.${sep3}`;
|
|
84051
84051
|
exports3.BACK_SLASH_RE = /\\/g;
|
|
84052
84052
|
exports3.DOUBLE_SLASH_RE = /\/\//;
|
|
84053
84053
|
exports3.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
@@ -86806,7 +86806,7 @@ var require_is_binary_path = __commonJS({
|
|
|
86806
86806
|
var require_constants5 = __commonJS({
|
|
86807
86807
|
"node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/constants.js"(exports2) {
|
|
86808
86808
|
"use strict";
|
|
86809
|
-
var { sep:
|
|
86809
|
+
var { sep: sep3 } = require("path");
|
|
86810
86810
|
var { platform } = process;
|
|
86811
86811
|
var os2 = require("os");
|
|
86812
86812
|
exports2.EV_ALL = "all";
|
|
@@ -86834,7 +86834,7 @@ var require_constants5 = __commonJS({
|
|
|
86834
86834
|
exports2.KEY_ERR = "errHandlers";
|
|
86835
86835
|
exports2.KEY_RAW = "rawEmitters";
|
|
86836
86836
|
exports2.HANDLER_KEYS = [exports2.KEY_LISTENERS, exports2.KEY_ERR, exports2.KEY_RAW];
|
|
86837
|
-
exports2.DOT_SLASH = `.${
|
|
86837
|
+
exports2.DOT_SLASH = `.${sep3}`;
|
|
86838
86838
|
exports2.BACK_SLASH_RE = /\\/g;
|
|
86839
86839
|
exports2.DOUBLE_SLASH_RE = /\/\//;
|
|
86840
86840
|
exports2.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
@@ -98604,8 +98604,8 @@ var require_select = __commonJS({
|
|
|
98604
98604
|
separator() {
|
|
98605
98605
|
if (this.options.separator)
|
|
98606
98606
|
return super.separator();
|
|
98607
|
-
let
|
|
98608
|
-
return this.state.submitted ? super.separator() :
|
|
98607
|
+
let sep3 = this.styles.muted(this.symbols.ellipsis);
|
|
98608
|
+
return this.state.submitted ? super.separator() : sep3;
|
|
98609
98609
|
}
|
|
98610
98610
|
pointer(choice, i) {
|
|
98611
98611
|
return !this.multiple || this.options.pointer ? super.pointer(choice, i) : "";
|
|
@@ -98969,8 +98969,8 @@ var require_form = __commonJS({
|
|
|
98969
98969
|
return choice.input ? "\u29BF" : "\u2299";
|
|
98970
98970
|
}
|
|
98971
98971
|
async choiceSeparator(choice, i) {
|
|
98972
|
-
let
|
|
98973
|
-
return
|
|
98972
|
+
let sep3 = await this.resolve(choice.separator, this.state, choice, i) || ":";
|
|
98973
|
+
return sep3 ? " " + this.styles.disabled(sep3) : "";
|
|
98974
98974
|
}
|
|
98975
98975
|
async renderChoice(choice, i) {
|
|
98976
98976
|
await this.onChoice(choice, i);
|
|
@@ -98980,7 +98980,7 @@ var require_form = __commonJS({
|
|
|
98980
98980
|
let help = hint;
|
|
98981
98981
|
let focused = this.index === i;
|
|
98982
98982
|
let validate = choice.validate || (() => true);
|
|
98983
|
-
let
|
|
98983
|
+
let sep3 = await this.choiceSeparator(choice, i);
|
|
98984
98984
|
let msg = choice.message;
|
|
98985
98985
|
if (this.align === "right")
|
|
98986
98986
|
msg = msg.padStart(this.longest + 1, " ");
|
|
@@ -98994,7 +98994,7 @@ var require_form = __commonJS({
|
|
|
98994
98994
|
let style = styles[color];
|
|
98995
98995
|
let indicator = style(await this.indicator(choice, i)) + (choice.pad || "");
|
|
98996
98996
|
let indent = this.indent(choice);
|
|
98997
|
-
let line = () => [indent, indicator, msg +
|
|
98997
|
+
let line = () => [indent, indicator, msg + sep3, input, help].filter(Boolean).join(" ");
|
|
98998
98998
|
if (state.submitted) {
|
|
98999
98999
|
msg = colors.unstyle(msg);
|
|
99000
99000
|
input = submitted(input);
|
|
@@ -99150,10 +99150,10 @@ var require_boolean = __commonJS({
|
|
|
99150
99150
|
async render() {
|
|
99151
99151
|
let { input, size } = this.state;
|
|
99152
99152
|
let prefix = await this.prefix();
|
|
99153
|
-
let
|
|
99153
|
+
let sep3 = await this.separator();
|
|
99154
99154
|
let msg = await this.message();
|
|
99155
99155
|
let hint = this.styles.muted(this.default);
|
|
99156
|
-
let promptLine = [prefix, msg, hint,
|
|
99156
|
+
let promptLine = [prefix, msg, hint, sep3].filter(Boolean).join(" ");
|
|
99157
99157
|
this.state.prompt = promptLine;
|
|
99158
99158
|
let header = await this.header();
|
|
99159
99159
|
let value = this.value = this.cast(input);
|
|
@@ -109296,7 +109296,9 @@ var runTsupBuild = async (context, config, options) => {
|
|
|
109296
109296
|
...options,
|
|
109297
109297
|
main: context.main,
|
|
109298
109298
|
entry: {
|
|
109299
|
-
[removeExtension(
|
|
109299
|
+
[removeExtension(
|
|
109300
|
+
context.main?.split(context.main?.includes(import_node_path5.sep) ? import_node_path5.sep : context.main?.includes("/") ? "/" : "\\")?.pop()
|
|
109301
|
+
)]: context.main
|
|
109300
109302
|
},
|
|
109301
109303
|
define: {
|
|
109302
109304
|
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
@@ -110118,8 +110120,8 @@ var path3 = {
|
|
|
110118
110120
|
win32: { sep: "\\" },
|
|
110119
110121
|
posix: { sep: "/" }
|
|
110120
110122
|
};
|
|
110121
|
-
var
|
|
110122
|
-
minimatch.sep =
|
|
110123
|
+
var sep2 = defaultPlatform === "win32" ? path3.win32.sep : path3.posix.sep;
|
|
110124
|
+
minimatch.sep = sep2;
|
|
110123
110125
|
var GLOBSTAR = Symbol("globstar **");
|
|
110124
110126
|
minimatch.GLOBSTAR = GLOBSTAR;
|
|
110125
110127
|
var qmark2 = "[^/]";
|
|
@@ -113987,7 +113989,7 @@ var PathScurryBase = class {
|
|
|
113987
113989
|
*
|
|
113988
113990
|
* @internal
|
|
113989
113991
|
*/
|
|
113990
|
-
constructor(cwd = process.cwd(), pathImpl,
|
|
113992
|
+
constructor(cwd = process.cwd(), pathImpl, sep3, { nocase, childrenCacheSize = 16 * 1024, fs = defaultFS } = {}) {
|
|
113991
113993
|
this.#fs = fsFromOption(fs);
|
|
113992
113994
|
if (cwd instanceof URL || cwd.startsWith("file://")) {
|
|
113993
113995
|
cwd = (0, import_url.fileURLToPath)(cwd);
|
|
@@ -113998,7 +114000,7 @@ var PathScurryBase = class {
|
|
|
113998
114000
|
this.#resolveCache = new ResolveCache();
|
|
113999
114001
|
this.#resolvePosixCache = new ResolveCache();
|
|
114000
114002
|
this.#children = new ChildrenCache(childrenCacheSize);
|
|
114001
|
-
const split = cwdPath.substring(this.rootPath.length).split(
|
|
114003
|
+
const split = cwdPath.substring(this.rootPath.length).split(sep3);
|
|
114002
114004
|
if (split.length === 1 && !split[0]) {
|
|
114003
114005
|
split.pop();
|
|
114004
114006
|
}
|
package/src/utils/index.js
CHANGED
|
@@ -106399,7 +106399,7 @@ var require_shared = __commonJS({
|
|
|
106399
106399
|
var isBinaryPath$1 = (filePath) => extensions.has(path3.extname(filePath).slice(1).toLowerCase());
|
|
106400
106400
|
var constants4 = {};
|
|
106401
106401
|
(function(exports3) {
|
|
106402
|
-
const { sep:
|
|
106402
|
+
const { sep: sep3 } = require$$0$2;
|
|
106403
106403
|
const { platform } = process;
|
|
106404
106404
|
const os2 = require$$2$1;
|
|
106405
106405
|
exports3.EV_ALL = "all";
|
|
@@ -106427,7 +106427,7 @@ var require_shared = __commonJS({
|
|
|
106427
106427
|
exports3.KEY_ERR = "errHandlers";
|
|
106428
106428
|
exports3.KEY_RAW = "rawEmitters";
|
|
106429
106429
|
exports3.HANDLER_KEYS = [exports3.KEY_LISTENERS, exports3.KEY_ERR, exports3.KEY_RAW];
|
|
106430
|
-
exports3.DOT_SLASH = `.${
|
|
106430
|
+
exports3.DOT_SLASH = `.${sep3}`;
|
|
106431
106431
|
exports3.BACK_SLASH_RE = /\\/g;
|
|
106432
106432
|
exports3.DOUBLE_SLASH_RE = /\/\//;
|
|
106433
106433
|
exports3.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
@@ -109186,7 +109186,7 @@ var require_is_binary_path = __commonJS({
|
|
|
109186
109186
|
var require_constants5 = __commonJS({
|
|
109187
109187
|
"node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/constants.js"(exports2) {
|
|
109188
109188
|
"use strict";
|
|
109189
|
-
var { sep:
|
|
109189
|
+
var { sep: sep3 } = require("path");
|
|
109190
109190
|
var { platform } = process;
|
|
109191
109191
|
var os2 = require("os");
|
|
109192
109192
|
exports2.EV_ALL = "all";
|
|
@@ -109214,7 +109214,7 @@ var require_constants5 = __commonJS({
|
|
|
109214
109214
|
exports2.KEY_ERR = "errHandlers";
|
|
109215
109215
|
exports2.KEY_RAW = "rawEmitters";
|
|
109216
109216
|
exports2.HANDLER_KEYS = [exports2.KEY_LISTENERS, exports2.KEY_ERR, exports2.KEY_RAW];
|
|
109217
|
-
exports2.DOT_SLASH = `.${
|
|
109217
|
+
exports2.DOT_SLASH = `.${sep3}`;
|
|
109218
109218
|
exports2.BACK_SLASH_RE = /\\/g;
|
|
109219
109219
|
exports2.DOUBLE_SLASH_RE = /\/\//;
|
|
109220
109220
|
exports2.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
@@ -119811,7 +119811,9 @@ var runTsupBuild = async (context, config, options) => {
|
|
|
119811
119811
|
...options,
|
|
119812
119812
|
main: context.main,
|
|
119813
119813
|
entry: {
|
|
119814
|
-
[removeExtension(
|
|
119814
|
+
[removeExtension(
|
|
119815
|
+
context.main?.split(context.main?.includes(import_node_path6.sep) ? import_node_path6.sep : context.main?.includes("/") ? "/" : "\\")?.pop()
|
|
119816
|
+
)]: context.main
|
|
119815
119817
|
},
|
|
119816
119818
|
define: {
|
|
119817
119819
|
__STORM_CONFIG: JSON.stringify(stormEnv)
|