Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Deploy to Cloudflare Pages
name: Deploy to Cloudflare

on:
push:
branches:
- main
- refacor/tanstack-start
workflow_dispatch:

jobs:
deploy:
Expand All @@ -15,7 +16,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Setup pnpm
uses: pnpm/action-setup@v4
Expand All @@ -24,11 +25,11 @@ jobs:
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm pages:build
run: pnpm run build

- name: Deploy to Cloudflare Pages
- name: Deploy to Cloudflare
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy
command: deploy
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
# next.js
/.next/
/out/
.output/

# production
/build
/dist/

# misc
.DS_Store
Expand All @@ -33,10 +35,11 @@ yarn-error.log*

# typescript
*.tsbuildinfo
next-env.d.ts
src/routeTree.gen.ts

# idea
.idea

.history
.agent
.agent
.tanstack
19 changes: 0 additions & 19 deletions next.config.mjs

This file was deleted.

22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
"name": "magic-resume",
"version": "1.0.0",
"private": true,
"type": "module",
"packageManager": "pnpm@10.3.0",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"pages:build": "npx @cloudflare/next-on-pages",
"preview": "pnpm pages:build && wrangler pages dev",
"deploy": "pnpm pages:build && wrangler pages deploy"
"dev": "vite dev",
"build": "vite build",
"start": "node .output/server/index.mjs",
"preview": "vite preview"
},
"dependencies": {
"@heroui/checkbox": "^2.3.30",
Expand All @@ -35,6 +33,9 @@
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-tooltip": "^1.1.3",
"@sparticuz/chromium": "^131.0.0",
"@tanstack/react-router": "^1.160.2",
"@tanstack/react-start": "^1.160.2",
"@tiptap/core": "^2.11.5",
"@tiptap/extension-bullet-list": "^2.10.2",
"@tiptap/extension-color": "^2.4.0",
"@tiptap/extension-highlight": "^2.9.1",
Expand All @@ -58,8 +59,6 @@
"lodash": "^4.17.21",
"lucide-react": "^0.379.0",
"mark.js": "^8.11.1",
"next": "14.2.3",
"next-intl": "^3.26.3",
"next-themes": "^0.4.3",
"puppeteer": "^23.9.0",
"puppeteer-core": "^23.9.0",
Expand All @@ -77,18 +76,19 @@
"zustand": "^4.5.4"
},
"devDependencies": {
"@cloudflare/next-on-pages": "^1.13.12",
"@types/lodash": "^4.17.13",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@vitejs/plugin-react": "^5.1.4",
"eslint": "^8",
"eslint-config-next": "14.2.3",
"postcss": "^8",
"postcss-normalize": "^13.0.1",
"sass": "^1.77.4",
"tailwindcss": "^3.4.1",
"typescript": "^5",
"vite": "^7.3.1",
"vite-tsconfig-paths": "^6.1.1",
"wrangler": "^4.19.1"
}
}
Loading
Loading