@storm-software/workspace-tools 1.43.19 → 1.43.20
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 +6 -11
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +6 -11
- package/src/executors/tsup-browser/executor.js +6 -11
- package/src/executors/tsup-neutral/executor.js +6 -11
- package/src/executors/tsup-node/executor.js +6 -11
package/package.json
CHANGED
|
@@ -137488,18 +137488,13 @@ function getNormalizedTsConfig(workspaceRoot, outputPath, options) {
|
|
|
137488
137488
|
return tsConfig;
|
|
137489
137489
|
}
|
|
137490
137490
|
var build = async (options, config) => {
|
|
137491
|
-
|
|
137492
|
-
|
|
137493
|
-
|
|
137494
|
-
|
|
137495
|
-
|
|
137496
|
-
console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
|
|
137497
|
-
}
|
|
137498
|
-
await (0, import_tsup.build)(options);
|
|
137491
|
+
if (Array.isArray(options)) {
|
|
137492
|
+
await Promise.all(options.map((buildOptions) => build(buildOptions, config)));
|
|
137493
|
+
} else {
|
|
137494
|
+
if (getLogLevel(config?.logLevel) >= LogLevel.TRACE && !options.silent) {
|
|
137495
|
+
console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
|
|
137499
137496
|
}
|
|
137500
|
-
|
|
137501
|
-
console.error("\u26A0\uFE0F A failure occured during the Tsup Build executor");
|
|
137502
|
-
console.error(e);
|
|
137497
|
+
await (0, import_tsup.build)(options);
|
|
137503
137498
|
}
|
|
137504
137499
|
};
|
|
137505
137500
|
var applyDefaultOptions = (options) => {
|
|
@@ -137519,18 +137519,13 @@ function getNormalizedTsConfig(workspaceRoot, outputPath, options) {
|
|
|
137519
137519
|
return tsConfig;
|
|
137520
137520
|
}
|
|
137521
137521
|
var build = async (options, config) => {
|
|
137522
|
-
|
|
137523
|
-
|
|
137524
|
-
|
|
137525
|
-
|
|
137526
|
-
|
|
137527
|
-
console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
|
|
137528
|
-
}
|
|
137529
|
-
await (0, import_tsup.build)(options);
|
|
137522
|
+
if (Array.isArray(options)) {
|
|
137523
|
+
await Promise.all(options.map((buildOptions) => build(buildOptions, config)));
|
|
137524
|
+
} else {
|
|
137525
|
+
if (getLogLevel(config?.logLevel) >= LogLevel.TRACE && !options.silent) {
|
|
137526
|
+
console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
|
|
137530
137527
|
}
|
|
137531
|
-
|
|
137532
|
-
console.error("\u26A0\uFE0F A failure occured during the Tsup Build executor");
|
|
137533
|
-
console.error(e);
|
|
137528
|
+
await (0, import_tsup.build)(options);
|
|
137534
137529
|
}
|
|
137535
137530
|
};
|
|
137536
137531
|
var applyDefaultOptions = (options) => {
|
|
@@ -137519,18 +137519,13 @@ function getNormalizedTsConfig(workspaceRoot, outputPath, options) {
|
|
|
137519
137519
|
return tsConfig;
|
|
137520
137520
|
}
|
|
137521
137521
|
var build = async (options, config) => {
|
|
137522
|
-
|
|
137523
|
-
|
|
137524
|
-
|
|
137525
|
-
|
|
137526
|
-
|
|
137527
|
-
console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
|
|
137528
|
-
}
|
|
137529
|
-
await (0, import_tsup.build)(options);
|
|
137522
|
+
if (Array.isArray(options)) {
|
|
137523
|
+
await Promise.all(options.map((buildOptions) => build(buildOptions, config)));
|
|
137524
|
+
} else {
|
|
137525
|
+
if (getLogLevel(config?.logLevel) >= LogLevel.TRACE && !options.silent) {
|
|
137526
|
+
console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
|
|
137530
137527
|
}
|
|
137531
|
-
|
|
137532
|
-
console.error("\u26A0\uFE0F A failure occured during the Tsup Build executor");
|
|
137533
|
-
console.error(e);
|
|
137528
|
+
await (0, import_tsup.build)(options);
|
|
137534
137529
|
}
|
|
137535
137530
|
};
|
|
137536
137531
|
var applyDefaultOptions = (options) => {
|
|
@@ -137519,18 +137519,13 @@ function getNormalizedTsConfig(workspaceRoot, outputPath, options) {
|
|
|
137519
137519
|
return tsConfig;
|
|
137520
137520
|
}
|
|
137521
137521
|
var build = async (options, config) => {
|
|
137522
|
-
|
|
137523
|
-
|
|
137524
|
-
|
|
137525
|
-
|
|
137526
|
-
|
|
137527
|
-
console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
|
|
137528
|
-
}
|
|
137529
|
-
await (0, import_tsup.build)(options);
|
|
137522
|
+
if (Array.isArray(options)) {
|
|
137523
|
+
await Promise.all(options.map((buildOptions) => build(buildOptions, config)));
|
|
137524
|
+
} else {
|
|
137525
|
+
if (getLogLevel(config?.logLevel) >= LogLevel.TRACE && !options.silent) {
|
|
137526
|
+
console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
|
|
137530
137527
|
}
|
|
137531
|
-
|
|
137532
|
-
console.error("\u26A0\uFE0F A failure occured during the Tsup Build executor");
|
|
137533
|
-
console.error(e);
|
|
137528
|
+
await (0, import_tsup.build)(options);
|
|
137534
137529
|
}
|
|
137535
137530
|
};
|
|
137536
137531
|
var applyDefaultOptions = (options) => {
|