|
3 | 3 | "type": "module",
|
4 | 4 | "scripts": {
|
5 | 5 | "scripts:release-post": "cross-env NODE_NO_WARNINGS=1 node scripts/release-post/index.mjs",
|
6 |
| - "dev": "cross-env NODE_NO_WARNINGS=1 next dev --turbopack", |
7 |
| - "serve": "npm run dev", |
| 6 | + "dev": "npm run build-blog-data -- --watch & cross-env NODE_NO_WARNINGS=1 next dev --turbopack", |
| 7 | + "serve": "npm run build-blog-data -- --watch & npm run dev", |
| 8 | + "prebuild": "npm run build-blog-data", |
8 | 9 | "build": "cross-env NODE_NO_WARNINGS=1 next build",
|
9 | 10 | "start": "cross-env NODE_NO_WARNINGS=1 next start",
|
10 | 11 | "deploy": "cross-env NEXT_PUBLIC_STATIC_EXPORT=true npm run build",
|
|
16 | 17 | "lint": "turbo run lint:md lint:snippets lint:js lint:css",
|
17 | 18 | "lint:fix": "turbo run lint:md lint:js lint:css --no-cache -- --fix",
|
18 | 19 | "sync-orama": "node ./scripts/orama-search/sync-orama-cloud.mjs",
|
| 20 | + "build-blog-data": "node ./scripts/blog-data/generate.mjs", |
19 | 21 | "test:unit": "cross-env NODE_NO_WARNINGS=1 jest",
|
20 | 22 | "test:unit:watch": "npm run test:unit -- --watch",
|
21 | 23 | "test": "turbo test:unit",
|
|
73 | 75 | "devDependencies": {
|
74 | 76 | "@eslint/compat": "~1.2.7",
|
75 | 77 | "@next/eslint-plugin-next": "15.2.0",
|
| 78 | + "@opennextjs/cloudflare": "^0.6.4", |
76 | 79 | "@testing-library/jest-dom": "~6.6.3",
|
77 | 80 | "@testing-library/react": "~16.2.0",
|
78 | 81 | "@testing-library/user-event": "~14.6.1",
|
79 | 82 | "@types/jest": "29.5.14",
|
80 | 83 | "@types/semver": "~7.5.8",
|
| 84 | + "chokidar": "^4.0.3", |
81 | 85 | "eslint-config-next": "15.2.0",
|
82 | 86 | "eslint-import-resolver-typescript": "~3.8.3",
|
83 | 87 | "eslint-plugin-mdx": "~3.1.5",
|
|
96 | 100 | "typescript": "~5.7.2",
|
97 | 101 | "typescript-eslint": "~8.25.0",
|
98 | 102 | "user-agent-data-types": "0.4.2",
|
99 |
| - "wrangler": "^4.6.0", |
100 |
| - "@opennextjs/cloudflare": "^0.6.4" |
| 103 | + "wrangler": "^4.6.0" |
101 | 104 | }
|
102 | 105 | }
|
0 commit comments