@aws/nx-plugin 0.94.2 → 0.95.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/nx-plugin",
3
- "version": "0.94.2",
3
+ "version": "0.95.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/awslabs/nx-plugin-for-aws.git",
@@ -19,8 +19,8 @@
19
19
  },
20
20
  "generators": "./generators.json",
21
21
  "peerDependencies": {
22
- "nx": "22.6.4",
23
- "prettier": "3.8.1"
22
+ "nx": "22.6.5",
23
+ "prettier": "3.8.2"
24
24
  },
25
25
  "dependencies": {
26
26
  "@apidevtools/swagger-parser": "12.1.0",
@@ -28,13 +28,13 @@
28
28
  "@hey-api/openapi-ts": "0.64.13",
29
29
  "@iarna/toml": "2.2.5",
30
30
  "@modelcontextprotocol/sdk": "1.29.0",
31
- "@nx/devkit": "22.6.4",
32
- "@nx/eslint": "22.6.4",
33
- "@nx/js": "22.6.4",
34
- "@nx/react": "22.6.4",
35
- "@nx/vite": "22.6.4",
31
+ "@nx/devkit": "22.6.5",
32
+ "@nx/eslint": "22.6.5",
33
+ "@nx/js": "22.6.5",
34
+ "@nx/react": "22.6.5",
35
+ "@nx/vite": "22.6.5",
36
36
  "@nxlv/python": "22.1.1",
37
- "@phenomnomnominal/tsquery": "6.1.4",
37
+ "@phenomnomnominal/tsquery": "6.2.0",
38
38
  "enquirer": "2.4.1",
39
39
  "fast-glob": "3.3.3",
40
40
  "lodash.camelcase": "4.3.0",
@@ -47,8 +47,8 @@
47
47
  "openapi-types": "12.1.3",
48
48
  "pip-requirements-js": "1.0.3",
49
49
  "typescript": "6.0.2",
50
- "vite": "8.0.3",
51
- "vitest": "4.1.2",
50
+ "vite": "8.0.8",
51
+ "vitest": "4.1.4",
52
52
  "zod": "4.3.6"
53
53
  },
54
54
  "types": "./src/index.d.ts"
@@ -2,10 +2,10 @@
2
2
 
3
3
  exports[`infra generator > should add required dependencies to package.json > dependencies 1`] = `
4
4
  {
5
- "aws-cdk": "2.1117.0",
5
+ "aws-cdk": "2.1118.0",
6
6
  "aws-cdk-lib": "2.248.0",
7
7
  "constructs": "10.6.0",
8
- "esbuild": "0.27.4",
8
+ "esbuild": "0.28.0",
9
9
  "source-map-support": "0.5.21",
10
10
  }
11
11
  `;
@@ -13,60 +13,60 @@ exports[`infra generator > should add required dependencies to package.json > de
13
13
  exports[`infra generator > should add required dependencies to package.json > dev-dependencies 1`] = `
14
14
  {
15
15
  "@eslint/js": "^9.8.0",
16
- "@nx/eslint": "22.6.4",
17
- "@nx/eslint-plugin": "22.6.4",
18
- "@nx/js": "22.6.4",
19
- "@nx/vitest": "22.6.4",
16
+ "@nx/eslint": "22.6.5",
17
+ "@nx/eslint-plugin": "22.6.5",
18
+ "@nx/js": "22.6.5",
19
+ "@nx/vitest": "22.6.5",
20
20
  "@swc-node/register": "~1.11.1",
21
21
  "@swc/core": "~1.15.5",
22
22
  "@swc/helpers": "~0.5.18",
23
- "@types/node": "25.5.2",
24
- "@vitest/coverage-v8": "4.1.2",
23
+ "@types/node": "25.6.0",
24
+ "@vitest/coverage-v8": "4.1.4",
25
25
  "eslint": "^9.8.0",
26
26
  "eslint-config-prettier": "^10.0.0",
27
27
  "eslint-plugin-prettier": "5.5.5",
28
28
  "jsdom": "^27.1.0",
29
29
  "jsonc-eslint-parser": "3.1.0",
30
- "prettier": "3.8.1",
30
+ "prettier": "3.8.2",
31
31
  "tsx": "4.21.0",
32
32
  "typescript": "~5.9.2",
33
33
  "typescript-eslint": "^8.40.0",
34
- "vite": "8.0.3",
35
- "vitest": "4.1.2",
34
+ "vite": "8.0.8",
35
+ "vitest": "4.1.4",
36
36
  }
37
37
  `;
38
38
 
39
39
  exports[`infra generator > should add required dependencies to package.json > package-json 1`] = `
40
40
  {
41
41
  "dependencies": {
42
- "aws-cdk": "2.1117.0",
42
+ "aws-cdk": "2.1118.0",
43
43
  "aws-cdk-lib": "2.248.0",
44
44
  "constructs": "10.6.0",
45
- "esbuild": "0.27.4",
45
+ "esbuild": "0.28.0",
46
46
  "source-map-support": "0.5.21",
47
47
  },
48
48
  "devDependencies": {
49
49
  "@eslint/js": "^9.8.0",
50
- "@nx/eslint": "22.6.4",
51
- "@nx/eslint-plugin": "22.6.4",
52
- "@nx/js": "22.6.4",
53
- "@nx/vitest": "22.6.4",
50
+ "@nx/eslint": "22.6.5",
51
+ "@nx/eslint-plugin": "22.6.5",
52
+ "@nx/js": "22.6.5",
53
+ "@nx/vitest": "22.6.5",
54
54
  "@swc-node/register": "~1.11.1",
55
55
  "@swc/core": "~1.15.5",
56
56
  "@swc/helpers": "~0.5.18",
57
- "@types/node": "25.5.2",
58
- "@vitest/coverage-v8": "4.1.2",
57
+ "@types/node": "25.6.0",
58
+ "@vitest/coverage-v8": "4.1.4",
59
59
  "eslint": "^9.8.0",
60
60
  "eslint-config-prettier": "^10.0.0",
61
61
  "eslint-plugin-prettier": "5.5.5",
62
62
  "jsdom": "^27.1.0",
63
63
  "jsonc-eslint-parser": "3.1.0",
64
- "prettier": "3.8.1",
64
+ "prettier": "3.8.2",
65
65
  "tsx": "4.21.0",
66
66
  "typescript": "~5.9.2",
67
67
  "typescript-eslint": "^8.40.0",
68
- "vite": "8.0.3",
69
- "vitest": "4.1.2",
68
+ "vite": "8.0.8",
69
+ "vitest": "4.1.4",
70
70
  },
71
71
  "name": "@proj/source",
72
72
  "type": "module",
@@ -84,7 +84,7 @@ exports[`infra generator > should configure Checkov target correctly > checkov-t
84
84
  "{workspaceRoot}/dist/{projectRoot}/cdk.out",
85
85
  ],
86
86
  "options": {
87
- "command": "uvx --from checkov==3.2.513 checkov --config-file {projectRoot}/checkov.yml --directory dist/{projectRoot}/cdk.out --framework cloudformation",
87
+ "command": "uvx --from checkov==3.2.519 checkov --config-file {projectRoot}/checkov.yml --directory dist/{projectRoot}/cdk.out --framework cloudformation",
88
88
  },
89
89
  "outputs": [
90
90
  "{workspaceRoot}/dist/{projectRoot}/checkov",
@@ -177,7 +177,7 @@ exports[`infra generator > should configure project.json with correct targets >
177
177
  "{workspaceRoot}/dist/{projectRoot}/cdk.out",
178
178
  ],
179
179
  "options": {
180
- "command": "uvx --from checkov==3.2.513 checkov --config-file {projectRoot}/checkov.yml --directory dist/{projectRoot}/cdk.out --framework cloudformation",
180
+ "command": "uvx --from checkov==3.2.519 checkov --config-file {projectRoot}/checkov.yml --directory dist/{projectRoot}/cdk.out --framework cloudformation",
181
181
  },
182
182
  "outputs": [
183
183
  "{workspaceRoot}/dist/{projectRoot}/checkov",
@@ -739,7 +739,7 @@ exports[`infra generator > should handle custom project names correctly > custom
739
739
  "{workspaceRoot}/dist/{projectRoot}/cdk.out",
740
740
  ],
741
741
  "options": {
742
- "command": "uvx --from checkov==3.2.513 checkov --config-file {projectRoot}/checkov.yml --directory dist/{projectRoot}/cdk.out --framework cloudformation",
742
+ "command": "uvx --from checkov==3.2.519 checkov --config-file {projectRoot}/checkov.yml --directory dist/{projectRoot}/cdk.out --framework cloudformation",
743
743
  },
744
744
  "outputs": [
745
745
  "{workspaceRoot}/dist/{projectRoot}/checkov",
@@ -192,14 +192,14 @@ exports[`preset generator > should run successfully > package.json 1`] = `
192
192
  "name": "@proj/source",
193
193
  "dependencies": {},
194
194
  "devDependencies": {
195
- "@nx/js": "22.6.4",
196
- "@nx/workspace": "22.6.4",
195
+ "@nx/js": "22.6.5",
196
+ "@nx/workspace": "22.6.5",
197
197
  "@swc-node/register": "~1.11.1",
198
198
  "@swc/core": "~1.15.5",
199
199
  "@swc/helpers": "~0.5.18",
200
200
  "prettier": "~3.6.2",
201
201
  "typescript": "6.0.2",
202
- "typescript-eslint": "8.58.0"
202
+ "typescript-eslint": "8.58.1"
203
203
  },
204
204
  "type": "module",
205
205
  "scripts": {
@@ -491,15 +491,16 @@ export class TestApi<
491
491
  timeout: Duration.seconds(30),
492
492
  tracing: Tracing.ACTIVE,
493
493
  snapStart: SnapStartConf.ON_PUBLISHED_VERSIONS,
494
- environment: {
495
- RUNTIME_CONFIG_APP_ID: rc.appConfigApplicationId,
496
- PORT: '8000',
497
- AWS_LWA_INVOKE_MODE: 'buffered',
498
- AWS_LAMBDA_EXEC_WRAPPER: '/opt/bootstrap',
499
- },
500
494
  },
501
495
  buildDefaultIntegration: (op, props: FunctionProps) => {
502
496
  const handler = new Function(scope, \`TestApi\${op}Handler\`, props);
497
+ handler.addEnvironment(
498
+ 'RUNTIME_CONFIG_APP_ID',
499
+ rc.appConfigApplicationId,
500
+ );
501
+ handler.addEnvironment('PORT', '8000');
502
+ handler.addEnvironment('AWS_LWA_INVOKE_MODE', 'buffered');
503
+ handler.addEnvironment('AWS_LAMBDA_EXEC_WRAPPER', '/opt/bootstrap');
503
504
  rc.grantReadAppConfig(handler);
504
505
  const stack = Stack.of(scope);
505
506
  handler.addLayers(
@@ -1276,15 +1277,16 @@ export class TestApi<
1276
1277
  timeout: Duration.seconds(30),
1277
1278
  tracing: Tracing.ACTIVE,
1278
1279
  snapStart: SnapStartConf.ON_PUBLISHED_VERSIONS,
1279
- environment: {
1280
- RUNTIME_CONFIG_APP_ID: rc.appConfigApplicationId,
1281
- PORT: '8000',
1282
- AWS_LWA_INVOKE_MODE: 'response_stream',
1283
- AWS_LAMBDA_EXEC_WRAPPER: '/opt/bootstrap',
1284
- },
1285
1280
  },
1286
1281
  buildDefaultIntegration: (op, props: FunctionProps) => {
1287
1282
  const handler = new Function(scope, \`TestApi\${op}Handler\`, props);
1283
+ handler.addEnvironment(
1284
+ 'RUNTIME_CONFIG_APP_ID',
1285
+ rc.appConfigApplicationId,
1286
+ );
1287
+ handler.addEnvironment('PORT', '8000');
1288
+ handler.addEnvironment('AWS_LWA_INVOKE_MODE', 'response_stream');
1289
+ handler.addEnvironment('AWS_LAMBDA_EXEC_WRAPPER', '/opt/bootstrap');
1288
1290
  rc.grantReadAppConfig(handler);
1289
1291
  const stack = Stack.of(scope);
1290
1292
  handler.addLayers(
@@ -633,11 +633,11 @@ exports[`py#mcp-server generator > should match snapshot for generated files > u
633
633
  name = "proj.test_project"
634
634
  version = "0.1.0"
635
635
  dependencies = [
636
- "aws-lambda-powertools==3.26.0",
636
+ "aws-lambda-powertools==3.27.0",
637
637
  "mcp==1.27.0",
638
- "uvicorn==0.43.0",
639
- "boto3==1.42.83",
640
- "aws-opentelemetry-distro==0.16.0"
638
+ "uvicorn==0.44.0",
639
+ "boto3==1.42.88",
640
+ "aws-opentelemetry-distro==0.17.0"
641
641
  ]
642
642
 
643
643
  [dependency-groups]
@@ -680,15 +680,15 @@ exports[`py#strands-agent generator > should match snapshot for generated files
680
680
  name = "proj.test_project"
681
681
  version = "0.1.0"
682
682
  dependencies = [
683
- "aws-lambda-powertools==3.26.0",
684
- "aws-opentelemetry-distro==0.16.0",
685
- "bedrock-agentcore==1.6.0",
683
+ "aws-lambda-powertools==3.27.0",
684
+ "aws-opentelemetry-distro==0.17.0",
685
+ "bedrock-agentcore==1.6.1",
686
686
  "fastapi==0.135.3",
687
- "boto3==1.42.83",
687
+ "boto3==1.42.88",
688
688
  "mcp==1.27.0",
689
- "strands-agents==1.34.1",
690
- "strands-agents-tools==0.3.0",
691
- "uvicorn==0.43.0"
689
+ "strands-agents==1.35.0",
690
+ "strands-agents-tools==0.4.1",
691
+ "uvicorn==0.44.0"
692
692
  ]
693
693
 
694
694
  [dependency-groups]
@@ -122,12 +122,13 @@ export class TestApi<
122
122
  ),
123
123
  timeout: Duration.seconds(30),
124
124
  tracing: Tracing.ACTIVE,
125
- environment: {
126
- RUNTIME_CONFIG_APP_ID: rc.appConfigApplicationId,
127
- },
128
125
  },
129
126
  buildDefaultIntegration: (op, props: FunctionProps) => {
130
127
  const handler = new Function(scope, \`TestApi\${op}Handler\`, props);
128
+ handler.addEnvironment(
129
+ 'RUNTIME_CONFIG_APP_ID',
130
+ rc.appConfigApplicationId,
131
+ );
131
132
  rc.grantReadAppConfig(handler);
132
133
  return {
133
134
  handler,
@@ -295,12 +296,13 @@ export class TestApi<
295
296
  ),
296
297
  timeout: Duration.seconds(30),
297
298
  tracing: Tracing.ACTIVE,
298
- environment: {
299
- RUNTIME_CONFIG_APP_ID: rc.appConfigApplicationId,
300
- },
301
299
  },
302
300
  buildDefaultIntegration: (op, props: FunctionProps) => {
303
301
  const handler = new Function(scope, \`TestApi\${op}Handler\`, props);
302
+ handler.addEnvironment(
303
+ 'RUNTIME_CONFIG_APP_ID',
304
+ rc.appConfigApplicationId,
305
+ );
304
306
  rc.grantReadAppConfig(handler);
305
307
  return {
306
308
  handler,
@@ -442,12 +442,13 @@ export class TestApi<
442
442
  ),
443
443
  timeout: Duration.seconds(30),
444
444
  tracing: Tracing.ACTIVE,
445
- environment: {
446
- RUNTIME_CONFIG_APP_ID: rc.appConfigApplicationId,
447
- },
448
445
  },
449
446
  buildDefaultIntegration: (op, props: FunctionProps) => {
450
447
  const handler = new Function(scope, \`TestApi\${op}Handler\`, props);
448
+ handler.addEnvironment(
449
+ 'RUNTIME_CONFIG_APP_ID',
450
+ rc.appConfigApplicationId,
451
+ );
451
452
  rc.grantReadAppConfig(handler);
452
453
  return {
453
454
  handler,
@@ -643,12 +644,13 @@ export class TestApi<
643
644
  ),
644
645
  timeout: Duration.seconds(30),
645
646
  tracing: Tracing.ACTIVE,
646
- environment: {
647
- RUNTIME_CONFIG_APP_ID: rc.appConfigApplicationId,
648
- },
649
647
  },
650
648
  buildDefaultIntegration: (op, props: FunctionProps) => {
651
649
  const handler = new Function(scope, \`TestApi\${op}Handler\`, props);
650
+ handler.addEnvironment(
651
+ 'RUNTIME_CONFIG_APP_ID',
652
+ rc.appConfigApplicationId,
653
+ );
652
654
  rc.grantReadAppConfig(handler);
653
655
  return {
654
656
  handler,
@@ -848,12 +850,13 @@ export class TestApi<
848
850
  ),
849
851
  timeout: Duration.seconds(30),
850
852
  tracing: Tracing.ACTIVE,
851
- environment: {
852
- RUNTIME_CONFIG_APP_ID: rc.appConfigApplicationId,
853
- },
854
853
  },
855
854
  buildDefaultIntegration: (op, props: FunctionProps) => {
856
855
  const handler = new Function(scope, \`TestApi\${op}Handler\`, props);
856
+ handler.addEnvironment(
857
+ 'RUNTIME_CONFIG_APP_ID',
858
+ rc.appConfigApplicationId,
859
+ );
857
860
  rc.grantReadAppConfig(handler);
858
861
  return {
859
862
  handler,
@@ -1037,12 +1040,13 @@ export class TestApi<
1037
1040
  ),
1038
1041
  timeout: Duration.seconds(30),
1039
1042
  tracing: Tracing.ACTIVE,
1040
- environment: {
1041
- RUNTIME_CONFIG_APP_ID: rc.appConfigApplicationId,
1042
- },
1043
1043
  },
1044
1044
  buildDefaultIntegration: (op, props: FunctionProps) => {
1045
1045
  const handler = new Function(scope, \`TestApi\${op}Handler\`, props);
1046
+ handler.addEnvironment(
1047
+ 'RUNTIME_CONFIG_APP_ID',
1048
+ rc.appConfigApplicationId,
1049
+ );
1046
1050
  rc.grantReadAppConfig(handler);
1047
1051
  return {
1048
1052
  handler,
@@ -1361,12 +1365,13 @@ export class TestApi<
1361
1365
  ),
1362
1366
  timeout: Duration.seconds(30),
1363
1367
  tracing: Tracing.ACTIVE,
1364
- environment: {
1365
- RUNTIME_CONFIG_APP_ID: rc.appConfigApplicationId,
1366
- },
1367
1368
  },
1368
1369
  buildDefaultIntegration: (op, props: FunctionProps) => {
1369
1370
  const handler = new Function(scope, \`TestApi\${op}Handler\`, props);
1371
+ handler.addEnvironment(
1372
+ 'RUNTIME_CONFIG_APP_ID',
1373
+ rc.appConfigApplicationId,
1374
+ );
1370
1375
  rc.grantReadAppConfig(handler);
1371
1376
  return {
1372
1377
  handler,
@@ -2204,12 +2209,13 @@ export class TestApi<
2204
2209
  ),
2205
2210
  timeout: Duration.seconds(30),
2206
2211
  tracing: Tracing.ACTIVE,
2207
- environment: {
2208
- RUNTIME_CONFIG_APP_ID: rc.appConfigApplicationId,
2209
- },
2210
2212
  },
2211
2213
  buildDefaultIntegration: (op, props: FunctionProps) => {
2212
2214
  const handler = new Function(scope, \`TestApi\${op}Handler\`, props);
2215
+ handler.addEnvironment(
2216
+ 'RUNTIME_CONFIG_APP_ID',
2217
+ rc.appConfigApplicationId,
2218
+ );
2213
2219
  rc.grantReadAppConfig(handler);
2214
2220
  return {
2215
2221
  handler,
@@ -713,7 +713,7 @@ exports[`ts#mcp-server generator > should match snapshot for generated files > u
713
713
  },
714
714
  "dependencies": {
715
715
  "@aws-lambda-powertools/parameters": "2.32.0",
716
- "@aws-sdk/client-appconfigdata": "3.1024.0",
716
+ "@aws-sdk/client-appconfigdata": "3.1029.0",
717
717
  "@modelcontextprotocol/sdk": "1.29.0",
718
718
  "express": "5.2.1",
719
719
  "zod": "4.3.6"
@@ -248,7 +248,7 @@ export const registerCreateWorkspaceCommandTool = (server: McpServer) => {
248
248
  text: \`Run the following command to create a workspace:
249
249
 
250
250
  \\\`\\\`\\\`bash
251
- npx create-nx-workspace@22.6.4 \${workspaceName} --pm=\${packageManager} --preset=@aws/nx-plugin --ci=skip --aiAgents
251
+ npx create-nx-workspace@22.6.5 \${workspaceName} --pm=\${packageManager} --preset=@aws/nx-plugin --ci=skip --aiAgents
252
252
  \\\`\\\`\\\`
253
253
 
254
254
  This will create a new workspace within the \${workspaceName} directory.
@@ -1057,24 +1057,24 @@ exports[`react-website generator > Tanstack router integration > should generate
1057
1057
  "{
1058
1058
  "name": "@proj/source",
1059
1059
  "dependencies": {
1060
- "@cloudscape-design/board-components": "3.0.164",
1061
- "@cloudscape-design/components": "3.0.1266",
1062
- "@cloudscape-design/global-styles": "1.0.56",
1060
+ "@cloudscape-design/board-components": "3.0.166",
1061
+ "@cloudscape-design/components": "3.0.1272",
1062
+ "@cloudscape-design/global-styles": "1.0.57",
1063
1063
  "aws-cdk-lib": "2.248.0",
1064
1064
  "constructs": "10.6.0",
1065
- "react": "19.2.4",
1066
- "react-dom": "19.2.4",
1065
+ "react": "19.2.5",
1066
+ "react-dom": "19.2.5",
1067
1067
  "tailwindcss": "4.2.2"
1068
1068
  },
1069
1069
  "devDependencies": {
1070
1070
  "@eslint/js": "^9.8.0",
1071
- "@nx/eslint": "22.6.4",
1072
- "@nx/eslint-plugin": "22.6.4",
1073
- "@nx/js": "22.6.4",
1074
- "@nx/react": "22.6.4",
1075
- "@nx/vite": "22.6.4",
1076
- "@nx/vitest": "22.6.4",
1077
- "@nx/web": "22.6.4",
1071
+ "@nx/eslint": "22.6.5",
1072
+ "@nx/eslint-plugin": "22.6.5",
1073
+ "@nx/js": "22.6.5",
1074
+ "@nx/react": "22.6.5",
1075
+ "@nx/vite": "22.6.5",
1076
+ "@nx/vitest": "22.6.5",
1077
+ "@nx/web": "22.6.5",
1078
1078
  "@swc-node/register": "~1.11.1",
1079
1079
  "@swc/cli": "~0.8.0",
1080
1080
  "@swc/core": "~1.15.5",
@@ -1082,12 +1082,12 @@ exports[`react-website generator > Tanstack router integration > should generate
1082
1082
  "@tailwindcss/vite": "4.2.2",
1083
1083
  "@testing-library/dom": "10.4.0",
1084
1084
  "@testing-library/react": "16.3.0",
1085
- "@types/node": "25.5.2",
1085
+ "@types/node": "25.6.0",
1086
1086
  "@types/react": "^19.0.0",
1087
1087
  "@types/react-dom": "^19.0.0",
1088
1088
  "@vitejs/plugin-react": "^6.0.0",
1089
- "@vitest/coverage-v8": "4.1.2",
1090
- "@vitest/ui": "4.1.2",
1089
+ "@vitest/coverage-v8": "4.1.4",
1090
+ "@vitest/ui": "4.1.4",
1091
1091
  "eslint": "^9.8.0",
1092
1092
  "eslint-config-prettier": "^10.0.0",
1093
1093
  "eslint-plugin-import": "2.31.0",
@@ -1098,12 +1098,12 @@ exports[`react-website generator > Tanstack router integration > should generate
1098
1098
  "jiti": "2.4.2",
1099
1099
  "jsdom": "~22.1.0",
1100
1100
  "jsonc-eslint-parser": "3.1.0",
1101
- "prettier": "3.8.1",
1101
+ "prettier": "3.8.2",
1102
1102
  "typescript": "~5.9.2",
1103
1103
  "typescript-eslint": "^8.40.0",
1104
- "vite": "8.0.3",
1104
+ "vite": "8.0.8",
1105
1105
  "vite-tsconfig-paths": "6.1.1",
1106
- "vitest": "4.1.2"
1106
+ "vitest": "4.1.4"
1107
1107
  },
1108
1108
  "type": "module"
1109
1109
  }
@@ -2649,42 +2649,42 @@ exports[`react-website generator > Tanstack router integration > should generate
2649
2649
  "{
2650
2650
  "name": "@proj/source",
2651
2651
  "dependencies": {
2652
- "@cloudscape-design/board-components": "3.0.164",
2653
- "@cloudscape-design/components": "3.0.1266",
2654
- "@cloudscape-design/global-styles": "1.0.56",
2655
- "@tanstack/react-router": "1.168.10",
2652
+ "@cloudscape-design/board-components": "3.0.166",
2653
+ "@cloudscape-design/components": "3.0.1272",
2654
+ "@cloudscape-design/global-styles": "1.0.57",
2655
+ "@tanstack/react-router": "1.168.17",
2656
2656
  "aws-cdk-lib": "2.248.0",
2657
2657
  "constructs": "10.6.0",
2658
- "react": "19.2.4",
2659
- "react-dom": "19.2.4",
2658
+ "react": "19.2.5",
2659
+ "react-dom": "19.2.5",
2660
2660
  "tailwindcss": "4.2.2"
2661
2661
  },
2662
2662
  "devDependencies": {
2663
2663
  "@eslint/js": "^9.8.0",
2664
- "@nx/eslint": "22.6.4",
2665
- "@nx/eslint-plugin": "22.6.4",
2666
- "@nx/js": "22.6.4",
2667
- "@nx/react": "22.6.4",
2668
- "@nx/vite": "22.6.4",
2669
- "@nx/vitest": "22.6.4",
2670
- "@nx/web": "22.6.4",
2664
+ "@nx/eslint": "22.6.5",
2665
+ "@nx/eslint-plugin": "22.6.5",
2666
+ "@nx/js": "22.6.5",
2667
+ "@nx/react": "22.6.5",
2668
+ "@nx/vite": "22.6.5",
2669
+ "@nx/vitest": "22.6.5",
2670
+ "@nx/web": "22.6.5",
2671
2671
  "@swc-node/register": "~1.11.1",
2672
2672
  "@swc/cli": "~0.8.0",
2673
2673
  "@swc/core": "~1.15.5",
2674
2674
  "@swc/helpers": "~0.5.18",
2675
2675
  "@tailwindcss/vite": "4.2.2",
2676
- "@tanstack/router-generator": "1.166.24",
2677
- "@tanstack/router-plugin": "1.167.12",
2676
+ "@tanstack/router-generator": "1.166.28",
2677
+ "@tanstack/router-plugin": "1.167.16",
2678
2678
  "@tanstack/router-utils": "1.161.6",
2679
2679
  "@tanstack/virtual-file-routes": "1.161.7",
2680
2680
  "@testing-library/dom": "10.4.0",
2681
2681
  "@testing-library/react": "16.3.0",
2682
- "@types/node": "25.5.2",
2682
+ "@types/node": "25.6.0",
2683
2683
  "@types/react": "^19.0.0",
2684
2684
  "@types/react-dom": "^19.0.0",
2685
2685
  "@vitejs/plugin-react": "^6.0.0",
2686
- "@vitest/coverage-v8": "4.1.2",
2687
- "@vitest/ui": "4.1.2",
2686
+ "@vitest/coverage-v8": "4.1.4",
2687
+ "@vitest/ui": "4.1.4",
2688
2688
  "eslint": "^9.8.0",
2689
2689
  "eslint-config-prettier": "^10.0.0",
2690
2690
  "eslint-plugin-import": "2.31.0",
@@ -2695,12 +2695,12 @@ exports[`react-website generator > Tanstack router integration > should generate
2695
2695
  "jiti": "2.4.2",
2696
2696
  "jsdom": "~22.1.0",
2697
2697
  "jsonc-eslint-parser": "3.1.0",
2698
- "prettier": "3.8.1",
2698
+ "prettier": "3.8.2",
2699
2699
  "typescript": "~5.9.2",
2700
2700
  "typescript-eslint": "^8.40.0",
2701
- "vite": "8.0.3",
2701
+ "vite": "8.0.8",
2702
2702
  "vite-tsconfig-paths": "6.1.1",
2703
- "vitest": "4.1.2"
2703
+ "vitest": "4.1.4"
2704
2704
  },
2705
2705
  "type": "module"
2706
2706
  }
@@ -4909,14 +4909,14 @@ root &&
4909
4909
 
4910
4910
  exports[`react-website generator > should handle npm scope prefix correctly > scoped-dependencies 1`] = `
4911
4911
  {
4912
- "@cloudscape-design/board-components": "3.0.164",
4913
- "@cloudscape-design/components": "3.0.1266",
4914
- "@cloudscape-design/global-styles": "1.0.56",
4915
- "@tanstack/react-router": "1.168.10",
4912
+ "@cloudscape-design/board-components": "3.0.166",
4913
+ "@cloudscape-design/components": "3.0.1272",
4914
+ "@cloudscape-design/global-styles": "1.0.57",
4915
+ "@tanstack/react-router": "1.168.17",
4916
4916
  "aws-cdk-lib": "2.248.0",
4917
4917
  "constructs": "10.6.0",
4918
- "react": "19.2.4",
4919
- "react-dom": "19.2.4",
4918
+ "react": "19.2.5",
4919
+ "react-dom": "19.2.5",
4920
4920
  "tailwindcss": "4.2.2",
4921
4921
  }
4922
4922
  `;
@@ -7,7 +7,7 @@ WORKDIR /app
7
7
 
8
8
  # Add AWS Distro for OpenTelemetry for observability
9
9
  # https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/observability-configure.html
10
- RUN npm install @aws/aws-distro-opentelemetry-node-autoinstrumentation@0.9.0
10
+ RUN npm install @aws/aws-distro-opentelemetry-node-autoinstrumentation@0.10.0
11
11
 
12
12
  # Copy bundled agent
13
13
  COPY --from=workspace dist/apps/test-project/bundle/agent/snapshot-bedrock-agent/index.js /app
@@ -137,19 +137,17 @@ export class <%= apiNameClassName %><
137
137
  <%_ if (backend.type === 'fastapi') { _%>
138
138
  snapStart: SnapStartConf.ON_PUBLISHED_VERSIONS,
139
139
  <%_ } _%>
140
- environment: {
141
- RUNTIME_CONFIG_APP_ID: rc.appConfigApplicationId,
142
- <%_ if (backend.type === 'fastapi') { _%>
143
- PORT: '8000',
144
- AWS_LWA_INVOKE_MODE: 'buffered',
145
- AWS_LAMBDA_EXEC_WRAPPER: '/opt/bootstrap',
146
- <%_ } _%>
147
- },
148
140
  },
149
141
  buildDefaultIntegration: (op, props: FunctionProps) => {
150
142
  <%_ const lambdaTarget = backend.type === 'fastapi' ? 'handler.currentVersion' : 'handler'; _%>
151
143
  <%_ const integrationOptions = backend.integrationPattern === 'shared' ? ', { scopePermissionToRoute: false }' : ''; _%>
152
144
  const handler = new Function(scope, `<%= apiNameClassName %>${op}Handler`, props);
145
+ handler.addEnvironment('RUNTIME_CONFIG_APP_ID', rc.appConfigApplicationId);
146
+ <%_ if (backend.type === 'fastapi') { _%>
147
+ handler.addEnvironment('PORT', '8000');
148
+ handler.addEnvironment('AWS_LWA_INVOKE_MODE', 'buffered');
149
+ handler.addEnvironment('AWS_LAMBDA_EXEC_WRAPPER', '/opt/bootstrap');
150
+ <%_ } _%>
153
151
  rc.grantReadAppConfig(handler);
154
152
  <%_ if (backend.type === 'fastapi') { _%>
155
153
  const stack = Stack.of(scope);