@storm-software/workspace-tools 1.68.7 → 1.68.8

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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## 1.68.8 (2024-04-08)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **workspace-tools:** Repush changes to workspace tools ([448d4438](https://github.com/storm-software/storm-ops/commit/448d4438))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
1
13
  ## 1.68.7 (2024-04-08)
2
14
 
3
15
 
package/index.js CHANGED
@@ -264417,9 +264417,9 @@ function isPostInstallProcess() {
264417
264417
  }
264418
264418
 
264419
264419
  // packages/workspace-tools/src/executors/rolldown/executor.ts
264420
- var import_child_process = require("child_process");
264421
264420
  async function rolldownExecutorFn(options, context, config) {
264422
264421
  const { writeDebug: writeDebug2, writeInfo: writeInfo2, writeSuccess: writeSuccess2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
264422
+ const { rolldown } = await import("@storm-software/build-tools");
264423
264423
  writeInfo2(config, "\u{1F4E6} Running Storm build executor on the workspace");
264424
264424
  writeDebug2(
264425
264425
  config,
@@ -264434,33 +264434,11 @@ ${Object.keys(options).map(
264434
264434
  "The Build process failed because the context is not valid. Please run this command from a workspace."
264435
264435
  );
264436
264436
  }
264437
- const buildBin = require.resolve("@storm-software/build-tools/bin/build");
264438
- const args = [
264439
- `--project-root=${context.projectsConfigurations.projects?.[context.projectName]?.root}`,
264440
- `--project-name=${context.projectName}`,
264441
- `--source-root=${context.projectsConfigurations.projects?.[context.projectName]?.sourceRoot}`
264442
- ];
264443
- if (options?.rolldownConfig) {
264444
- args.push(`--config-path=${options?.rolldownConfig}`);
264445
- }
264446
- const proc = (0, import_child_process.fork)(buildBin, ["rolldown", ...args], {
264447
- stdio: ["pipe", "pipe", "pipe", "ipc"],
264448
- cwd: config?.workspaceRoot
264449
- });
264450
- proc.stdout?.on("data", (message) => {
264451
- process.stdout.write(message);
264452
- });
264453
- proc.stderr?.on("data", (message) => {
264454
- process.stderr.write(message);
264455
- });
264456
- await new Promise((resolve, reject) => {
264457
- proc.on("exit", (code) => {
264458
- if (code !== 0) {
264459
- reject(new Error(`Rolldown process exited with code ${code}`));
264460
- } else {
264461
- resolve();
264462
- }
264463
- });
264437
+ await rolldown(config, {
264438
+ ...options,
264439
+ projectRoot: context.projectsConfigurations.projects?.[context.projectName]?.root,
264440
+ projectName: context.projectName,
264441
+ sourceRoot: context.projectsConfigurations.projects?.[context.projectName]?.sourceRoot
264464
264442
  });
264465
264443
  writeSuccess2(config, "\u26A1 The Build process has completed successfully");
264466
264444
  return {