cdk-nextjs 0.7.5 → 0.7.6
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/.jsii +37 -37
- package/docs/adapter-runtime.md +1 -1
- package/docs/harness-coverage.md +9 -8
- package/lib/adapter/adapter.mjs +220 -149
- package/lib/adapter/aws-cache-store.d.ts +28 -4
- package/lib/adapter/aws-cache-store.js +52 -21
- package/lib/adapter/aws-cache-store.test.js +36 -1
- package/lib/adapter/build-outputs.js +23 -1
- package/lib/adapter/build-outputs.test.js +18 -1
- package/lib/adapter/cache-handler.d.ts +4 -3
- package/lib/adapter/cache-handler.js +1 -1
- package/lib/adapter/cache-handler.mjs +131 -61
- package/lib/adapter/cache-handler.test.js +31 -1
- package/lib/adapter/cache-utils.d.ts +68 -2
- package/lib/adapter/cache-utils.js +108 -2
- package/lib/adapter/cache-utils.test.js +45 -1
- package/lib/adapter/init-cache.d.ts +1 -1
- package/lib/adapter/init-cache.js +60 -37
- package/lib/adapter/init-cache.test.js +55 -2
- package/lib/adapter/local-file-cache-handler.d.ts +2 -2
- package/lib/adapter/local-file-cache-handler.js +4 -5
- package/lib/adapter/s3-cache-handler.d.ts +23 -7
- package/lib/adapter/s3-cache-handler.js +63 -27
- package/lib/adapter/s3-cache-handler.test.js +168 -1
- package/lib/adapter/use-cache-default-handler.mjs +32 -9
- package/lib/adapter/use-cache-remote-handler.js +2 -3
- package/lib/adapter/use-cache-remote-handler.mjs +81 -61
- package/lib/nextjs-api.js +1 -1
- package/lib/nextjs-build/nextjs-build.d.ts +0 -7
- package/lib/nextjs-build/nextjs-build.js +4 -11
- package/lib/nextjs-build/nextjs-build.test.js +4 -3
- package/lib/nextjs-cache.js +1 -1
- package/lib/nextjs-compute/nextjs-containers.js +1 -1
- package/lib/nextjs-compute/nextjs-functions.js +1 -1
- package/lib/nextjs-distribution.js +1 -1
- package/lib/nextjs-post-deploy.js +1 -1
- package/lib/nextjs-static-assets.js +1 -1
- package/lib/root-constructs/nextjs-base-construct.js +1 -1
- package/lib/root-constructs/nextjs-global-containers.js +1 -1
- package/lib/root-constructs/nextjs-global-functions.js +1 -1
- package/lib/root-constructs/nextjs-regional-containers.js +1 -1
- package/lib/root-constructs/nextjs-regional-functions.js +1 -1
- package/lib/runtime/image.d.ts +19 -0
- package/lib/runtime/image.js +28 -2
- package/lib/runtime/image.test.js +43 -1
- package/lib/runtime/lambda.mjs +14 -3
- package/lib/runtime/server.mjs +14 -3
- package/lib/utils/deployment-build-id.d.ts +11 -0
- package/lib/utils/deployment-build-id.js +15 -0
- package/package.json +3 -3
- package/scripts/e2e-harness/README.md +1 -1
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-sdk/client-ssm": "^3.1141.0",
|
|
22
22
|
"@aws-sdk/lib-storage": "^3.1141.0",
|
|
23
23
|
"@mrgrain/jsii-struct-builder": "^0.7.64",
|
|
24
|
-
"@next/routing": "16.3.
|
|
24
|
+
"@next/routing": "16.3.8",
|
|
25
25
|
"@smithy/signature-v4": "^2.3.0",
|
|
26
26
|
"@types/aws-lambda": "^8.10.163",
|
|
27
27
|
"@types/debug": "^4.1.13",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"jsii-pacmak": "^1.140.0",
|
|
52
52
|
"jsii-rosetta": "~5.9.67",
|
|
53
53
|
"mime-types": "^2.1.35",
|
|
54
|
-
"next": "^16.3.
|
|
54
|
+
"next": "^16.3.8",
|
|
55
55
|
"prettier": "^3.9.9",
|
|
56
56
|
"projen": "^0.101.6",
|
|
57
57
|
"ts-jest": "^29.4.14",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"publishConfig": {
|
|
85
85
|
"access": "public"
|
|
86
86
|
},
|
|
87
|
-
"version": "0.7.
|
|
87
|
+
"version": "0.7.6",
|
|
88
88
|
"jest": {
|
|
89
89
|
"coverageProvider": "v8",
|
|
90
90
|
"testPathIgnorePatterns": [
|
|
@@ -449,7 +449,7 @@ cdk-nextjs rejects any build output whose runtime is not `nodejs`
|
|
|
449
449
|
|
|
450
450
|
That is a product limitation and a deliberate one: the edge runtime is deprecated
|
|
451
451
|
in Next.js, and cdk-nextjs supports Next.js 16's Node-runtime `proxy.ts` instead.
|
|
452
|
-
|
|
452
|
+
933 of next.js's 1136 e2e files are edge-free, so it barely constrains widening
|
|
453
453
|
the list - and `scripts/e2e-harness/screen.mjs` applies this screen and the three
|
|
454
454
|
below for you, recording the funnel in the manifest's `screening` block:
|
|
455
455
|
|