cdk-nextjs 0.7.3 → 0.7.4
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 +2 -2
- package/docs/breaking-changes.md +1 -1
- package/lib/nextjs-api.js +1 -1
- package/lib/nextjs-build/nextjs-build.js +1 -1
- 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/lambda.mjs +2 -2
- package/lib/runtime/server.mjs +2 -2
- package/package.json +4 -4
package/.jsii
CHANGED
|
@@ -19875,6 +19875,6 @@
|
|
|
19875
19875
|
"symbolId": "src/nextjs-build/nextjs-build:PublicDirEntry"
|
|
19876
19876
|
}
|
|
19877
19877
|
},
|
|
19878
|
-
"version": "0.7.
|
|
19879
|
-
"fingerprint": "
|
|
19878
|
+
"version": "0.7.4",
|
|
19879
|
+
"fingerprint": "2lToQujTyEyAKPnOBicZH1g97wy0Zukk1+dT1FpWxsQ="
|
|
19880
19880
|
}
|
package/docs/breaking-changes.md
CHANGED
package/lib/nextjs-api.js
CHANGED
|
@@ -22,7 +22,7 @@ const API_PATH_PART = /^[a-zA-Z0-9:._\-$]+$/;
|
|
|
22
22
|
* Creates an API Gateway REST API for Next.js applications
|
|
23
23
|
*/
|
|
24
24
|
class NextjsApi extends constructs_1.Construct {
|
|
25
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsApi", version: "0.7.
|
|
25
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsApi", version: "0.7.4" };
|
|
26
26
|
/**
|
|
27
27
|
* The API Gateway REST API
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ function deploymentBuildId(manifest) {
|
|
|
72
72
|
* @link https://nextjs.org/docs/pages/api-reference/next-config-js/output
|
|
73
73
|
*/
|
|
74
74
|
class NextjsBuild extends constructs_1.Construct {
|
|
75
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsBuild", version: "0.7.
|
|
75
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsBuild", version: "0.7.4" };
|
|
76
76
|
/**
|
|
77
77
|
* Unique id for this deployment. Used to partition cache storage and as
|
|
78
78
|
* metadata for static assets in S3 bucket.
|
package/lib/nextjs-cache.js
CHANGED
|
@@ -86,7 +86,7 @@ function sizeOfDirectory(dir) {
|
|
|
86
86
|
* Next.js Cache construct providing unified S3 and DynamoDB cache management.
|
|
87
87
|
*/
|
|
88
88
|
class NextjsCache extends constructs_1.Construct {
|
|
89
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsCache", version: "0.7.
|
|
89
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsCache", version: "0.7.4" };
|
|
90
90
|
cacheBucket;
|
|
91
91
|
revalidationTable;
|
|
92
92
|
buildId;
|
|
@@ -19,7 +19,7 @@ const constants_1 = require("../constants");
|
|
|
19
19
|
* Fargate.
|
|
20
20
|
*/
|
|
21
21
|
class NextjsContainers extends constructs_1.Construct {
|
|
22
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsContainers", version: "0.7.
|
|
22
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsContainers", version: "0.7.4" };
|
|
23
23
|
albFargateService;
|
|
24
24
|
ecsCluster;
|
|
25
25
|
url;
|
|
@@ -23,7 +23,7 @@ const zip_directory_1 = require("../utils/zip-directory");
|
|
|
23
23
|
* `awslambda.streamifyResponse` directly.
|
|
24
24
|
*/
|
|
25
25
|
class NextjsFunctions extends constructs_1.Construct {
|
|
26
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsFunctions", version: "0.7.
|
|
26
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsFunctions", version: "0.7.4" };
|
|
27
27
|
/**
|
|
28
28
|
* The `default` group's function: the one the distribution's default behavior
|
|
29
29
|
* targets, and the only one at all unless `functionGroups` is used.
|
|
@@ -11,7 +11,7 @@ const function_groups_1 = require("./adapter/function-groups");
|
|
|
11
11
|
const constants_1 = require("./constants");
|
|
12
12
|
const base_path_1 = require("./utils/base-path");
|
|
13
13
|
class NextjsDistribution extends constructs_1.Construct {
|
|
14
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsDistribution", version: "0.7.
|
|
14
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsDistribution", version: "0.7.4" };
|
|
15
15
|
distribution;
|
|
16
16
|
props;
|
|
17
17
|
/**
|
|
@@ -18,7 +18,7 @@ const base_path_1 = require("./utils/base-path");
|
|
|
18
18
|
* current build id AND are older than `msTtl`
|
|
19
19
|
*/
|
|
20
20
|
class NextjsPostDeploy extends constructs_1.Construct {
|
|
21
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsPostDeploy", version: "0.7.
|
|
21
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsPostDeploy", version: "0.7.4" };
|
|
22
22
|
customResource;
|
|
23
23
|
lambdaFunction;
|
|
24
24
|
props;
|
|
@@ -29,7 +29,7 @@ function staticAssetsObjectsPattern(keyPrefix) {
|
|
|
29
29
|
* Creates S3 Bucket for public and _next/static assets and deploys them using S3Deployment.
|
|
30
30
|
*/
|
|
31
31
|
class NextjsStaticAssets extends constructs_1.Construct {
|
|
32
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsStaticAssets", version: "0.7.
|
|
32
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsStaticAssets", version: "0.7.4" };
|
|
33
33
|
bucket;
|
|
34
34
|
deployment;
|
|
35
35
|
/**
|
|
@@ -15,7 +15,7 @@ const base_path_1 = require("../utils/base-path");
|
|
|
15
15
|
* Base class for all Next.js root constructs
|
|
16
16
|
*/
|
|
17
17
|
class NextjsBaseConstruct extends constructs_1.Construct {
|
|
18
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsBaseConstruct", version: "0.7.
|
|
18
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsBaseConstruct", version: "0.7.4" };
|
|
19
19
|
nextjsBuild;
|
|
20
20
|
nextjsStaticAssets;
|
|
21
21
|
nextjsCache;
|
|
@@ -14,7 +14,7 @@ const base_path_1 = require("../utils/base-path");
|
|
|
14
14
|
* for containers.
|
|
15
15
|
*/
|
|
16
16
|
class NextjsGlobalContainers extends nextjs_base_construct_1.NextjsBaseConstruct {
|
|
17
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsGlobalContainers", version: "0.7.
|
|
17
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsGlobalContainers", version: "0.7.4" };
|
|
18
18
|
nextjsContainers;
|
|
19
19
|
nextjsDistribution;
|
|
20
20
|
nextjsPostDeploy;
|
|
@@ -17,7 +17,7 @@ const base_path_1 = require("../utils/base-path");
|
|
|
17
17
|
* for functions.
|
|
18
18
|
*/
|
|
19
19
|
class NextjsGlobalFunctions extends nextjs_base_construct_1.NextjsBaseConstruct {
|
|
20
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsGlobalFunctions", version: "0.7.
|
|
20
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsGlobalFunctions", version: "0.7.4" };
|
|
21
21
|
nextjsFunctions;
|
|
22
22
|
nextjsDistribution;
|
|
23
23
|
nextjsPostDeploy;
|
|
@@ -13,7 +13,7 @@ const base_path_1 = require("../utils/base-path");
|
|
|
13
13
|
* for containers.
|
|
14
14
|
*/
|
|
15
15
|
class NextjsRegionalContainers extends nextjs_base_construct_1.NextjsBaseConstruct {
|
|
16
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsRegionalContainers", version: "0.7.
|
|
16
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsRegionalContainers", version: "0.7.4" };
|
|
17
17
|
nextjsContainers;
|
|
18
18
|
nextjsPostDeploy;
|
|
19
19
|
/**
|
|
@@ -11,7 +11,7 @@ const nextjs_base_construct_1 = require("./nextjs-base-construct");
|
|
|
11
11
|
* for routing requests and AWS Lambda Functions for server-side rendering.
|
|
12
12
|
*/
|
|
13
13
|
class NextjsRegionalFunctions extends nextjs_base_construct_1.NextjsBaseConstruct {
|
|
14
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsRegionalFunctions", version: "0.7.
|
|
14
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-nextjs.NextjsRegionalFunctions", version: "0.7.4" };
|
|
15
15
|
nextjsFunctions;
|
|
16
16
|
nextjsApi;
|
|
17
17
|
nextjsPostDeploy;
|
package/lib/runtime/lambda.mjs
CHANGED
|
@@ -35889,9 +35889,9 @@ var require_dist_cjs16 = __commonJS({
|
|
|
35889
35889
|
}
|
|
35890
35890
|
});
|
|
35891
35891
|
|
|
35892
|
-
// node_modules/.pnpm/@next+routing@16.3.
|
|
35892
|
+
// node_modules/.pnpm/@next+routing@16.3.6/node_modules/@next/routing/dist/index.js
|
|
35893
35893
|
var require_dist = __commonJS({
|
|
35894
|
-
"node_modules/.pnpm/@next+routing@16.3.
|
|
35894
|
+
"node_modules/.pnpm/@next+routing@16.3.6/node_modules/@next/routing/dist/index.js"(exports, module) {
|
|
35895
35895
|
(() => {
|
|
35896
35896
|
"use strict";
|
|
35897
35897
|
var e5 = {};
|
package/lib/runtime/server.mjs
CHANGED
|
@@ -35889,9 +35889,9 @@ var require_dist_cjs16 = __commonJS({
|
|
|
35889
35889
|
}
|
|
35890
35890
|
});
|
|
35891
35891
|
|
|
35892
|
-
// node_modules/.pnpm/@next+routing@16.3.
|
|
35892
|
+
// node_modules/.pnpm/@next+routing@16.3.6/node_modules/@next/routing/dist/index.js
|
|
35893
35893
|
var require_dist = __commonJS({
|
|
35894
|
-
"node_modules/.pnpm/@next+routing@16.3.
|
|
35894
|
+
"node_modules/.pnpm/@next+routing@16.3.6/node_modules/@next/routing/dist/index.js"(exports, module) {
|
|
35895
35895
|
(() => {
|
|
35896
35896
|
"use strict";
|
|
35897
35897
|
var e5 = {};
|
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.6",
|
|
25
25
|
"@smithy/signature-v4": "^2.3.0",
|
|
26
26
|
"@types/aws-lambda": "^8.10.163",
|
|
27
27
|
"@types/debug": "^4.1.13",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"aws-cdk": "^2.1143.0",
|
|
34
34
|
"aws-cdk-lib": "2.261.0",
|
|
35
35
|
"cdk-nag": "^2.38.2",
|
|
36
|
-
"cdklabs-projen-project-types": "^0.6.
|
|
36
|
+
"cdklabs-projen-project-types": "^0.6.17",
|
|
37
37
|
"commit-and-tag-version": "^12",
|
|
38
38
|
"constructs": "10.5.1",
|
|
39
39
|
"debug": "^4.4.3",
|
|
@@ -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.6",
|
|
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.4",
|
|
88
88
|
"jest": {
|
|
89
89
|
"coverageProvider": "v8",
|
|
90
90
|
"testPathIgnorePatterns": [
|