@storm-software/workspace-tools 1.49.18 → 1.49.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 +12 -0
- package/index.js +17 -2
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +17 -2
- package/src/executors/tsup-browser/executor.js +17 -2
- package/src/executors/tsup-neutral/executor.js +17 -2
- package/src/executors/tsup-node/executor.js +17 -2
- package/src/utils/index.js +16 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 1.49.19 (2024-01-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- **workspace-tools:** Add build options logging to tsup processing ([2c1e2063](https://github.com/storm-software/storm-ops/commit/2c1e2063))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Patrick Sullivan
|
|
12
|
+
|
|
1
13
|
## 1.49.18 (2024-01-25)
|
|
2
14
|
|
|
3
15
|
|
package/index.js
CHANGED
|
@@ -132863,6 +132863,14 @@ ${options.banner}
|
|
|
132863
132863
|
};
|
|
132864
132864
|
if (options.getConfig) {
|
|
132865
132865
|
writeInfo(config, "\u26A1 Running the Build process");
|
|
132866
|
+
writeDebug(
|
|
132867
|
+
config,
|
|
132868
|
+
`\u2699\uFE0F Build options:
|
|
132869
|
+
${Object.keys(options).map(
|
|
132870
|
+
(key) => `${key}: ${!options[key] || _isPrimitive(options[key]) ? options[key] : JSON.stringify(options[key])}`
|
|
132871
|
+
).join("\n")}
|
|
132872
|
+
`
|
|
132873
|
+
);
|
|
132866
132874
|
const getConfigFns = _isFunction(options.getConfig) ? [options.getConfig] : Object.keys(options.getConfig).map((key) => options.getConfig[key]);
|
|
132867
132875
|
const tsupConfig = (0, import_tsup.defineConfig)(
|
|
132868
132876
|
getConfigFns.map(
|
|
@@ -132922,6 +132930,13 @@ var build = async (options, config) => {
|
|
|
132922
132930
|
await new Promise((r) => setTimeout(r, 100));
|
|
132923
132931
|
}
|
|
132924
132932
|
};
|
|
132933
|
+
var _isPrimitive = (value) => {
|
|
132934
|
+
try {
|
|
132935
|
+
return value === void 0 || value === null || typeof value !== "object" && typeof value !== "function";
|
|
132936
|
+
} catch (e) {
|
|
132937
|
+
return false;
|
|
132938
|
+
}
|
|
132939
|
+
};
|
|
132925
132940
|
var _isFunction = (value) => {
|
|
132926
132941
|
try {
|
|
132927
132942
|
return value instanceof Function || typeof value === "function" || !!(value?.constructor && value?.call && value?.apply);
|
|
@@ -139204,7 +139219,7 @@ async function tsupExecutorFn(options, context, config) {
|
|
|
139204
139219
|
config,
|
|
139205
139220
|
`\u2699\uFE0F Executor options:
|
|
139206
139221
|
${Object.keys(options).map(
|
|
139207
|
-
(key) => `${key}: ${!options[key] ||
|
|
139222
|
+
(key) => `${key}: ${!options[key] || _isPrimitive2(options[key]) ? options[key] : JSON.stringify(options[key])}`
|
|
139208
139223
|
).join("\n")}
|
|
139209
139224
|
`
|
|
139210
139225
|
);
|
|
@@ -139548,7 +139563,7 @@ var executor_default = withRunExecutor("TypeScript Build using tsup", tsupExecut
|
|
|
139548
139563
|
applyDefaultOptions
|
|
139549
139564
|
}
|
|
139550
139565
|
});
|
|
139551
|
-
var
|
|
139566
|
+
var _isPrimitive2 = (value) => {
|
|
139552
139567
|
try {
|
|
139553
139568
|
return value === void 0 || value === null || typeof value !== "object" && typeof value !== "function";
|
|
139554
139569
|
} catch (e) {
|