@storm-software/workspace-tools 1.49.24 → 1.49.25
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 +8 -9
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +8 -9
- package/src/executors/tsup-browser/executor.js +8 -9
- package/src/executors/tsup-neutral/executor.js +8 -9
- package/src/executors/tsup-node/executor.js +8 -9
- package/src/utils/index.js +8 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 1.49.25 (2024-01-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- **workspace-tools:** Moved the tsup config logging ([451d4fcc](https://github.com/storm-software/storm-ops/commit/451d4fcc))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Patrick Sullivan
|
|
12
|
+
|
|
1
13
|
## 1.49.24 (2024-01-26)
|
|
2
14
|
|
|
3
15
|
|
package/index.js
CHANGED
|
@@ -132876,20 +132876,20 @@ ${options.banner}
|
|
|
132876
132876
|
};
|
|
132877
132877
|
if (options.getConfig) {
|
|
132878
132878
|
writeInfo(config, "\u26A1 Running the Build process");
|
|
132879
|
-
writeDebug(
|
|
132880
|
-
config,
|
|
132881
|
-
`\u2699\uFE0F Build options:
|
|
132882
|
-
${Object.keys(options).map(
|
|
132883
|
-
(key) => `${key}: ${!options[key] || _isPrimitive(options[key]) ? options[key] : _isFunction2(options[key]) ? "<function>" : JSON.stringify(options[key])}`
|
|
132884
|
-
).join("\n")}
|
|
132885
|
-
`
|
|
132886
|
-
);
|
|
132887
132879
|
const getConfigFns = [options.getConfig];
|
|
132888
132880
|
const tsupConfig = (0, import_tsup.defineConfig)(
|
|
132889
132881
|
getConfigFns.map(
|
|
132890
132882
|
(getConfigFn) => getConfig(config.workspaceRoot, context.projectRoot, getConfigFn, getConfigOptions)
|
|
132891
132883
|
)
|
|
132892
132884
|
);
|
|
132885
|
+
writeDebug(
|
|
132886
|
+
config,
|
|
132887
|
+
`\u2699\uFE0F Build options:
|
|
132888
|
+
${_isFunction2(tsupConfig) ? Object.keys(tsupConfig).map(
|
|
132889
|
+
(key) => `${key}: ${!tsupConfig[key] || _isPrimitive(tsupConfig[key]) ? tsupConfig[key] : _isFunction2(tsupConfig[key]) ? "<function>" : JSON.stringify(tsupConfig[key])}`
|
|
132890
|
+
).join("\n") : "<function>"}
|
|
132891
|
+
`
|
|
132892
|
+
);
|
|
132893
132893
|
if (_isFunction2(tsupConfig)) {
|
|
132894
132894
|
await build(await Promise.resolve(tsupConfig({})), config);
|
|
132895
132895
|
} else {
|
|
@@ -132940,7 +132940,6 @@ var build = async (options, config) => {
|
|
|
132940
132940
|
console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
|
|
132941
132941
|
}
|
|
132942
132942
|
await (0, import_tsup.build)(options);
|
|
132943
|
-
await new Promise((r) => setTimeout(r, 100));
|
|
132944
132943
|
}
|
|
132945
132944
|
};
|
|
132946
132945
|
var _isPrimitive = (value) => {
|