@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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 1.52.17 (2024-01-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- **workspace-tools:** Update the entry paths passed to tsup ([36a1e839](https://github.com/storm-software/storm-ops/commit/36a1e839))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Patrick Sullivan
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
1
15
|
## 1.52.15 (2024-01-29)
|
|
2
16
|
|
|
3
17
|
|
package/index.js
CHANGED
|
@@ -29028,8 +29028,8 @@ var require_select = __commonJS({
|
|
|
29028
29028
|
separator() {
|
|
29029
29029
|
if (this.options.separator)
|
|
29030
29030
|
return super.separator();
|
|
29031
|
-
let
|
|
29032
|
-
return this.state.submitted ? super.separator() :
|
|
29031
|
+
let sep4 = this.styles.muted(this.symbols.ellipsis);
|
|
29032
|
+
return this.state.submitted ? super.separator() : sep4;
|
|
29033
29033
|
}
|
|
29034
29034
|
pointer(choice, i) {
|
|
29035
29035
|
return !this.multiple || this.options.pointer ? super.pointer(choice, i) : "";
|
|
@@ -29393,8 +29393,8 @@ var require_form = __commonJS({
|
|
|
29393
29393
|
return choice.input ? "\u29BF" : "\u2299";
|
|
29394
29394
|
}
|
|
29395
29395
|
async choiceSeparator(choice, i) {
|
|
29396
|
-
let
|
|
29397
|
-
return
|
|
29396
|
+
let sep4 = await this.resolve(choice.separator, this.state, choice, i) || ":";
|
|
29397
|
+
return sep4 ? " " + this.styles.disabled(sep4) : "";
|
|
29398
29398
|
}
|
|
29399
29399
|
async renderChoice(choice, i) {
|
|
29400
29400
|
await this.onChoice(choice, i);
|
|
@@ -29404,7 +29404,7 @@ var require_form = __commonJS({
|
|
|
29404
29404
|
let help = hint;
|
|
29405
29405
|
let focused = this.index === i;
|
|
29406
29406
|
let validate = choice.validate || (() => true);
|
|
29407
|
-
let
|
|
29407
|
+
let sep4 = await this.choiceSeparator(choice, i);
|
|
29408
29408
|
let msg = choice.message;
|
|
29409
29409
|
if (this.align === "right")
|
|
29410
29410
|
msg = msg.padStart(this.longest + 1, " ");
|
|
@@ -29418,7 +29418,7 @@ var require_form = __commonJS({
|
|
|
29418
29418
|
let style = styles[color];
|
|
29419
29419
|
let indicator = style(await this.indicator(choice, i)) + (choice.pad || "");
|
|
29420
29420
|
let indent = this.indent(choice);
|
|
29421
|
-
let line = () => [indent, indicator, msg +
|
|
29421
|
+
let line = () => [indent, indicator, msg + sep4, input, help].filter(Boolean).join(" ");
|
|
29422
29422
|
if (state.submitted) {
|
|
29423
29423
|
msg = colors.unstyle(msg);
|
|
29424
29424
|
input = submitted(input);
|
|
@@ -29574,10 +29574,10 @@ var require_boolean = __commonJS({
|
|
|
29574
29574
|
async render() {
|
|
29575
29575
|
let { input, size } = this.state;
|
|
29576
29576
|
let prefix = await this.prefix();
|
|
29577
|
-
let
|
|
29577
|
+
let sep4 = await this.separator();
|
|
29578
29578
|
let msg = await this.message();
|
|
29579
29579
|
let hint = this.styles.muted(this.default);
|
|
29580
|
-
let promptLine = [prefix, msg, hint,
|
|
29580
|
+
let promptLine = [prefix, msg, hint, sep4].filter(Boolean).join(" ");
|
|
29581
29581
|
this.state.prompt = promptLine;
|
|
29582
29582
|
let header = await this.header();
|
|
29583
29583
|
let value = this.value = this.cast(input);
|
|
@@ -96038,7 +96038,7 @@ var require_shared = __commonJS({
|
|
|
96038
96038
|
var isBinaryPath$1 = (filePath) => extensions.has(path5.extname(filePath).slice(1).toLowerCase());
|
|
96039
96039
|
var constants4 = {};
|
|
96040
96040
|
(function(exports3) {
|
|
96041
|
-
const { sep:
|
|
96041
|
+
const { sep: sep4 } = require$$0$2;
|
|
96042
96042
|
const { platform } = process;
|
|
96043
96043
|
const os2 = require$$2$1;
|
|
96044
96044
|
exports3.EV_ALL = "all";
|
|
@@ -96066,7 +96066,7 @@ var require_shared = __commonJS({
|
|
|
96066
96066
|
exports3.KEY_ERR = "errHandlers";
|
|
96067
96067
|
exports3.KEY_RAW = "rawEmitters";
|
|
96068
96068
|
exports3.HANDLER_KEYS = [exports3.KEY_LISTENERS, exports3.KEY_ERR, exports3.KEY_RAW];
|
|
96069
|
-
exports3.DOT_SLASH = `.${
|
|
96069
|
+
exports3.DOT_SLASH = `.${sep4}`;
|
|
96070
96070
|
exports3.BACK_SLASH_RE = /\\/g;
|
|
96071
96071
|
exports3.DOUBLE_SLASH_RE = /\/\//;
|
|
96072
96072
|
exports3.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
@@ -98825,7 +98825,7 @@ var require_is_binary_path = __commonJS({
|
|
|
98825
98825
|
var require_constants5 = __commonJS({
|
|
98826
98826
|
"node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/constants.js"(exports2) {
|
|
98827
98827
|
"use strict";
|
|
98828
|
-
var { sep:
|
|
98828
|
+
var { sep: sep4 } = require("path");
|
|
98829
98829
|
var { platform } = process;
|
|
98830
98830
|
var os2 = require("os");
|
|
98831
98831
|
exports2.EV_ALL = "all";
|
|
@@ -98853,7 +98853,7 @@ var require_constants5 = __commonJS({
|
|
|
98853
98853
|
exports2.KEY_ERR = "errHandlers";
|
|
98854
98854
|
exports2.KEY_RAW = "rawEmitters";
|
|
98855
98855
|
exports2.HANDLER_KEYS = [exports2.KEY_LISTENERS, exports2.KEY_ERR, exports2.KEY_RAW];
|
|
98856
|
-
exports2.DOT_SLASH = `.${
|
|
98856
|
+
exports2.DOT_SLASH = `.${sep4}`;
|
|
98857
98857
|
exports2.BACK_SLASH_RE = /\\/g;
|
|
98858
98858
|
exports2.DOUBLE_SLASH_RE = /\/\//;
|
|
98859
98859
|
exports2.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
@@ -133244,7 +133244,9 @@ var runTsupBuild = async (context, config, options) => {
|
|
|
133244
133244
|
...options,
|
|
133245
133245
|
main: context.main,
|
|
133246
133246
|
entry: {
|
|
133247
|
-
[removeExtension(
|
|
133247
|
+
[removeExtension(
|
|
133248
|
+
context.main?.split(context.main?.includes(import_node_path6.sep) ? import_node_path6.sep : context.main?.includes("/") ? "/" : "\\")?.pop()
|
|
133249
|
+
)]: context.main
|
|
133248
133250
|
},
|
|
133249
133251
|
define: {
|
|
133250
133252
|
__STORM_CONFIG: JSON.stringify(stormEnv)
|
|
@@ -134066,8 +134068,8 @@ var path3 = {
|
|
|
134066
134068
|
win32: { sep: "\\" },
|
|
134067
134069
|
posix: { sep: "/" }
|
|
134068
134070
|
};
|
|
134069
|
-
var
|
|
134070
|
-
minimatch.sep =
|
|
134071
|
+
var sep3 = defaultPlatform === "win32" ? path3.win32.sep : path3.posix.sep;
|
|
134072
|
+
minimatch.sep = sep3;
|
|
134071
134073
|
var GLOBSTAR = Symbol("globstar **");
|
|
134072
134074
|
minimatch.GLOBSTAR = GLOBSTAR;
|
|
134073
134075
|
var qmark2 = "[^/]";
|
|
@@ -137935,7 +137937,7 @@ var PathScurryBase = class {
|
|
|
137935
137937
|
*
|
|
137936
137938
|
* @internal
|
|
137937
137939
|
*/
|
|
137938
|
-
constructor(cwd = process.cwd(), pathImpl,
|
|
137940
|
+
constructor(cwd = process.cwd(), pathImpl, sep4, { nocase, childrenCacheSize = 16 * 1024, fs = defaultFS } = {}) {
|
|
137939
137941
|
this.#fs = fsFromOption(fs);
|
|
137940
137942
|
if (cwd instanceof URL || cwd.startsWith("file://")) {
|
|
137941
137943
|
cwd = (0, import_url.fileURLToPath)(cwd);
|
|
@@ -137946,7 +137948,7 @@ var PathScurryBase = class {
|
|
|
137946
137948
|
this.#resolveCache = new ResolveCache();
|
|
137947
137949
|
this.#resolvePosixCache = new ResolveCache();
|
|
137948
137950
|
this.#children = new ChildrenCache(childrenCacheSize);
|
|
137949
|
-
const split = cwdPath.substring(this.rootPath.length).split(
|
|
137951
|
+
const split = cwdPath.substring(this.rootPath.length).split(sep4);
|
|
137950
137952
|
if (split.length === 1 && !split[0]) {
|
|
137951
137953
|
split.pop();
|
|
137952
137954
|
}
|