@motiadev/workbench 0.17.1-beta.183-597313 → 0.17.2-beta.183

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.
Files changed (2) hide show
  1. package/dist/middleware.js +8 -28
  2. package/package.json +4 -4
@@ -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");
@@ -666,33 +664,15 @@ const applyMiddleware = async ({ app, port, workbenchBase, plugins }) => {
666
664
  path.join(__dirname, "./node_modules")
667
665
  ] }
668
666
  },
669
- resolve: {
670
- alias: {
671
- "@": path.resolve(__dirname, "./src"),
672
- "@/assets": path.resolve(__dirname, "./src/assets"),
673
- "lucide-react/dynamic": "lucide-react/dynamic.mjs",
674
- "lucide-react": "lucide-react/dist/cjs/lucide-react.js"
675
- },
676
- dedupe: [
677
- "react",
678
- "react-dom",
679
- "react/jsx-runtime",
680
- "react/jsx-dev-runtime",
681
- "react/compiler-runtime"
682
- ]
683
- },
684
- optimizeDeps: {
685
- exclude: ["@motiadev/workbench"],
686
- include: [
687
- "react",
688
- "react-dom",
689
- "react/jsx-runtime",
690
- "react/jsx-dev-runtime",
691
- "react/compiler-runtime"
692
- ]
693
- },
667
+ resolve: { alias: {
668
+ "@": path.resolve(__dirname, "./src"),
669
+ "@/assets": path.resolve(__dirname, "./src/assets"),
670
+ "lucide-react/dynamic": "lucide-react/dynamic.mjs",
671
+ "lucide-react": "lucide-react/dist/cjs/lucide-react.js"
672
+ } },
673
+ optimizeDeps: { exclude: ["@motiadev/workbench"] },
694
674
  plugins: [
695
- react({ babel: { plugins: [[require.resolve("babel-plugin-react-compiler"), {}]] } }),
675
+ react({ babel: { plugins: ["babel-plugin-react-compiler"] } }),
696
676
  processCwdPlugin(),
697
677
  reoPlugin(),
698
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-597313",
4
+ "version": "0.17.2-beta.183",
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/stream-client-react": "0.17.1-beta.183-597313",
43
- "@motiadev/ui": "0.17.1-beta.183-597313",
44
- "@motiadev/core": "0.17.1-beta.183-597313"
42
+ "@motiadev/ui": "0.17.2-beta.183",
43
+ "@motiadev/core": "0.17.2-beta.183",
44
+ "@motiadev/stream-client-react": "0.17.2-beta.183"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@rollup/plugin-babel": "^6.1.0",