Skip to content

Commit

Permalink
use cloudflare worker instead
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilloftheshadow committed Dec 16, 2024
1 parent 0120b8c commit 035fdb4
Show file tree
Hide file tree
Showing 6 changed files with 797 additions and 115 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/deploy.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ yarn-error.log*

node_modules
.source
.worker-next
1 change: 0 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { createMDX } from "fumadocs-mdx/next"

/** @type {import("next").NextConfig} */
const config = {
output: "export",
reactStrictMode: true,
images: {
remotePatterns: [
Expand Down
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
"private": true,
"type": "module",
"scripts": {
"build": "next build",
"build": "cloudflare",
"deploy": "pnpm run build && wrangler deploy",
"dev:worker": "wrangler dev --port 8771",
"dev": "next dev",
"lint": "biome check . --write --diagnostic-level=warn",
"postinstall": "fumadocs-mdx",
"preview:worker": "pnpm run build && pnpm run dev",
"start": "next start"
},
"dependencies": {
Expand All @@ -19,7 +22,7 @@
"fumadocs-mdx": "11.1.2",
"fumadocs-ui": "14.6.1",
"lucide-react": "0.468.0",
"next": "15.1.0",
"next": "14.2.20",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-icons": "5.4.0",
Expand All @@ -29,13 +32,15 @@
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@opennextjs/cloudflare": "0.2.1",
"@types/node": "^22.10.2",
"@types/react": "19.0.1",
"@types/react-dom": "19.0.2",
"clsx": "2.1.1",
"tailwind-merge": "2.5.5",
"tailwindcss": "3.4.16",
"typescript": "5.7.2"
"typescript": "5.7.2",
"wrangler": "^3.96.0"
},
"packageManager": "[email protected]"
}
}
Loading

0 comments on commit 035fdb4

Please sign in to comment.