diff --git a/create-farc/templates/default/package.json b/create-farc/templates/default/package.json index d1aee99d..33c21049 100644 --- a/create-farc/templates/default/package.json +++ b/create-farc/templates/default/package.json @@ -7,7 +7,7 @@ "dependencies": { "bun": "latest", "farc": "main", - "hono": "^3.12.8" + "hono": "^4" }, "devDependencies": { "@types/bun": "latest" diff --git a/example/.gitignore b/examples/_dev/.gitignore similarity index 100% rename from example/.gitignore rename to examples/_dev/.gitignore diff --git a/example/README.md b/examples/_dev/README.md similarity index 100% rename from example/README.md rename to examples/_dev/README.md diff --git a/example/package.json b/examples/_dev/package.json similarity index 90% rename from example/package.json rename to examples/_dev/package.json index 8d0f98ab..3eef70eb 100644 --- a/example/package.json +++ b/examples/_dev/package.json @@ -6,7 +6,7 @@ }, "dependencies": { "farc": "workspace:*", - "hono": "^3.12.8" + "hono": "^4" }, "devDependencies": { "@types/bun": "latest" diff --git a/example/src/index.tsx b/examples/_dev/src/index.tsx similarity index 100% rename from example/src/index.tsx rename to examples/_dev/src/index.tsx diff --git a/example/src/todos.tsx b/examples/_dev/src/todos.tsx similarity index 100% rename from example/src/todos.tsx rename to examples/_dev/src/todos.tsx diff --git a/example/tsconfig.json b/examples/_dev/tsconfig.json similarity index 100% rename from example/tsconfig.json rename to examples/_dev/tsconfig.json diff --git a/package.json b/package.json index 1dbf9256..c1e9972f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "workspaces": ["create-farc", "example", "src"], + "workspaces": ["create-farc", "examples/*", "src"], "scripts": { - "dev": "bun run --hot ./example/src/index.tsx", + "dev": "bun run --hot ./examples/_dev/src/index.tsx", "build": "bun run clean && bun run build:farc && bun run build:create-farc", "build:farc": "tsc --project ./tsconfig.build.json", "build:create-farc": "rimraf create-farc/_lib && tsc -p create-farc/tsconfig.build.json", @@ -22,7 +22,7 @@ "@types/bun": "latest", "@types/fs-extra": "^11.0.4", "@vitest/coverage-v8": "^1.2.2", - "hono": "^3.12.8", + "hono": "^4", "rimraf": "^5.0.5", "typed-htmx": "^0.2.1", "typescript": "^5.0.0", diff --git a/src/package.json b/src/package.json index 2623b8e6..054ed371 100644 --- a/src/package.json +++ b/src/package.json @@ -10,7 +10,7 @@ ".": "./_lib/index.js" }, "peerDependencies": { - "hono": "^3" + "hono": "^4" }, "dependencies": { "@farcaster/core": "^0.13.7",