@aws/nx-plugin 1.0.2 → 1.0.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/LICENSE-THIRD-PARTY +30 -14
- package/migrations.json +22 -17
- package/package.json +7 -7
- package/src/agentcore-gateway/__snapshots__/generator.spec.ts.snap +3 -3
- package/src/infra/app/__snapshots__/generator.spec.ts.snap +3 -3
- package/src/license/dependency-check/collectors/npm-collector.d.ts +14 -0
- package/src/license/dependency-check/collectors/npm-collector.js +35 -1
- package/src/license/dependency-check/collectors/npm-collector.js.map +1 -1
- package/src/migrations/v1.0.0-rc.98/0001-sandbox-pattern-nested-stacks/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.98/0002-shadcn-cn-package/migration.js.map +1 -0
- package/src/migrations/v1.0.2/0001-terraform-harness-environment-variables/migration.js.map +1 -0
- package/src/migrations/v1.0.3/0001-terraform-init-target/metadata.json +3 -0
- package/src/migrations/v1.0.3/0001-terraform-init-target/migration.d.ts +6 -0
- package/src/migrations/v1.0.3/0001-terraform-init-target/migration.js +153 -0
- package/src/migrations/v1.0.3/0001-terraform-init-target/migration.js.map +1 -0
- package/src/preset/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/py/agent/__snapshots__/generator.constructs.spec.ts.snap +7 -7
- package/src/py/agent/__snapshots__/generator.frameworks.spec.ts.snap +9 -9
- package/src/py/agent/__snapshots__/generator.protocols.spec.ts.snap +8 -8
- package/src/py/dynamodb/__snapshots__/generator.spec.ts.snap +3 -3
- package/src/py/fast-api/__snapshots__/generator.terraform.spec.ts.snap +27 -27
- package/src/py/lambda-function/__snapshots__/generator.spec.ts.snap +6 -6
- package/src/py/mcp-server/__snapshots__/generator.spec.ts.snap +8 -8
- package/src/py/rdb/__snapshots__/generator.spec.ts.snap +10 -10
- package/src/sdk/open-api.d.ts +2 -2
- package/src/sdk/open-api.js +1 -1
- package/src/sdk/open-api.js.map +1 -1
- package/src/smithy/project/__snapshots__/generator.spec.ts.snap +16 -16
- package/src/smithy/ts/api/__snapshots__/generator.spec.ts.snap +19 -19
- package/src/terraform/project/generator.js +52 -44
- package/src/terraform/project/generator.js.map +1 -1
- package/src/trpc/backend/__snapshots__/generator.spec.ts.snap +27 -27
- package/src/ts/agent/__snapshots__/generator.spec.ts.snap +8 -8
- package/src/ts/dcr-proxy/__snapshots__/generator.spec.ts.snap +3 -3
- package/src/ts/dynamodb/__snapshots__/generator.spec.ts.snap +3 -3
- package/src/ts/lambda-function/__snapshots__/generator.spec.ts.snap +6 -6
- package/src/ts/mcp-server/__snapshots__/generator.spec.ts.snap +4 -4
- package/src/ts/rdb/__snapshots__/generator.spec.ts.snap +18 -18
- package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +28 -28
- package/src/ts/react-website/cognito-auth/__snapshots__/generator.terraform.spec.ts.snap +3 -3
- package/src/utils/docker.d.ts +1 -1
- package/src/utils/test-migration.d.ts +20 -0
- package/src/utils/test-migration.js +32 -0
- package/src/utils/test-migration.js.map +1 -0
- package/src/utils/versions.d.ts +99 -99
- package/src/utils/versions.js +92 -92
- package/src/utils/versions.js.map +1 -1
- package/src/migrations/latest/sandbox-pattern-nested-stacks/migration.js.map +0 -1
- package/src/migrations/latest/shadcn-cn-package/migration.js.map +0 -1
- package/src/migrations/latest/terraform-harness-environment-variables/migration.js.map +0 -1
- /package/src/migrations/{latest/sandbox-pattern-nested-stacks → v1.0.0-rc.98/0001-sandbox-pattern-nested-stacks}/metadata.json +0 -0
- /package/src/migrations/{latest/sandbox-pattern-nested-stacks → v1.0.0-rc.98/0001-sandbox-pattern-nested-stacks}/migration.d.ts +0 -0
- /package/src/migrations/{latest/sandbox-pattern-nested-stacks → v1.0.0-rc.98/0001-sandbox-pattern-nested-stacks}/migration.js +0 -0
- /package/src/migrations/{latest/shadcn-cn-package → v1.0.0-rc.98/0002-shadcn-cn-package}/metadata.json +0 -0
- /package/src/migrations/{latest/shadcn-cn-package → v1.0.0-rc.98/0002-shadcn-cn-package}/migration.d.ts +0 -0
- /package/src/migrations/{latest/shadcn-cn-package → v1.0.0-rc.98/0002-shadcn-cn-package}/migration.js +0 -0
- /package/src/migrations/{latest/terraform-harness-environment-variables → v1.0.2/0001-terraform-harness-environment-variables}/metadata.json +0 -0
- /package/src/migrations/{latest/terraform-harness-environment-variables → v1.0.2/0001-terraform-harness-environment-variables}/migration.d.ts +0 -0
- /package/src/migrations/{latest/terraform-harness-environment-variables → v1.0.2/0001-terraform-harness-environment-variables}/migration.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../packages/nx-plugin/src/migrations/v1.0.3/0001-terraform-init-target/migration.ts"],"sourcesContent":["/**\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\nimport {\n getProjects,\n joinPathFragments,\n type MigrationReturnObject,\n type TargetConfiguration,\n type Tree,\n updateProjectConfiguration,\n} from '@nx/devkit';\nimport { relative } from 'path';\nimport { TERRAFORM_PROJECT_GENERATOR_INFO } from '../../../terraform/project/generator.js';\nimport { formatFilesInSubtree } from '../../../utils/format.js';\nimport { sortObjectKeys } from '../../../utils/object.js';\n\n/**\n * Give the shared Terraform provider plugin cache a single writer.\n *\n * `init`, `test` and `validate` each ran their own `terraform init` against one\n * per-project cache, and Nx schedules them concurrently — `plan` depends on both\n * `init` and `validate`. Two `terraform init` runs filling the cache at once each\n * compute a different hash for the same provider, because the hash covers a\n * directory the other is still writing, and terraform then rejects the mismatch\n * against the lock file: \"the cached package ... does not match any of the\n * checksums recorded in the dependency lock file\".\n *\n * The new `terraform-init` target runs that init once, and `test`, `validate` and\n * `init` depend on it — `test` and `validate` now run against the `TF_DATA_DIR`\n * it prepared rather than initialising their own.\n */\n\nconst TERRAFORM_INIT = 'terraform-init';\n\n/** `terraform init` as the pre-fix `test` and `validate` targets ran it. */\nconst BACKENDLESS_INIT = 'terraform init -backend=false';\n\nconst divergedStep = (projectName: string, targetName: string) =>\n `${projectName}: its '${targetName}' target no longer matches the shape the generator produced - left untouched. Point it at the \\`TF_DATA_DIR\\` of the new \\`${TERRAFORM_INIT}\\` target and add \\`\"dependsOn\": [\"${TERRAFORM_INIT}\"]\\`, so its \\`terraform init\\` no longer races the other targets over the provider cache.`;\n\n/** Path from a target running in `{projectRoot}/src` back to the workspace root. */\nconst rootRelativePath = (projectRoot: string) =>\n relative(joinPathFragments(projectRoot, 'src'), '.').replace(/\\\\/g, '/');\n\nconst pluginCacheDirFor = (toRoot: string) =>\n joinPathFragments(toRoot, '.terraform', 'plugin-cache', '{projectRoot}');\n\nconst dataDirFor = (toRoot: string, name: string) =>\n joinPathFragments(toRoot, 'dist', '{projectRoot}', name);\n\n/**\n * The target as the generator vends it: `-backend=false` needs no credentials,\n * so this runs on a fresh workspace before `bootstrap`, and its `TF_DATA_DIR`\n * keeps the `.terraform` it initialises out of `src`.\n */\nconst terraformInitTarget = (projectRoot: string): TargetConfiguration => {\n const toRoot = rootRelativePath(projectRoot);\n const pluginCacheDir = pluginCacheDirFor(toRoot);\n return {\n executor: 'nx:run-commands',\n options: {\n commands: [\n { command: `shx mkdir -p ${pluginCacheDir}`, forwardAllArgs: false },\n BACKENDLESS_INIT,\n ],\n forwardAllArgs: true,\n cwd: '{projectRoot}/src',\n parallel: false,\n env: {\n TF_DATA_DIR: dataDirFor(toRoot, TERRAFORM_INIT),\n TF_PLUGIN_CACHE_DIR: pluginCacheDir,\n },\n },\n };\n};\n\n/** Every command a target runs, across its options and its configurations. */\nconst commandsOf = (target: TargetConfiguration): string[] =>\n [target.options, ...Object.values(target.configurations ?? {})]\n .flatMap(\n (holder: { command?: unknown; commands?: unknown } | undefined) => [\n holder?.command,\n ...(Array.isArray(holder?.commands) ? holder.commands : []),\n ],\n )\n .map((command) =>\n typeof command === 'string'\n ? command\n : (command as { command?: unknown } | undefined)?.command,\n )\n .filter((command): command is string => typeof command === 'string');\n\n/**\n * Whether the target still runs the `terraform init` this migration orders. A\n * library's `init` runs it directly and an application's delegates to the vended\n * script.\n */\nconst runsTerraformInit = (target: TargetConfiguration): boolean =>\n commandsOf(target).some(\n (command) =>\n command.includes('terraform init') || command.includes('scripts/init.ts'),\n );\n\n/** Creating the plugin cache directory, which `terraform-init` now does. */\nconst isMakeCacheDir = (command: string) =>\n /^(shx mkdir -p|make-dir)\\s/.test(command) &&\n command.includes('plugin-cache');\n\n/**\n * Rewrites `test` or `validate` to run against the `TF_DATA_DIR` `terraform-init`\n * prepared. Only the exact shape the generator produced is rewritten: its own\n * `terraform init` (with the cache directory the plugin-cache fix added ahead of\n * it), then the one terraform command the target exists to run. Anything else is\n * the user's, and is reported instead.\n */\nconst migrateInitlessTarget = (\n target: TargetConfiguration,\n verb: 'test' | 'validate',\n toRoot: string,\n): boolean => {\n const commands = commandsOf(target).filter(\n (command) => !isMakeCacheDir(command),\n );\n if (\n commands.length !== 2 ||\n commands[0] !== BACKENDLESS_INIT ||\n commands[1] !== `terraform ${verb}`\n ) {\n return false;\n }\n const options = target.options ?? {};\n const env: Record<string, string> = options.env ?? {};\n if (env.TF_DATA_DIR !== dataDirFor(toRoot, `terraform-${verb}`)) {\n return false;\n }\n\n const {\n TF_DATA_DIR: _dataDir,\n TF_PLUGIN_CACHE_DIR: _cacheDir,\n ...rest\n } = env;\n delete options.commands;\n // `parallel: false` sequenced the init ahead of the command; one command left.\n delete options.parallel;\n target.options = {\n ...options,\n command: `terraform ${verb}`,\n env: { ...rest, TF_DATA_DIR: dataDirFor(toRoot, TERRAFORM_INIT) },\n };\n return true;\n};\n\nexport default async function migration(\n tree: Tree,\n): Promise<MigrationReturnObject> {\n const nextSteps: string[] = [];\n\n for (const [projectName, project] of getProjects(tree)) {\n const generator = (project.metadata as { generator?: string } | undefined)\n ?.generator;\n if (generator !== TERRAFORM_PROJECT_GENERATOR_INFO.id) continue;\n\n let targets = project.targets ?? {};\n const toRoot = rootRelativePath(project.root);\n let changed = false;\n\n // Guarded on the target being absent, so a re-run — and a project generated\n // with it — is a no-op.\n if (!targets[TERRAFORM_INIT]) {\n targets = sortObjectKeys({\n ...targets,\n [TERRAFORM_INIT]: terraformInitTarget(project.root),\n });\n changed = true;\n }\n\n for (const targetName of ['init', 'test', 'validate'] as const) {\n const target = targets[targetName];\n if (!target) continue;\n if (target.dependsOn?.includes(TERRAFORM_INIT)) continue;\n\n // `init` keeps its own backend-configured `terraform init`; `test` and\n // `validate` hand theirs over to `terraform-init`, so nothing is ordered\n // after a target whose shape is no longer recognised.\n const migrated =\n targetName === 'init'\n ? runsTerraformInit(target)\n : migrateInitlessTarget(target, targetName, toRoot);\n if (!migrated) {\n nextSteps.push(divergedStep(projectName, targetName));\n continue;\n }\n\n // Prepended rather than appended, so a migrated workspace matches a\n // freshly generated one.\n target.dependsOn = [TERRAFORM_INIT, ...(target.dependsOn ?? [])];\n changed = true;\n }\n\n if (changed) {\n updateProjectConfiguration(tree, projectName, { ...project, targets });\n }\n }\n\n await formatFilesInSubtree(tree);\n\n return { nextSteps };\n}\n"],"names":["getProjects","joinPathFragments","updateProjectConfiguration","relative","TERRAFORM_PROJECT_GENERATOR_INFO","formatFilesInSubtree","sortObjectKeys","TERRAFORM_INIT","BACKENDLESS_INIT","divergedStep","projectName","targetName","rootRelativePath","projectRoot","replace","pluginCacheDirFor","toRoot","dataDirFor","name","terraformInitTarget","pluginCacheDir","executor","options","commands","command","forwardAllArgs","cwd","parallel","env","TF_DATA_DIR","TF_PLUGIN_CACHE_DIR","commandsOf","target","Object","values","configurations","flatMap","holder","Array","isArray","map","filter","runsTerraformInit","some","includes","isMakeCacheDir","test","migrateInitlessTarget","verb","length","_dataDir","_cacheDir","rest","migration","tree","nextSteps","project","generator","metadata","id","targets","root","changed","dependsOn","migrated","push"],"mappings":"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"}
|
|
@@ -253,7 +253,7 @@ export default {
|
|
|
253
253
|
|
|
254
254
|
exports[`preset generator > should run successfully > biome.json 1`] = `
|
|
255
255
|
"{
|
|
256
|
-
"$schema": "https://biomejs.dev/schemas/2.5.
|
|
256
|
+
"$schema": "https://biomejs.dev/schemas/2.5.14/schema.json",
|
|
257
257
|
"root": true,
|
|
258
258
|
"formatter": {
|
|
259
259
|
"enabled": true,
|
|
@@ -422,7 +422,7 @@ catalog:
|
|
|
422
422
|
'@nx/js': 23.2.1
|
|
423
423
|
'@nx/workspace': 23.2.1
|
|
424
424
|
typescript: ~6.0.3
|
|
425
|
-
'@biomejs/biome': 2.5.
|
|
425
|
+
'@biomejs/biome': 2.5.14
|
|
426
426
|
'@aws/nx-plugin': ^0.0.0
|
|
427
427
|
'@aws/nx-plugin-mcp': ^0.0.0
|
|
428
428
|
"
|
|
@@ -763,15 +763,15 @@ name = "proj.test_project"
|
|
|
763
763
|
version = "0.1.0"
|
|
764
764
|
dependencies = [
|
|
765
765
|
"proj-agent-connection",
|
|
766
|
-
"aws-lambda-powertools==3.
|
|
767
|
-
"aws-opentelemetry-distro==0.
|
|
768
|
-
"bedrock-agentcore==1.
|
|
769
|
-
"boto3==1.43.
|
|
766
|
+
"aws-lambda-powertools==3.35.0",
|
|
767
|
+
"aws-opentelemetry-distro==0.20.0",
|
|
768
|
+
"bedrock-agentcore==1.23.1",
|
|
769
|
+
"boto3==1.43.103",
|
|
770
770
|
"fastapi==0.141.1",
|
|
771
771
|
"mcp==1.28.1",
|
|
772
|
-
"strands-agents==1.
|
|
773
|
-
"strands-agents-tools==0.8.
|
|
774
|
-
"uvicorn==0.
|
|
772
|
+
"strands-agents==1.57.1",
|
|
773
|
+
"strands-agents-tools==0.8.9",
|
|
774
|
+
"uvicorn==0.54.0"
|
|
775
775
|
]
|
|
776
776
|
|
|
777
777
|
[dependency-groups]
|
|
@@ -701,20 +701,20 @@ name = "proj.test_project"
|
|
|
701
701
|
version = "0.1.0"
|
|
702
702
|
dependencies = [
|
|
703
703
|
"proj-agent-connection",
|
|
704
|
-
"aws-lambda-powertools==3.
|
|
705
|
-
"aws-opentelemetry-distro==0.
|
|
706
|
-
"bedrock-agentcore==1.
|
|
707
|
-
"boto3==1.43.
|
|
704
|
+
"aws-lambda-powertools==3.35.0",
|
|
705
|
+
"aws-opentelemetry-distro==0.20.0",
|
|
706
|
+
"bedrock-agentcore==1.23.1",
|
|
707
|
+
"boto3==1.43.103",
|
|
708
708
|
"fastapi==0.141.1",
|
|
709
709
|
"mcp==1.28.1",
|
|
710
|
-
"langchain==1.4.
|
|
711
|
-
"langchain-aws==1.7.
|
|
712
|
-
"langgraph==1.2.
|
|
710
|
+
"langchain==1.4.2",
|
|
711
|
+
"langchain-aws==1.7.9",
|
|
712
|
+
"langgraph==1.2.12",
|
|
713
713
|
"langgraph-checkpoint-sqlite==3.1.1",
|
|
714
714
|
"aiosqlite==0.22.1",
|
|
715
715
|
"ag-ui-protocol==0.1.22",
|
|
716
|
-
"ag-ui-langgraph==0.0.
|
|
717
|
-
"uvicorn==0.
|
|
716
|
+
"ag-ui-langgraph==0.0.45",
|
|
717
|
+
"uvicorn==0.54.0"
|
|
718
718
|
]
|
|
719
719
|
|
|
720
720
|
[dependency-groups]
|
|
@@ -5,11 +5,11 @@ exports[`py#agent generator > should create DynamoDB checkpoint table and S3 off
|
|
|
5
5
|
required_providers {
|
|
6
6
|
aws = {
|
|
7
7
|
source = "hashicorp/aws"
|
|
8
|
-
version = "6.
|
|
8
|
+
version = "6.66.0"
|
|
9
9
|
}
|
|
10
10
|
random = {
|
|
11
11
|
source = "hashicorp/random"
|
|
12
|
-
version = "3.9.
|
|
12
|
+
version = "3.9.1"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -381,11 +381,11 @@ exports[`py#agent generator > should match snapshot for Terraform generated file
|
|
|
381
381
|
required_providers {
|
|
382
382
|
aws = {
|
|
383
383
|
source = "hashicorp/aws"
|
|
384
|
-
version = "6.
|
|
384
|
+
version = "6.66.0"
|
|
385
385
|
}
|
|
386
386
|
random = {
|
|
387
387
|
source = "hashicorp/random"
|
|
388
|
-
version = "3.9.
|
|
388
|
+
version = "3.9.1"
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
}
|
|
@@ -704,15 +704,15 @@ exports[`py#agent generator > should match snapshot for Terraform generated file
|
|
|
704
704
|
required_providers {
|
|
705
705
|
aws = {
|
|
706
706
|
source = "hashicorp/aws"
|
|
707
|
-
version = "6.
|
|
707
|
+
version = "6.66.0"
|
|
708
708
|
}
|
|
709
709
|
null = {
|
|
710
710
|
source = "hashicorp/null"
|
|
711
|
-
version = "3.3.
|
|
711
|
+
version = "3.3.2"
|
|
712
712
|
}
|
|
713
713
|
random = {
|
|
714
714
|
source = "hashicorp/random"
|
|
715
|
-
version = "3.9.
|
|
715
|
+
version = "3.9.1"
|
|
716
716
|
}
|
|
717
717
|
}
|
|
718
718
|
}
|
|
@@ -1063,7 +1063,7 @@ resource "null_resource" "runtime_ready" {
|
|
|
1063
1063
|
|
|
1064
1064
|
provisioner "local-exec" {
|
|
1065
1065
|
command = <<-EOT
|
|
1066
|
-
uv run --with boto3==1.43.
|
|
1066
|
+
uv run --with boto3==1.43.103 python -c "
|
|
1067
1067
|
import boto3
|
|
1068
1068
|
import json
|
|
1069
1069
|
import os
|
|
@@ -35,7 +35,7 @@ exports[`py#dynamodb generator > should generate terraform modules when iac is t
|
|
|
35
35
|
required_providers {
|
|
36
36
|
aws = {
|
|
37
37
|
source = "hashicorp/aws"
|
|
38
|
-
version = "6.
|
|
38
|
+
version = "6.66.0"
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -232,11 +232,11 @@ exports[`py#dynamodb generator > should generate terraform modules when iac is t
|
|
|
232
232
|
required_providers {
|
|
233
233
|
aws = {
|
|
234
234
|
source = "hashicorp/aws"
|
|
235
|
-
version = "6.
|
|
235
|
+
version = "6.66.0"
|
|
236
236
|
}
|
|
237
237
|
random = {
|
|
238
238
|
source = "hashicorp/random"
|
|
239
|
-
version = "3.9.
|
|
239
|
+
version = "3.9.1"
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
}
|
|
@@ -11,7 +11,7 @@ terraform {
|
|
|
11
11
|
required_providers {
|
|
12
12
|
aws = {
|
|
13
13
|
source = "hashicorp/aws"
|
|
14
|
-
version = "6.
|
|
14
|
+
version = "6.66.0"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -258,15 +258,15 @@ output "api_log_group_arn" {
|
|
|
258
258
|
required_providers {
|
|
259
259
|
archive = {
|
|
260
260
|
source = "hashicorp/archive"
|
|
261
|
-
version = "2.8.
|
|
261
|
+
version = "2.8.1"
|
|
262
262
|
}
|
|
263
263
|
aws = {
|
|
264
264
|
source = "hashicorp/aws"
|
|
265
|
-
version = "6.
|
|
265
|
+
version = "6.66.0"
|
|
266
266
|
}
|
|
267
267
|
random = {
|
|
268
268
|
source = "hashicorp/random"
|
|
269
|
-
version = "3.9.
|
|
269
|
+
version = "3.9.1"
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
}
|
|
@@ -846,7 +846,7 @@ terraform {
|
|
|
846
846
|
required_providers {
|
|
847
847
|
aws = {
|
|
848
848
|
source = "hashicorp/aws"
|
|
849
|
-
version = "6.
|
|
849
|
+
version = "6.66.0"
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
852
|
}
|
|
@@ -1093,15 +1093,15 @@ output "api_log_group_arn" {
|
|
|
1093
1093
|
required_providers {
|
|
1094
1094
|
archive = {
|
|
1095
1095
|
source = "hashicorp/archive"
|
|
1096
|
-
version = "2.8.
|
|
1096
|
+
version = "2.8.1"
|
|
1097
1097
|
}
|
|
1098
1098
|
aws = {
|
|
1099
1099
|
source = "hashicorp/aws"
|
|
1100
|
-
version = "6.
|
|
1100
|
+
version = "6.66.0"
|
|
1101
1101
|
}
|
|
1102
1102
|
random = {
|
|
1103
1103
|
source = "hashicorp/random"
|
|
1104
|
-
version = "3.9.
|
|
1104
|
+
version = "3.9.1"
|
|
1105
1105
|
}
|
|
1106
1106
|
}
|
|
1107
1107
|
}
|
|
@@ -1754,7 +1754,7 @@ terraform {
|
|
|
1754
1754
|
required_providers {
|
|
1755
1755
|
aws = {
|
|
1756
1756
|
source = "hashicorp/aws"
|
|
1757
|
-
version = "6.
|
|
1757
|
+
version = "6.66.0"
|
|
1758
1758
|
}
|
|
1759
1759
|
}
|
|
1760
1760
|
}
|
|
@@ -2001,15 +2001,15 @@ output "api_log_group_arn" {
|
|
|
2001
2001
|
required_providers {
|
|
2002
2002
|
archive = {
|
|
2003
2003
|
source = "hashicorp/archive"
|
|
2004
|
-
version = "2.8.
|
|
2004
|
+
version = "2.8.1"
|
|
2005
2005
|
}
|
|
2006
2006
|
aws = {
|
|
2007
2007
|
source = "hashicorp/aws"
|
|
2008
|
-
version = "6.
|
|
2008
|
+
version = "6.66.0"
|
|
2009
2009
|
}
|
|
2010
2010
|
random = {
|
|
2011
2011
|
source = "hashicorp/random"
|
|
2012
|
-
version = "3.9.
|
|
2012
|
+
version = "3.9.1"
|
|
2013
2013
|
}
|
|
2014
2014
|
}
|
|
2015
2015
|
}
|
|
@@ -2566,11 +2566,11 @@ terraform {
|
|
|
2566
2566
|
required_providers {
|
|
2567
2567
|
aws = {
|
|
2568
2568
|
source = "hashicorp/aws"
|
|
2569
|
-
version = "6.
|
|
2569
|
+
version = "6.66.0"
|
|
2570
2570
|
}
|
|
2571
2571
|
random = {
|
|
2572
2572
|
source = "hashicorp/random"
|
|
2573
|
-
version = "3.9.
|
|
2573
|
+
version = "3.9.1"
|
|
2574
2574
|
}
|
|
2575
2575
|
}
|
|
2576
2576
|
}
|
|
@@ -2875,15 +2875,15 @@ output "waf_web_acl_arn" {
|
|
|
2875
2875
|
required_providers {
|
|
2876
2876
|
archive = {
|
|
2877
2877
|
source = "hashicorp/archive"
|
|
2878
|
-
version = "2.8.
|
|
2878
|
+
version = "2.8.1"
|
|
2879
2879
|
}
|
|
2880
2880
|
aws = {
|
|
2881
2881
|
source = "hashicorp/aws"
|
|
2882
|
-
version = "6.
|
|
2882
|
+
version = "6.66.0"
|
|
2883
2883
|
}
|
|
2884
2884
|
random = {
|
|
2885
2885
|
source = "hashicorp/random"
|
|
2886
|
-
version = "3.9.
|
|
2886
|
+
version = "3.9.1"
|
|
2887
2887
|
}
|
|
2888
2888
|
}
|
|
2889
2889
|
}
|
|
@@ -3914,11 +3914,11 @@ terraform {
|
|
|
3914
3914
|
required_providers {
|
|
3915
3915
|
aws = {
|
|
3916
3916
|
source = "hashicorp/aws"
|
|
3917
|
-
version = "6.
|
|
3917
|
+
version = "6.66.0"
|
|
3918
3918
|
}
|
|
3919
3919
|
random = {
|
|
3920
3920
|
source = "hashicorp/random"
|
|
3921
|
-
version = "3.9.
|
|
3921
|
+
version = "3.9.1"
|
|
3922
3922
|
}
|
|
3923
3923
|
}
|
|
3924
3924
|
}
|
|
@@ -4223,15 +4223,15 @@ output "waf_web_acl_arn" {
|
|
|
4223
4223
|
required_providers {
|
|
4224
4224
|
archive = {
|
|
4225
4225
|
source = "hashicorp/archive"
|
|
4226
|
-
version = "2.8.
|
|
4226
|
+
version = "2.8.1"
|
|
4227
4227
|
}
|
|
4228
4228
|
aws = {
|
|
4229
4229
|
source = "hashicorp/aws"
|
|
4230
|
-
version = "6.
|
|
4230
|
+
version = "6.66.0"
|
|
4231
4231
|
}
|
|
4232
4232
|
random = {
|
|
4233
4233
|
source = "hashicorp/random"
|
|
4234
|
-
version = "3.9.
|
|
4234
|
+
version = "3.9.1"
|
|
4235
4235
|
}
|
|
4236
4236
|
}
|
|
4237
4237
|
}
|
|
@@ -5251,11 +5251,11 @@ terraform {
|
|
|
5251
5251
|
required_providers {
|
|
5252
5252
|
aws = {
|
|
5253
5253
|
source = "hashicorp/aws"
|
|
5254
|
-
version = "6.
|
|
5254
|
+
version = "6.66.0"
|
|
5255
5255
|
}
|
|
5256
5256
|
random = {
|
|
5257
5257
|
source = "hashicorp/random"
|
|
5258
|
-
version = "3.9.
|
|
5258
|
+
version = "3.9.1"
|
|
5259
5259
|
}
|
|
5260
5260
|
}
|
|
5261
5261
|
}
|
|
@@ -5560,15 +5560,15 @@ output "waf_web_acl_arn" {
|
|
|
5560
5560
|
required_providers {
|
|
5561
5561
|
archive = {
|
|
5562
5562
|
source = "hashicorp/archive"
|
|
5563
|
-
version = "2.8.
|
|
5563
|
+
version = "2.8.1"
|
|
5564
5564
|
}
|
|
5565
5565
|
aws = {
|
|
5566
5566
|
source = "hashicorp/aws"
|
|
5567
|
-
version = "6.
|
|
5567
|
+
version = "6.66.0"
|
|
5568
5568
|
}
|
|
5569
5569
|
random = {
|
|
5570
5570
|
source = "hashicorp/random"
|
|
5571
|
-
version = "3.9.
|
|
5571
|
+
version = "3.9.1"
|
|
5572
5572
|
}
|
|
5573
5573
|
}
|
|
5574
5574
|
}
|
|
@@ -71,15 +71,15 @@ exports[`lambda-handler project generator > terraform iac > should generate terr
|
|
|
71
71
|
required_providers {
|
|
72
72
|
aws = {
|
|
73
73
|
source = "hashicorp/aws"
|
|
74
|
-
version = "6.
|
|
74
|
+
version = "6.66.0"
|
|
75
75
|
}
|
|
76
76
|
archive = {
|
|
77
77
|
source = "hashicorp/archive"
|
|
78
|
-
version = "2.8.
|
|
78
|
+
version = "2.8.1"
|
|
79
79
|
}
|
|
80
80
|
random = {
|
|
81
81
|
source = "hashicorp/random"
|
|
82
|
-
version = "3.9.
|
|
82
|
+
version = "3.9.1"
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
}
|
|
@@ -256,15 +256,15 @@ exports[`lambda-handler project generator > terraform iac > should match snapsho
|
|
|
256
256
|
required_providers {
|
|
257
257
|
aws = {
|
|
258
258
|
source = "hashicorp/aws"
|
|
259
|
-
version = "6.
|
|
259
|
+
version = "6.66.0"
|
|
260
260
|
}
|
|
261
261
|
archive = {
|
|
262
262
|
source = "hashicorp/archive"
|
|
263
|
-
version = "2.8.
|
|
263
|
+
version = "2.8.1"
|
|
264
264
|
}
|
|
265
265
|
random = {
|
|
266
266
|
source = "hashicorp/random"
|
|
267
|
-
version = "3.9.
|
|
267
|
+
version = "3.9.1"
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
270
|
}
|
|
@@ -155,15 +155,15 @@ exports[`py#mcp-server generator > should match snapshot for Terraform generated
|
|
|
155
155
|
required_providers {
|
|
156
156
|
aws = {
|
|
157
157
|
source = "hashicorp/aws"
|
|
158
|
-
version = "6.
|
|
158
|
+
version = "6.66.0"
|
|
159
159
|
}
|
|
160
160
|
null = {
|
|
161
161
|
source = "hashicorp/null"
|
|
162
|
-
version = "3.3.
|
|
162
|
+
version = "3.3.2"
|
|
163
163
|
}
|
|
164
164
|
random = {
|
|
165
165
|
source = "hashicorp/random"
|
|
166
|
-
version = "3.9.
|
|
166
|
+
version = "3.9.1"
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
}
|
|
@@ -514,7 +514,7 @@ resource "null_resource" "runtime_ready" {
|
|
|
514
514
|
|
|
515
515
|
provisioner "local-exec" {
|
|
516
516
|
command = <<-EOT
|
|
517
|
-
uv run --with boto3==1.43.
|
|
517
|
+
uv run --with boto3==1.43.103 python -c "
|
|
518
518
|
import boto3
|
|
519
519
|
import json
|
|
520
520
|
import os
|
|
@@ -801,11 +801,11 @@ exports[`py#mcp-server generator > should match snapshot for generated files > u
|
|
|
801
801
|
name = "proj.test_project"
|
|
802
802
|
version = "0.1.0"
|
|
803
803
|
dependencies = [
|
|
804
|
-
"aws-lambda-powertools==3.
|
|
804
|
+
"aws-lambda-powertools==3.35.0",
|
|
805
805
|
"mcp==1.28.1",
|
|
806
|
-
"uvicorn==0.
|
|
807
|
-
"boto3==1.43.
|
|
808
|
-
"aws-opentelemetry-distro==0.
|
|
806
|
+
"uvicorn==0.54.0",
|
|
807
|
+
"boto3==1.43.103",
|
|
808
|
+
"aws-opentelemetry-distro==0.20.0"
|
|
809
809
|
]
|
|
810
810
|
|
|
811
811
|
[dependency-groups]
|
|
@@ -218,23 +218,23 @@ exports[`py#rdb generator > should generate Terraform modules 1`] = `
|
|
|
218
218
|
required_providers {
|
|
219
219
|
archive = {
|
|
220
220
|
source = "hashicorp/archive"
|
|
221
|
-
version = "2.8.
|
|
221
|
+
version = "2.8.1"
|
|
222
222
|
}
|
|
223
223
|
aws = {
|
|
224
224
|
source = "hashicorp/aws"
|
|
225
|
-
version = "6.
|
|
225
|
+
version = "6.66.0"
|
|
226
226
|
}
|
|
227
227
|
external = {
|
|
228
228
|
source = "hashicorp/external"
|
|
229
|
-
version = "2.4.
|
|
229
|
+
version = "2.4.2"
|
|
230
230
|
}
|
|
231
231
|
null = {
|
|
232
232
|
source = "hashicorp/null"
|
|
233
|
-
version = "3.3.
|
|
233
|
+
version = "3.3.2"
|
|
234
234
|
}
|
|
235
235
|
random = {
|
|
236
236
|
source = "hashicorp/random"
|
|
237
|
-
version = "3.9.
|
|
237
|
+
version = "3.9.1"
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
}
|
|
@@ -1491,12 +1491,12 @@ description = "Automatically generated by Nx."
|
|
|
1491
1491
|
requires-python = ">=3.14"
|
|
1492
1492
|
readme = "README.md"
|
|
1493
1493
|
dependencies = [
|
|
1494
|
-
"sqlmodel==0.0.
|
|
1495
|
-
"alembic==1.
|
|
1496
|
-
"greenlet==3.5.
|
|
1494
|
+
"sqlmodel==0.0.47",
|
|
1495
|
+
"alembic==1.20.0",
|
|
1496
|
+
"greenlet==3.5.6",
|
|
1497
1497
|
"asyncpg==0.31.0",
|
|
1498
|
-
"boto3==1.43.
|
|
1499
|
-
"aws-lambda-powertools==3.
|
|
1498
|
+
"boto3==1.43.103",
|
|
1499
|
+
"aws-lambda-powertools==3.35.0"
|
|
1500
1500
|
]
|
|
1501
1501
|
|
|
1502
1502
|
[build-system]
|
package/src/sdk/open-api.d.ts
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export { openApiJsonMetadataGenerator } from '../open-api/json-metadata/generator.js';
|
|
6
6
|
export type { OpenApiJsonMetadataGeneratorSchema } from '../open-api/json-metadata/schema';
|
|
7
|
-
export { buildOpenApiCodeGenerationData, openApiTsClientGenerator, } from '../open-api/ts-client/generator.js';
|
|
8
|
-
export type { OpenApiTsClientGeneratorSchema } from '../open-api/ts-client/schema';
|
|
9
7
|
export { openApiPyClientGenerator } from '../open-api/py-client/generator.js';
|
|
10
8
|
export type { OpenApiPyClientGeneratorSchema } from '../open-api/py-client/schema';
|
|
9
|
+
export { buildOpenApiCodeGenerationData, openApiTsClientGenerator, } from '../open-api/ts-client/generator.js';
|
|
10
|
+
export type { OpenApiTsClientGeneratorSchema } from '../open-api/ts-client/schema';
|
|
11
11
|
export { openApiTsHooksGenerator } from '../open-api/ts-hooks/generator.js';
|
|
12
12
|
export type { OpenApiTsHooksGeneratorSchema } from '../open-api/ts-hooks/schema';
|
|
13
13
|
export { openApiTsMetadataGenerator } from '../open-api/ts-metadata/generator.js';
|
package/src/sdk/open-api.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/ export { openApiJsonMetadataGenerator } from "../open-api/json-metadata/generator.js";
|
|
5
|
-
export { buildOpenApiCodeGenerationData, openApiTsClientGenerator } from "../open-api/ts-client/generator.js";
|
|
6
5
|
export { openApiPyClientGenerator } from "../open-api/py-client/generator.js";
|
|
6
|
+
export { buildOpenApiCodeGenerationData, openApiTsClientGenerator } from "../open-api/ts-client/generator.js";
|
|
7
7
|
export { openApiTsHooksGenerator } from "../open-api/ts-hooks/generator.js";
|
|
8
8
|
export { openApiTsMetadataGenerator } from "../open-api/ts-metadata/generator.js";
|
|
9
9
|
|
package/src/sdk/open-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../packages/nx-plugin/src/sdk/open-api.ts"],"sourcesContent":["/**\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport { openApiJsonMetadataGenerator } from '../open-api/json-metadata/generator.js';\nexport type { OpenApiJsonMetadataGeneratorSchema } from '../open-api/json-metadata/schema';\nexport {
|
|
1
|
+
{"version":3,"sources":["../../../../../packages/nx-plugin/src/sdk/open-api.ts"],"sourcesContent":["/**\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport { openApiJsonMetadataGenerator } from '../open-api/json-metadata/generator.js';\nexport type { OpenApiJsonMetadataGeneratorSchema } from '../open-api/json-metadata/schema';\nexport { openApiPyClientGenerator } from '../open-api/py-client/generator.js';\nexport type { OpenApiPyClientGeneratorSchema } from '../open-api/py-client/schema';\nexport {\n buildOpenApiCodeGenerationData,\n openApiTsClientGenerator,\n} from '../open-api/ts-client/generator.js';\nexport type { OpenApiTsClientGeneratorSchema } from '../open-api/ts-client/schema';\n\nexport { openApiTsHooksGenerator } from '../open-api/ts-hooks/generator.js';\nexport type { OpenApiTsHooksGeneratorSchema } from '../open-api/ts-hooks/schema';\n\nexport { openApiTsMetadataGenerator } from '../open-api/ts-metadata/generator.js';\nexport type { OpenApiTsMetadataGeneratorSchema } from '../open-api/ts-metadata/schema';\n"],"names":["openApiJsonMetadataGenerator","openApiPyClientGenerator","buildOpenApiCodeGenerationData","openApiTsClientGenerator","openApiTsHooksGenerator","openApiTsMetadataGenerator"],"mappings":"AAAA;;;CAGC,GAED,SAASA,4BAA4B,QAAQ,yCAAyC;AAEtF,SAASC,wBAAwB,QAAQ,qCAAqC;AAE9E,SACEC,8BAA8B,EAC9BC,wBAAwB,QACnB,qCAAqC;AAG5C,SAASC,uBAAuB,QAAQ,oCAAoC;AAG5E,SAASC,0BAA0B,QAAQ,uCAAuC"}
|
|
@@ -45,7 +45,7 @@ exports[`smithyProjectGenerator > shape libraries > should generate a shape libr
|
|
|
45
45
|
"shx rm -rf dist/{projectRoot}/build",
|
|
46
46
|
"shx rm -rf dist/{projectRoot}/smithy",
|
|
47
47
|
"shx mkdir -p dist/{projectRoot}/build",
|
|
48
|
-
"npx -y mise@2026.9.
|
|
48
|
+
"npx -y mise@2026.9.14 exec smithy@1.74.0 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
|
|
49
49
|
"shx cp dist/{projectRoot}/smithy/source/model/model.json dist/{projectRoot}/build/model.json"
|
|
50
50
|
],
|
|
51
51
|
"parallel": false,
|
|
@@ -62,7 +62,7 @@ exports[`smithyProjectGenerator > shape libraries > should generate a shape libr
|
|
|
62
62
|
"version": "1.0",
|
|
63
63
|
"sources": ["src/"],
|
|
64
64
|
"maven": {
|
|
65
|
-
"dependencies": ["software.amazon.smithy:smithy-model:1.
|
|
65
|
+
"dependencies": ["software.amazon.smithy:smithy-model:1.74.0"]
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
"
|
|
@@ -122,7 +122,7 @@ exports[`smithyProjectGenerator > should generate smithy project with all custom
|
|
|
122
122
|
"shx rm -rf dist/{projectRoot}/build",
|
|
123
123
|
"shx rm -rf dist/{projectRoot}/smithy",
|
|
124
124
|
"shx mkdir -p dist/{projectRoot}/build",
|
|
125
|
-
"npx -y mise@2026.9.
|
|
125
|
+
"npx -y mise@2026.9.14 exec smithy@1.74.0 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
|
|
126
126
|
"shx mkdir -p dist/{projectRoot}/build/openapi",
|
|
127
127
|
"shx cp \\"dist/{projectRoot}/smithy/source/openapi/*.openapi.json\\" dist/{projectRoot}/build/openapi/openapi.json"
|
|
128
128
|
],
|
|
@@ -180,7 +180,7 @@ exports[`smithyProjectGenerator > should generate smithy project with custom dir
|
|
|
180
180
|
"shx rm -rf dist/{projectRoot}/build",
|
|
181
181
|
"shx rm -rf dist/{projectRoot}/smithy",
|
|
182
182
|
"shx mkdir -p dist/{projectRoot}/build",
|
|
183
|
-
"npx -y mise@2026.9.
|
|
183
|
+
"npx -y mise@2026.9.14 exec smithy@1.74.0 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
|
|
184
184
|
"shx mkdir -p dist/{projectRoot}/build/openapi",
|
|
185
185
|
"shx cp \\"dist/{projectRoot}/smithy/source/openapi/*.openapi.json\\" dist/{projectRoot}/build/openapi/openapi.json"
|
|
186
186
|
],
|
|
@@ -330,7 +330,7 @@ exports[`smithyProjectGenerator > should generate smithy project with default op
|
|
|
330
330
|
"shx rm -rf dist/{projectRoot}/build",
|
|
331
331
|
"shx rm -rf dist/{projectRoot}/smithy",
|
|
332
332
|
"shx mkdir -p dist/{projectRoot}/build",
|
|
333
|
-
"npx -y mise@2026.9.
|
|
333
|
+
"npx -y mise@2026.9.14 exec smithy@1.74.0 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
|
|
334
334
|
"shx mkdir -p dist/{projectRoot}/build/openapi",
|
|
335
335
|
"shx cp \\"dist/{projectRoot}/smithy/source/openapi/*.openapi.json\\" dist/{projectRoot}/build/openapi/openapi.json"
|
|
336
336
|
],
|
|
@@ -375,11 +375,11 @@ exports[`smithyProjectGenerator > should generate smithy project with default op
|
|
|
375
375
|
},
|
|
376
376
|
"maven": {
|
|
377
377
|
"dependencies": [
|
|
378
|
-
"software.amazon.smithy:smithy-model:1.
|
|
379
|
-
"software.amazon.smithy:smithy-aws-traits:1.
|
|
380
|
-
"software.amazon.smithy:smithy-validation-model:1.
|
|
381
|
-
"software.amazon.smithy:smithy-openapi:1.
|
|
382
|
-
"software.amazon.smithy.typescript:smithy-aws-typescript-codegen:0.
|
|
378
|
+
"software.amazon.smithy:smithy-model:1.74.0",
|
|
379
|
+
"software.amazon.smithy:smithy-aws-traits:1.74.0",
|
|
380
|
+
"software.amazon.smithy:smithy-validation-model:1.74.0",
|
|
381
|
+
"software.amazon.smithy:smithy-openapi:1.74.0",
|
|
382
|
+
"software.amazon.smithy.typescript:smithy-aws-typescript-codegen:0.54.0"
|
|
383
383
|
]
|
|
384
384
|
}
|
|
385
385
|
}
|
|
@@ -474,7 +474,7 @@ exports[`smithyProjectGenerator > should generate smithy project with subdirecto
|
|
|
474
474
|
"shx rm -rf dist/{projectRoot}/build",
|
|
475
475
|
"shx rm -rf dist/{projectRoot}/smithy",
|
|
476
476
|
"shx mkdir -p dist/{projectRoot}/build",
|
|
477
|
-
"npx -y mise@2026.9.
|
|
477
|
+
"npx -y mise@2026.9.14 exec smithy@1.74.0 -- smithy build -c {projectRoot}/smithy-build.json --output dist/{projectRoot}/smithy",
|
|
478
478
|
"shx mkdir -p dist/{projectRoot}/build/openapi",
|
|
479
479
|
"shx cp \\"dist/{projectRoot}/smithy/source/openapi/*.openapi.json\\" dist/{projectRoot}/build/openapi/openapi.json"
|
|
480
480
|
],
|
|
@@ -565,11 +565,11 @@ exports[`smithyProjectGenerator > should handle kebab-case conversion for servic
|
|
|
565
565
|
},
|
|
566
566
|
"maven": {
|
|
567
567
|
"dependencies": [
|
|
568
|
-
"software.amazon.smithy:smithy-model:1.
|
|
569
|
-
"software.amazon.smithy:smithy-aws-traits:1.
|
|
570
|
-
"software.amazon.smithy:smithy-validation-model:1.
|
|
571
|
-
"software.amazon.smithy:smithy-openapi:1.
|
|
572
|
-
"software.amazon.smithy.typescript:smithy-aws-typescript-codegen:0.
|
|
568
|
+
"software.amazon.smithy:smithy-model:1.74.0",
|
|
569
|
+
"software.amazon.smithy:smithy-aws-traits:1.74.0",
|
|
570
|
+
"software.amazon.smithy:smithy-validation-model:1.74.0",
|
|
571
|
+
"software.amazon.smithy:smithy-openapi:1.74.0",
|
|
572
|
+
"software.amazon.smithy.typescript:smithy-aws-typescript-codegen:0.54.0"
|
|
573
573
|
]
|
|
574
574
|
}
|
|
575
575
|
}
|