@storm-software/workspace-tools 1.7.18 → 1.7.19

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,10 @@
1
+ ## [1.7.18](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.17...workspace-tools-v1.7.18) (2023-11-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **workspace-tools:** Resolved issue looking up package folder in tsup patch ([0eeee37](https://github.com/storm-software/storm-ops/commit/0eeee37219ceaf2873d7e8d0c7d5f7f46ab6a9bd))
7
+
1
8
  ## [1.7.17](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.16...workspace-tools-v1.7.17) (2023-11-18)
2
9
 
3
10
 
package/index.js CHANGED
@@ -408390,9 +408390,9 @@ var require_brace_expansion2 = __commonJS({
408390
408390
  }
408391
408391
  });
408392
408392
 
408393
- // node_modules/.pnpm/tsup@7.2.0_patch_hash=3xtvwc6ahoiiap2cz52i3iuwfa_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-NSPLMNA4.js
408393
+ // node_modules/.pnpm/tsup@7.2.0_patch_hash=dmhzqdla54qrasadq46t5rzvuy_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-NSPLMNA4.js
408394
408394
  var require_chunk_NSPLMNA4 = __commonJS({
408395
- "node_modules/.pnpm/tsup@7.2.0_patch_hash=3xtvwc6ahoiiap2cz52i3iuwfa_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-NSPLMNA4.js"(exports) {
408395
+ "node_modules/.pnpm/tsup@7.2.0_patch_hash=dmhzqdla54qrasadq46t5rzvuy_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-NSPLMNA4.js"(exports) {
408396
408396
  "use strict";
408397
408397
  Object.defineProperty(exports, "__esModule", { value: true });
408398
408398
  var version = "7.2.0";
@@ -410039,9 +410039,9 @@ var require_resolve_from = __commonJS({
410039
410039
  }
410040
410040
  });
410041
410041
 
410042
- // node_modules/.pnpm/tsup@7.2.0_patch_hash=3xtvwc6ahoiiap2cz52i3iuwfa_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-B7UJSB4N.js
410042
+ // node_modules/.pnpm/tsup@7.2.0_patch_hash=dmhzqdla54qrasadq46t5rzvuy_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-B7UJSB4N.js
410043
410043
  var require_chunk_B7UJSB4N = __commonJS({
410044
- "node_modules/.pnpm/tsup@7.2.0_patch_hash=3xtvwc6ahoiiap2cz52i3iuwfa_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-B7UJSB4N.js"(exports) {
410044
+ "node_modules/.pnpm/tsup@7.2.0_patch_hash=dmhzqdla54qrasadq46t5rzvuy_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-B7UJSB4N.js"(exports) {
410045
410045
  "use strict";
410046
410046
  Object.defineProperty(exports, "__esModule", { value: true });
410047
410047
  function _interopRequireDefault(obj) {
@@ -410255,9 +410255,9 @@ var require_chunk_B7UJSB4N = __commonJS({
410255
410255
  }
410256
410256
  });
410257
410257
 
410258
- // node_modules/.pnpm/tsup@7.2.0_patch_hash=3xtvwc6ahoiiap2cz52i3iuwfa_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-GEVDEBBW.js
410258
+ // node_modules/.pnpm/tsup@7.2.0_patch_hash=dmhzqdla54qrasadq46t5rzvuy_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-GEVDEBBW.js
410259
410259
  var require_chunk_GEVDEBBW = __commonJS({
410260
- "node_modules/.pnpm/tsup@7.2.0_patch_hash=3xtvwc6ahoiiap2cz52i3iuwfa_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-GEVDEBBW.js"(exports) {
410260
+ "node_modules/.pnpm/tsup@7.2.0_patch_hash=dmhzqdla54qrasadq46t5rzvuy_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-GEVDEBBW.js"(exports) {
410261
410261
  "use strict";
410262
410262
  Object.defineProperty(exports, "__esModule", { value: true });
410263
410263
  function _interopRequireWildcard(obj) {
@@ -411191,9 +411191,9 @@ var require_dist2 = __commonJS({
411191
411191
  }
411192
411192
  });
411193
411193
 
411194
- // node_modules/.pnpm/tsup@7.2.0_patch_hash=3xtvwc6ahoiiap2cz52i3iuwfa_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-52KWB5QB.js
411194
+ // node_modules/.pnpm/tsup@7.2.0_patch_hash=dmhzqdla54qrasadq46t5rzvuy_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-52KWB5QB.js
411195
411195
  var require_chunk_52KWB5QB = __commonJS({
411196
- "node_modules/.pnpm/tsup@7.2.0_patch_hash=3xtvwc6ahoiiap2cz52i3iuwfa_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-52KWB5QB.js"(exports) {
411196
+ "node_modules/.pnpm/tsup@7.2.0_patch_hash=dmhzqdla54qrasadq46t5rzvuy_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-52KWB5QB.js"(exports) {
411197
411197
  "use strict";
411198
411198
  Object.defineProperty(exports, "__esModule", { value: true });
411199
411199
  function _interopRequireDefault(obj) {
@@ -470479,9 +470479,9 @@ var require_chokidar = __commonJS({
470479
470479
  }
470480
470480
  });
470481
470481
 
470482
- // node_modules/.pnpm/tsup@7.2.0_patch_hash=3xtvwc6ahoiiap2cz52i3iuwfa_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js
470482
+ // node_modules/.pnpm/tsup@7.2.0_patch_hash=dmhzqdla54qrasadq46t5rzvuy_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js
470483
470483
  var require_dist5 = __commonJS({
470484
- "node_modules/.pnpm/tsup@7.2.0_patch_hash=3xtvwc6ahoiiap2cz52i3iuwfa_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js"(exports) {
470484
+ "node_modules/.pnpm/tsup@7.2.0_patch_hash=dmhzqdla54qrasadq46t5rzvuy_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js"(exports) {
470485
470485
  "use strict";
470486
470486
  Object.defineProperty(exports, "__esModule", { value: true });
470487
470487
  function _interopRequireDefault(obj) {
@@ -472075,13 +472075,17 @@ var require_dist5 = __commonJS({
472075
472075
  const pkgPathIndex = splits.slice(
472076
472076
  0,
472077
472077
  splits.length
472078
- ).reverse().findIndex((split, index) => existsSync(_path2.default.join(
472079
- splits.slice(
472080
- 0,
472081
- index
472082
- ),
472083
- "package.json"
472084
- )));
472078
+ ).reverse().findIndex((split, index) => {
472079
+ const packageJsonPath = _path2.default.join(
472080
+ splits.slice(
472081
+ 0,
472082
+ index
472083
+ ).join(_path2.default.sep),
472084
+ "package.json"
472085
+ );
472086
+ logger.info(format2, `\u26A1 Searching for package.json file in ${packageJsonPath}`);
472087
+ return existsSync(packageJsonPath);
472088
+ });
472085
472089
  logger.info(format2, `\u26A1 Package path index: ${pkgPathIndex}`);
472086
472090
  if (pkgPathIndex) {
472087
472091
  pkgPath = splits.slice(0, pkgPathIndex).join(_path2.default.sep);