|
5 | 5 | "scripts": { |
6 | 6 | "dev": "astro dev", |
7 | 7 | "build": "astro build", |
8 | | - "preview": "astro preview", |
| 8 | + "preview": "bun run build && wrangler dev", |
9 | 9 | "astro": "astro", |
10 | 10 | "format": "prettier --write --list-different .", |
11 | 11 | "lint:eslint": "eslint . --cache", |
12 | 12 | "lint:prettier": "prettier --check .", |
13 | 13 | "check:types": "astro sync && tsgo --noEmit", |
14 | 14 | "lint": "bun run lint:eslint && bun run lint:prettier", |
15 | 15 | "check": "bun run check:types", |
16 | | - "check:all": "bun run check && bun run lint" |
| 16 | + "check:all": "bun run check && bun run lint", |
| 17 | + "generate-types": "wrangler types", |
| 18 | + "deploy": "bun run build && wrangler deploy" |
17 | 19 | }, |
18 | 20 | "dependencies": { |
| 21 | + "@astrojs/cloudflare": "^13.1.10", |
19 | 22 | "@astrojs/rss": "4.0.18", |
20 | 23 | "@astrojs/sitemap": "3.7.2", |
21 | 24 | "@astrojs/svelte": "8.0.4", |
|
45 | 48 | "prettier-plugin-astro": "0.14.1", |
46 | 49 | "prettier-plugin-svelte": "3.5.1", |
47 | 50 | "prettier-plugin-tailwindcss": "0.7.2", |
48 | | - "svelte-eslint-parser": "1.6.0" |
| 51 | + "svelte-eslint-parser": "1.6.0", |
| 52 | + "wrangler": "^4.84.1" |
49 | 53 | }, |
50 | 54 | "devEngines": { |
51 | 55 | "runtime": { |
52 | 56 | "name": "node", |
53 | 57 | "version": ">=22.x" |
54 | 58 | } |
| 59 | + }, |
| 60 | + "overrides": { |
| 61 | + "vite": "^7" |
55 | 62 | } |
56 | 63 | } |
0 commit comments