@opennextjs/cloudflare 1.14.9 → 1.14.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/build/build.js +2 -0
- package/package.json +3 -3
package/dist/cli/build/build.js
CHANGED
|
@@ -3,6 +3,7 @@ import { compileCache } from "@opennextjs/aws/build/compileCache.js";
|
|
|
3
3
|
import { createCacheAssets, createStaticAssets } from "@opennextjs/aws/build/createAssets.js";
|
|
4
4
|
import { createMiddleware } from "@opennextjs/aws/build/createMiddleware.js";
|
|
5
5
|
import * as buildHelper from "@opennextjs/aws/build/helper.js";
|
|
6
|
+
import { patchOriginalNextConfig } from "@opennextjs/aws/build/patch/patches/index.js";
|
|
6
7
|
import { printHeader } from "@opennextjs/aws/build/utils.js";
|
|
7
8
|
import logger from "@opennextjs/aws/logger.js";
|
|
8
9
|
import { bundleServer } from "./bundle-server.js";
|
|
@@ -53,6 +54,7 @@ export async function build(options, config, projectOpts, wranglerConfig) {
|
|
|
53
54
|
}
|
|
54
55
|
// Generate deployable bundle
|
|
55
56
|
printHeader("Generating bundle");
|
|
57
|
+
await patchOriginalNextConfig(options);
|
|
56
58
|
compileCache(options);
|
|
57
59
|
compileEnvFiles(options);
|
|
58
60
|
await compileInit(options, wranglerConfig);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opennextjs/cloudflare",
|
|
3
3
|
"description": "Cloudflare builder for next apps",
|
|
4
|
-
"version": "1.14.
|
|
4
|
+
"version": "1.14.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"opennextjs-cloudflare": "dist/cli/index.js"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@ast-grep/napi": "0.40.0",
|
|
46
46
|
"@dotenvx/dotenvx": "1.31.0",
|
|
47
|
-
"@opennextjs/aws": "3.9.
|
|
47
|
+
"@opennextjs/aws": "3.9.10",
|
|
48
48
|
"cloudflare": "^4.4.1",
|
|
49
49
|
"enquirer": "^2.4.1",
|
|
50
50
|
"glob": "^12.0.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"yargs": "^18.0.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@cloudflare/workers-types": "^4.
|
|
55
|
+
"@cloudflare/workers-types": "^4.20260114.0",
|
|
56
56
|
"@eslint/js": "^9.11.1",
|
|
57
57
|
"@tsconfig/strictest": "^2.0.5",
|
|
58
58
|
"@types/mock-fs": "^4.13.4",
|