@storm-software/workspace-tools 1.176.0 → 1.177.1
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 +14 -0
- package/index.js +12 -4
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/base-executor.js +1 -0
- package/src/base/index.js +1 -0
- package/src/executors/cargo-build/executor.js +1 -0
- package/src/executors/cargo-check/executor.js +1 -0
- package/src/executors/cargo-clippy/executor.js +1 -0
- package/src/executors/cargo-doc/executor.js +1 -0
- package/src/executors/cargo-format/executor.js +1 -0
- package/src/executors/clean-package/executor.js +1 -0
- package/src/executors/rolldown/executor.js +1 -0
- package/src/executors/rollup/executor.js +12 -4
- package/src/executors/size-limit/executor.js +1 -0
- package/src/executors/tsup/executor.js +1 -0
- package/src/executors/tsup-browser/executor.js +1 -0
- package/src/executors/tsup-neutral/executor.js +1 -0
- package/src/executors/tsup-node/executor.js +1 -0
- package/src/executors/typia/executor.js +1 -0
- package/src/executors/unbuild/executor.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 1.177.1 (2024-09-08)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **workspace-tools:** Added additional logging to Rollup options
|
|
6
|
+
([2f542ce8](https://github.com/storm-software/storm-ops/commit/2f542ce8))
|
|
7
|
+
|
|
8
|
+
## 1.177.0 (2024-09-08)
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
- **workspace-tools:** Added enhanced post executor logging
|
|
13
|
+
([6d7d2165](https://github.com/storm-software/storm-ops/commit/6d7d2165))
|
|
14
|
+
|
|
1
15
|
## 1.176.0 (2024-09-08)
|
|
2
16
|
|
|
3
17
|
### Features
|
package/index.js
CHANGED
|
@@ -331627,6 +331627,7 @@ ${Object.keys(options).map(
|
|
|
331627
331627
|
${formatLogMessage2(result)}`,
|
|
331628
331628
|
config
|
|
331629
331629
|
);
|
|
331630
|
+
console.error(result);
|
|
331630
331631
|
throw new Error(`The ${name} executor failed to run`, {
|
|
331631
331632
|
cause: result?.error
|
|
331632
331633
|
});
|
|
@@ -341728,6 +341729,7 @@ async function* rollupExecutorFn(options, context, config) {
|
|
|
341728
341729
|
writeTrace: writeTrace2,
|
|
341729
341730
|
writeInfo: writeInfo2,
|
|
341730
341731
|
writeError: writeError2,
|
|
341732
|
+
writeWarning: writeWarning2,
|
|
341731
341733
|
formatLogMessage: formatLogMessage2,
|
|
341732
341734
|
findWorkspaceRoot: findWorkspaceRoot2,
|
|
341733
341735
|
correctPaths: correctPaths2
|
|
@@ -341796,7 +341798,15 @@ ${formatLogMessage2(options)}`, config);
|
|
|
341796
341798
|
rollupConfig: [],
|
|
341797
341799
|
projectRoot: context.projectGraph?.nodes[context.projectName]?.data.root,
|
|
341798
341800
|
skipTypeCheck: options.skipTypeCheck || false,
|
|
341799
|
-
logLevel: convertRollupLogLevel(config?.logLevel ?? "info")
|
|
341801
|
+
logLevel: convertRollupLogLevel(config?.logLevel ?? "info"),
|
|
341802
|
+
onLog: (level, log, defaultHandler) => {
|
|
341803
|
+
writeTrace2(log, config);
|
|
341804
|
+
},
|
|
341805
|
+
onwarn: (warning, defaultHandler) => {
|
|
341806
|
+
writeWarning2(warning, config);
|
|
341807
|
+
},
|
|
341808
|
+
perf: true,
|
|
341809
|
+
treeshake: true
|
|
341800
341810
|
};
|
|
341801
341811
|
const rollupOptions = await createRollupOptions(normalizedOptions, context);
|
|
341802
341812
|
const outfile = resolveOutfile(context, normalizedOptions);
|
|
@@ -341827,9 +341837,7 @@ ${formatLogMessage2(options)}`, config);
|
|
|
341827
341837
|
const start = process.hrtime.bigint();
|
|
341828
341838
|
const allRollupOptions = Array.isArray(rollupOptions) ? rollupOptions : [rollupOptions];
|
|
341829
341839
|
for (const opts of allRollupOptions) {
|
|
341830
|
-
const bundle = await rollup(
|
|
341831
|
-
...opts
|
|
341832
|
-
});
|
|
341840
|
+
const bundle = await rollup(opts);
|
|
341833
341841
|
const output3 = Array.isArray(opts.output) ? opts.output : [opts.output];
|
|
341834
341842
|
for (const o of output3) {
|
|
341835
341843
|
if (o) {
|