@storm-software/workspace-tools 1.7.21 → 1.7.22
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 +7 -0
- package/index.js +15 -19
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +36 -26
- package/src/executors/tsup/get-config.js +23 -22
- package/src/executors/tsup/schema.d.ts +1 -0
- package/src/executors/tsup/schema.json +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.7.21](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.20...workspace-tools-v1.7.21) (2023-11-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Added conditional to tsup package.json search ([f1e26a9](https://github.com/storm-software/storm-ops/commit/f1e26a9fadee64704e7a3beebed6ac8e9d103063))
|
|
7
|
+
|
|
1
8
|
## [1.7.20](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.19...workspace-tools-v1.7.20) (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=
|
|
408393
|
+
// node_modules/.pnpm/tsup@7.2.0_patch_hash=gr2wsdlapo7vwpir5qk7uoa264_@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=
|
|
408395
|
+
"node_modules/.pnpm/tsup@7.2.0_patch_hash=gr2wsdlapo7vwpir5qk7uoa264_@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=
|
|
410042
|
+
// node_modules/.pnpm/tsup@7.2.0_patch_hash=gr2wsdlapo7vwpir5qk7uoa264_@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=
|
|
410044
|
+
"node_modules/.pnpm/tsup@7.2.0_patch_hash=gr2wsdlapo7vwpir5qk7uoa264_@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=
|
|
410258
|
+
// node_modules/.pnpm/tsup@7.2.0_patch_hash=gr2wsdlapo7vwpir5qk7uoa264_@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=
|
|
410260
|
+
"node_modules/.pnpm/tsup@7.2.0_patch_hash=gr2wsdlapo7vwpir5qk7uoa264_@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=
|
|
411194
|
+
// node_modules/.pnpm/tsup@7.2.0_patch_hash=gr2wsdlapo7vwpir5qk7uoa264_@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=
|
|
411196
|
+
"node_modules/.pnpm/tsup@7.2.0_patch_hash=gr2wsdlapo7vwpir5qk7uoa264_@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=
|
|
470482
|
+
// node_modules/.pnpm/tsup@7.2.0_patch_hash=gr2wsdlapo7vwpir5qk7uoa264_@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=
|
|
470484
|
+
"node_modules/.pnpm/tsup@7.2.0_patch_hash=gr2wsdlapo7vwpir5qk7uoa264_@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) {
|
|
@@ -472070,27 +472070,23 @@ var require_dist5 = __commonJS({
|
|
|
472070
472070
|
let pkgPath = options.outDir ? options.outDir : process.cwd();
|
|
472071
472071
|
logger.info(format2, `\u26A1 Preparing to run ESBuild: ${pkgPath}`);
|
|
472072
472072
|
if (pkgPath) {
|
|
472073
|
-
const splits = pkgPath.split(
|
|
472073
|
+
const splits = pkgPath.split("/");
|
|
472074
472074
|
if (splits.length > 0) {
|
|
472075
|
-
let
|
|
472076
|
-
for (let i = splits.length - 1; i > 0 && pkgPathIndex < 0; i--) {
|
|
472075
|
+
for (let i = 0; i < splits.length - 1; i++) {
|
|
472077
472076
|
const packageJsonPath = _path2.default.join(
|
|
472078
472077
|
splits.slice(
|
|
472079
472078
|
0,
|
|
472080
472079
|
splits.length - i
|
|
472081
|
-
).join(
|
|
472080
|
+
).join("/"),
|
|
472082
472081
|
"package.json"
|
|
472083
472082
|
);
|
|
472084
472083
|
logger.info(format2, `\u26A1 Searching for package.json file in ${packageJsonPath} (index: ${i})`);
|
|
472085
472084
|
if (_fs2.default.existsSync(packageJsonPath)) {
|
|
472086
472085
|
logger.info(format2, `\u26A1 Found the package.json file in ${packageJsonPath} (index: ${i})`);
|
|
472087
|
-
|
|
472086
|
+
pkgPath = packageJsonPath.replace("package.json", "");
|
|
472087
|
+
break;
|
|
472088
472088
|
}
|
|
472089
472089
|
}
|
|
472090
|
-
logger.info(format2, `\u26A1 Package path index: ${pkgPathIndex}`);
|
|
472091
|
-
if (pkgPathIndex) {
|
|
472092
|
-
pkgPath = splits.slice(0, pkgPathIndex).join(_path2.default.sep);
|
|
472093
|
-
}
|
|
472094
472090
|
}
|
|
472095
472091
|
}
|
|
472096
472092
|
logger.info(format2, `\u26A1 Running ESBuild: ${pkgPath}`);
|