@vertesia/create-plugin 0.63.0 → 0.64.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertesia/create-plugin",
3
- "version": "0.63.0",
3
+ "version": "0.64.0",
4
4
  "description": "Initialize a Vertesia plugin package",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,8 @@
1
+ import app from '../src/server';
2
+ import { handle } from 'hono/vercel';
3
+
4
+ export const config = {
5
+ runtime: 'edge', // enables edge function runtime
6
+ };
7
+
8
+ export default handle(app);
@@ -0,0 +1,7 @@
1
+ {
2
+ "functions": {
3
+ "api/index.ts": {
4
+ "runtime": "edge"
5
+ }
6
+ }
7
+ }