@motiadev/plugin-example 0.13.0-beta.162-687645 → 0.13.0-beta.162-850424
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/index.js +93 -211
- package/dist/index.js.map +1 -1
- package/dist/plugin.js.map +1 -1
- package/package.json +5 -7
package/dist/index.js
CHANGED
|
@@ -3,226 +3,108 @@ import { Sparkles } from "lucide-react";
|
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
import './index.css';
|
|
6
|
-
//#region rolldown:runtime
|
|
7
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
-
var __commonJS = (cb, mod) => function() {
|
|
9
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
|
-
};
|
|
11
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a, b) => (typeof require !== "undefined" ? require : a)[b] }) : x)(function(x) {
|
|
12
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
13
|
-
throw Error("Calling `require` for \"" + x + "\" in an environment that doesn't expose the `require` function.");
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
//#endregion
|
|
17
|
-
//#region ../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-compiler-runtime.production.js
|
|
18
|
-
/**
|
|
19
|
-
* @license React
|
|
20
|
-
* react-compiler-runtime.production.js
|
|
21
|
-
*
|
|
22
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
23
|
-
*
|
|
24
|
-
* This source code is licensed under the MIT license found in the
|
|
25
|
-
* LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/
|
|
27
|
-
var require_react_compiler_runtime_production = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-compiler-runtime.production.js": ((exports) => {
|
|
28
|
-
var ReactSharedInternals = __require("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
29
|
-
exports.c = function(size) {
|
|
30
|
-
return ReactSharedInternals.H.useMemoCache(size);
|
|
31
|
-
};
|
|
32
|
-
}) });
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
//#region ../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-compiler-runtime.development.js
|
|
36
|
-
/**
|
|
37
|
-
* @license React
|
|
38
|
-
* react-compiler-runtime.development.js
|
|
39
|
-
*
|
|
40
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
41
|
-
*
|
|
42
|
-
* This source code is licensed under the MIT license found in the
|
|
43
|
-
* LICENSE file in the root directory of this source tree.
|
|
44
|
-
*/
|
|
45
|
-
var require_react_compiler_runtime_development = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-compiler-runtime.development.js": ((exports) => {
|
|
46
|
-
"production" !== process.env.NODE_ENV && function() {
|
|
47
|
-
var ReactSharedInternals$1 = __require("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
48
|
-
exports.c = function(size) {
|
|
49
|
-
var dispatcher = ReactSharedInternals$1.H;
|
|
50
|
-
null === dispatcher && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.");
|
|
51
|
-
return dispatcher.useMemoCache(size);
|
|
52
|
-
};
|
|
53
|
-
}();
|
|
54
|
-
}) });
|
|
55
|
-
|
|
56
|
-
//#endregion
|
|
57
|
-
//#region ../../node_modules/.pnpm/react@19.2.0/node_modules/react/compiler-runtime.js
|
|
58
|
-
/**
|
|
59
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
60
|
-
*
|
|
61
|
-
* This source code is licensed under the MIT license found in the
|
|
62
|
-
* LICENSE file in the root directory of this source tree.
|
|
63
|
-
*/
|
|
64
|
-
var require_compiler_runtime = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/react@19.2.0/node_modules/react/compiler-runtime.js": ((exports, module) => {
|
|
65
|
-
if (process.env.NODE_ENV === "production") module.exports = require_react_compiler_runtime_production();
|
|
66
|
-
else module.exports = require_react_compiler_runtime_development();
|
|
67
|
-
}) });
|
|
68
|
-
|
|
69
|
-
//#endregion
|
|
70
6
|
//#region src/components/example-page.tsx
|
|
71
|
-
var import_compiler_runtime = require_compiler_runtime();
|
|
72
7
|
const ExamplePage = () => {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
t0 = /* @__PURE__ */ jsxs("div", {
|
|
78
|
-
className: "flex items-center gap-3",
|
|
8
|
+
return /* @__PURE__ */ jsx("div", {
|
|
9
|
+
className: "h-full w-full p-6 overflow-auto",
|
|
10
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
11
|
+
className: "max-w-4xl mx-auto space-y-6",
|
|
79
12
|
children: [
|
|
80
|
-
/* @__PURE__ */
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
13
|
+
/* @__PURE__ */ jsxs("div", {
|
|
14
|
+
className: "flex items-center gap-3",
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ jsx(Sparkles, { className: "w-8 h-8 text-primary" }),
|
|
17
|
+
/* @__PURE__ */ jsx("h1", {
|
|
18
|
+
className: "text-3xl font-bold",
|
|
19
|
+
children: "Example Plugin"
|
|
20
|
+
}),
|
|
21
|
+
/* @__PURE__ */ jsx(Badge, {
|
|
22
|
+
variant: "info",
|
|
23
|
+
children: "v1.0.0"
|
|
24
|
+
})
|
|
25
|
+
]
|
|
26
|
+
}),
|
|
27
|
+
/* @__PURE__ */ jsx("p", {
|
|
28
|
+
className: "text-muted-foreground text-lg",
|
|
29
|
+
children: "Welcome to the example plugin! This demonstrates the basic structure and functionality of a Motia plugin."
|
|
84
30
|
}),
|
|
85
|
-
/* @__PURE__ */ jsx(Badge, {
|
|
86
|
-
variant: "info",
|
|
87
|
-
children: "v1.0.0"
|
|
88
|
-
})
|
|
89
|
-
]
|
|
90
|
-
});
|
|
91
|
-
t1 = /* @__PURE__ */ jsx("p", {
|
|
92
|
-
className: "text-muted-foreground text-lg",
|
|
93
|
-
children: "Welcome to the example plugin! This demonstrates the basic structure and functionality of a Motia plugin."
|
|
94
|
-
});
|
|
95
|
-
$[0] = t0;
|
|
96
|
-
$[1] = t1;
|
|
97
|
-
} else {
|
|
98
|
-
t0 = $[0];
|
|
99
|
-
t1 = $[1];
|
|
100
|
-
}
|
|
101
|
-
let t2;
|
|
102
|
-
let t3;
|
|
103
|
-
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
104
|
-
t2 = /* @__PURE__ */ jsx("h2", {
|
|
105
|
-
className: "text-xl font-semibold",
|
|
106
|
-
children: "What is this?"
|
|
107
|
-
});
|
|
108
|
-
t3 = /* @__PURE__ */ jsx("p", {
|
|
109
|
-
className: "text-muted-foreground",
|
|
110
|
-
children: "This is a minimal example plugin that shows how to create custom workbench tabs in Motia. Plugins can extend the Motia workbench with custom functionality, visualizations, and tools."
|
|
111
|
-
});
|
|
112
|
-
$[2] = t2;
|
|
113
|
-
$[3] = t3;
|
|
114
|
-
} else {
|
|
115
|
-
t2 = $[2];
|
|
116
|
-
t3 = $[3];
|
|
117
|
-
}
|
|
118
|
-
let t4;
|
|
119
|
-
if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
|
|
120
|
-
t4 = /* @__PURE__ */ jsxs("div", {
|
|
121
|
-
className: "p-4 border rounded-lg",
|
|
122
|
-
children: [/* @__PURE__ */ jsx("h3", {
|
|
123
|
-
className: "font-semibold mb-2",
|
|
124
|
-
children: "Easy to Create"
|
|
125
|
-
}), /* @__PURE__ */ jsx("p", {
|
|
126
|
-
className: "text-sm text-muted-foreground",
|
|
127
|
-
children: "Build plugins with React, TypeScript, and Tailwind CSS"
|
|
128
|
-
})]
|
|
129
|
-
});
|
|
130
|
-
$[4] = t4;
|
|
131
|
-
} else t4 = $[4];
|
|
132
|
-
let t5;
|
|
133
|
-
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
134
|
-
t5 = /* @__PURE__ */ jsxs("div", {
|
|
135
|
-
className: "p-4 border rounded-lg",
|
|
136
|
-
children: [/* @__PURE__ */ jsx("h3", {
|
|
137
|
-
className: "font-semibold mb-2",
|
|
138
|
-
children: "Integrated"
|
|
139
|
-
}), /* @__PURE__ */ jsx("p", {
|
|
140
|
-
className: "text-sm text-muted-foreground",
|
|
141
|
-
children: "Seamlessly integrate with Motia's workbench UI"
|
|
142
|
-
})]
|
|
143
|
-
});
|
|
144
|
-
$[5] = t5;
|
|
145
|
-
} else t5 = $[5];
|
|
146
|
-
let t6;
|
|
147
|
-
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
148
|
-
t6 = /* @__PURE__ */ jsxs("div", {
|
|
149
|
-
className: "grid grid-cols-1 md:grid-cols-3 gap-4 mt-6",
|
|
150
|
-
children: [
|
|
151
|
-
t4,
|
|
152
|
-
t5,
|
|
153
31
|
/* @__PURE__ */ jsxs("div", {
|
|
154
|
-
className: "p-
|
|
155
|
-
children: [
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
32
|
+
className: "p-6 space-y-4",
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ jsx("h2", {
|
|
35
|
+
className: "text-xl font-semibold",
|
|
36
|
+
children: "What is this?"
|
|
37
|
+
}),
|
|
38
|
+
/* @__PURE__ */ jsx("p", {
|
|
39
|
+
className: "text-muted-foreground",
|
|
40
|
+
children: "This is a minimal example plugin that shows how to create custom workbench tabs in Motia. Plugins can extend the Motia workbench with custom functionality, visualizations, and tools."
|
|
41
|
+
}),
|
|
42
|
+
/* @__PURE__ */ jsxs("div", {
|
|
43
|
+
className: "grid grid-cols-1 md:grid-cols-3 gap-4 mt-6",
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ jsxs("div", {
|
|
46
|
+
className: "p-4 border rounded-lg",
|
|
47
|
+
children: [/* @__PURE__ */ jsx("h3", {
|
|
48
|
+
className: "font-semibold mb-2",
|
|
49
|
+
children: "Easy to Create"
|
|
50
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
51
|
+
className: "text-sm text-muted-foreground",
|
|
52
|
+
children: "Build plugins with React, TypeScript, and Tailwind CSS"
|
|
53
|
+
})]
|
|
54
|
+
}),
|
|
55
|
+
/* @__PURE__ */ jsxs("div", {
|
|
56
|
+
className: "p-4 border rounded-lg",
|
|
57
|
+
children: [/* @__PURE__ */ jsx("h3", {
|
|
58
|
+
className: "font-semibold mb-2",
|
|
59
|
+
children: "Integrated"
|
|
60
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
61
|
+
className: "text-sm text-muted-foreground",
|
|
62
|
+
children: "Seamlessly integrate with Motia's workbench UI"
|
|
63
|
+
})]
|
|
64
|
+
}),
|
|
65
|
+
/* @__PURE__ */ jsxs("div", {
|
|
66
|
+
className: "p-4 border rounded-lg",
|
|
67
|
+
children: [/* @__PURE__ */ jsx("h3", {
|
|
68
|
+
className: "font-semibold mb-2",
|
|
69
|
+
children: "Powerful"
|
|
70
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
71
|
+
className: "text-sm text-muted-foreground",
|
|
72
|
+
children: "Access Motia's plugin context and APIs"
|
|
73
|
+
})]
|
|
74
|
+
})
|
|
75
|
+
]
|
|
76
|
+
}),
|
|
77
|
+
/* @__PURE__ */ jsxs("div", {
|
|
78
|
+
className: "flex gap-2 mt-6",
|
|
79
|
+
children: [/* @__PURE__ */ jsxs(Button, {
|
|
80
|
+
variant: "default",
|
|
81
|
+
children: [/* @__PURE__ */ jsx(Sparkles, { className: "w-4 h-4" }), "Get Started"]
|
|
82
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
83
|
+
variant: "outline",
|
|
84
|
+
children: "View Documentation"
|
|
85
|
+
})]
|
|
86
|
+
})
|
|
87
|
+
]
|
|
88
|
+
}),
|
|
175
89
|
/* @__PURE__ */ jsxs("div", {
|
|
176
|
-
className: "
|
|
177
|
-
children: [/* @__PURE__ */
|
|
178
|
-
|
|
179
|
-
children:
|
|
180
|
-
}), /* @__PURE__ */
|
|
181
|
-
|
|
182
|
-
children:
|
|
90
|
+
className: "p-6 space-y-4",
|
|
91
|
+
children: [/* @__PURE__ */ jsx("h2", {
|
|
92
|
+
className: "text-xl font-semibold",
|
|
93
|
+
children: "Plugin Features"
|
|
94
|
+
}), /* @__PURE__ */ jsxs("ul", {
|
|
95
|
+
className: "list-disc list-inside space-y-2 text-muted-foreground",
|
|
96
|
+
children: [
|
|
97
|
+
/* @__PURE__ */ jsx("li", { children: "Custom workbench tabs with position control (top/bottom)" }),
|
|
98
|
+
/* @__PURE__ */ jsx("li", { children: "Access to Motia's UI components library" }),
|
|
99
|
+
/* @__PURE__ */ jsx("li", { children: "Integration with state management and APIs" }),
|
|
100
|
+
/* @__PURE__ */ jsx("li", { children: "Real-time updates through streams" }),
|
|
101
|
+
/* @__PURE__ */ jsx("li", { children: "TypeScript support with full type safety" })
|
|
102
|
+
]
|
|
183
103
|
})]
|
|
184
104
|
})
|
|
185
105
|
]
|
|
186
|
-
})
|
|
187
|
-
|
|
188
|
-
} else t7 = $[7];
|
|
189
|
-
let t8;
|
|
190
|
-
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
191
|
-
t8 = /* @__PURE__ */ jsx("h2", {
|
|
192
|
-
className: "text-xl font-semibold",
|
|
193
|
-
children: "Plugin Features"
|
|
194
|
-
});
|
|
195
|
-
$[8] = t8;
|
|
196
|
-
} else t8 = $[8];
|
|
197
|
-
let t9;
|
|
198
|
-
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
199
|
-
t9 = /* @__PURE__ */ jsx("div", {
|
|
200
|
-
className: "h-full w-full p-6 overflow-auto",
|
|
201
|
-
children: /* @__PURE__ */ jsxs("div", {
|
|
202
|
-
className: "max-w-4xl mx-auto space-y-6",
|
|
203
|
-
children: [
|
|
204
|
-
t0,
|
|
205
|
-
t1,
|
|
206
|
-
t7,
|
|
207
|
-
/* @__PURE__ */ jsxs("div", {
|
|
208
|
-
className: "p-6 space-y-4",
|
|
209
|
-
children: [t8, /* @__PURE__ */ jsxs("ul", {
|
|
210
|
-
className: "list-disc list-inside space-y-2 text-muted-foreground",
|
|
211
|
-
children: [
|
|
212
|
-
/* @__PURE__ */ jsx("li", { children: "Custom workbench tabs with position control (top/bottom)" }),
|
|
213
|
-
/* @__PURE__ */ jsx("li", { children: "Access to Motia's UI components library" }),
|
|
214
|
-
/* @__PURE__ */ jsx("li", { children: "Integration with state management and APIs" }),
|
|
215
|
-
/* @__PURE__ */ jsx("li", { children: "Real-time updates through streams" }),
|
|
216
|
-
/* @__PURE__ */ jsx("li", { children: "TypeScript support with full type safety" })
|
|
217
|
-
]
|
|
218
|
-
})]
|
|
219
|
-
})
|
|
220
|
-
]
|
|
221
|
-
})
|
|
222
|
-
});
|
|
223
|
-
$[9] = t9;
|
|
224
|
-
} else t9 = $[9];
|
|
225
|
-
return t9;
|
|
106
|
+
})
|
|
107
|
+
});
|
|
226
108
|
};
|
|
227
109
|
|
|
228
110
|
//#endregion
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["
|
|
1
|
+
{"version":3,"file":"index.js","names":["ExamplePage: React.FC"],"sources":["../src/components/example-page.tsx"],"sourcesContent":["import { Badge, Button } from '@motiadev/ui'\nimport { Sparkles } from 'lucide-react'\nimport type React from 'react'\n\nexport const ExamplePage: React.FC = () => {\n return (\n <div className=\"h-full w-full p-6 overflow-auto\">\n <div className=\"max-w-4xl mx-auto space-y-6\">\n <div className=\"flex items-center gap-3\">\n <Sparkles className=\"w-8 h-8 text-primary\" />\n <h1 className=\"text-3xl font-bold\">Example Plugin</h1>\n <Badge variant=\"info\">v1.0.0</Badge>\n </div>\n\n <p className=\"text-muted-foreground text-lg\">\n Welcome to the example plugin! This demonstrates the basic structure and functionality of a Motia plugin.\n </p>\n\n <div className=\"p-6 space-y-4\">\n <h2 className=\"text-xl font-semibold\">What is this?</h2>\n <p className=\"text-muted-foreground\">\n This is a minimal example plugin that shows how to create custom workbench tabs in Motia. Plugins can extend\n the Motia workbench with custom functionality, visualizations, and tools.\n </p>\n\n <div className=\"grid grid-cols-1 md:grid-cols-3 gap-4 mt-6\">\n <div className=\"p-4 border rounded-lg\">\n <h3 className=\"font-semibold mb-2\">Easy to Create</h3>\n <p className=\"text-sm text-muted-foreground\">Build plugins with React, TypeScript, and Tailwind CSS</p>\n </div>\n <div className=\"p-4 border rounded-lg\">\n <h3 className=\"font-semibold mb-2\">Integrated</h3>\n <p className=\"text-sm text-muted-foreground\">Seamlessly integrate with Motia's workbench UI</p>\n </div>\n <div className=\"p-4 border rounded-lg\">\n <h3 className=\"font-semibold mb-2\">Powerful</h3>\n <p className=\"text-sm text-muted-foreground\">Access Motia's plugin context and APIs</p>\n </div>\n </div>\n\n <div className=\"flex gap-2 mt-6\">\n <Button variant=\"default\">\n <Sparkles className=\"w-4 h-4\" />\n Get Started\n </Button>\n <Button variant=\"outline\">View Documentation</Button>\n </div>\n </div>\n\n <div className=\"p-6 space-y-4\">\n <h2 className=\"text-xl font-semibold\">Plugin Features</h2>\n <ul className=\"list-disc list-inside space-y-2 text-muted-foreground\">\n <li>Custom workbench tabs with position control (top/bottom)</li>\n <li>Access to Motia's UI components library</li>\n <li>Integration with state management and APIs</li>\n <li>Real-time updates through streams</li>\n <li>TypeScript support with full type safety</li>\n </ul>\n </div>\n </div>\n </div>\n )\n}\n"],"mappings":";;;;;AAIA,MAAaA,oBAA8B;AACzC,QACE,oBAAC;EAAI,WAAU;YACb,qBAAC;GAAI,WAAU;;IACb,qBAAC;KAAI,WAAU;;MACb,oBAAC,YAAS,WAAU,yBAAyB;MAC7C,oBAAC;OAAG,WAAU;iBAAqB;QAAmB;MACtD,oBAAC;OAAM,SAAQ;iBAAO;QAAc;;MAChC;IAEN,oBAAC;KAAE,WAAU;eAAgC;MAEzC;IAEJ,qBAAC;KAAI,WAAU;;MACb,oBAAC;OAAG,WAAU;iBAAwB;QAAkB;MACxD,oBAAC;OAAE,WAAU;iBAAwB;QAGjC;MAEJ,qBAAC;OAAI,WAAU;;QACb,qBAAC;SAAI,WAAU;oBACb,oBAAC;UAAG,WAAU;oBAAqB;WAAmB,EACtD,oBAAC;UAAE,WAAU;oBAAgC;WAA0D;UACnG;QACN,qBAAC;SAAI,WAAU;oBACb,oBAAC;UAAG,WAAU;oBAAqB;WAAe,EAClD,oBAAC;UAAE,WAAU;oBAAgC;WAAkD;UAC3F;QACN,qBAAC;SAAI,WAAU;oBACb,oBAAC;UAAG,WAAU;oBAAqB;WAAa,EAChD,oBAAC;UAAE,WAAU;oBAAgC;WAA0C;UACnF;;QACF;MAEN,qBAAC;OAAI,WAAU;kBACb,qBAAC;QAAO,SAAQ;mBACd,oBAAC,YAAS,WAAU,YAAY;SAEzB,EACT,oBAAC;QAAO,SAAQ;kBAAU;SAA2B;QACjD;;MACF;IAEN,qBAAC;KAAI,WAAU;gBACb,oBAAC;MAAG,WAAU;gBAAwB;OAAoB,EAC1D,qBAAC;MAAG,WAAU;;OACZ,oBAAC,kBAAG,6DAA6D;OACjE,oBAAC,kBAAG,4CAA4C;OAChD,oBAAC,kBAAG,+CAA+C;OACnD,oBAAC,kBAAG,sCAAsC;OAC1C,oBAAC,kBAAG,6CAA6C;;OAC9C;MACD;;IACF;GACF"}
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","names":[
|
|
1
|
+
{"version":3,"file":"plugin.js","names":[],"sources":["../src/plugin.ts"],"sourcesContent":["import type { MotiaPlugin, MotiaPluginContext } from '@motiadev/core'\n\nexport default function plugin(_motia: MotiaPluginContext): MotiaPlugin {\n return {\n workbench: [\n {\n packageName: '@motiadev/plugin-example',\n cssImports: ['@motiadev/plugin-example/dist/index.css'],\n label: 'Example',\n position: 'bottom',\n componentName: 'ExamplePage',\n labelIcon: 'sparkles',\n },\n ],\n }\n}\n"],"mappings":";AAEA,SAAwB,OAAO,QAAyC;AACtE,QAAO,EACL,WAAW,CACT;EACE,aAAa;EACb,YAAY,CAAC,0CAA0C;EACvD,OAAO;EACP,UAAU;EACV,eAAe;EACf,WAAW;EACZ,CACF,EACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@motiadev/plugin-example",
|
|
3
|
-
"version": "0.13.0-beta.162-
|
|
3
|
+
"version": "0.13.0-beta.162-850424",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -13,21 +13,19 @@
|
|
|
13
13
|
"dist"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"lucide-react": "^0.554.0"
|
|
16
|
+
"lucide-react": "^0.554.0",
|
|
17
|
+
"react": "^19.2.0"
|
|
17
18
|
},
|
|
18
19
|
"peerDependencies": {
|
|
19
|
-
"@motiadev/ui": "0.13.0-beta.162-
|
|
20
|
-
"@motiadev/core": "0.13.0-beta.162-
|
|
20
|
+
"@motiadev/ui": "0.13.0-beta.162-850424",
|
|
21
|
+
"@motiadev/core": "0.13.0-beta.162-850424"
|
|
21
22
|
},
|
|
22
23
|
"devDependencies": {
|
|
23
24
|
"@bosh-code/tsdown-plugin-inject-css": "^2.0.0",
|
|
24
25
|
"@bosh-code/tsdown-plugin-tailwindcss": "^1.0.1",
|
|
25
|
-
"@rollup/plugin-babel": "^6.1.0",
|
|
26
26
|
"@tailwindcss/postcss": "^4.1.17",
|
|
27
27
|
"@types/node": "^24.10.1",
|
|
28
28
|
"@types/react": "^19.2.7",
|
|
29
|
-
"babel-plugin-react-compiler": "^1.0.0",
|
|
30
|
-
"react": "^19.2.0",
|
|
31
29
|
"tailwindcss": "^4.1.17",
|
|
32
30
|
"tsdown": "^0.16.6",
|
|
33
31
|
"typescript": "^5.9.3"
|