@motiadev/workbench 0.17.0-beta.182-326905 → 0.17.1-beta.183-457518

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.
@@ -1,6 +1,7 @@
1
1
  import { Printer } from "@motiadev/core";
2
2
  import react from "@vitejs/plugin-react";
3
3
  import fs, { existsSync } from "fs";
4
+ import { createRequire } from "module";
4
5
  import path from "path";
5
6
  import { fileURLToPath } from "url";
6
7
  import { createServer } from "vite";
@@ -636,6 +637,7 @@ const reoPlugin = () => {
636
637
  };
637
638
  };
638
639
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
640
+ const require = createRequire(import.meta.url);
639
641
  const warmupMotiaPlugins = async (viteServer) => {
640
642
  try {
641
643
  if ((await viteServer.transformRequest(CONSTANTS.VIRTUAL_MODULE_ID))?.code) printer.printPluginLog("Plugin system warmed up eagerly");
@@ -672,7 +674,7 @@ const applyMiddleware = async ({ app, port, workbenchBase, plugins }) => {
672
674
  } },
673
675
  optimizeDeps: { exclude: ["@motiadev/workbench"] },
674
676
  plugins: [
675
- react({ babel: { plugins: ["babel-plugin-react-compiler"] } }),
677
+ react({ babel: { plugins: [[require.resolve("babel-plugin-react-compiler"), {}]] } }),
676
678
  processCwdPlugin(),
677
679
  reoPlugin(),
678
680
  motiaPluginsPlugin(plugins),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@motiadev/workbench",
3
3
  "description": "A web-based interface for building and managing Motia workflows.",
4
- "version": "0.17.0-beta.182-326905",
4
+ "version": "0.17.1-beta.183-457518",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -39,9 +39,9 @@
39
39
  "vite": "^7.2.4",
40
40
  "zod": "^4.1.13",
41
41
  "zustand": "^5.0.8",
42
- "@motiadev/core": "0.17.0-beta.182-326905",
43
- "@motiadev/ui": "0.17.0-beta.182-326905",
44
- "@motiadev/stream-client-react": "0.17.0-beta.182-326905"
42
+ "@motiadev/core": "0.17.1-beta.183-457518",
43
+ "@motiadev/ui": "0.17.1-beta.183-457518",
44
+ "@motiadev/stream-client-react": "0.17.1-beta.183-457518"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@rollup/plugin-babel": "^6.1.0",