@motiadev/plugin-example 0.13.2-beta.164-110989 → 0.14.0-beta.164

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/plugin.js CHANGED
@@ -1,15 +1,17 @@
1
- //#region src/plugin.ts
2
- function plugin(_motia) {
3
- return { workbench: [{
4
- packageName: "@motiadev/plugin-example",
5
- cssImports: ["@motiadev/plugin-example/dist/index.css"],
6
- label: "Example",
7
- position: "bottom",
8
- componentName: "ExamplePage",
9
- labelIcon: "sparkles"
10
- }] };
1
+ function a(e) {
2
+ return {
3
+ workbench: [
4
+ {
5
+ packageName: "@motiadev/plugin-example",
6
+ cssImports: ["@motiadev/plugin-example/dist/plugin-example.css"],
7
+ label: "Example",
8
+ position: "bottom",
9
+ componentName: "ExamplePage",
10
+ labelIcon: "sparkles"
11
+ }
12
+ ]
13
+ };
11
14
  }
12
-
13
- //#endregion
14
- export { plugin as default };
15
- //# sourceMappingURL=plugin.js.map
15
+ export {
16
+ a as default
17
+ };
package/package.json CHANGED
@@ -1,43 +1,47 @@
1
1
  {
2
2
  "name": "@motiadev/plugin-example",
3
- "version": "0.13.2-beta.164-110989",
3
+ "version": "0.14.0-beta.164",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {
8
- ".": "./dist/index.js",
9
- "./plugin": "./dist/plugin.js",
10
- "./package.json": "./package.json"
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "import": "./dist/index.js",
11
+ "require": "./dist/index.cjs"
12
+ },
13
+ "./plugin": {
14
+ "types": "./dist/plugin.d.ts",
15
+ "import": "./dist/plugin.js",
16
+ "require": "./dist/plugin.cjs"
17
+ },
18
+ "./styles.css": "./dist/styles.css"
11
19
  },
12
20
  "files": [
13
21
  "dist"
14
22
  ],
15
23
  "dependencies": {
16
- "lucide-react": "^0.555.0",
17
- "react": "^19.2.0"
24
+ "lucide-react": "^0.548.0"
18
25
  },
19
26
  "peerDependencies": {
20
- "@motiadev/core": "0.13.2-beta.164-110989",
21
- "@motiadev/ui": "0.13.2-beta.164-110989"
27
+ "@motiadev/ui": "0.14.0-beta.164",
28
+ "@motiadev/core": "0.14.0-beta.164"
22
29
  },
23
30
  "devDependencies": {
24
- "@bosh-code/tsdown-plugin-inject-css": "^2.0.0",
25
- "@bosh-code/tsdown-plugin-tailwindcss": "^1.0.1",
26
- "@rollup/plugin-babel": "^6.1.0",
27
- "@tailwindcss/postcss": "^4.1.17",
28
- "@types/node": "^24.10.1",
29
- "@types/react": "^19.2.7",
30
- "babel-plugin-react-compiler": "^1.0.0",
31
- "publint": "^0.3.15",
32
- "tailwindcss": "^4.1.17",
33
- "tsdown": "^0.16.8",
31
+ "@tailwindcss/vite": "^4.1.16",
32
+ "@types/node": "^24.9.2",
33
+ "@types/react": "^19.2.2",
34
+ "@vitejs/plugin-react": "^5.1.0",
35
+ "postcss": "^8.5.6",
36
+ "react": "^19.2.0",
37
+ "tailwindcss": "^4.1.16",
34
38
  "typescript": "^5.9.3",
35
- "unplugin-unused": "^0.5.6"
39
+ "vite": "^7.1.12",
40
+ "vite-plugin-dts": "^4.5.4"
36
41
  },
37
- "module": "./dist/index.js",
38
42
  "scripts": {
39
- "build": "tsdown",
40
- "dev": "tsdown --watch",
43
+ "build": "vite build",
44
+ "dev": "vite build --watch",
41
45
  "clean": "rm -rf dist"
42
46
  }
43
47
  }