@aws/nx-plugin 1.0.0-rc.96 → 1.0.0-rc.98
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 +9 -9
- package/migrations.json +124 -84
- package/package.json +3 -3
- package/src/agentcore-gateway/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/agentcore-gateway/generator.js +6 -0
- package/src/agentcore-gateway/generator.js.map +1 -1
- package/src/agentcore-gateway/react-connection/__snapshots__/generator.spec.ts.snap +4 -1
- package/src/agentcore-harness/__snapshots__/generator.spec.ts.snap +68 -4
- package/src/agentcore-harness/generator.js +6 -0
- package/src/agentcore-harness/generator.js.map +1 -1
- package/src/connection/gateway-runtime-config.js +1 -1
- package/src/connection/gateway-runtime-config.js.map +1 -1
- package/src/infra/app/__snapshots__/generator.spec.ts.snap +10 -10
- package/src/infra/app/generator.js +39 -9
- package/src/infra/app/generator.js.map +1 -1
- package/src/init/generator.d.ts +1 -1
- package/src/init/generator.js +8 -6
- package/src/init/generator.js.map +1 -1
- package/src/init/schema.d.js.map +1 -1
- package/src/init/schema.d.ts +1 -0
- package/src/init/schema.json +5 -0
- package/src/internal/test-matrix/generator.js +2 -2
- package/src/internal/test-matrix/generator.js.map +1 -1
- package/src/license/sync/generator.d.ts +10 -0
- package/src/license/sync/generator.js +1 -1
- package/src/license/sync/generator.js.map +1 -1
- package/src/mcp-server/server.js +2 -0
- package/src/mcp-server/server.js.map +1 -1
- package/src/mcp-server/tools/best-practices.d.ts +28 -0
- package/src/mcp-server/tools/best-practices.js +43 -0
- package/src/mcp-server/tools/best-practices.js.map +1 -0
- package/src/mcp-server/tools/general-guidance.d.ts +1 -1
- package/src/mcp-server/tools/general-guidance.js +13 -4
- package/src/mcp-server/tools/general-guidance.js.map +1 -1
- package/src/migrations/latest/sandbox-pattern-nested-stacks/metadata.json +3 -0
- package/src/migrations/latest/sandbox-pattern-nested-stacks/migration.js +68 -0
- package/src/migrations/latest/sandbox-pattern-nested-stacks/migration.js.map +1 -0
- package/src/migrations/latest/shadcn-cn-package/metadata.json +3 -0
- package/src/migrations/latest/shadcn-cn-package/migration.js +114 -0
- package/src/migrations/latest/shadcn-cn-package/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.90/0001-dev-target-depends-on-pull-image/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.90/0002-open-api-codegen-executor/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.90/0003-terraform-provider-plugin-cache/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.90/0004-python-test-input-scoping/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.90/0005-vitest-coverage-output-dir/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.90/0006-add-assemble-target/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.90/0007-docker-target-cache-soundness/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.90/0008-declare-cacheable-target-inputs/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.90/0009-terraform-fmt-check/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.92/0001-react-website-unique-dev-ports/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.94/0001-infra-deploy-express-mode/metadata.json +3 -0
- package/src/migrations/{latest/infra-deploy-express-mode → v1.0.0-rc.94/0001-infra-deploy-express-mode}/migration.js +26 -28
- package/src/migrations/v1.0.0-rc.94/0001-infra-deploy-express-mode/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.94/0002-shx-fs-commands/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.94/0003-agent-core-vendor-target/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.95/0001-rolldown-config-bundle-transient/migration.d.ts +6 -0
- package/src/migrations/v1.0.0-rc.95/0001-rolldown-config-bundle-transient/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.95/0002-agent-connection-pin-strands-peers/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.95/0003-ignore-package-manager-temp-files/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.95/0004-shadcn-package-imports-exports/migration.d.ts +6 -0
- package/src/migrations/v1.0.0-rc.95/0004-shadcn-package-imports-exports/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.97/0001-gateway-url-accessor/__snapshots__/migration.spec.ts.snap +84 -0
- package/src/migrations/v1.0.0-rc.97/0001-gateway-url-accessor/metadata.json +3 -0
- package/src/migrations/v1.0.0-rc.97/0001-gateway-url-accessor/migration.d.ts +6 -0
- package/src/migrations/v1.0.0-rc.97/0001-gateway-url-accessor/migration.js +94 -0
- package/src/migrations/v1.0.0-rc.97/0001-gateway-url-accessor/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.97/0002-checkov-scan-cache-inputs/metadata.json +3 -0
- package/src/migrations/v1.0.0-rc.97/0002-checkov-scan-cache-inputs/migration.d.ts +6 -0
- package/src/migrations/v1.0.0-rc.97/0002-checkov-scan-cache-inputs/migration.js +58 -0
- package/src/migrations/v1.0.0-rc.97/0002-checkov-scan-cache-inputs/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.97/0003-terraform-validate-without-backend/metadata.json +3 -0
- package/src/migrations/v1.0.0-rc.97/0003-terraform-validate-without-backend/migration.d.ts +6 -0
- package/src/migrations/v1.0.0-rc.97/0003-terraform-validate-without-backend/migration.js +84 -0
- package/src/migrations/v1.0.0-rc.97/0003-terraform-validate-without-backend/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.97/0004-py-lambda-powertools-context/metadata.json +3 -0
- package/src/migrations/v1.0.0-rc.97/0004-py-lambda-powertools-context/migration.d.ts +6 -0
- package/src/migrations/v1.0.0-rc.97/0004-py-lambda-powertools-context/migration.js +58 -0
- package/src/migrations/v1.0.0-rc.97/0004-py-lambda-powertools-context/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.97/0005-smithy-extension-trait-aliases/__snapshots__/migration.spec.ts.snap +25 -0
- package/src/migrations/v1.0.0-rc.97/0005-smithy-extension-trait-aliases/metadata.json +3 -0
- package/src/migrations/v1.0.0-rc.97/0005-smithy-extension-trait-aliases/migration.d.ts +28 -0
- package/src/migrations/v1.0.0-rc.97/0005-smithy-extension-trait-aliases/migration.js +75 -0
- package/src/migrations/v1.0.0-rc.97/0005-smithy-extension-trait-aliases/migration.js.map +1 -0
- package/src/migrations/v1.0.0-rc.97/0006-script-project-quality-gates/metadata.json +3 -0
- package/src/migrations/v1.0.0-rc.97/0006-script-project-quality-gates/migration.d.ts +6 -0
- package/src/migrations/v1.0.0-rc.97/0006-script-project-quality-gates/migration.js +53 -0
- package/src/migrations/v1.0.0-rc.97/0006-script-project-quality-gates/migration.js.map +1 -0
- package/src/preset/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/preset/generator.js +4 -25
- package/src/preset/generator.js.map +1 -1
- package/src/py/agent/__snapshots__/generator.constructs.spec.ts.snap +2 -2
- package/src/py/agent/__snapshots__/generator.frameworks.spec.ts.snap +4 -4
- package/src/py/agent/__snapshots__/generator.protocols.spec.ts.snap +4 -4
- package/src/py/agent/a2a-connection/generator.d.ts +1 -1
- package/src/py/agent/gateway-connection/generator.d.ts +1 -1
- package/src/py/agent/mcp-connection/generator.d.ts +1 -1
- package/src/py/agent/react-connection/__snapshots__/generator.spec.ts.snap +4 -1
- package/src/py/agent/react-connection/generator.d.ts +1 -7
- package/src/py/dynamodb/__snapshots__/generator.spec.ts.snap +10 -12
- package/src/py/dynamodb/generator.js +34 -7
- package/src/py/dynamodb/generator.js.map +1 -1
- package/src/py/fast-api/__snapshots__/generator.terraform.spec.ts.snap +12 -12
- package/src/py/lambda-function/__snapshots__/generator.spec.ts.snap +4 -3
- package/src/py/lambda-function/files/handler/__lambdaFunctionSnakeCase__.py.template +2 -1
- package/src/py/mcp-server/__snapshots__/generator.spec.ts.snap +3 -3
- package/src/py/project/schema.json +3 -1
- package/src/py/rdb/__snapshots__/generator.spec.ts.snap +31 -15
- package/src/py/rdb/files/Dockerfile.create-db-user.template +7 -3
- package/src/py/rdb/files/Dockerfile.migration.template +7 -3
- package/src/py/rdb/generator.js +29 -28
- package/src/py/rdb/generator.js.map +1 -1
- package/src/smithy/project/__snapshots__/generator.spec.ts.snap +5 -5
- package/src/smithy/react-connection/files/model/extensions.smithy.template +3 -3
- package/src/smithy/ts/api/__snapshots__/generator.spec.ts.snap +8 -8
- package/src/smithy/ts/api/generator.js +7 -2
- package/src/smithy/ts/api/generator.js.map +1 -1
- package/src/terraform/project/generator.js +34 -10
- package/src/terraform/project/generator.js.map +1 -1
- package/src/terraform/project/schema.d.js +0 -3
- package/src/terraform/project/schema.d.js.map +1 -1
- package/src/terraform/project/schema.d.ts +0 -4
- package/src/trpc/backend/__snapshots__/generator.spec.ts.snap +12 -12
- package/src/trpc/backend/generator.js +7 -1
- package/src/trpc/backend/generator.js.map +1 -1
- package/src/trpc/react/generator.js +6 -0
- package/src/trpc/react/generator.js.map +1 -1
- package/src/ts/agent/__snapshots__/generator.spec.ts.snap +4 -4
- package/src/ts/agent/a2a-connection/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/ts/agent/gateway-connection/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/ts/agent/generator.js +3 -3
- package/src/ts/agent/generator.js.map +1 -1
- package/src/ts/agent/mcp-connection/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/ts/agent/react-connection/generator.d.ts +1 -9
- package/src/ts/astro-docs/files/translation/scripts/translate.ts.template +47 -2
- package/src/ts/dcr-proxy/__snapshots__/generator.spec.ts.snap +1 -1
- package/src/ts/dynamodb/__snapshots__/generator.spec.ts.snap +6 -4
- package/src/ts/dynamodb/generator.js +30 -6
- package/src/ts/dynamodb/generator.js.map +1 -1
- package/src/ts/lambda-function/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/ts/lib/biome.d.ts +15 -1
- package/src/ts/lib/biome.js +79 -63
- package/src/ts/lib/biome.js.map +1 -1
- package/src/ts/lib/generator.js +11 -7
- package/src/ts/lib/generator.js.map +1 -1
- package/src/ts/lib/ts-project-utils.d.ts +14 -0
- package/src/ts/lib/ts-project-utils.js +24 -0
- package/src/ts/lib/ts-project-utils.js.map +1 -1
- package/src/ts/mcp-server/__snapshots__/generator.spec.ts.snap +3 -3
- package/src/ts/mcp-server/files/app/http.ts.template +1 -1
- package/src/ts/mcp-server/generator.js +3 -3
- package/src/ts/mcp-server/generator.js.map +1 -1
- package/src/ts/nx-generator/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/ts/nx-generator/files/local/generator.spec.ts.template +2 -2
- package/src/ts/nx-migration/generator.js +3 -1
- package/src/ts/nx-migration/generator.js.map +1 -1
- package/src/ts/nx-plugin/__snapshots__/generator.spec.ts.snap +1 -25
- package/src/ts/nx-plugin/generator.js +19 -17
- package/src/ts/nx-plugin/generator.js.map +1 -1
- package/src/ts/nx-plugin/utils.d.ts +21 -0
- package/src/ts/nx-plugin/utils.js +41 -1
- package/src/ts/nx-plugin/utils.js.map +1 -1
- package/src/ts/rdb/__snapshots__/generator.spec.ts.snap +13 -8
- package/src/ts/rdb/files/Dockerfile.template +5 -0
- package/src/ts/rdb/generator.d.ts +8 -0
- package/src/ts/rdb/generator.js +28 -24
- package/src/ts/rdb/generator.js.map +1 -1
- package/src/ts/rdb/trpc-connection/__snapshots__/generator.spec.ts.snap +39 -0
- package/src/ts/rdb/trpc-connection/generator.js +13 -0
- package/src/ts/rdb/trpc-connection/generator.js.map +1 -1
- package/src/ts/react-website/agui/files/common/src/components/__agentNameKebabCase__-chat.tsx.template +9 -0
- package/src/ts/react-website/agui/files/common/src/hooks/useAgui__agentNameClassName__.tsx.template +4 -1
- package/src/ts/react-website/agui/generator.d.ts +1 -5
- package/src/ts/react-website/agui/generator.js +6 -2
- package/src/ts/react-website/agui/generator.js.map +1 -1
- package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +26 -26
- package/src/ts/react-website/app/generator.d.ts +1 -5
- package/src/ts/react-website/app/generator.js +3 -8
- package/src/ts/react-website/app/generator.js.map +1 -1
- package/src/ts/react-website/cognito-auth/__snapshots__/generator.terraform.spec.ts.snap +2 -2
- package/src/utils/agent-connection/agent-connection.d.ts +2 -1
- package/src/utils/agent-connection/agent-connection.js +6 -1
- package/src/utils/agent-connection/agent-connection.js.map +1 -1
- package/src/utils/agent-core-constructs/files/cdk/app/agentcore-gateway/__nameKebabCase__/__nameKebabCase__.ts.template +11 -7
- package/src/utils/agent-core-constructs/files/cdk/core/agentcore-gateway/agentcore-gateway.ts.template +14 -6
- package/src/utils/agent-core-packaging.js +5 -5
- package/src/utils/agent-core-packaging.js.map +1 -1
- package/src/utils/api-constructs/api-constructs.d.ts +5 -0
- package/src/utils/api-constructs/api-constructs.js +8 -0
- package/src/utils/api-constructs/api-constructs.js.map +1 -1
- package/src/utils/api-constructs/files/cdk/app/apis/http/__apiNameKebabCase__.ts.template +4 -2
- package/src/utils/api-constructs/files/cdk/app/apis/rest/__apiNameKebabCase__.ts.template +4 -2
- package/src/utils/ast.d.ts +10 -0
- package/src/utils/ast.js +87 -15
- package/src/utils/ast.js.map +1 -1
- package/src/utils/dependencies.d.ts +10 -0
- package/src/utils/dependencies.js +93 -1
- package/src/utils/dependencies.js.map +1 -1
- package/src/utils/docker.d.ts +11 -0
- package/src/utils/docker.js +16 -3
- package/src/utils/docker.js.map +1 -1
- package/src/utils/dynamodb-config.d.ts +48 -0
- package/src/utils/dynamodb-config.js +44 -0
- package/src/utils/dynamodb-config.js.map +1 -0
- package/src/utils/dynamodb-constructs/files/cdk/app/dynamodb/__nameKebabCase__.ts.template +8 -4
- package/src/utils/files/common/shadcn/src/components/ui/alert.tsx.template +1 -2
- package/src/utils/files/common/shadcn/src/components/ui/avatar.tsx.template +1 -2
- package/src/utils/files/common/shadcn/src/components/ui/breadcrumb.tsx.template +1 -2
- package/src/utils/files/common/shadcn/src/components/ui/button.tsx.template +1 -2
- package/src/utils/files/common/shadcn/src/components/ui/card.tsx.template +1 -2
- package/src/utils/files/common/shadcn/src/components/ui/input.tsx.template +1 -2
- package/src/utils/files/common/shadcn/src/components/ui/separator.tsx.template +1 -2
- package/src/utils/files/common/shadcn/src/components/ui/sheet.tsx.template +1 -2
- package/src/utils/files/common/shadcn/src/components/ui/sidebar.tsx.template +1 -1
- package/src/utils/files/common/shadcn/src/components/ui/skeleton.tsx.template +1 -1
- package/src/utils/files/common/shadcn/src/components/ui/spinner.tsx.template +1 -2
- package/src/utils/files/common/shadcn/src/components/ui/textarea.tsx.template +1 -2
- package/src/utils/files/common/shadcn/src/components/ui/tooltip.tsx.template +1 -2
- package/src/utils/files/common/shadcn/src/lib/utils.ts.template +1 -6
- package/src/utils/git-secrets.d.ts +28 -0
- package/src/utils/git-secrets.js +66 -0
- package/src/utils/git-secrets.js.map +1 -0
- package/src/utils/init.js +7 -6
- package/src/utils/init.js.map +1 -1
- package/src/utils/local-project-dependency.d.ts +28 -0
- package/src/utils/local-project-dependency.js +40 -0
- package/src/utils/local-project-dependency.js.map +1 -0
- package/src/utils/nx.d.ts +14 -0
- package/src/utils/nx.js +30 -0
- package/src/utils/nx.js.map +1 -1
- package/src/utils/rdb-constructs/files/cdk/app/dbs/__nameKebabCase__.ts.template +11 -6
- package/src/utils/script-project-targets.d.ts +26 -0
- package/src/utils/script-project-targets.js +75 -0
- package/src/utils/script-project-targets.js.map +1 -0
- package/src/utils/shared-shadcn.d.ts +1 -3
- package/src/utils/shared-shadcn.js +1 -4
- package/src/utils/shared-shadcn.js.map +1 -1
- package/src/utils/versions.d.ts +52 -50
- package/src/utils/versions.js +55 -49
- package/src/utils/versions.js.map +1 -1
- package/src/utils/website-constructs/files/cdk/app/static-websites/__websiteNameKebabCase__.ts.template +8 -4
- package/src/migrations/latest/add-assemble-target/migration.js.map +0 -1
- package/src/migrations/latest/agent-connection-pin-strands-peers/migration.js.map +0 -1
- package/src/migrations/latest/agent-core-vendor-target/migration.js.map +0 -1
- package/src/migrations/latest/declare-cacheable-target-inputs/migration.js.map +0 -1
- package/src/migrations/latest/dev-target-depends-on-pull-image/migration.js.map +0 -1
- package/src/migrations/latest/docker-target-cache-soundness/migration.js.map +0 -1
- package/src/migrations/latest/ignore-package-manager-temp-files/migration.js.map +0 -1
- package/src/migrations/latest/infra-deploy-express-mode/metadata.json +0 -3
- package/src/migrations/latest/infra-deploy-express-mode/migration.js.map +0 -1
- package/src/migrations/latest/open-api-codegen-executor/migration.js.map +0 -1
- package/src/migrations/latest/python-test-input-scoping/migration.js.map +0 -1
- package/src/migrations/latest/react-website-unique-dev-ports/migration.js.map +0 -1
- package/src/migrations/latest/rolldown-config-bundle-transient/migration.js.map +0 -1
- package/src/migrations/latest/shadcn-package-imports-exports/migration.js.map +0 -1
- package/src/migrations/latest/shx-fs-commands/migration.js.map +0 -1
- package/src/migrations/latest/terraform-fmt-check/migration.js.map +0 -1
- package/src/migrations/latest/terraform-provider-plugin-cache/migration.js.map +0 -1
- package/src/migrations/latest/vitest-coverage-output-dir/migration.js.map +0 -1
- package/src/py/dynamodb/files/__name__/__init__.py.template +0 -6
- package/src/py/dynamodb/files/__name__/entities/__init__.py.template +0 -4
- package/src/py/dynamodb/files/config.json.template +0 -24
- package/src/ts/dynamodb/files/config.json.template +0 -24
- package/src/ts/dynamodb/files/src/entities/index.ts.template +0 -1
- package/src/ts/dynamodb/files/src/index.ts.template +0 -2
- /package/src/migrations/latest/{add-assemble-target → sandbox-pattern-nested-stacks}/migration.d.ts +0 -0
- /package/src/migrations/latest/{agent-core-vendor-target → shadcn-cn-package}/migration.d.ts +0 -0
- /package/src/migrations/{latest/dev-target-depends-on-pull-image → v1.0.0-rc.90/0001-dev-target-depends-on-pull-image}/metadata.json +0 -0
- /package/src/migrations/{latest/declare-cacheable-target-inputs → v1.0.0-rc.90/0001-dev-target-depends-on-pull-image}/migration.d.ts +0 -0
- /package/src/migrations/{latest/dev-target-depends-on-pull-image → v1.0.0-rc.90/0001-dev-target-depends-on-pull-image}/migration.js +0 -0
- /package/src/migrations/{latest/open-api-codegen-executor → v1.0.0-rc.90/0002-open-api-codegen-executor}/metadata.json +0 -0
- /package/src/migrations/{latest/dev-target-depends-on-pull-image → v1.0.0-rc.90/0002-open-api-codegen-executor}/migration.d.ts +0 -0
- /package/src/migrations/{latest/open-api-codegen-executor → v1.0.0-rc.90/0002-open-api-codegen-executor}/migration.js +0 -0
- /package/src/migrations/{latest/terraform-provider-plugin-cache → v1.0.0-rc.90/0003-terraform-provider-plugin-cache}/metadata.json +0 -0
- /package/src/migrations/{latest/docker-target-cache-soundness → v1.0.0-rc.90/0003-terraform-provider-plugin-cache}/migration.d.ts +0 -0
- /package/src/migrations/{latest/terraform-provider-plugin-cache → v1.0.0-rc.90/0003-terraform-provider-plugin-cache}/migration.js +0 -0
- /package/src/migrations/{latest/python-test-input-scoping → v1.0.0-rc.90/0004-python-test-input-scoping}/metadata.json +0 -0
- /package/src/migrations/{latest/infra-deploy-express-mode → v1.0.0-rc.90/0004-python-test-input-scoping}/migration.d.ts +0 -0
- /package/src/migrations/{latest/python-test-input-scoping → v1.0.0-rc.90/0004-python-test-input-scoping}/migration.js +0 -0
- /package/src/migrations/{latest/vitest-coverage-output-dir → v1.0.0-rc.90/0005-vitest-coverage-output-dir}/metadata.json +0 -0
- /package/src/migrations/{latest/open-api-codegen-executor → v1.0.0-rc.90/0005-vitest-coverage-output-dir}/migration.d.ts +0 -0
- /package/src/migrations/{latest/vitest-coverage-output-dir → v1.0.0-rc.90/0005-vitest-coverage-output-dir}/migration.js +0 -0
- /package/src/migrations/{latest/add-assemble-target → v1.0.0-rc.90/0006-add-assemble-target}/metadata.json +0 -0
- /package/src/migrations/{latest/python-test-input-scoping → v1.0.0-rc.90/0006-add-assemble-target}/migration.d.ts +0 -0
- /package/src/migrations/{latest/add-assemble-target → v1.0.0-rc.90/0006-add-assemble-target}/migration.js +0 -0
- /package/src/migrations/{latest/docker-target-cache-soundness → v1.0.0-rc.90/0007-docker-target-cache-soundness}/metadata.json +0 -0
- /package/src/migrations/{latest/react-website-unique-dev-ports → v1.0.0-rc.90/0007-docker-target-cache-soundness}/migration.d.ts +0 -0
- /package/src/migrations/{latest/docker-target-cache-soundness → v1.0.0-rc.90/0007-docker-target-cache-soundness}/migration.js +0 -0
- /package/src/migrations/{latest/declare-cacheable-target-inputs → v1.0.0-rc.90/0008-declare-cacheable-target-inputs}/metadata.json +0 -0
- /package/src/migrations/{latest/rolldown-config-bundle-transient → v1.0.0-rc.90/0008-declare-cacheable-target-inputs}/migration.d.ts +0 -0
- /package/src/migrations/{latest/declare-cacheable-target-inputs → v1.0.0-rc.90/0008-declare-cacheable-target-inputs}/migration.js +0 -0
- /package/src/migrations/{latest/terraform-fmt-check → v1.0.0-rc.90/0009-terraform-fmt-check}/metadata.json +0 -0
- /package/src/migrations/{latest/shadcn-package-imports-exports → v1.0.0-rc.90/0009-terraform-fmt-check}/migration.d.ts +0 -0
- /package/src/migrations/{latest/terraform-fmt-check → v1.0.0-rc.90/0009-terraform-fmt-check}/migration.js +0 -0
- /package/src/migrations/{latest/react-website-unique-dev-ports → v1.0.0-rc.92/0001-react-website-unique-dev-ports}/metadata.json +0 -0
- /package/src/migrations/{latest/shx-fs-commands → v1.0.0-rc.92/0001-react-website-unique-dev-ports}/migration.d.ts +0 -0
- /package/src/migrations/{latest/react-website-unique-dev-ports → v1.0.0-rc.92/0001-react-website-unique-dev-ports}/migration.js +0 -0
- /package/src/migrations/{latest/terraform-fmt-check → v1.0.0-rc.94/0001-infra-deploy-express-mode}/migration.d.ts +0 -0
- /package/src/migrations/{latest/shx-fs-commands → v1.0.0-rc.94/0002-shx-fs-commands}/metadata.json +0 -0
- /package/src/migrations/{latest/terraform-provider-plugin-cache → v1.0.0-rc.94/0002-shx-fs-commands}/migration.d.ts +0 -0
- /package/src/migrations/{latest/shx-fs-commands → v1.0.0-rc.94/0002-shx-fs-commands}/migration.js +0 -0
- /package/src/migrations/{latest/agent-core-vendor-target → v1.0.0-rc.94/0003-agent-core-vendor-target}/metadata.json +0 -0
- /package/src/migrations/{latest/vitest-coverage-output-dir → v1.0.0-rc.94/0003-agent-core-vendor-target}/migration.d.ts +0 -0
- /package/src/migrations/{latest/agent-core-vendor-target → v1.0.0-rc.94/0003-agent-core-vendor-target}/migration.js +0 -0
- /package/src/migrations/{latest/rolldown-config-bundle-transient → v1.0.0-rc.95/0001-rolldown-config-bundle-transient}/metadata.json +0 -0
- /package/src/migrations/{latest/rolldown-config-bundle-transient → v1.0.0-rc.95/0001-rolldown-config-bundle-transient}/migration.js +0 -0
- /package/src/migrations/{latest/agent-connection-pin-strands-peers → v1.0.0-rc.95/0002-agent-connection-pin-strands-peers}/metadata.json +0 -0
- /package/src/migrations/{latest/agent-connection-pin-strands-peers → v1.0.0-rc.95/0002-agent-connection-pin-strands-peers}/migration.d.ts +0 -0
- /package/src/migrations/{latest/agent-connection-pin-strands-peers → v1.0.0-rc.95/0002-agent-connection-pin-strands-peers}/migration.js +0 -0
- /package/src/migrations/{latest/ignore-package-manager-temp-files → v1.0.0-rc.95/0003-ignore-package-manager-temp-files}/metadata.json +0 -0
- /package/src/migrations/{latest/ignore-package-manager-temp-files → v1.0.0-rc.95/0003-ignore-package-manager-temp-files}/migration.d.ts +0 -0
- /package/src/migrations/{latest/ignore-package-manager-temp-files → v1.0.0-rc.95/0003-ignore-package-manager-temp-files}/migration.js +0 -0
- /package/src/migrations/{latest/shadcn-package-imports-exports → v1.0.0-rc.95/0004-shadcn-package-imports-exports}/metadata.json +0 -0
- /package/src/migrations/{latest/shadcn-package-imports-exports → v1.0.0-rc.95/0004-shadcn-package-imports-exports}/migration.js +0 -0
package/src/utils/versions.d.ts
CHANGED
|
@@ -9,19 +9,22 @@ import { type DeclaredPy, type DeclaredTs, type DependencyDeclaration } from './
|
|
|
9
9
|
export declare const TS_VERSIONS: {
|
|
10
10
|
readonly '@a2a-js/sdk': "0.3.14";
|
|
11
11
|
readonly '@aws/aws-distro-opentelemetry-node-autoinstrumentation': "0.12.0";
|
|
12
|
-
readonly '@opentelemetry/propagator-jaeger': "2.
|
|
12
|
+
readonly '@opentelemetry/propagator-jaeger': "2.11.0";
|
|
13
13
|
readonly minimatch: "10.2.6";
|
|
14
|
-
readonly '
|
|
15
|
-
readonly
|
|
16
|
-
readonly '@aws-sdk/client-
|
|
17
|
-
readonly '@aws-sdk/client-
|
|
18
|
-
readonly '@aws-sdk/client-
|
|
19
|
-
readonly '@aws-sdk/client-
|
|
20
|
-
readonly '@aws-sdk/client-
|
|
21
|
-
readonly '@aws-sdk/
|
|
14
|
+
readonly 'deepmerge-ts': "8.0.2";
|
|
15
|
+
readonly mysql2: "3.24.3";
|
|
16
|
+
readonly '@aws-sdk/client-dynamodb': "3.1126.0";
|
|
17
|
+
readonly '@aws-sdk/client-api-gateway': "3.1126.0";
|
|
18
|
+
readonly '@aws-sdk/client-iam': "3.1126.0";
|
|
19
|
+
readonly '@aws-sdk/client-bedrock-agentcore': "3.1126.0";
|
|
20
|
+
readonly '@aws-sdk/client-bedrock-runtime': "3.1126.0";
|
|
21
|
+
readonly '@aws-sdk/client-s3': "3.1126.0";
|
|
22
|
+
readonly '@aws-sdk/client-sts': "3.1126.0";
|
|
23
|
+
readonly '@aws-sdk/client-cognito-identity-provider': "3.1126.0";
|
|
24
|
+
readonly '@aws-sdk/credential-providers': "3.1126.0";
|
|
22
25
|
readonly '@aws-sdk/credential-provider-cognito-identity': "3.972.69";
|
|
23
|
-
readonly '@aws-sdk/client-secrets-manager': "3.
|
|
24
|
-
readonly '@aws-sdk/rds-signer': "3.
|
|
26
|
+
readonly '@aws-sdk/client-secrets-manager': "3.1126.0";
|
|
27
|
+
readonly '@aws-sdk/rds-signer': "3.1126.0";
|
|
25
28
|
readonly '@smithy/server-apigateway': "0.3.3";
|
|
26
29
|
readonly '@smithy/server-node': "0.3.3";
|
|
27
30
|
readonly '@aws-lambda-powertools/logger': "2.35.0";
|
|
@@ -29,7 +32,7 @@ export declare const TS_VERSIONS: {
|
|
|
29
32
|
readonly '@aws-lambda-powertools/parameters': "2.35.0";
|
|
30
33
|
readonly '@aws-lambda-powertools/tracer': "2.35.0";
|
|
31
34
|
readonly '@aws-lambda-powertools/parser': "2.35.0";
|
|
32
|
-
readonly '@aws-sdk/client-appconfigdata': "3.
|
|
35
|
+
readonly '@aws-sdk/client-appconfigdata': "3.1126.0";
|
|
33
36
|
readonly '@middy/core': "7.9.2";
|
|
34
37
|
readonly '@nxlv/python': "23.0.0";
|
|
35
38
|
readonly '@nx-extend/terraform': "10.4.1";
|
|
@@ -44,14 +47,14 @@ export declare const TS_VERSIONS: {
|
|
|
44
47
|
readonly '@swc-node/register': "1.12.1";
|
|
45
48
|
readonly '@swc/core': "1.16.1";
|
|
46
49
|
readonly '@modelcontextprotocol/sdk': "1.30.0";
|
|
47
|
-
readonly '@modelcontextprotocol/inspector': "2.
|
|
50
|
+
readonly '@modelcontextprotocol/inspector': "2.5.0";
|
|
48
51
|
readonly '@ag-ui/a2ui-toolkit': "0.0.4";
|
|
49
52
|
readonly '@ag-ui/aws-strands': "0.2.3";
|
|
50
|
-
readonly '@ag-ui/client': "0.0.
|
|
51
|
-
readonly '@ag-ui/core': "0.0.
|
|
52
|
-
readonly '@ag-ui/encoder': "0.0.
|
|
53
|
+
readonly '@ag-ui/client': "0.0.59";
|
|
54
|
+
readonly '@ag-ui/core': "0.0.59";
|
|
55
|
+
readonly '@ag-ui/encoder': "0.0.59";
|
|
53
56
|
readonly 'agent-chat-cli': "0.3.0";
|
|
54
|
-
readonly '@copilotkit/react-core': "1.
|
|
57
|
+
readonly '@copilotkit/react-core': "1.70.1";
|
|
55
58
|
readonly rxjs: "7.8.2";
|
|
56
59
|
readonly '@strands-agents/sdk': "1.15.0";
|
|
57
60
|
readonly '@tanstack/react-router': "1.170.32";
|
|
@@ -59,46 +62,46 @@ export declare const TS_VERSIONS: {
|
|
|
59
62
|
readonly '@tanstack/router-generator': "1.167.33";
|
|
60
63
|
readonly '@tanstack/virtual-file-routes': "1.162.0";
|
|
61
64
|
readonly '@tanstack/router-utils': "1.162.2";
|
|
62
|
-
readonly '@cloudscape-design/board-components': "3.0.
|
|
63
|
-
readonly '@cloudscape-design/chat-components': "1.0.
|
|
64
|
-
readonly '@cloudscape-design/components': "3.0.
|
|
65
|
+
readonly '@cloudscape-design/board-components': "3.0.222";
|
|
66
|
+
readonly '@cloudscape-design/chat-components': "1.0.166";
|
|
67
|
+
readonly '@cloudscape-design/components': "3.0.1359";
|
|
65
68
|
readonly '@cloudscape-design/global-styles': "1.0.67";
|
|
66
69
|
readonly '@tanstack/react-query': "5.102.8";
|
|
67
70
|
readonly '@tanstack/react-query-devtools': "5.102.8";
|
|
68
71
|
readonly '@trpc/tanstack-react-query': "11.18.0";
|
|
69
72
|
readonly '@trpc/client': "11.18.0";
|
|
70
73
|
readonly '@trpc/server': "11.18.0";
|
|
71
|
-
readonly '@types/node': "26.4.
|
|
72
|
-
readonly '@types/aws-lambda': "8.10.
|
|
74
|
+
readonly '@types/node': "26.4.1";
|
|
75
|
+
readonly '@types/aws-lambda': "8.10.163";
|
|
73
76
|
readonly '@types/cors': "2.8.19";
|
|
74
77
|
readonly '@types/pg': "8.23.1";
|
|
75
78
|
readonly '@types/ws': "8.18.1";
|
|
76
79
|
readonly '@types/express': "5.0.6";
|
|
77
80
|
readonly '@smithy/config-resolver': "4.7.2";
|
|
78
81
|
readonly '@smithy/node-config-provider': "4.6.2";
|
|
79
|
-
readonly '@smithy/node-http-handler': "4.
|
|
80
|
-
readonly '@smithy/types': "4.
|
|
82
|
+
readonly '@smithy/node-http-handler': "4.12.1";
|
|
83
|
+
readonly '@smithy/types': "4.18.0";
|
|
81
84
|
readonly '@vitest/coverage-v8': "4.1.11";
|
|
82
85
|
readonly '@vitest/ui': "4.1.11";
|
|
83
|
-
readonly '@astrojs/react': "6.0.
|
|
84
|
-
readonly '@astrojs/starlight': "0.
|
|
85
|
-
readonly astro: "7.
|
|
86
|
+
readonly '@astrojs/react': "6.0.5";
|
|
87
|
+
readonly '@astrojs/starlight': "0.42.0";
|
|
88
|
+
readonly astro: "7.3.1";
|
|
86
89
|
readonly cookie: "2.0.1";
|
|
87
90
|
readonly aws4fetch: "1.0.20";
|
|
88
91
|
readonly 'aws-cdk': "2.1139.0";
|
|
89
|
-
readonly 'aws-cdk-lib': "2.
|
|
92
|
+
readonly 'aws-cdk-lib': "2.268.0";
|
|
90
93
|
readonly 'aws-xray-sdk-core': "3.12.0";
|
|
91
94
|
readonly constructs: "10.8.1";
|
|
92
95
|
readonly cors: "2.8.6";
|
|
93
96
|
readonly chalk: "6.0.0";
|
|
94
97
|
readonly 'class-variance-authority': "0.7.1";
|
|
95
|
-
readonly
|
|
98
|
+
readonly cn: "0.2.5";
|
|
96
99
|
readonly commander: "15.0.0";
|
|
97
100
|
readonly electrodb: "3.9.3";
|
|
98
101
|
readonly esbuild: "0.28.2";
|
|
99
102
|
readonly 'event-source-polyfill': "1.0.31";
|
|
100
103
|
readonly '@types/event-source-polyfill': "1.0.5";
|
|
101
|
-
readonly '@biomejs/biome': "2.5.
|
|
104
|
+
readonly '@biomejs/biome': "2.5.12";
|
|
102
105
|
readonly '@prisma/adapter-mariadb': "7.10.0";
|
|
103
106
|
readonly '@prisma/adapter-pg': "7.10.0";
|
|
104
107
|
readonly '@prisma/client': "7.10.0";
|
|
@@ -109,8 +112,8 @@ export declare const TS_VERSIONS: {
|
|
|
109
112
|
readonly husky: "9.1.7";
|
|
110
113
|
readonly 'fs-extra': "11.4.0";
|
|
111
114
|
readonly '@types/fs-extra': "11.0.4";
|
|
112
|
-
readonly mariadb: "3.5.
|
|
113
|
-
readonly mise: "2026.
|
|
115
|
+
readonly mariadb: "3.5.4";
|
|
116
|
+
readonly mise: "2026.9.1";
|
|
114
117
|
readonly npm: "12.0.2";
|
|
115
118
|
readonly 'npm-check-updates': "23.1.0";
|
|
116
119
|
readonly 'oidc-client-ts': "3.5.0";
|
|
@@ -119,24 +122,23 @@ export declare const TS_VERSIONS: {
|
|
|
119
122
|
readonly 'react-oidc-context': "3.3.1";
|
|
120
123
|
readonly react: "19.2.8";
|
|
121
124
|
readonly 'react-dom': "19.2.8";
|
|
122
|
-
readonly rolldown: "1.2.
|
|
123
|
-
readonly 'rolldown-plugin-dts': "0.28.
|
|
125
|
+
readonly rolldown: "1.2.7";
|
|
126
|
+
readonly 'rolldown-plugin-dts': "0.28.5";
|
|
124
127
|
readonly shx: "0.4.0";
|
|
125
128
|
readonly 'simple-git': "3.36.0";
|
|
126
129
|
readonly 'source-map-support': "0.5.21";
|
|
127
130
|
readonly 'starlight-blog': "0.29.0";
|
|
128
131
|
readonly tailwindcss: "4.3.3";
|
|
129
132
|
readonly '@tailwindcss/vite': "4.3.3";
|
|
130
|
-
readonly tsx: "4.23.
|
|
131
|
-
readonly 'lucide-react': "1.
|
|
133
|
+
readonly tsx: "4.23.13";
|
|
134
|
+
readonly 'lucide-react': "1.40.0";
|
|
132
135
|
readonly 'radix-ui': "1.6.7";
|
|
133
|
-
readonly shadcn: "4.
|
|
136
|
+
readonly shadcn: "4.21.0";
|
|
134
137
|
readonly 'tw-animate-css': "1.4.0";
|
|
135
|
-
readonly 'tailwind-merge': "3.6.0";
|
|
136
138
|
readonly vite: "8.2.2";
|
|
137
139
|
readonly typescript: "6.0.3";
|
|
138
140
|
readonly vitest: "4.1.11";
|
|
139
|
-
readonly jsdom: "
|
|
141
|
+
readonly jsdom: "29.1.1";
|
|
140
142
|
readonly zod: "4.5.4";
|
|
141
143
|
readonly ws: "8.21.3";
|
|
142
144
|
};
|
|
@@ -175,7 +177,7 @@ export declare const NX_VERSION: "23.2.0";
|
|
|
175
177
|
export declare const PY_VERSIONS: {
|
|
176
178
|
readonly 'a2a-sdk': "==0.3.26";
|
|
177
179
|
readonly 'ag-ui-langgraph': "==0.0.44";
|
|
178
|
-
readonly 'ag-ui-protocol': "==0.1.
|
|
180
|
+
readonly 'ag-ui-protocol': "==0.1.22";
|
|
179
181
|
readonly 'ag-ui-strands': "==0.3.0";
|
|
180
182
|
readonly aiosqlite: "==0.22.1";
|
|
181
183
|
readonly 'aws-lambda-powertools': "==3.34.0";
|
|
@@ -183,29 +185,29 @@ export declare const PY_VERSIONS: {
|
|
|
183
185
|
readonly 'aws-lambda-powertools[parser]': "==3.34.0";
|
|
184
186
|
readonly 'aws-opentelemetry-distro': "==0.19.0";
|
|
185
187
|
readonly 'bedrock-agentcore': "==1.22.0";
|
|
186
|
-
readonly boto3: "==1.43.
|
|
188
|
+
readonly boto3: "==1.43.89";
|
|
187
189
|
readonly checkov: "==3.3.16";
|
|
188
190
|
readonly fastapi: "==0.141.1";
|
|
189
191
|
readonly 'fastapi[standard]': "==0.141.1";
|
|
190
192
|
readonly httpx: "==0.28.1";
|
|
191
|
-
readonly langchain: "==1.
|
|
192
|
-
readonly 'langchain-aws': "==1.7.
|
|
193
|
+
readonly langchain: "==1.4.0";
|
|
194
|
+
readonly 'langchain-aws': "==1.7.5";
|
|
193
195
|
readonly 'langchain-mcp-adapters': "==0.3.2";
|
|
194
196
|
readonly langgraph: "==1.2.11";
|
|
195
|
-
readonly 'langgraph-checkpoint-aws': "==1.2.
|
|
197
|
+
readonly 'langgraph-checkpoint-aws': "==1.2.3";
|
|
196
198
|
readonly 'langgraph-checkpoint-sqlite': "==3.1.1";
|
|
197
199
|
readonly mcp: "==1.28.1";
|
|
198
200
|
readonly 'pip-check-updates': "==0.29.0";
|
|
199
201
|
readonly 'pip-licenses': "==5.5.5";
|
|
200
|
-
readonly ruff: "==0.16.
|
|
202
|
+
readonly ruff: "==0.16.6";
|
|
201
203
|
readonly 'strands-agents': "==1.54.0";
|
|
202
204
|
readonly 'strands-agents[a2a]': "==1.54.0";
|
|
203
|
-
readonly 'strands-agents-tools': "==0.8.
|
|
204
|
-
readonly ty: "==0.0.
|
|
205
|
+
readonly 'strands-agents-tools': "==0.8.8";
|
|
206
|
+
readonly ty: "==0.0.78";
|
|
205
207
|
readonly pynamodb: "==6.1.0";
|
|
206
208
|
readonly uvicorn: "==0.52.4";
|
|
207
209
|
readonly sqlmodel: "==0.0.42";
|
|
208
|
-
readonly alembic: "==1.19.
|
|
210
|
+
readonly alembic: "==1.19.2";
|
|
209
211
|
readonly aiomysql: "==0.3.2";
|
|
210
212
|
readonly asyncpg: "==0.31.0";
|
|
211
213
|
readonly greenlet: "==3.5.5";
|
|
@@ -360,7 +362,7 @@ export declare const terraformLambdaRuntimeVars: () => {
|
|
|
360
362
|
* Pinned exactly (no range operator) so generated infrastructure is reproducible.
|
|
361
363
|
*/
|
|
362
364
|
export declare const TERRAFORM_VERSIONS: {
|
|
363
|
-
readonly aws: "6.
|
|
365
|
+
readonly aws: "6.63.0";
|
|
364
366
|
readonly random: "3.9.0";
|
|
365
367
|
readonly null: "3.3.1";
|
|
366
368
|
readonly archive: "2.8.0";
|
|
@@ -374,7 +376,7 @@ export type ITerraformProviderVersion = keyof typeof TERRAFORM_VERSIONS;
|
|
|
374
376
|
* generated `.tf` templates (e.g. `version = "<%- awsProviderVersion %>"`)
|
|
375
377
|
*/
|
|
376
378
|
export declare const terraformProviderVersions: () => {
|
|
377
|
-
awsProviderVersion: "6.
|
|
379
|
+
awsProviderVersion: "6.63.0";
|
|
378
380
|
randomProviderVersion: "3.9.0";
|
|
379
381
|
nullProviderVersion: "3.3.1";
|
|
380
382
|
archiveProviderVersion: "2.8.0";
|
package/src/utils/versions.js
CHANGED
|
@@ -9,24 +9,31 @@
|
|
|
9
9
|
'@aws/aws-distro-opentelemetry-node-autoinstrumentation': '0.12.0',
|
|
10
10
|
// Pinned above the version the ADOT autoinstrumentation package resolves
|
|
11
11
|
// transitively (2.8.0) to clear CVE-2026-59892 (HIGH).
|
|
12
|
-
'@opentelemetry/propagator-jaeger': '2.
|
|
12
|
+
'@opentelemetry/propagator-jaeger': '2.11.0',
|
|
13
13
|
// Overridden in the vended agent/MCP image builds to clear CVE-2026-14257
|
|
14
14
|
// (HIGH) in brace-expansion: minimatch 10 is the lowest major depending on
|
|
15
15
|
// brace-expansion 5.x, the only line Trivy's `< 5.0.8` advisory range treats
|
|
16
16
|
// as fixed. Overriding brace-expansion directly is not viable — 5.x drops the
|
|
17
17
|
// CommonJS default export that minimatch 9 calls.
|
|
18
18
|
minimatch: '10.2.6',
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
'
|
|
24
|
-
|
|
25
|
-
'@aws-sdk/client-
|
|
26
|
-
'@aws-sdk/
|
|
19
|
+
// Both overridden in the vended RDB migration image build, which installs the
|
|
20
|
+
// prisma CLI to run migrations: its own ranges resolve deepmerge-ts below the
|
|
21
|
+
// CVE-2026-40345 fix (HIGH) and mysql2 below the GHSA-3f6p-5ww8-9rcr fix
|
|
22
|
+
// (HIGH). Neither is imported by the handler, which drives the schema engine.
|
|
23
|
+
'deepmerge-ts': '8.0.2',
|
|
24
|
+
mysql2: '3.24.3',
|
|
25
|
+
'@aws-sdk/client-dynamodb': '3.1126.0',
|
|
26
|
+
'@aws-sdk/client-api-gateway': '3.1126.0',
|
|
27
|
+
'@aws-sdk/client-iam': '3.1126.0',
|
|
28
|
+
'@aws-sdk/client-bedrock-agentcore': '3.1126.0',
|
|
29
|
+
'@aws-sdk/client-bedrock-runtime': '3.1126.0',
|
|
30
|
+
'@aws-sdk/client-s3': '3.1126.0',
|
|
31
|
+
'@aws-sdk/client-sts': '3.1126.0',
|
|
32
|
+
'@aws-sdk/client-cognito-identity-provider': '3.1126.0',
|
|
33
|
+
'@aws-sdk/credential-providers': '3.1126.0',
|
|
27
34
|
'@aws-sdk/credential-provider-cognito-identity': '3.972.69',
|
|
28
|
-
'@aws-sdk/client-secrets-manager': '3.
|
|
29
|
-
'@aws-sdk/rds-signer': '3.
|
|
35
|
+
'@aws-sdk/client-secrets-manager': '3.1126.0',
|
|
36
|
+
'@aws-sdk/rds-signer': '3.1126.0',
|
|
30
37
|
'@smithy/server-apigateway': '0.3.3',
|
|
31
38
|
'@smithy/server-node': '0.3.3',
|
|
32
39
|
'@aws-lambda-powertools/logger': '2.35.0',
|
|
@@ -34,7 +41,7 @@
|
|
|
34
41
|
'@aws-lambda-powertools/parameters': '2.35.0',
|
|
35
42
|
'@aws-lambda-powertools/tracer': '2.35.0',
|
|
36
43
|
'@aws-lambda-powertools/parser': '2.35.0',
|
|
37
|
-
'@aws-sdk/client-appconfigdata': '3.
|
|
44
|
+
'@aws-sdk/client-appconfigdata': '3.1126.0',
|
|
38
45
|
'@middy/core': '7.9.2',
|
|
39
46
|
'@nxlv/python': '23.0.0',
|
|
40
47
|
'@nx-extend/terraform': '10.4.1',
|
|
@@ -50,14 +57,14 @@
|
|
|
50
57
|
'@swc-node/register': '1.12.1',
|
|
51
58
|
'@swc/core': '1.16.1',
|
|
52
59
|
'@modelcontextprotocol/sdk': '1.30.0',
|
|
53
|
-
'@modelcontextprotocol/inspector': '2.
|
|
60
|
+
'@modelcontextprotocol/inspector': '2.5.0',
|
|
54
61
|
'@ag-ui/a2ui-toolkit': '0.0.4',
|
|
55
62
|
'@ag-ui/aws-strands': '0.2.3',
|
|
56
|
-
'@ag-ui/client': '0.0.
|
|
57
|
-
'@ag-ui/core': '0.0.
|
|
58
|
-
'@ag-ui/encoder': '0.0.
|
|
63
|
+
'@ag-ui/client': '0.0.59',
|
|
64
|
+
'@ag-ui/core': '0.0.59',
|
|
65
|
+
'@ag-ui/encoder': '0.0.59',
|
|
59
66
|
'agent-chat-cli': '0.3.0',
|
|
60
|
-
'@copilotkit/react-core': '1.
|
|
67
|
+
'@copilotkit/react-core': '1.70.1',
|
|
61
68
|
rxjs: '7.8.2',
|
|
62
69
|
'@strands-agents/sdk': '1.15.0',
|
|
63
70
|
'@tanstack/react-router': '1.170.32',
|
|
@@ -65,46 +72,46 @@
|
|
|
65
72
|
'@tanstack/router-generator': '1.167.33',
|
|
66
73
|
'@tanstack/virtual-file-routes': '1.162.0',
|
|
67
74
|
'@tanstack/router-utils': '1.162.2',
|
|
68
|
-
'@cloudscape-design/board-components': '3.0.
|
|
69
|
-
'@cloudscape-design/chat-components': '1.0.
|
|
70
|
-
'@cloudscape-design/components': '3.0.
|
|
75
|
+
'@cloudscape-design/board-components': '3.0.222',
|
|
76
|
+
'@cloudscape-design/chat-components': '1.0.166',
|
|
77
|
+
'@cloudscape-design/components': '3.0.1359',
|
|
71
78
|
'@cloudscape-design/global-styles': '1.0.67',
|
|
72
79
|
'@tanstack/react-query': '5.102.8',
|
|
73
80
|
'@tanstack/react-query-devtools': '5.102.8',
|
|
74
81
|
'@trpc/tanstack-react-query': '11.18.0',
|
|
75
82
|
'@trpc/client': '11.18.0',
|
|
76
83
|
'@trpc/server': '11.18.0',
|
|
77
|
-
'@types/node': '26.4.
|
|
78
|
-
'@types/aws-lambda': '8.10.
|
|
84
|
+
'@types/node': '26.4.1',
|
|
85
|
+
'@types/aws-lambda': '8.10.163',
|
|
79
86
|
'@types/cors': '2.8.19',
|
|
80
87
|
'@types/pg': '8.23.1',
|
|
81
88
|
'@types/ws': '8.18.1',
|
|
82
89
|
'@types/express': '5.0.6',
|
|
83
90
|
'@smithy/config-resolver': '4.7.2',
|
|
84
91
|
'@smithy/node-config-provider': '4.6.2',
|
|
85
|
-
'@smithy/node-http-handler': '4.
|
|
86
|
-
'@smithy/types': '4.
|
|
92
|
+
'@smithy/node-http-handler': '4.12.1',
|
|
93
|
+
'@smithy/types': '4.18.0',
|
|
87
94
|
'@vitest/coverage-v8': '4.1.11',
|
|
88
95
|
'@vitest/ui': '4.1.11',
|
|
89
|
-
'@astrojs/react': '6.0.
|
|
90
|
-
'@astrojs/starlight': '0.
|
|
91
|
-
astro: '7.
|
|
96
|
+
'@astrojs/react': '6.0.5',
|
|
97
|
+
'@astrojs/starlight': '0.42.0',
|
|
98
|
+
astro: '7.3.1',
|
|
92
99
|
cookie: '2.0.1',
|
|
93
100
|
aws4fetch: '1.0.20',
|
|
94
101
|
'aws-cdk': '2.1139.0',
|
|
95
|
-
'aws-cdk-lib': '2.
|
|
102
|
+
'aws-cdk-lib': '2.268.0',
|
|
96
103
|
'aws-xray-sdk-core': '3.12.0',
|
|
97
104
|
constructs: '10.8.1',
|
|
98
105
|
cors: '2.8.6',
|
|
99
106
|
chalk: '6.0.0',
|
|
100
107
|
'class-variance-authority': '0.7.1',
|
|
101
|
-
|
|
108
|
+
cn: '0.2.5',
|
|
102
109
|
commander: '15.0.0',
|
|
103
110
|
electrodb: '3.9.3',
|
|
104
111
|
esbuild: '0.28.2',
|
|
105
112
|
'event-source-polyfill': '1.0.31',
|
|
106
113
|
'@types/event-source-polyfill': '1.0.5',
|
|
107
|
-
'@biomejs/biome': '2.5.
|
|
114
|
+
'@biomejs/biome': '2.5.12',
|
|
108
115
|
'@prisma/adapter-mariadb': '7.10.0',
|
|
109
116
|
'@prisma/adapter-pg': '7.10.0',
|
|
110
117
|
'@prisma/client': '7.10.0',
|
|
@@ -115,8 +122,8 @@
|
|
|
115
122
|
husky: '9.1.7',
|
|
116
123
|
'fs-extra': '11.4.0',
|
|
117
124
|
'@types/fs-extra': '11.0.4',
|
|
118
|
-
mariadb: '3.5.
|
|
119
|
-
mise: '2026.
|
|
125
|
+
mariadb: '3.5.4',
|
|
126
|
+
mise: '2026.9.1',
|
|
120
127
|
npm: '12.0.2',
|
|
121
128
|
'npm-check-updates': '23.1.0',
|
|
122
129
|
'oidc-client-ts': '3.5.0',
|
|
@@ -125,25 +132,24 @@
|
|
|
125
132
|
'react-oidc-context': '3.3.1',
|
|
126
133
|
react: '19.2.8',
|
|
127
134
|
'react-dom': '19.2.8',
|
|
128
|
-
rolldown: '1.2.
|
|
129
|
-
'rolldown-plugin-dts': '0.28.
|
|
135
|
+
rolldown: '1.2.7',
|
|
136
|
+
'rolldown-plugin-dts': '0.28.5',
|
|
130
137
|
shx: '0.4.0',
|
|
131
138
|
'simple-git': '3.36.0',
|
|
132
139
|
'source-map-support': '0.5.21',
|
|
133
140
|
'starlight-blog': '0.29.0',
|
|
134
141
|
tailwindcss: '4.3.3',
|
|
135
142
|
'@tailwindcss/vite': '4.3.3',
|
|
136
|
-
tsx: '4.23.
|
|
137
|
-
'lucide-react': '1.
|
|
143
|
+
tsx: '4.23.13',
|
|
144
|
+
'lucide-react': '1.40.0',
|
|
138
145
|
'radix-ui': '1.6.7',
|
|
139
|
-
shadcn: '4.
|
|
146
|
+
shadcn: '4.21.0',
|
|
140
147
|
'tw-animate-css': '1.4.0',
|
|
141
|
-
'tailwind-merge': '3.6.0',
|
|
142
148
|
vite: '8.2.2',
|
|
143
149
|
typescript: '6.0.3',
|
|
144
150
|
vitest: '4.1.11',
|
|
145
151
|
// The `testEnvironment` @nx/vitest writes into every generated config.
|
|
146
|
-
jsdom: '
|
|
152
|
+
jsdom: '29.1.1',
|
|
147
153
|
zod: '4.5.4',
|
|
148
154
|
ws: '8.21.3'
|
|
149
155
|
};
|
|
@@ -206,7 +212,7 @@
|
|
|
206
212
|
*/ export const PY_VERSIONS = {
|
|
207
213
|
'a2a-sdk': '==0.3.26',
|
|
208
214
|
'ag-ui-langgraph': '==0.0.44',
|
|
209
|
-
'ag-ui-protocol': '==0.1.
|
|
215
|
+
'ag-ui-protocol': '==0.1.22',
|
|
210
216
|
'ag-ui-strands': '==0.3.0',
|
|
211
217
|
aiosqlite: '==0.22.1',
|
|
212
218
|
'aws-lambda-powertools': '==3.34.0',
|
|
@@ -214,29 +220,29 @@
|
|
|
214
220
|
'aws-lambda-powertools[parser]': '==3.34.0',
|
|
215
221
|
'aws-opentelemetry-distro': '==0.19.0',
|
|
216
222
|
'bedrock-agentcore': '==1.22.0',
|
|
217
|
-
boto3: '==1.43.
|
|
223
|
+
boto3: '==1.43.89',
|
|
218
224
|
checkov: '==3.3.16',
|
|
219
225
|
fastapi: '==0.141.1',
|
|
220
226
|
'fastapi[standard]': '==0.141.1',
|
|
221
227
|
httpx: '==0.28.1',
|
|
222
|
-
langchain: '==1.
|
|
223
|
-
'langchain-aws': '==1.7.
|
|
228
|
+
langchain: '==1.4.0',
|
|
229
|
+
'langchain-aws': '==1.7.5',
|
|
224
230
|
'langchain-mcp-adapters': '==0.3.2',
|
|
225
231
|
langgraph: '==1.2.11',
|
|
226
|
-
'langgraph-checkpoint-aws': '==1.2.
|
|
232
|
+
'langgraph-checkpoint-aws': '==1.2.3',
|
|
227
233
|
'langgraph-checkpoint-sqlite': '==3.1.1',
|
|
228
234
|
mcp: '==1.28.1',
|
|
229
235
|
'pip-check-updates': '==0.29.0',
|
|
230
236
|
'pip-licenses': '==5.5.5',
|
|
231
|
-
ruff: '==0.16.
|
|
237
|
+
ruff: '==0.16.6',
|
|
232
238
|
'strands-agents': '==1.54.0',
|
|
233
239
|
'strands-agents[a2a]': '==1.54.0',
|
|
234
|
-
'strands-agents-tools': '==0.8.
|
|
235
|
-
ty: '==0.0.
|
|
240
|
+
'strands-agents-tools': '==0.8.8',
|
|
241
|
+
ty: '==0.0.78',
|
|
236
242
|
pynamodb: '==6.1.0',
|
|
237
243
|
uvicorn: '==0.52.4',
|
|
238
244
|
sqlmodel: '==0.0.42',
|
|
239
|
-
alembic: '==1.19.
|
|
245
|
+
alembic: '==1.19.2',
|
|
240
246
|
aiomysql: '==0.3.2',
|
|
241
247
|
asyncpg: '==0.31.0',
|
|
242
248
|
// Pinned explicitly: SQLAlchemy's async engine pulls greenlet transitively,
|
|
@@ -379,7 +385,7 @@
|
|
|
379
385
|
* Exact versions for Terraform providers used by generated `.tf` modules.
|
|
380
386
|
* Pinned exactly (no range operator) so generated infrastructure is reproducible.
|
|
381
387
|
*/ export const TERRAFORM_VERSIONS = {
|
|
382
|
-
aws: '6.
|
|
388
|
+
aws: '6.63.0',
|
|
383
389
|
random: '3.9.0',
|
|
384
390
|
null: '3.3.1',
|
|
385
391
|
archive: '2.8.0',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../packages/nx-plugin/src/utils/versions.ts"],"sourcesContent":["/**\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\nimport {\n type DeclaredPy,\n type DeclaredTs,\n type DependencyDeclaration,\n declaredNames,\n} from './declared-dependencies.js';\n\n/**\n * Versons for TypeScript dependencies added by generators\n */\nexport const TS_VERSIONS = {\n '@a2a-js/sdk': '0.3.14',\n '@aws/aws-distro-opentelemetry-node-autoinstrumentation': '0.12.0',\n // Pinned above the version the ADOT autoinstrumentation package resolves\n // transitively (2.8.0) to clear CVE-2026-59892 (HIGH).\n '@opentelemetry/propagator-jaeger': '2.10.0',\n // Overridden in the vended agent/MCP image builds to clear CVE-2026-14257\n // (HIGH) in brace-expansion: minimatch 10 is the lowest major depending on\n // brace-expansion 5.x, the only line Trivy's `< 5.0.8` advisory range treats\n // as fixed. Overriding brace-expansion directly is not viable — 5.x drops the\n // CommonJS default export that minimatch 9 calls.\n minimatch: '10.2.6',\n '@aws-sdk/client-dynamodb': '3.1121.0',\n '@aws-sdk/client-api-gateway': '3.1121.0',\n '@aws-sdk/client-iam': '3.1121.0',\n '@aws-sdk/client-bedrock-agentcore': '3.1121.0',\n '@aws-sdk/client-bedrock-runtime': '3.1121.0',\n '@aws-sdk/client-s3': '3.1121.0',\n '@aws-sdk/client-sts': '3.1121.0',\n '@aws-sdk/credential-providers': '3.1121.0',\n '@aws-sdk/credential-provider-cognito-identity': '3.972.69',\n '@aws-sdk/client-secrets-manager': '3.1121.0',\n '@aws-sdk/rds-signer': '3.1121.0',\n '@smithy/server-apigateway': '0.3.3',\n '@smithy/server-node': '0.3.3',\n '@aws-lambda-powertools/logger': '2.35.0',\n '@aws-lambda-powertools/metrics': '2.35.0',\n '@aws-lambda-powertools/parameters': '2.35.0',\n '@aws-lambda-powertools/tracer': '2.35.0',\n '@aws-lambda-powertools/parser': '2.35.0',\n '@aws-sdk/client-appconfigdata': '3.1121.0',\n '@middy/core': '7.9.2',\n '@nxlv/python': '23.0.0',\n '@nx-extend/terraform': '10.4.1',\n // These must all hold the same version — see NX_PACKAGES.\n nx: '23.2.0',\n '@nx/devkit': '23.2.0',\n '@nx/js': '23.2.0',\n '@nx/react': '23.2.0',\n '@nx/vite': '23.2.0',\n '@nx/vitest': '23.2.0',\n '@nx/workspace': '23.2.0',\n 'create-nx-workspace': '23.2.0',\n '@swc-node/register': '1.12.1',\n '@swc/core': '1.16.1',\n '@modelcontextprotocol/sdk': '1.30.0',\n '@modelcontextprotocol/inspector': '2.4.0',\n '@ag-ui/a2ui-toolkit': '0.0.4',\n '@ag-ui/aws-strands': '0.2.3',\n '@ag-ui/client': '0.0.57',\n '@ag-ui/core': '0.0.57',\n '@ag-ui/encoder': '0.0.57',\n 'agent-chat-cli': '0.3.0',\n '@copilotkit/react-core': '1.69.3',\n rxjs: '7.8.2',\n '@strands-agents/sdk': '1.15.0',\n '@tanstack/react-router': '1.170.32',\n '@tanstack/router-plugin': '1.168.35',\n '@tanstack/router-generator': '1.167.33',\n '@tanstack/virtual-file-routes': '1.162.0',\n '@tanstack/router-utils': '1.162.2',\n '@cloudscape-design/board-components': '3.0.221',\n '@cloudscape-design/chat-components': '1.0.165',\n '@cloudscape-design/components': '3.0.1356',\n '@cloudscape-design/global-styles': '1.0.67',\n '@tanstack/react-query': '5.102.8',\n '@tanstack/react-query-devtools': '5.102.8',\n '@trpc/tanstack-react-query': '11.18.0',\n '@trpc/client': '11.18.0',\n '@trpc/server': '11.18.0',\n '@types/node': '26.4.0',\n '@types/aws-lambda': '8.10.162',\n '@types/cors': '2.8.19',\n '@types/pg': '8.23.1',\n '@types/ws': '8.18.1',\n '@types/express': '5.0.6',\n '@smithy/config-resolver': '4.7.2',\n '@smithy/node-config-provider': '4.6.2',\n '@smithy/node-http-handler': '4.11.3',\n '@smithy/types': '4.17.2',\n '@vitest/coverage-v8': '4.1.11',\n '@vitest/ui': '4.1.11',\n '@astrojs/react': '6.0.4',\n '@astrojs/starlight': '0.41.10',\n astro: '7.2.9',\n cookie: '2.0.1',\n aws4fetch: '1.0.20',\n 'aws-cdk': '2.1139.0',\n 'aws-cdk-lib': '2.267.0',\n 'aws-xray-sdk-core': '3.12.0',\n constructs: '10.8.1',\n cors: '2.8.6',\n chalk: '6.0.0',\n 'class-variance-authority': '0.7.1',\n clsx: '2.1.1',\n commander: '15.0.0',\n electrodb: '3.9.3',\n esbuild: '0.28.2',\n 'event-source-polyfill': '1.0.31',\n '@types/event-source-polyfill': '1.0.5',\n '@biomejs/biome': '2.5.11',\n '@prisma/adapter-mariadb': '7.10.0',\n '@prisma/adapter-pg': '7.10.0',\n '@prisma/client': '7.10.0',\n ejs: '6.0.1',\n '@types/ejs': '3.1.5',\n express: '5.2.1',\n 'fast-glob': '3.3.3',\n husky: '9.1.7',\n 'fs-extra': '11.4.0',\n '@types/fs-extra': '11.0.4',\n mariadb: '3.5.3',\n mise: '2026.8.14',\n npm: '12.0.2',\n 'npm-check-updates': '23.1.0',\n 'oidc-client-ts': '3.5.0',\n pg: '8.23.0',\n prisma: '7.10.0',\n 'react-oidc-context': '3.3.1',\n react: '19.2.8',\n 'react-dom': '19.2.8',\n rolldown: '1.2.6',\n 'rolldown-plugin-dts': '0.28.3',\n shx: '0.4.0',\n 'simple-git': '3.36.0',\n 'source-map-support': '0.5.21',\n 'starlight-blog': '0.29.0',\n tailwindcss: '4.3.3',\n '@tailwindcss/vite': '4.3.3',\n tsx: '4.23.12',\n 'lucide-react': '1.37.0',\n 'radix-ui': '1.6.7',\n shadcn: '4.19.0',\n 'tw-animate-css': '1.4.0',\n 'tailwind-merge': '3.6.0',\n vite: '8.2.2',\n typescript: '6.0.3',\n vitest: '4.1.11',\n // The `testEnvironment` @nx/vitest writes into every generated config.\n jsdom: '27.4.0',\n zod: '4.5.4',\n ws: '8.21.3',\n} as const;\nexport type ITsDepVersion = keyof typeof TS_VERSIONS;\n\n/**\n * Dependencies that must move as a unit, held at the lowest version proposed\n * across each group by the version update. Members must share a version line.\n *\n * The wasm formatter bindings are dependencies of this repo rather than vended\n * pins, so they are named here but versioned in the manifests.\n */\nexport const LOCKSTEP_GROUPS = [\n // A duplicate `@ag-ui/client` fails every generated website with TS2322.\n ['@ag-ui/client', '@ag-ui/core', '@ag-ui/encoder'],\n // The wasm bindings format generated files; the CLI checks them.\n ['@biomejs/wasm-nodejs', '@biomejs/biome'],\n ['@astral-sh/ruff-wasm-nodejs', 'ruff'],\n] as const satisfies readonly (readonly [string, string, ...string[]])[];\n\n/**\n * Add versions to the given dependencies, which the declaration must own.\n *\n * @param declaration the calling generator's `DEPENDENCIES`\n */\nexport const withVersions = <D extends DependencyDeclaration>(\n declaration: D,\n deps: readonly DeclaredTs<D>[],\n): Record<string, string> => {\n assertDeclared(declaration.ts, deps, 'ts');\n return Object.fromEntries(\n deps.map((dep) => [dep, TS_VERSIONS[dep as ITsDepVersion]]),\n );\n};\n\n/**\n * The `nx` and `@nx/*` packages a generated workspace pins, all of which must\n * hold the same version: a workspace nx even a patch apart hoists a second\n * nested nx, and the two deadlock `nx sync`.\n *\n * Bumping them in a user's workspace requires `packageJsonUpdates` rather than a\n * migration — see `version-upgrade-migration/nx-package-updates.ts`.\n */\nexport const NX_PACKAGES = [\n 'nx',\n '@nx/devkit',\n '@nx/js',\n '@nx/react',\n '@nx/vite',\n '@nx/vitest',\n '@nx/workspace',\n] as const satisfies readonly ITsDepVersion[];\n\n/**\n * The nx version the plugin is built against, and the single source of truth\n * for every place a workspace's nx is pinned.\n */\nexport const NX_VERSION = TS_VERSIONS.nx;\n\n/**\n * Versions for Python dependencies added by generators\n */\nexport const PY_VERSIONS = {\n 'a2a-sdk': '==0.3.26',\n 'ag-ui-langgraph': '==0.0.44',\n 'ag-ui-protocol': '==0.1.21',\n 'ag-ui-strands': '==0.3.0',\n aiosqlite: '==0.22.1',\n 'aws-lambda-powertools': '==3.34.0',\n 'aws-lambda-powertools[tracer]': '==3.34.0',\n 'aws-lambda-powertools[parser]': '==3.34.0',\n 'aws-opentelemetry-distro': '==0.19.0',\n 'bedrock-agentcore': '==1.22.0',\n boto3: '==1.43.83',\n checkov: '==3.3.16',\n fastapi: '==0.141.1',\n 'fastapi[standard]': '==0.141.1',\n httpx: '==0.28.1',\n langchain: '==1.3.18',\n 'langchain-aws': '==1.7.4',\n 'langchain-mcp-adapters': '==0.3.2',\n langgraph: '==1.2.11',\n 'langgraph-checkpoint-aws': '==1.2.2',\n 'langgraph-checkpoint-sqlite': '==3.1.1',\n mcp: '==1.28.1',\n 'pip-check-updates': '==0.29.0',\n 'pip-licenses': '==5.5.5',\n ruff: '==0.16.5',\n 'strands-agents': '==1.54.0',\n 'strands-agents[a2a]': '==1.54.0',\n 'strands-agents-tools': '==0.8.7',\n ty: '==0.0.75',\n pynamodb: '==6.1.0',\n uvicorn: '==0.52.4',\n sqlmodel: '==0.0.42',\n alembic: '==1.19.1',\n aiomysql: '==0.3.2',\n asyncpg: '==0.31.0',\n // Pinned explicitly: SQLAlchemy's async engine pulls greenlet transitively,\n // and leaving it unpinned lets uv resolve to a just-released version whose\n // platform wheels may not all be published yet (breaking aarch64 installs).\n greenlet: '==3.5.5',\n} as const;\nexport type IPyDepVersion = keyof typeof PY_VERSIONS;\n\n/**\n * Add versions to the given dependencies\n */\nexport const withPyVersions = <D extends DependencyDeclaration>(\n declaration: D,\n deps: readonly DeclaredPy<D>[],\n): string[] => {\n assertDeclared(declaration.py, deps, 'py');\n return deps.map((dep) => `${dep}${PY_VERSIONS[dep as IPyDepVersion]}`);\n};\n\n/** Catches undeclared packages that reach here past the type checker. */\nconst assertDeclared = (\n declared: readonly { readonly name: string }[],\n deps: readonly unknown[],\n kind: 'ts' | 'py',\n): void => {\n const names = declaredNames(declared);\n const undeclared = deps.filter((dep) => !names.includes(dep as string));\n if (undeclared.length > 0) {\n throw new Error(\n `Undeclared ${kind} dependencies: ${undeclared.join(', ')}. Add them to the generator's declareDependencies({ ${kind}: [...] }).`,\n );\n }\n};\n\n/**\n * Versions for vendored tools\n */\nexport const VENDORED_VERSIONS = {\n 'git-secrets': '1.3.0',\n} as const;\n\n/**\n * Versions of Java dependencies added by generators, keyed by Maven coordinate.\n *\n * Every entry is resolved from Maven Central by the version update and named\n * `<group>:<artifact>:<version>` where a generator writes it.\n */\nexport const JAVA_VERSIONS = {\n 'software.amazon.smithy:smithy-model': '1.73.0',\n 'software.amazon.smithy:smithy-aws-traits': '1.73.0',\n 'software.amazon.smithy:smithy-validation-model': '1.73.0',\n 'software.amazon.smithy:smithy-openapi': '1.73.0',\n 'software.amazon.smithy.typescript:smithy-aws-typescript-codegen': '0.53.0',\n} as const;\nexport type IJavaVersion = keyof typeof JAVA_VERSIONS;\n\n/** The Maven coordinates the version update resolves, in declaration order. */\nexport const JAVA_ARTIFACTS = Object.keys(JAVA_VERSIONS) as IJavaVersion[];\n\n/** A Maven coordinate as a dependency names it: `<group>:<artifact>:<version>`. */\nexport const javaMavenDependency = (artifact: IJavaVersion): string =>\n `${artifact}:${JAVA_VERSIONS[artifact]}`;\n\n/**\n * Versions of tools resolved by mise, keyed by the tool name mise knows.\n *\n * Every entry is checked with `mise latest <tool>` by the version update. Nothing\n * is installed into the workspace: the pin travels in the `project.json` target\n * command, which is what the version sync reaches to move it forward.\n */\nexport const MISE_VERSIONS = {\n smithy: '1.73.0',\n} as const;\nexport type IMiseVersion = keyof typeof MISE_VERSIONS;\n\n/** The tools the version update resolves through mise, in declaration order. */\nexport const MISE_TOOLS = Object.keys(MISE_VERSIONS) as IMiseVersion[];\n\n/**\n * Base container images used by generated Dockerfiles. Pinned exactly so\n * generated images are reproducible, and chosen to be free of known\n * HIGH/CRITICAL vulnerabilities at time of generation.\n */\nexport const BASE_IMAGES = {\n node: 'public.ecr.aws/docker/library/node:lts-slim',\n python: 'public.ecr.aws/docker/library/python:3.14-slim',\n} as const;\n\n/**\n * Versions for container tooling used by generated image build/scan targets.\n * Pinned exactly so generated images are reproducible.\n */\nexport const CONTAINER_VERSIONS = {\n // ECR-hosted Trivy image used to scan built images during the build.\n trivy: '0.72.0',\n} as const;\n\n/**\n * Repository each pinned tool image is pulled from, keyed as\n * {@link CONTAINER_VERSIONS}. Kept beside the versions so a tool added here is\n * one entry rather than a reference built somewhere else, which is also what\n * lets the version sync find these pins wherever a target command runs them.\n */\nexport const CONTAINER_REPOSITORIES = {\n trivy: 'public.ecr.aws/aquasecurity/trivy',\n} as const satisfies Record<keyof typeof CONTAINER_VERSIONS, string>;\n\n/** The pinned reference for a tool image, as a target command runs it. */\nexport const containerImage = (tool: keyof typeof CONTAINER_VERSIONS): string =>\n `${CONTAINER_REPOSITORIES[tool]}:${CONTAINER_VERSIONS[tool]}`;\n\n/**\n * The managed Lambda runtimes generated infrastructure targets, as the single\n * source both IaC providers derive from.\n *\n * CDK and Terraform name the same runtime differently — `Runtime.NODEJS_24_X`\n * against `nodejs24.x` — so deriving both from the version here keeps a bump one\n * edit that moves them together. Resolved by the version update workflow.\n */\nexport const LAMBDA_RUNTIME_VERSIONS = {\n node: '24',\n python: '3.14',\n} as const;\nexport type ILambdaRuntime = keyof typeof LAMBDA_RUNTIME_VERSIONS;\n\n/**\n * The managed AgentCore Runtime runtimes generated infrastructure targets, for\n * agents and MCP servers packaged as code rather than as a container image.\n *\n * Tracked separately from {@link LAMBDA_RUNTIME_VERSIONS}: AgentCore publishes\n * its own, smaller set, so a Lambda bump would otherwise move these to a runtime\n * AgentCore rejects at create time. Resolved by the version update workflow from\n * the `AgentCoreRuntime` members `aws-cdk-lib` publishes, the same source the\n * Lambda runtimes come from.\n */\nexport const AGENT_CORE_RUNTIME_VERSIONS = {\n node: '22',\n python: '3.14',\n} as const;\nexport type IAgentCoreRuntime = keyof typeof AGENT_CORE_RUNTIME_VERSIONS;\n\n/**\n * The runtime as AgentCore's `runtime` field names it, e.g. `NODE_22` or\n * `PYTHON_3_14`.\n */\nexport const agentCoreRuntime = (runtime: IAgentCoreRuntime): string =>\n runtime === 'node'\n ? `NODE_${AGENT_CORE_RUNTIME_VERSIONS.node}`\n : `PYTHON_${AGENT_CORE_RUNTIME_VERSIONS.python.replace('.', '_')}`;\n\n/**\n * The interpreter uv pins for a generated Python project, as the Lambda runtime's\n * `major.minor`.\n *\n * No patch: uv reads this as a request for any patch of that minor, so it resolves\n * whichever one the platform has a build for. Naming an exact patch pins one that\n * may not exist everywhere, and Lambda patches the interpreter itself, so the minor\n * is the whole of what a project needs to agree on.\n */\nexport const pyenvPythonVersion = (): string => LAMBDA_RUNTIME_VERSIONS.python;\n\n/**\n * The `[project].requires-python` specifier for a generated Python project.\n *\n * A lower bound on the Lambda runtime's `major.minor`: the deployed interpreter\n * is that version, and Ruff derives its `target-version` from this (`py314`), so\n * lint targets the same version the function runs on.\n */\nexport const pyprojectPythonDependency = (): string =>\n `>=${LAMBDA_RUNTIME_VERSIONS.python}`;\n\n/** The runtime as Terraform's `runtime` attribute names it, e.g. `nodejs24.x`. */\nexport const terraformLambdaRuntime = (runtime: ILambdaRuntime): string =>\n runtime === 'node'\n ? `nodejs${LAMBDA_RUNTIME_VERSIONS.node}.x`\n : `python${LAMBDA_RUNTIME_VERSIONS.python}`;\n\n/**\n * The runtime as an `aws-cdk-lib` `Runtime` member, e.g. `Runtime.NODEJS_24_X`.\n * Always an explicitly versioned member, never a `_LATEST` alias.\n */\nexport const cdkLambdaRuntime = (runtime: ILambdaRuntime): string =>\n runtime === 'node'\n ? `Runtime.NODEJS_${LAMBDA_RUNTIME_VERSIONS.node}_X`\n : `Runtime.PYTHON_${LAMBDA_RUNTIME_VERSIONS.python.replace('.', '_')}`;\n\n/**\n * Substitution variables exposing the pinned runtimes to generated CDK\n * templates (e.g. `runtime: <%- nodeRuntime %>`). Paired with\n * {@link terraformLambdaRuntimeVars}, which names the same variables so a\n * template reads alike under either provider.\n */\nexport const cdkLambdaRuntimeVars = () => ({\n nodeRuntime: cdkLambdaRuntime('node'),\n pythonRuntime: cdkLambdaRuntime('python'),\n});\n\n/**\n * Substitution variables exposing the pinned runtimes to generated `.tf`\n * templates (e.g. `runtime = \"<%- nodeRuntime %>\"`).\n */\nexport const terraformLambdaRuntimeVars = () => ({\n nodeRuntime: terraformLambdaRuntime('node'),\n pythonRuntime: terraformLambdaRuntime('python'),\n});\n\n/**\n * Exact versions for Terraform providers used by generated `.tf` modules.\n * Pinned exactly (no range operator) so generated infrastructure is reproducible.\n */\nexport const TERRAFORM_VERSIONS = {\n aws: '6.62.0',\n random: '3.9.0',\n null: '3.3.1',\n archive: '2.8.0',\n external: '2.4.1',\n local: '2.9.0',\n time: '0.14.1',\n} as const;\nexport type ITerraformProviderVersion = keyof typeof TERRAFORM_VERSIONS;\n\n/**\n * Substitution variables exposing Terraform provider version constraints to\n * generated `.tf` templates (e.g. `version = \"<%- awsProviderVersion %>\"`)\n */\nexport const terraformProviderVersions = () => ({\n awsProviderVersion: TERRAFORM_VERSIONS.aws,\n randomProviderVersion: TERRAFORM_VERSIONS.random,\n nullProviderVersion: TERRAFORM_VERSIONS.null,\n archiveProviderVersion: TERRAFORM_VERSIONS.archive,\n externalProviderVersion: TERRAFORM_VERSIONS.external,\n localProviderVersion: TERRAFORM_VERSIONS.local,\n timeProviderVersion: TERRAFORM_VERSIONS.time,\n});\n"],"names":["declaredNames","TS_VERSIONS","minimatch","nx","rxjs","astro","cookie","aws4fetch","constructs","cors","chalk","clsx","commander","electrodb","esbuild","ejs","express","husky","mariadb","mise","npm","pg","prisma","react","rolldown","shx","tailwindcss","tsx","shadcn","vite","typescript","vitest","jsdom","zod","ws","LOCKSTEP_GROUPS","withVersions","declaration","deps","assertDeclared","ts","Object","fromEntries","map","dep","NX_PACKAGES","NX_VERSION","PY_VERSIONS","aiosqlite","boto3","checkov","fastapi","httpx","langchain","langgraph","mcp","ruff","ty","pynamodb","uvicorn","sqlmodel","alembic","aiomysql","asyncpg","greenlet","withPyVersions","py","declared","kind","names","undeclared","filter","includes","length","Error","join","VENDORED_VERSIONS","JAVA_VERSIONS","JAVA_ARTIFACTS","keys","javaMavenDependency","artifact","MISE_VERSIONS","smithy","MISE_TOOLS","BASE_IMAGES","node","python","CONTAINER_VERSIONS","trivy","CONTAINER_REPOSITORIES","containerImage","tool","LAMBDA_RUNTIME_VERSIONS","AGENT_CORE_RUNTIME_VERSIONS","agentCoreRuntime","runtime","replace","pyenvPythonVersion","pyprojectPythonDependency","terraformLambdaRuntime","cdkLambdaRuntime","cdkLambdaRuntimeVars","nodeRuntime","pythonRuntime","terraformLambdaRuntimeVars","TERRAFORM_VERSIONS","aws","random","null","archive","external","local","time","terraformProviderVersions","awsProviderVersion","randomProviderVersion","nullProviderVersion","archiveProviderVersion","externalProviderVersion","localProviderVersion","timeProviderVersion"],"mappings":"AAAA;;;CAGC,GACD,SAIEA,aAAa,QACR,6BAA6B;AAEpC;;CAEC,GACD,OAAO,MAAMC,cAAc;IACzB,eAAe;IACf,0DAA0D;IAC1D,yEAAyE;IACzE,uDAAuD;IACvD,oCAAoC;IACpC,0EAA0E;IAC1E,2EAA2E;IAC3E,6EAA6E;IAC7E,8EAA8E;IAC9E,kDAAkD;IAClDC,WAAW;IACX,4BAA4B;IAC5B,+BAA+B;IAC/B,uBAAuB;IACvB,qCAAqC;IACrC,mCAAmC;IACnC,sBAAsB;IACtB,uBAAuB;IACvB,iCAAiC;IACjC,iDAAiD;IACjD,mCAAmC;IACnC,uBAAuB;IACvB,6BAA6B;IAC7B,uBAAuB;IACvB,iCAAiC;IACjC,kCAAkC;IAClC,qCAAqC;IACrC,iCAAiC;IACjC,iCAAiC;IACjC,iCAAiC;IACjC,eAAe;IACf,gBAAgB;IAChB,wBAAwB;IACxB,0DAA0D;IAC1DC,IAAI;IACJ,cAAc;IACd,UAAU;IACV,aAAa;IACb,YAAY;IACZ,cAAc;IACd,iBAAiB;IACjB,uBAAuB;IACvB,sBAAsB;IACtB,aAAa;IACb,6BAA6B;IAC7B,mCAAmC;IACnC,uBAAuB;IACvB,sBAAsB;IACtB,iBAAiB;IACjB,eAAe;IACf,kBAAkB;IAClB,kBAAkB;IAClB,0BAA0B;IAC1BC,MAAM;IACN,uBAAuB;IACvB,0BAA0B;IAC1B,2BAA2B;IAC3B,8BAA8B;IAC9B,iCAAiC;IACjC,0BAA0B;IAC1B,uCAAuC;IACvC,sCAAsC;IACtC,iCAAiC;IACjC,oCAAoC;IACpC,yBAAyB;IACzB,kCAAkC;IAClC,8BAA8B;IAC9B,gB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BAAqBX,mBAAmBG,IAAI;QAC5CS,wBAAwBZ,mBAAmBI,OAAO;QAClDS,yBAAyBb,mBAAmBK,QAAQ;QACpDS,sBAAsBd,mBAAmBM,KAAK;QAC9CS,qBAAqBf,mBAAmBO,IAAI;IAC9C,CAAA,EAAG"}
|
|
1
|
+
{"version":3,"sources":["../../../../../packages/nx-plugin/src/utils/versions.ts"],"sourcesContent":["/**\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\nimport {\n type DeclaredPy,\n type DeclaredTs,\n type DependencyDeclaration,\n declaredNames,\n} from './declared-dependencies.js';\n\n/**\n * Versons for TypeScript dependencies added by generators\n */\nexport const TS_VERSIONS = {\n '@a2a-js/sdk': '0.3.14',\n '@aws/aws-distro-opentelemetry-node-autoinstrumentation': '0.12.0',\n // Pinned above the version the ADOT autoinstrumentation package resolves\n // transitively (2.8.0) to clear CVE-2026-59892 (HIGH).\n '@opentelemetry/propagator-jaeger': '2.11.0',\n // Overridden in the vended agent/MCP image builds to clear CVE-2026-14257\n // (HIGH) in brace-expansion: minimatch 10 is the lowest major depending on\n // brace-expansion 5.x, the only line Trivy's `< 5.0.8` advisory range treats\n // as fixed. Overriding brace-expansion directly is not viable — 5.x drops the\n // CommonJS default export that minimatch 9 calls.\n minimatch: '10.2.6',\n // Both overridden in the vended RDB migration image build, which installs the\n // prisma CLI to run migrations: its own ranges resolve deepmerge-ts below the\n // CVE-2026-40345 fix (HIGH) and mysql2 below the GHSA-3f6p-5ww8-9rcr fix\n // (HIGH). Neither is imported by the handler, which drives the schema engine.\n 'deepmerge-ts': '8.0.2',\n mysql2: '3.24.3',\n '@aws-sdk/client-dynamodb': '3.1126.0',\n '@aws-sdk/client-api-gateway': '3.1126.0',\n '@aws-sdk/client-iam': '3.1126.0',\n '@aws-sdk/client-bedrock-agentcore': '3.1126.0',\n '@aws-sdk/client-bedrock-runtime': '3.1126.0',\n '@aws-sdk/client-s3': '3.1126.0',\n '@aws-sdk/client-sts': '3.1126.0',\n '@aws-sdk/client-cognito-identity-provider': '3.1126.0',\n '@aws-sdk/credential-providers': '3.1126.0',\n '@aws-sdk/credential-provider-cognito-identity': '3.972.69',\n '@aws-sdk/client-secrets-manager': '3.1126.0',\n '@aws-sdk/rds-signer': '3.1126.0',\n '@smithy/server-apigateway': '0.3.3',\n '@smithy/server-node': '0.3.3',\n '@aws-lambda-powertools/logger': '2.35.0',\n '@aws-lambda-powertools/metrics': '2.35.0',\n '@aws-lambda-powertools/parameters': '2.35.0',\n '@aws-lambda-powertools/tracer': '2.35.0',\n '@aws-lambda-powertools/parser': '2.35.0',\n '@aws-sdk/client-appconfigdata': '3.1126.0',\n '@middy/core': '7.9.2',\n '@nxlv/python': '23.0.0',\n '@nx-extend/terraform': '10.4.1',\n // These must all hold the same version — see NX_PACKAGES.\n nx: '23.2.0',\n '@nx/devkit': '23.2.0',\n '@nx/js': '23.2.0',\n '@nx/react': '23.2.0',\n '@nx/vite': '23.2.0',\n '@nx/vitest': '23.2.0',\n '@nx/workspace': '23.2.0',\n 'create-nx-workspace': '23.2.0',\n '@swc-node/register': '1.12.1',\n '@swc/core': '1.16.1',\n '@modelcontextprotocol/sdk': '1.30.0',\n '@modelcontextprotocol/inspector': '2.5.0',\n '@ag-ui/a2ui-toolkit': '0.0.4',\n '@ag-ui/aws-strands': '0.2.3',\n '@ag-ui/client': '0.0.59',\n '@ag-ui/core': '0.0.59',\n '@ag-ui/encoder': '0.0.59',\n 'agent-chat-cli': '0.3.0',\n '@copilotkit/react-core': '1.70.1',\n rxjs: '7.8.2',\n '@strands-agents/sdk': '1.15.0',\n '@tanstack/react-router': '1.170.32',\n '@tanstack/router-plugin': '1.168.35',\n '@tanstack/router-generator': '1.167.33',\n '@tanstack/virtual-file-routes': '1.162.0',\n '@tanstack/router-utils': '1.162.2',\n '@cloudscape-design/board-components': '3.0.222',\n '@cloudscape-design/chat-components': '1.0.166',\n '@cloudscape-design/components': '3.0.1359',\n '@cloudscape-design/global-styles': '1.0.67',\n '@tanstack/react-query': '5.102.8',\n '@tanstack/react-query-devtools': '5.102.8',\n '@trpc/tanstack-react-query': '11.18.0',\n '@trpc/client': '11.18.0',\n '@trpc/server': '11.18.0',\n '@types/node': '26.4.1',\n '@types/aws-lambda': '8.10.163',\n '@types/cors': '2.8.19',\n '@types/pg': '8.23.1',\n '@types/ws': '8.18.1',\n '@types/express': '5.0.6',\n '@smithy/config-resolver': '4.7.2',\n '@smithy/node-config-provider': '4.6.2',\n '@smithy/node-http-handler': '4.12.1',\n '@smithy/types': '4.18.0',\n '@vitest/coverage-v8': '4.1.11',\n '@vitest/ui': '4.1.11',\n '@astrojs/react': '6.0.5',\n '@astrojs/starlight': '0.42.0',\n astro: '7.3.1',\n cookie: '2.0.1',\n aws4fetch: '1.0.20',\n 'aws-cdk': '2.1139.0',\n 'aws-cdk-lib': '2.268.0',\n 'aws-xray-sdk-core': '3.12.0',\n constructs: '10.8.1',\n cors: '2.8.6',\n chalk: '6.0.0',\n 'class-variance-authority': '0.7.1',\n cn: '0.2.5',\n commander: '15.0.0',\n electrodb: '3.9.3',\n esbuild: '0.28.2',\n 'event-source-polyfill': '1.0.31',\n '@types/event-source-polyfill': '1.0.5',\n '@biomejs/biome': '2.5.12',\n '@prisma/adapter-mariadb': '7.10.0',\n '@prisma/adapter-pg': '7.10.0',\n '@prisma/client': '7.10.0',\n ejs: '6.0.1',\n '@types/ejs': '3.1.5',\n express: '5.2.1',\n 'fast-glob': '3.3.3',\n husky: '9.1.7',\n 'fs-extra': '11.4.0',\n '@types/fs-extra': '11.0.4',\n mariadb: '3.5.4',\n mise: '2026.9.1',\n npm: '12.0.2',\n 'npm-check-updates': '23.1.0',\n 'oidc-client-ts': '3.5.0',\n pg: '8.23.0',\n prisma: '7.10.0',\n 'react-oidc-context': '3.3.1',\n react: '19.2.8',\n 'react-dom': '19.2.8',\n rolldown: '1.2.7',\n 'rolldown-plugin-dts': '0.28.5',\n shx: '0.4.0',\n 'simple-git': '3.36.0',\n 'source-map-support': '0.5.21',\n 'starlight-blog': '0.29.0',\n tailwindcss: '4.3.3',\n '@tailwindcss/vite': '4.3.3',\n tsx: '4.23.13',\n 'lucide-react': '1.40.0',\n 'radix-ui': '1.6.7',\n shadcn: '4.21.0',\n 'tw-animate-css': '1.4.0',\n vite: '8.2.2',\n typescript: '6.0.3',\n vitest: '4.1.11',\n // The `testEnvironment` @nx/vitest writes into every generated config.\n jsdom: '29.1.1',\n zod: '4.5.4',\n ws: '8.21.3',\n} as const;\nexport type ITsDepVersion = keyof typeof TS_VERSIONS;\n\n/**\n * Dependencies that must move as a unit, held at the lowest version proposed\n * across each group by the version update. Members must share a version line.\n *\n * The wasm formatter bindings are dependencies of this repo rather than vended\n * pins, so they are named here but versioned in the manifests.\n */\nexport const LOCKSTEP_GROUPS = [\n // A duplicate `@ag-ui/client` fails every generated website with TS2322.\n ['@ag-ui/client', '@ag-ui/core', '@ag-ui/encoder'],\n // The wasm bindings format generated files; the CLI checks them.\n ['@biomejs/wasm-nodejs', '@biomejs/biome'],\n ['@astral-sh/ruff-wasm-nodejs', 'ruff'],\n] as const satisfies readonly (readonly [string, string, ...string[]])[];\n\n/**\n * Add versions to the given dependencies, which the declaration must own.\n *\n * @param declaration the calling generator's `DEPENDENCIES`\n */\nexport const withVersions = <D extends DependencyDeclaration>(\n declaration: D,\n deps: readonly DeclaredTs<D>[],\n): Record<string, string> => {\n assertDeclared(declaration.ts, deps, 'ts');\n return Object.fromEntries(\n deps.map((dep) => [dep, TS_VERSIONS[dep as ITsDepVersion]]),\n );\n};\n\n/**\n * The `nx` and `@nx/*` packages a generated workspace pins, all of which must\n * hold the same version: a workspace nx even a patch apart hoists a second\n * nested nx, and the two deadlock `nx sync`.\n *\n * Bumping them in a user's workspace requires `packageJsonUpdates` rather than a\n * migration — see `version-upgrade-migration/nx-package-updates.ts`.\n */\nexport const NX_PACKAGES = [\n 'nx',\n '@nx/devkit',\n '@nx/js',\n '@nx/react',\n '@nx/vite',\n '@nx/vitest',\n '@nx/workspace',\n] as const satisfies readonly ITsDepVersion[];\n\n/**\n * The nx version the plugin is built against, and the single source of truth\n * for every place a workspace's nx is pinned.\n */\nexport const NX_VERSION = TS_VERSIONS.nx;\n\n/**\n * Versions for Python dependencies added by generators\n */\nexport const PY_VERSIONS = {\n 'a2a-sdk': '==0.3.26',\n 'ag-ui-langgraph': '==0.0.44',\n 'ag-ui-protocol': '==0.1.22',\n 'ag-ui-strands': '==0.3.0',\n aiosqlite: '==0.22.1',\n 'aws-lambda-powertools': '==3.34.0',\n 'aws-lambda-powertools[tracer]': '==3.34.0',\n 'aws-lambda-powertools[parser]': '==3.34.0',\n 'aws-opentelemetry-distro': '==0.19.0',\n 'bedrock-agentcore': '==1.22.0',\n boto3: '==1.43.89',\n checkov: '==3.3.16',\n fastapi: '==0.141.1',\n 'fastapi[standard]': '==0.141.1',\n httpx: '==0.28.1',\n langchain: '==1.4.0',\n 'langchain-aws': '==1.7.5',\n 'langchain-mcp-adapters': '==0.3.2',\n langgraph: '==1.2.11',\n 'langgraph-checkpoint-aws': '==1.2.3',\n 'langgraph-checkpoint-sqlite': '==3.1.1',\n mcp: '==1.28.1',\n 'pip-check-updates': '==0.29.0',\n 'pip-licenses': '==5.5.5',\n ruff: '==0.16.6',\n 'strands-agents': '==1.54.0',\n 'strands-agents[a2a]': '==1.54.0',\n 'strands-agents-tools': '==0.8.8',\n ty: '==0.0.78',\n pynamodb: '==6.1.0',\n uvicorn: '==0.52.4',\n sqlmodel: '==0.0.42',\n alembic: '==1.19.2',\n aiomysql: '==0.3.2',\n asyncpg: '==0.31.0',\n // Pinned explicitly: SQLAlchemy's async engine pulls greenlet transitively,\n // and leaving it unpinned lets uv resolve to a just-released version whose\n // platform wheels may not all be published yet (breaking aarch64 installs).\n greenlet: '==3.5.5',\n} as const;\nexport type IPyDepVersion = keyof typeof PY_VERSIONS;\n\n/**\n * Add versions to the given dependencies\n */\nexport const withPyVersions = <D extends DependencyDeclaration>(\n declaration: D,\n deps: readonly DeclaredPy<D>[],\n): string[] => {\n assertDeclared(declaration.py, deps, 'py');\n return deps.map((dep) => `${dep}${PY_VERSIONS[dep as IPyDepVersion]}`);\n};\n\n/** Catches undeclared packages that reach here past the type checker. */\nconst assertDeclared = (\n declared: readonly { readonly name: string }[],\n deps: readonly unknown[],\n kind: 'ts' | 'py',\n): void => {\n const names = declaredNames(declared);\n const undeclared = deps.filter((dep) => !names.includes(dep as string));\n if (undeclared.length > 0) {\n throw new Error(\n `Undeclared ${kind} dependencies: ${undeclared.join(', ')}. Add them to the generator's declareDependencies({ ${kind}: [...] }).`,\n );\n }\n};\n\n/**\n * Versions for vendored tools\n */\nexport const VENDORED_VERSIONS = {\n 'git-secrets': '1.3.0',\n} as const;\n\n/**\n * Versions of Java dependencies added by generators, keyed by Maven coordinate.\n *\n * Every entry is resolved from Maven Central by the version update and named\n * `<group>:<artifact>:<version>` where a generator writes it.\n */\nexport const JAVA_VERSIONS = {\n 'software.amazon.smithy:smithy-model': '1.73.0',\n 'software.amazon.smithy:smithy-aws-traits': '1.73.0',\n 'software.amazon.smithy:smithy-validation-model': '1.73.0',\n 'software.amazon.smithy:smithy-openapi': '1.73.0',\n 'software.amazon.smithy.typescript:smithy-aws-typescript-codegen': '0.53.0',\n} as const;\nexport type IJavaVersion = keyof typeof JAVA_VERSIONS;\n\n/** The Maven coordinates the version update resolves, in declaration order. */\nexport const JAVA_ARTIFACTS = Object.keys(JAVA_VERSIONS) as IJavaVersion[];\n\n/** A Maven coordinate as a dependency names it: `<group>:<artifact>:<version>`. */\nexport const javaMavenDependency = (artifact: IJavaVersion): string =>\n `${artifact}:${JAVA_VERSIONS[artifact]}`;\n\n/**\n * Versions of tools resolved by mise, keyed by the tool name mise knows.\n *\n * Every entry is checked with `mise latest <tool>` by the version update. Nothing\n * is installed into the workspace: the pin travels in the `project.json` target\n * command, which is what the version sync reaches to move it forward.\n */\nexport const MISE_VERSIONS = {\n smithy: '1.73.0',\n} as const;\nexport type IMiseVersion = keyof typeof MISE_VERSIONS;\n\n/** The tools the version update resolves through mise, in declaration order. */\nexport const MISE_TOOLS = Object.keys(MISE_VERSIONS) as IMiseVersion[];\n\n/**\n * Base container images used by generated Dockerfiles. Pinned exactly so\n * generated images are reproducible, and chosen to be free of known\n * HIGH/CRITICAL vulnerabilities at time of generation.\n */\nexport const BASE_IMAGES = {\n node: 'public.ecr.aws/docker/library/node:lts-slim',\n python: 'public.ecr.aws/docker/library/python:3.14-slim',\n} as const;\n\n/**\n * Versions for container tooling used by generated image build/scan targets.\n * Pinned exactly so generated images are reproducible.\n */\nexport const CONTAINER_VERSIONS = {\n // ECR-hosted Trivy image used to scan built images during the build.\n trivy: '0.72.0',\n} as const;\n\n/**\n * Repository each pinned tool image is pulled from, keyed as\n * {@link CONTAINER_VERSIONS}. Kept beside the versions so a tool added here is\n * one entry rather than a reference built somewhere else, which is also what\n * lets the version sync find these pins wherever a target command runs them.\n */\nexport const CONTAINER_REPOSITORIES = {\n trivy: 'public.ecr.aws/aquasecurity/trivy',\n} as const satisfies Record<keyof typeof CONTAINER_VERSIONS, string>;\n\n/** The pinned reference for a tool image, as a target command runs it. */\nexport const containerImage = (tool: keyof typeof CONTAINER_VERSIONS): string =>\n `${CONTAINER_REPOSITORIES[tool]}:${CONTAINER_VERSIONS[tool]}`;\n\n/**\n * The managed Lambda runtimes generated infrastructure targets, as the single\n * source both IaC providers derive from.\n *\n * CDK and Terraform name the same runtime differently — `Runtime.NODEJS_24_X`\n * against `nodejs24.x` — so deriving both from the version here keeps a bump one\n * edit that moves them together. Resolved by the version update workflow.\n */\nexport const LAMBDA_RUNTIME_VERSIONS = {\n node: '24',\n python: '3.14',\n} as const;\nexport type ILambdaRuntime = keyof typeof LAMBDA_RUNTIME_VERSIONS;\n\n/**\n * The managed AgentCore Runtime runtimes generated infrastructure targets, for\n * agents and MCP servers packaged as code rather than as a container image.\n *\n * Tracked separately from {@link LAMBDA_RUNTIME_VERSIONS}: AgentCore publishes\n * its own, smaller set, so a Lambda bump would otherwise move these to a runtime\n * AgentCore rejects at create time. Resolved by the version update workflow from\n * the `AgentCoreRuntime` members `aws-cdk-lib` publishes, the same source the\n * Lambda runtimes come from.\n */\nexport const AGENT_CORE_RUNTIME_VERSIONS = {\n node: '22',\n python: '3.14',\n} as const;\nexport type IAgentCoreRuntime = keyof typeof AGENT_CORE_RUNTIME_VERSIONS;\n\n/**\n * The runtime as AgentCore's `runtime` field names it, e.g. `NODE_22` or\n * `PYTHON_3_14`.\n */\nexport const agentCoreRuntime = (runtime: IAgentCoreRuntime): string =>\n runtime === 'node'\n ? `NODE_${AGENT_CORE_RUNTIME_VERSIONS.node}`\n : `PYTHON_${AGENT_CORE_RUNTIME_VERSIONS.python.replace('.', '_')}`;\n\n/**\n * The interpreter uv pins for a generated Python project, as the Lambda runtime's\n * `major.minor`.\n *\n * No patch: uv reads this as a request for any patch of that minor, so it resolves\n * whichever one the platform has a build for. Naming an exact patch pins one that\n * may not exist everywhere, and Lambda patches the interpreter itself, so the minor\n * is the whole of what a project needs to agree on.\n */\nexport const pyenvPythonVersion = (): string => LAMBDA_RUNTIME_VERSIONS.python;\n\n/**\n * The `[project].requires-python` specifier for a generated Python project.\n *\n * A lower bound on the Lambda runtime's `major.minor`: the deployed interpreter\n * is that version, and Ruff derives its `target-version` from this (`py314`), so\n * lint targets the same version the function runs on.\n */\nexport const pyprojectPythonDependency = (): string =>\n `>=${LAMBDA_RUNTIME_VERSIONS.python}`;\n\n/** The runtime as Terraform's `runtime` attribute names it, e.g. `nodejs24.x`. */\nexport const terraformLambdaRuntime = (runtime: ILambdaRuntime): string =>\n runtime === 'node'\n ? `nodejs${LAMBDA_RUNTIME_VERSIONS.node}.x`\n : `python${LAMBDA_RUNTIME_VERSIONS.python}`;\n\n/**\n * The runtime as an `aws-cdk-lib` `Runtime` member, e.g. `Runtime.NODEJS_24_X`.\n * Always an explicitly versioned member, never a `_LATEST` alias.\n */\nexport const cdkLambdaRuntime = (runtime: ILambdaRuntime): string =>\n runtime === 'node'\n ? `Runtime.NODEJS_${LAMBDA_RUNTIME_VERSIONS.node}_X`\n : `Runtime.PYTHON_${LAMBDA_RUNTIME_VERSIONS.python.replace('.', '_')}`;\n\n/**\n * Substitution variables exposing the pinned runtimes to generated CDK\n * templates (e.g. `runtime: <%- nodeRuntime %>`). Paired with\n * {@link terraformLambdaRuntimeVars}, which names the same variables so a\n * template reads alike under either provider.\n */\nexport const cdkLambdaRuntimeVars = () => ({\n nodeRuntime: cdkLambdaRuntime('node'),\n pythonRuntime: cdkLambdaRuntime('python'),\n});\n\n/**\n * Substitution variables exposing the pinned runtimes to generated `.tf`\n * templates (e.g. `runtime = \"<%- nodeRuntime %>\"`).\n */\nexport const terraformLambdaRuntimeVars = () => ({\n nodeRuntime: terraformLambdaRuntime('node'),\n pythonRuntime: terraformLambdaRuntime('python'),\n});\n\n/**\n * Exact versions for Terraform providers used by generated `.tf` modules.\n * Pinned exactly (no range operator) so generated infrastructure is reproducible.\n */\nexport const TERRAFORM_VERSIONS = {\n aws: '6.63.0',\n random: '3.9.0',\n null: '3.3.1',\n archive: '2.8.0',\n external: '2.4.1',\n local: '2.9.0',\n time: '0.14.1',\n} as const;\nexport type ITerraformProviderVersion = keyof typeof TERRAFORM_VERSIONS;\n\n/**\n * Substitution variables exposing Terraform provider version constraints to\n * generated `.tf` templates (e.g. `version = \"<%- awsProviderVersion %>\"`)\n */\nexport const terraformProviderVersions = () => ({\n awsProviderVersion: TERRAFORM_VERSIONS.aws,\n randomProviderVersion: TERRAFORM_VERSIONS.random,\n nullProviderVersion: TERRAFORM_VERSIONS.null,\n archiveProviderVersion: TERRAFORM_VERSIONS.archive,\n externalProviderVersion: TERRAFORM_VERSIONS.external,\n localProviderVersion: TERRAFORM_VERSIONS.local,\n timeProviderVersion: TERRAFORM_VERSIONS.time,\n});\n"],"names":["declaredNames","TS_VERSIONS","minimatch","mysql2","nx","rxjs","astro","cookie","aws4fetch","constructs","cors","chalk","cn","commander","electrodb","esbuild","ejs","express","husky","mariadb","mise","npm","pg","prisma","react","rolldown","shx","tailwindcss","tsx","shadcn","vite","typescript","vitest","jsdom","zod","ws","LOCKSTEP_GROUPS","withVersions","declaration","deps","assertDeclared","ts","Object","fromEntries","map","dep","NX_PACKAGES","NX_VERSION","PY_VERSIONS","aiosqlite","boto3","checkov","fastapi","httpx","langchain","langgraph","mcp","ruff","ty","pynamodb","uvicorn","sqlmodel","alembic","aiomysql","asyncpg","greenlet","withPyVersions","py","declared","kind","names","undeclared","filter","includes","length","Error","join","VENDORED_VERSIONS","JAVA_VERSIONS","JAVA_ARTIFACTS","keys","javaMavenDependency","artifact","MISE_VERSIONS","smithy","MISE_TOOLS","BASE_IMAGES","node","python","CONTAINER_VERSIONS","trivy","CONTAINER_REPOSITORIES","containerImage","tool","LAMBDA_RUNTIME_VERSIONS","AGENT_CORE_RUNTIME_VERSIONS","agentCoreRuntime","runtime","replace","pyenvPythonVersion","pyprojectPythonDependency","terraformLambdaRuntime","cdkLambdaRuntime","cdkLambdaRuntimeVars","nodeRuntime","pythonRuntime","terraformLambdaRuntimeVars","TERRAFORM_VERSIONS","aws","random","null","archive","external","local","time","terraformProviderVersions","awsProviderVersion","randomProviderVersion","nullProviderVersion","archiveProviderVersion","externalProviderVersion","localProviderVersion","timeProviderVersion"],"mappings":"AAAA;;;CAGC,GACD,SAIEA,aAAa,QACR,6BAA6B;AAEpC;;CAEC,GACD,OAAO,MAAMC,cAAc;IACzB,eAAe;IACf,0DAA0D;IAC1D,yEAAyE;IACzE,uDAAuD;IACvD,oCAAoC;IACpC,0EAA0E;IAC1E,2EAA2E;IAC3E,6EAA6E;IAC7E,8EAA8E;IAC9E,kDAAkD;IAClDC,WAAW;IACX,8EAA8E;IAC9E,8EAA8E;IAC9E,yEAAyE;IACzE,8EAA8E;IAC9E,gBAAgB;IAChBC,QAAQ;IACR,4BAA4B;IAC5B,+BAA+B;IAC/B,uBAAuB;IACvB,qCAAqC;IACrC,mCAAmC;I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,MAAM,EAAE,CAAC;AAEhD;;;CAGC,GACD,OAAO,MAAMc,mBAAmB,CAACL,UAC/BA,YAAY,SACR,CAAC,eAAe,EAAEH,wBAAwBP,IAAI,CAAC,EAAE,CAAC,GAClD,CAAC,eAAe,EAAEO,wBAAwBN,MAAM,CAACU,OAAO,CAAC,KAAK,MAAM,CAAC;AAE3E;;;;;CAKC,GACD,OAAO,MAAMK,uBAAuB,IAAO,CAAA;QACzCC,aAAaF,iBAAiB;QAC9BG,eAAeH,iBAAiB;IAClC,CAAA,EAAG;AAEH;;;CAGC,GACD,OAAO,MAAMI,6BAA6B,IAAO,CAAA;QAC/CF,aAAaH,uBAAuB;QACpCI,eAAeJ,uBAAuB;IACxC,CAAA,EAAG;AAEH;;;CAGC,GACD,OAAO,MAAMM,qBAAqB;IAChCC,KAAK;IACLC,QAAQ;IACRC,MAAM;IACNC,SAAS;IACTC,UAAU;IACVC,OAAO;IACPC,MAAM;AACR,EAAW;AAGX;;;CAGC,GACD,OAAO,MAAMC,4BAA4B,IAAO,CAAA;QAC9CC,oBAAoBT,mBAAmBC,GAAG;QAC1CS,uBAAuBV,mBAAmBE,MAAM;QAChDS,qBAAqBX,mBAAmBG,IAAI;QAC5CS,wBAAwBZ,mBAAmBI,OAAO;QAClDS,yBAAyBb,mBAAmBK,QAAQ;QACpDS,sBAAsBd,mBAAmBM,KAAK;QAC9CS,qBAAqBf,mBAAmBO,IAAI;IAC9C,CAAA,EAAG"}
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import * as url from 'url';
|
|
2
2
|
import { Construct } from 'constructs';
|
|
3
|
+
<%_ /* Alias the core imports only when this website's name would shadow them. */ _%>
|
|
4
|
+
<%_ const collides = websiteNameClassName === 'StaticWebsite'; _%>
|
|
5
|
+
<%_ const coreWebsite = collides ? 'CoreStaticWebsite' : 'StaticWebsite'; _%>
|
|
6
|
+
<%_ const coreWebsiteProps = collides ? 'CoreStaticWebsiteProps' : 'StaticWebsiteProps'; _%>
|
|
3
7
|
import {
|
|
4
|
-
StaticWebsite
|
|
5
|
-
StaticWebsiteProps
|
|
8
|
+
StaticWebsite<% if (collides) { %> as <%= coreWebsite %><% } %>,
|
|
9
|
+
StaticWebsiteProps<% if (collides) { %> as <%= coreWebsiteProps %><% } %>,
|
|
6
10
|
} from '../../core/index<% if (esm) { %>.js<% } %>';
|
|
7
11
|
|
|
8
12
|
export type <%= websiteNameClassName %>Props = Omit<
|
|
9
|
-
|
|
13
|
+
<%= coreWebsiteProps %>,
|
|
10
14
|
'websiteName' | 'websiteFilePath'
|
|
11
15
|
>;
|
|
12
16
|
|
|
13
|
-
export class <%= websiteNameClassName %> extends
|
|
17
|
+
export class <%= websiteNameClassName %> extends <%= coreWebsite %> {
|
|
14
18
|
constructor(scope: Construct, id: string, props?: <%= websiteNameClassName %>Props) {
|
|
15
19
|
super(scope, id, {
|
|
16
20
|
...props,
|