|
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", |
7 | | - "serve": "npm run dev", |
8 | | - "build": "cross-env NODE_NO_WARNINGS=1 next build --turbopack", |
| 6 | + "dev": "npm run build-blog-data:watch & sleep 1 && cross-env NODE_NO_WARNINGS=1 next dev", |
| 7 | + "serve": "npm run build-blog-data:watch & sleep 1 && npm run dev", |
| 8 | + "prebuild": "npm run build-blog-data", |
| 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 NODE_NO_WARNINGS=1 next build", |
11 | 12 | "check-types": "tsc --noEmit", |
|
18 | 19 | "sync-orama": "node ./scripts/orama-search/sync-orama-cloud.mjs", |
19 | 20 | "test:unit": "cross-env NODE_NO_WARNINGS=1 node --experimental-test-coverage --test-coverage-exclude=**/*.test.* --experimental-test-module-mocks --enable-source-maps --import=global-jsdom/register --import=tsx --import=tests/setup.jsx --test **/*.test.*", |
20 | 21 | "test:unit:watch": "cross-env NODE_OPTIONS=\"--watch\" npm run test:unit", |
21 | | - "test": "turbo test:unit" |
| 22 | + "test": "turbo test:unit", |
| 23 | + "build-blog-data": "node ./scripts/blog-data/generate.mjs", |
| 24 | + "build-blog-data:watch": "node --watch --watch-path=pages/en ./scripts/blog-data/generate.mjs", |
| 25 | + "cloudflare:build:worker": "npx @opennextjs/cloudflare build", |
| 26 | + "cloudflare:preview": "npm run cloudflare:build:worker && npx wrangler dev", |
| 27 | + "cloudflare:deploy": "npm run cloudflare:build:worker && npx wrangler deploy" |
22 | 28 | }, |
23 | 29 | "dependencies": { |
24 | 30 | "@heroicons/react": "~2.2.0", |
|
70 | 76 | "@types/semver": "~7.7.0", |
71 | 77 | "eslint-config-next": "15.2.4", |
72 | 78 | "eslint-import-resolver-typescript": "~4.3.1", |
73 | | - "eslint-plugin-mdx": "~3.3.1", |
| 79 | + "eslint-plugin-mdx": "~3.4.0", |
74 | 80 | "eslint-plugin-react": "~7.37.4", |
75 | 81 | "eslint-plugin-react-hooks": "5.2.0", |
76 | 82 | "global-jsdom": "^26.0.0", |
|
85 | 91 | "tsx": "^4.19.3", |
86 | 92 | "typescript": "~5.8.2", |
87 | 93 | "typescript-eslint": "~8.29.0", |
88 | | - "user-agent-data-types": "0.4.2" |
| 94 | + "user-agent-data-types": "0.4.2", |
| 95 | + "@opennextjs/cloudflare": "^1.0.0-beta.3", |
| 96 | + "wrangler": "^4.13.0", |
| 97 | + "@flarelabs-net/wrangler-build-time-fs-assets-polyfilling": "^0.0.0" |
89 | 98 | } |
90 | 99 | } |
0 commit comments