@storm-software/workspace-tools 1.52.16 → 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 CHANGED
@@ -1,3 +1,15 @@
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
+
1
13
 
2
14
 
3
15
  ## 1.52.15 (2024-01-29)
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 sep3 = this.styles.muted(this.symbols.ellipsis);
29032
- return this.state.submitted ? super.separator() : sep3;
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 sep3 = await this.resolve(choice.separator, this.state, choice, i) || ":";
29397
- return sep3 ? " " + this.styles.disabled(sep3) : "";
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 sep3 = await this.choiceSeparator(choice, i);
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 + sep3, input, help].filter(Boolean).join(" ");
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 sep3 = await this.separator();
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, sep3].filter(Boolean).join(" ");
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: sep3 } = require$$0$2;
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 = `.${sep3}`;
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: sep3 } = require("path");
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 = `.${sep3}`;
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 = /[/\\]/;
@@ -133242,8 +133242,11 @@ var runTsupBuild = async (context, config, options) => {
133242
133242
  options.plugins.push(environmentPlugin(stormEnv));
133243
133243
  const getConfigOptions = {
133244
133244
  ...options,
133245
+ main: context.main,
133245
133246
  entry: {
133246
- [removeExtension(context.main).replace(config.workspaceRoot, "").replace(context.sourceRoot, "")]: context.main
133247
+ [removeExtension(
133248
+ context.main?.split(context.main?.includes(import_node_path6.sep) ? import_node_path6.sep : context.main?.includes("/") ? "/" : "\\")?.pop()
133249
+ )]: context.main
133247
133250
  },
133248
133251
  define: {
133249
133252
  __STORM_CONFIG: JSON.stringify(stormEnv)
@@ -134065,8 +134068,8 @@ var path3 = {
134065
134068
  win32: { sep: "\\" },
134066
134069
  posix: { sep: "/" }
134067
134070
  };
134068
- var sep2 = defaultPlatform === "win32" ? path3.win32.sep : path3.posix.sep;
134069
- minimatch.sep = sep2;
134071
+ var sep3 = defaultPlatform === "win32" ? path3.win32.sep : path3.posix.sep;
134072
+ minimatch.sep = sep3;
134070
134073
  var GLOBSTAR = Symbol("globstar **");
134071
134074
  minimatch.GLOBSTAR = GLOBSTAR;
134072
134075
  var qmark2 = "[^/]";
@@ -137934,7 +137937,7 @@ var PathScurryBase = class {
137934
137937
  *
137935
137938
  * @internal
137936
137939
  */
137937
- constructor(cwd = process.cwd(), pathImpl, sep3, { nocase, childrenCacheSize = 16 * 1024, fs = defaultFS } = {}) {
137940
+ constructor(cwd = process.cwd(), pathImpl, sep4, { nocase, childrenCacheSize = 16 * 1024, fs = defaultFS } = {}) {
137938
137941
  this.#fs = fsFromOption(fs);
137939
137942
  if (cwd instanceof URL || cwd.startsWith("file://")) {
137940
137943
  cwd = (0, import_url.fileURLToPath)(cwd);
@@ -137945,7 +137948,7 @@ var PathScurryBase = class {
137945
137948
  this.#resolveCache = new ResolveCache();
137946
137949
  this.#resolvePosixCache = new ResolveCache();
137947
137950
  this.#children = new ChildrenCache(childrenCacheSize);
137948
- const split = cwdPath.substring(this.rootPath.length).split(sep3);
137951
+ const split = cwdPath.substring(this.rootPath.length).split(sep4);
137949
137952
  if (split.length === 1 && !split[0]) {
137950
137953
  split.pop();
137951
137954
  }