@motiadev/workbench 0.17.1-beta.183-457518 → 0.17.1-beta.183-843379
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/dist/middleware.js +1 -3
- package/package.json +4 -4
package/dist/middleware.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
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";
|
|
5
4
|
import path from "path";
|
|
6
5
|
import { fileURLToPath } from "url";
|
|
7
6
|
import { createServer } from "vite";
|
|
@@ -637,7 +636,6 @@ const reoPlugin = () => {
|
|
|
637
636
|
};
|
|
638
637
|
};
|
|
639
638
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
640
|
-
const require = createRequire(import.meta.url);
|
|
641
639
|
const warmupMotiaPlugins = async (viteServer) => {
|
|
642
640
|
try {
|
|
643
641
|
if ((await viteServer.transformRequest(CONSTANTS.VIRTUAL_MODULE_ID))?.code) printer.printPluginLog("Plugin system warmed up eagerly");
|
|
@@ -674,7 +672,7 @@ const applyMiddleware = async ({ app, port, workbenchBase, plugins }) => {
|
|
|
674
672
|
} },
|
|
675
673
|
optimizeDeps: { exclude: ["@motiadev/workbench"] },
|
|
676
674
|
plugins: [
|
|
677
|
-
react({ babel: { plugins: [
|
|
675
|
+
react({ babel: { plugins: ["babel-plugin-react-compiler"] } }),
|
|
678
676
|
processCwdPlugin(),
|
|
679
677
|
reoPlugin(),
|
|
680
678
|
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.1-beta.183-
|
|
4
|
+
"version": "0.17.1-beta.183-843379",
|
|
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.1-beta.183-
|
|
43
|
-
"@motiadev/ui": "0.17.1-beta.183-
|
|
44
|
-
"@motiadev/stream-client-react": "0.17.1-beta.183-
|
|
42
|
+
"@motiadev/core": "0.17.1-beta.183-843379",
|
|
43
|
+
"@motiadev/ui": "0.17.1-beta.183-843379",
|
|
44
|
+
"@motiadev/stream-client-react": "0.17.1-beta.183-843379"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@rollup/plugin-babel": "^6.1.0",
|