Skip to content

Commit 1cc92ec

Browse files
allow the open-next version of the site to be built using turbo and remove the build:default script
1 parent 43da7b4 commit 1cc92ec

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

apps/site/open-next.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const cloudflareConfig = defineCloudflareConfig({
1919

2020
const openNextConfig: OpenNextConfig = {
2121
...cloudflareConfig,
22-
buildCommand: 'pnpm build:default',
2322
cloudflare: {
2423
skewProtection: {
2524
enabled: true,

apps/site/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
"type": "module",
44
"scripts": {
55
"prebuild": "node --run build:blog-data",
6-
"build": "node --run build:default -- --turbo",
6+
"build": "cross-env NODE_NO_WARNINGS=1 next build --turbo",
77
"build:blog-data": "cross-env NODE_NO_WARNINGS=1 node ./scripts/blog-data/generate.mjs",
88
"build:blog-data:watch": "node --watch --watch-path=pages/en/blog ./scripts/blog-data/generate.mjs",
9-
"build:default": "cross-env NODE_NO_WARNINGS=1 next build",
109
"cloudflare:build:worker": "OPEN_NEXT_CLOUDFLARE=true opennextjs-cloudflare build",
1110
"cloudflare:deploy": "opennextjs-cloudflare deploy",
1211
"cloudflare:preview": "wrangler dev",
1312
"predeploy": "node --run build:blog-data",
14-
"deploy": "cross-env NEXT_PUBLIC_STATIC_EXPORT=true node --run build:default -- --turbo",
13+
"deploy": "cross-env NEXT_PUBLIC_STATIC_EXPORT=true node --run build",
1514
"predev": "node --run build:blog-data",
1615
"dev": "cross-env NODE_NO_WARNINGS=1 next dev --turbo",
1716
"lint": "node --run lint:js && node --run lint:css && node --run lint:md",
@@ -83,7 +82,7 @@
8382
"@flarelabs-net/wrangler-build-time-fs-assets-polyfilling": "^0.0.1",
8483
"@next/eslint-plugin-next": "15.5.4",
8584
"@node-core/remark-lint": "workspace:*",
86-
"@opennextjs/cloudflare": "^1.11.0",
85+
"@opennextjs/cloudflare": "^1.12.0",
8786
"@playwright/test": "^1.56.1",
8887
"@testing-library/user-event": "~14.6.1",
8988
"@types/mdast": "^4.0.4",

pnpm-lock.yaml

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)