@aws/nx-plugin 1.0.0-rc.33 → 1.0.0-rc.35
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 +28 -41
- package/generators.json +27 -0
- package/package.json +6 -6
- package/src/connection/generator.js +12 -1
- package/src/connection/generator.js.map +1 -1
- package/src/connection/supported-connections.d.ts +10 -1
- package/src/connection/supported-connections.js +13 -0
- package/src/connection/supported-connections.js.map +1 -1
- package/src/infra/app/__snapshots__/generator.spec.ts.snap +6 -6
- package/src/open-api/ts-client/__snapshots__/generator.complex-types.spec.ts.snap +12 -12
- package/src/open-api/ts-client/__snapshots__/generator.composite-types.spec.ts.snap +74 -10
- package/src/open-api/ts-client/__snapshots__/generator.content-type.spec.ts.snap +22 -4
- package/src/open-api/ts-client/__snapshots__/generator.duplicate-types.spec.ts.snap +53 -8
- package/src/open-api/ts-client/__snapshots__/generator.edge-cases.spec.ts.snap +32 -4
- package/src/open-api/ts-client/__snapshots__/generator.fast-api-gaps.spec.ts.snap +736 -0
- package/src/open-api/ts-client/__snapshots__/generator.fast-api.spec.ts.snap +86 -11
- package/src/open-api/ts-client/__snapshots__/generator.multipart.spec.ts.snap +21 -3
- package/src/open-api/ts-client/__snapshots__/generator.primitive-types.spec.ts.snap +2 -2
- package/src/open-api/ts-client/__snapshots__/generator.request.spec.ts.snap +6 -6
- package/src/open-api/ts-client/__snapshots__/generator.reserved-keywords.spec.ts.snap +2 -2
- package/src/open-api/ts-client/__snapshots__/generator.spec-compliance.spec.ts.snap +1883 -0
- package/src/open-api/ts-client/__snapshots__/generator.tags.spec.ts.snap +4 -4
- package/src/open-api/ts-client/files/client.gen.ts.template +195 -12
- package/src/open-api/ts-client/files/types.gen.ts.template +2 -0
- package/src/open-api/ts-client/generator.js +22 -1
- package/src/open-api/ts-client/generator.js.map +1 -1
- package/src/open-api/utils/codegen-data/languages.js +6 -0
- package/src/open-api/utils/codegen-data/languages.js.map +1 -1
- package/src/open-api/utils/codegen-data/types.d.ts +16 -1
- package/src/open-api/utils/codegen-data/types.js.map +1 -1
- package/src/open-api/utils/codegen-data.js +71 -0
- package/src/open-api/utils/codegen-data.js.map +1 -1
- package/src/open-api/utils/normalise.js +53 -8
- package/src/open-api/utils/normalise.js.map +1 -1
- package/src/open-api/utils/parser.js +48 -15
- package/src/open-api/utils/parser.js.map +1 -1
- package/src/preset/__snapshots__/generator.spec.ts.snap +4 -2
- package/src/py/agent/__snapshots__/generator.frameworks.spec.ts.snap +1 -1
- package/src/py/fast-api/__snapshots__/generator.terraform.spec.ts.snap +186 -18
- package/src/py/rdb/__snapshots__/generator.spec.ts.snap +2038 -0
- package/src/py/rdb/agent-connection/__snapshots__/generator.spec.ts.snap +104 -0
- package/src/py/rdb/agent-connection/generator.d.ts +10 -0
- package/src/py/rdb/agent-connection/generator.js +46 -0
- package/src/py/rdb/agent-connection/generator.js.map +1 -0
- package/src/py/rdb/agent-connection/schema.d.js +8 -0
- package/src/py/rdb/agent-connection/schema.d.js.map +1 -0
- package/src/py/rdb/agent-connection/schema.d.ts +15 -0
- package/src/py/rdb/agent-connection/schema.json +27 -0
- package/src/py/rdb/fast-api-connection/__snapshots__/generator.spec.ts.snap +44 -0
- package/src/py/rdb/fast-api-connection/files/__apiModuleName__/dependencies/__rdbNameSnake__.py.template +14 -0
- package/src/py/rdb/fast-api-connection/generator.d.ts +10 -0
- package/src/py/rdb/fast-api-connection/generator.js +54 -0
- package/src/py/rdb/fast-api-connection/generator.js.map +1 -0
- package/src/py/rdb/fast-api-connection/schema.d.js +8 -0
- package/src/py/rdb/fast-api-connection/schema.d.js.map +1 -0
- package/src/py/rdb/fast-api-connection/schema.d.ts +13 -0
- package/src/py/rdb/fast-api-connection/schema.json +23 -0
- package/src/py/rdb/files/Dockerfile.create-db-user.template +10 -0
- package/src/py/rdb/files/Dockerfile.migration.template +10 -0
- package/src/py/rdb/files/__name__/__init__.py.template +3 -0
- package/src/py/rdb/files/__name__/connection.py.template +55 -0
- package/src/py/rdb/files/__name__/create_db_user_handler.py.template +97 -0
- package/src/py/rdb/files/__name__/migration_handler.py.template +36 -0
- package/src/py/rdb/files/__name__/models/__init__.py.template +3 -0
- package/src/py/rdb/files/__name__/models/example.py.template +8 -0
- package/src/py/rdb/files/__name__/utils.py.template +104 -0
- package/src/py/rdb/files/alembic.ini.template +38 -0
- package/src/py/rdb/files/config.json.template +14 -0
- package/src/py/rdb/files/migrations/env.py.template +80 -0
- package/src/py/rdb/files/migrations/script.py.mako.template +28 -0
- package/src/py/rdb/generator.d.ts +6 -0
- package/src/py/rdb/generator.js +263 -0
- package/src/py/rdb/generator.js.map +1 -0
- package/src/py/rdb/mcp-server-connection/__snapshots__/generator.spec.ts.snap +101 -0
- package/src/py/rdb/mcp-server-connection/generator.d.ts +10 -0
- package/src/py/rdb/mcp-server-connection/generator.js +46 -0
- package/src/py/rdb/mcp-server-connection/generator.js.map +1 -0
- package/src/py/rdb/mcp-server-connection/schema.d.js +8 -0
- package/src/py/rdb/mcp-server-connection/schema.d.js.map +1 -0
- package/src/py/rdb/mcp-server-connection/schema.d.ts +15 -0
- package/src/py/rdb/mcp-server-connection/schema.json +27 -0
- package/src/py/rdb/schema.d.js +6 -0
- package/src/py/rdb/schema.d.js.map +1 -0
- package/src/py/rdb/schema.d.ts +16 -0
- package/src/py/rdb/schema.json +77 -0
- package/src/py/rdb/utils.d.ts +6 -0
- package/src/py/rdb/utils.js +16 -0
- package/src/py/rdb/utils.js.map +1 -0
- package/src/sdk/py.d.ts +2 -0
- package/src/sdk/py.js +1 -0
- package/src/sdk/py.js.map +1 -1
- package/src/smithy/ts/api/__snapshots__/generator.spec.ts.snap +124 -12
- package/src/trpc/backend/__snapshots__/generator.spec.ts.snap +186 -18
- package/src/ts/rdb/__snapshots__/generator.spec.ts.snap +145 -173
- package/src/ts/rdb/generator.js +4 -3
- package/src/ts/rdb/generator.js.map +1 -1
- package/src/ts/rdb/schema.json +1 -1
- package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +16 -16
- package/src/utils/api-constructs/files/terraform/app/apis/http/__apiNameKebabCase__/__apiNameKebabCase__.tf.template +31 -3
- package/src/utils/api-constructs/files/terraform/app/apis/rest/__apiNameKebabCase__/__apiNameKebabCase__.tf.template +31 -3
- package/src/utils/rdb-constructs/files/cdk/app/dbs/__nameKebabCase__.ts.template +58 -14
- package/src/utils/rdb-constructs/files/cdk/core/rdb/aurora.ts.template +68 -78
- package/src/utils/rdb-constructs/files/terraform/app/dbs/__nameKebabCase__/__nameKebabCase__.tf.template +88 -8
- package/src/utils/rdb-constructs/files/terraform/core/rdb/aurora/aurora.tf.template +5 -32
- package/src/utils/rdb-constructs/rdb-constructs.d.ts +11 -1
- package/src/utils/rdb-constructs/rdb-constructs.js.map +1 -1
- package/src/utils/shared-constructs.js +9 -21
- package/src/utils/shared-constructs.js.map +1 -1
- package/src/utils/shared-rdb-scripts.js +5 -1
- package/src/utils/shared-rdb-scripts.js.map +1 -1
- package/src/utils/versions.d.ts +34 -30
- package/src/utils/versions.js +34 -30
- package/src/utils/versions.js.map +1 -1
- package/src/utils/files/terraform/scripts/reset-runtime-config.ts.template +0 -25
|
@@ -56,27 +56,18 @@ export async function sharedConstructsGenerator(tree, options) {
|
|
|
56
56
|
directory: joinPathFragments(PACKAGES_DIR, 'common'),
|
|
57
57
|
type: 'library'
|
|
58
58
|
});
|
|
59
|
-
//
|
|
60
|
-
//
|
|
61
|
-
//
|
|
62
|
-
//
|
|
59
|
+
// `build` is a no-op orchestration target that produces no files of its
|
|
60
|
+
// own. Terraform writes runtime-config entries into
|
|
61
|
+
// `dist/{projectRoot}/runtime-config` at apply time, and other terraform
|
|
62
|
+
// projects contribute their own entries to the same directory. Without
|
|
63
|
+
// explicit outputs, Nx infers `dist/{projectRoot}` as this target's
|
|
64
|
+
// cached output and, on a cache hit, restores the cached copy over the
|
|
65
|
+
// freshly-applied config — wiping the very values consumers read. Declare
|
|
66
|
+
// no outputs so Nx never treats runtime config as a cacheable artifact.
|
|
63
67
|
updateJson(tree, joinPathFragments(PACKAGES_DIR, SHARED_TERRAFORM_DIR, 'project.json'), (projectConfig)=>{
|
|
64
68
|
projectConfig.targets ??= {};
|
|
65
|
-
projectConfig.targets['reset-runtime-config'] = {
|
|
66
|
-
executor: 'nx:run-commands',
|
|
67
|
-
options: {
|
|
68
|
-
command: 'tsx scripts/reset-runtime-config.ts',
|
|
69
|
-
cwd: '{projectRoot}',
|
|
70
|
-
env: {
|
|
71
|
-
DIST_DIR: '{workspaceRoot}/dist/{projectRoot}'
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
69
|
projectConfig.targets.build ??= {};
|
|
76
|
-
projectConfig.targets.build.
|
|
77
|
-
...(projectConfig.targets.build.dependsOn ?? []).filter((t)=>t !== 'reset-runtime-config'),
|
|
78
|
-
'reset-runtime-config'
|
|
79
|
-
];
|
|
70
|
+
projectConfig.targets.build.outputs = [];
|
|
80
71
|
return projectConfig;
|
|
81
72
|
});
|
|
82
73
|
tree.delete(joinPathFragments(terraformLibPath, 'src', 'main.tf'));
|
|
@@ -86,9 +77,6 @@ export async function sharedConstructsGenerator(tree, options) {
|
|
|
86
77
|
}, {
|
|
87
78
|
overwriteStrategy: OverwriteStrategy.KeepExisting
|
|
88
79
|
});
|
|
89
|
-
addDependenciesToPackageJson(tree, {}, withVersions([
|
|
90
|
-
'tsx'
|
|
91
|
-
]));
|
|
92
80
|
await formatFilesInSubtree(tree);
|
|
93
81
|
}
|
|
94
82
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../packages/nx-plugin/src/utils/shared-constructs.ts"],"sourcesContent":["/**\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\nimport {\n addDependenciesToPackageJson,\n generateFiles,\n joinPathFragments,\n OverwriteStrategy,\n type ProjectConfiguration,\n type Tree,\n updateJson,\n} from '@nx/devkit';\nimport terraformProjectGenerator from '../terraform/project/generator';\nimport tsProjectGenerator from '../ts/lib/generator';\nimport { readAwsNxPluginConfig } from './config/utils';\nimport { formatFilesInSubtree } from './format';\nimport type { Iac } from './iac';\nimport { esmVars } from './module-format';\nimport { getNpmScopePrefix, toScopeAlias } from './npm-scope';\nimport { getPackageManagerDisplayCommands } from './pkg-manager';\nimport {\n PACKAGES_DIR,\n SHARED_CONSTRUCTS_DIR,\n SHARED_CONSTRUCTS_NAME,\n SHARED_TERRAFORM_DIR,\n SHARED_TERRAFORM_NAME,\n} from './shared-constructs-constants';\nimport { terraformProviderVersions, withVersions } from './versions';\n\nexport interface SharedConstructsGeneratorOptions {\n iac: Iac;\n}\n\nexport async function sharedConstructsGenerator(\n tree: Tree,\n options: SharedConstructsGeneratorOptions,\n) {\n const { iac } = options;\n const npmScopePrefix = getNpmScopePrefix(tree);\n updateGitignore(tree);\n\n if (iac === 'cdk') {\n if (\n !tree.exists(\n joinPathFragments(PACKAGES_DIR, SHARED_CONSTRUCTS_DIR, 'project.json'),\n )\n ) {\n await tsProjectGenerator(tree, {\n name: SHARED_CONSTRUCTS_NAME,\n directory: PACKAGES_DIR,\n subDirectory: SHARED_CONSTRUCTS_DIR,\n });\n tree.delete(\n joinPathFragments(PACKAGES_DIR, SHARED_CONSTRUCTS_DIR, 'src'),\n );\n generateFiles(\n tree,\n joinPathFragments(\n import.meta.dirname,\n 'files',\n SHARED_CONSTRUCTS_DIR,\n 'src',\n ),\n joinPathFragments(PACKAGES_DIR, SHARED_CONSTRUCTS_DIR, 'src'),\n {\n npmScopePrefix,\n scopeAlias: toScopeAlias(npmScopePrefix),\n tags: (await readAwsNxPluginConfig(tree))?.tags ?? [],\n ...esmVars(tree),\n },\n {\n overwriteStrategy: OverwriteStrategy.KeepExisting,\n },\n );\n generateFiles(\n tree,\n joinPathFragments(import.meta.dirname, 'files', 'common', 'readme'),\n joinPathFragments(PACKAGES_DIR, SHARED_CONSTRUCTS_DIR),\n {\n fullyQualifiedName: `${npmScopePrefix}${SHARED_CONSTRUCTS_NAME}`,\n name: SHARED_CONSTRUCTS_NAME,\n pkgMgrCmd: getPackageManagerDisplayCommands().exec,\n },\n {\n overwriteStrategy: OverwriteStrategy.Overwrite,\n },\n );\n addDependenciesToPackageJson(\n tree,\n withVersions(['constructs', 'aws-cdk-lib']),\n withVersions(['@types/node']),\n );\n await formatFilesInSubtree(tree);\n }\n }\n\n // Handle Terraform provider\n if (iac === 'terraform') {\n const terraformLibPath = joinPathFragments(\n PACKAGES_DIR,\n SHARED_TERRAFORM_DIR,\n );\n if (!tree.exists(joinPathFragments(terraformLibPath, 'project.json'))) {\n await terraformProjectGenerator(tree, {\n name: SHARED_TERRAFORM_NAME,\n directory: joinPathFragments(PACKAGES_DIR, 'common'),\n type: 'library',\n });\n\n //
|
|
1
|
+
{"version":3,"sources":["../../../../../packages/nx-plugin/src/utils/shared-constructs.ts"],"sourcesContent":["/**\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\nimport {\n addDependenciesToPackageJson,\n generateFiles,\n joinPathFragments,\n OverwriteStrategy,\n type ProjectConfiguration,\n type Tree,\n updateJson,\n} from '@nx/devkit';\nimport terraformProjectGenerator from '../terraform/project/generator';\nimport tsProjectGenerator from '../ts/lib/generator';\nimport { readAwsNxPluginConfig } from './config/utils';\nimport { formatFilesInSubtree } from './format';\nimport type { Iac } from './iac';\nimport { esmVars } from './module-format';\nimport { getNpmScopePrefix, toScopeAlias } from './npm-scope';\nimport { getPackageManagerDisplayCommands } from './pkg-manager';\nimport {\n PACKAGES_DIR,\n SHARED_CONSTRUCTS_DIR,\n SHARED_CONSTRUCTS_NAME,\n SHARED_TERRAFORM_DIR,\n SHARED_TERRAFORM_NAME,\n} from './shared-constructs-constants';\nimport { terraformProviderVersions, withVersions } from './versions';\n\nexport interface SharedConstructsGeneratorOptions {\n iac: Iac;\n}\n\nexport async function sharedConstructsGenerator(\n tree: Tree,\n options: SharedConstructsGeneratorOptions,\n) {\n const { iac } = options;\n const npmScopePrefix = getNpmScopePrefix(tree);\n updateGitignore(tree);\n\n if (iac === 'cdk') {\n if (\n !tree.exists(\n joinPathFragments(PACKAGES_DIR, SHARED_CONSTRUCTS_DIR, 'project.json'),\n )\n ) {\n await tsProjectGenerator(tree, {\n name: SHARED_CONSTRUCTS_NAME,\n directory: PACKAGES_DIR,\n subDirectory: SHARED_CONSTRUCTS_DIR,\n });\n tree.delete(\n joinPathFragments(PACKAGES_DIR, SHARED_CONSTRUCTS_DIR, 'src'),\n );\n generateFiles(\n tree,\n joinPathFragments(\n import.meta.dirname,\n 'files',\n SHARED_CONSTRUCTS_DIR,\n 'src',\n ),\n joinPathFragments(PACKAGES_DIR, SHARED_CONSTRUCTS_DIR, 'src'),\n {\n npmScopePrefix,\n scopeAlias: toScopeAlias(npmScopePrefix),\n tags: (await readAwsNxPluginConfig(tree))?.tags ?? [],\n ...esmVars(tree),\n },\n {\n overwriteStrategy: OverwriteStrategy.KeepExisting,\n },\n );\n generateFiles(\n tree,\n joinPathFragments(import.meta.dirname, 'files', 'common', 'readme'),\n joinPathFragments(PACKAGES_DIR, SHARED_CONSTRUCTS_DIR),\n {\n fullyQualifiedName: `${npmScopePrefix}${SHARED_CONSTRUCTS_NAME}`,\n name: SHARED_CONSTRUCTS_NAME,\n pkgMgrCmd: getPackageManagerDisplayCommands().exec,\n },\n {\n overwriteStrategy: OverwriteStrategy.Overwrite,\n },\n );\n addDependenciesToPackageJson(\n tree,\n withVersions(['constructs', 'aws-cdk-lib']),\n withVersions(['@types/node']),\n );\n await formatFilesInSubtree(tree);\n }\n }\n\n // Handle Terraform provider\n if (iac === 'terraform') {\n const terraformLibPath = joinPathFragments(\n PACKAGES_DIR,\n SHARED_TERRAFORM_DIR,\n );\n if (!tree.exists(joinPathFragments(terraformLibPath, 'project.json'))) {\n await terraformProjectGenerator(tree, {\n name: SHARED_TERRAFORM_NAME,\n directory: joinPathFragments(PACKAGES_DIR, 'common'),\n type: 'library',\n });\n\n // `build` is a no-op orchestration target that produces no files of its\n // own. Terraform writes runtime-config entries into\n // `dist/{projectRoot}/runtime-config` at apply time, and other terraform\n // projects contribute their own entries to the same directory. Without\n // explicit outputs, Nx infers `dist/{projectRoot}` as this target's\n // cached output and, on a cache hit, restores the cached copy over the\n // freshly-applied config — wiping the very values consumers read. Declare\n // no outputs so Nx never treats runtime config as a cacheable artifact.\n updateJson(\n tree,\n joinPathFragments(PACKAGES_DIR, SHARED_TERRAFORM_DIR, 'project.json'),\n (projectConfig: ProjectConfiguration) => {\n projectConfig.targets ??= {};\n projectConfig.targets.build ??= {};\n projectConfig.targets.build.outputs = [];\n return projectConfig;\n },\n );\n\n tree.delete(joinPathFragments(terraformLibPath, 'src', 'main.tf'));\n\n // Create the metrics.tf file with empty initial values\n generateFiles(\n tree,\n joinPathFragments(import.meta.dirname, 'files', 'terraform'),\n terraformLibPath,\n { ...terraformProviderVersions() },\n {\n overwriteStrategy: OverwriteStrategy.KeepExisting,\n },\n );\n\n await formatFilesInSubtree(tree);\n }\n }\n}\n\nconst updateGitignore = (tree: Tree) => {\n const gitignore = tree.exists('.gitignore')\n ? tree.read('.gitignore', 'utf-8')\n : '';\n const regex = /runtime-config.json/gm;\n const hasRuntimeConfig = regex.test(gitignore ?? '');\n if (hasRuntimeConfig) {\n return;\n }\n tree.write('.gitignore', `${gitignore}\\n\\nruntime-config.json`);\n};\n"],"names":["addDependenciesToPackageJson","generateFiles","joinPathFragments","OverwriteStrategy","updateJson","terraformProjectGenerator","tsProjectGenerator","readAwsNxPluginConfig","formatFilesInSubtree","esmVars","getNpmScopePrefix","toScopeAlias","getPackageManagerDisplayCommands","PACKAGES_DIR","SHARED_CONSTRUCTS_DIR","SHARED_CONSTRUCTS_NAME","SHARED_TERRAFORM_DIR","SHARED_TERRAFORM_NAME","terraformProviderVersions","withVersions","sharedConstructsGenerator","tree","options","iac","npmScopePrefix","updateGitignore","exists","name","directory","subDirectory","delete","dirname","scopeAlias","tags","overwriteStrategy","KeepExisting","fullyQualifiedName","pkgMgrCmd","exec","Overwrite","terraformLibPath","type","projectConfig","targets","build","outputs","gitignore","read","regex","hasRuntimeConfig","test","write"],"mappings":"AAAA;;;CAGC,GACD,SACEA,4BAA4B,EAC5BC,aAAa,EACbC,iBAAiB,EACjBC,iBAAiB,EAGjBC,UAAU,QACL,aAAa;AACpB,OAAOC,+BAA+B,oCAAiC;AACvE,OAAOC,wBAAwB,yBAAsB;AACrD,SAASC,qBAAqB,QAAQ,oBAAiB;AACvD,SAASC,oBAAoB,QAAQ,cAAW;AAEhD,SAASC,OAAO,QAAQ,qBAAkB;AAC1C,SAASC,iBAAiB,EAAEC,YAAY,QAAQ,iBAAc;AAC9D,SAASC,gCAAgC,QAAQ,mBAAgB;AACjE,SACEC,YAAY,EACZC,qBAAqB,EACrBC,sBAAsB,EACtBC,oBAAoB,EACpBC,qBAAqB,QAChB,mCAAgC;AACvC,SAASC,yBAAyB,EAAEC,YAAY,QAAQ,gBAAa;AAMrE,OAAO,eAAeC,0BACpBC,IAAU,EACVC,OAAyC;IAEzC,MAAM,EAAEC,GAAG,EAAE,GAAGD;IAChB,MAAME,iBAAiBd,kBAAkBW;IACzCI,gBAAgBJ;IAEhB,IAAIE,QAAQ,OAAO;QACjB,IACE,CAACF,KAAKK,MAAM,CACVxB,kBAAkBW,cAAcC,uBAAuB,kBAEzD;YACA,MAAMR,mBAAmBe,MAAM;gBAC7BM,MAAMZ;gBACNa,WAAWf;gBACXgB,cAAcf;YAChB;YACAO,KAAKS,MAAM,CACT5B,kBAAkBW,cAAcC,uBAAuB;YAEzDb,cACEoB,MACAnB,kBACE,YAAY6B,OAAO,EACnB,SACAjB,uBACA,QAEFZ,kBAAkBW,cAAcC,uBAAuB,QACvD;gBACEU;gBACAQ,YAAYrB,aAAaa;gBACzBS,MAAM,AAAC,CAAA,MAAM1B,sBAAsBc,KAAI,GAAIY,QAAQ,EAAE;gBACrD,GAAGxB,QAAQY,KAAK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AqBa;QAC7B;IACF;AACF;AAEA,MAAMI,kBAAkB,CAACJ;IACvB,MAAMyB,YAAYzB,KAAKK,MAAM,CAAC,gBAC1BL,KAAK0B,IAAI,CAAC,cAAc,WACxB;IACJ,MAAMC,QAAQ;IACd,MAAMC,mBAAmBD,MAAME,IAAI,CAACJ,aAAa;IACjD,IAAIG,kBAAkB;QACpB;IACF;IACA5B,KAAK8B,KAAK,CAAC,cAAc,GAAGL,UAAU,uBAAuB,CAAC;AAChE"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/ import { generateFiles, joinPathFragments, OverwriteStrategy } from "@nx/devkit";
|
|
4
|
+
*/ import { addDependenciesToPackageJson, generateFiles, joinPathFragments, OverwriteStrategy } from "@nx/devkit";
|
|
5
5
|
import { PACKAGES_DIR, SHARED_SCRIPTS_DIR } from "./shared-constructs-constants.js";
|
|
6
6
|
import { ensureSharedScriptsProject } from "./shared-scripts.js";
|
|
7
|
+
import { withVersions } from "./versions.js";
|
|
7
8
|
/**
|
|
8
9
|
* Ensures the shared scripts package exists and adds RDB local-dev scripts
|
|
9
10
|
* to packages/common/scripts/src/rdb/. Used by ts#rdb.
|
|
@@ -23,6 +24,9 @@ import { ensureSharedScriptsProject } from "./shared-scripts.js";
|
|
|
23
24
|
generateFiles(tree, joinPathFragments(rdbScriptsDir, engine), targetDir, {}, {
|
|
24
25
|
overwriteStrategy: OverwriteStrategy.KeepExisting
|
|
25
26
|
});
|
|
27
|
+
addDependenciesToPackageJson(tree, {}, withVersions([
|
|
28
|
+
'tsx'
|
|
29
|
+
]));
|
|
26
30
|
}
|
|
27
31
|
|
|
28
32
|
//# sourceMappingURL=shared-rdb-scripts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../packages/nx-plugin/src/utils/shared-rdb-scripts.ts"],"sourcesContent":["/**\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\nimport {\n generateFiles,\n joinPathFragments,\n OverwriteStrategy,\n type Tree,\n} from '@nx/devkit';\nimport {\n PACKAGES_DIR,\n SHARED_SCRIPTS_DIR,\n} from './shared-constructs-constants';\nimport { ensureSharedScriptsProject } from './shared-scripts';\n\n/**\n * Ensures the shared scripts package exists and adds RDB local-dev scripts\n * to packages/common/scripts/src/rdb/. Used by ts#rdb.\n *\n * Engine-agnostic scripts (pull-image, start-container) are always vended.\n * Only the wait-for-db script for the requested engine is vended so that\n * projects do not reference database client packages they don't install.\n * The engine-specific file names allow postgres and mysql projects to\n * coexist in the same workspace.\n */\nexport async function sharedRdbScriptsGenerator(\n tree: Tree,\n engine: 'postgres' | 'mysql',\n): Promise<void> {\n await ensureSharedScriptsProject(tree);\n\n const rdbScriptsDir = joinPathFragments(\n import.meta.dirname,\n 'files',\n SHARED_SCRIPTS_DIR,\n 'src',\n 'rdb',\n );\n const targetDir = joinPathFragments(\n PACKAGES_DIR,\n SHARED_SCRIPTS_DIR,\n 'src',\n 'rdb',\n );\n\n generateFiles(\n tree,\n joinPathFragments(rdbScriptsDir, 'shared'),\n targetDir,\n {},\n { overwriteStrategy: OverwriteStrategy.KeepExisting },\n );\n generateFiles(\n tree,\n joinPathFragments(rdbScriptsDir, engine),\n targetDir,\n {},\n { overwriteStrategy: OverwriteStrategy.KeepExisting },\n );\n}\n"],"names":["generateFiles","joinPathFragments","OverwriteStrategy","PACKAGES_DIR","SHARED_SCRIPTS_DIR","ensureSharedScriptsProject","sharedRdbScriptsGenerator","tree","engine","rdbScriptsDir","dirname","targetDir","overwriteStrategy","KeepExisting"],"mappings":"AAAA;;;CAGC,GACD,SACEA,aAAa,EACbC,iBAAiB,EACjBC,iBAAiB,QAEZ,aAAa;AACpB,SACEC,YAAY,EACZC,kBAAkB,QACb,mCAAgC;AACvC,SAASC,0BAA0B,QAAQ,sBAAmB;
|
|
1
|
+
{"version":3,"sources":["../../../../../packages/nx-plugin/src/utils/shared-rdb-scripts.ts"],"sourcesContent":["/**\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\nimport {\n addDependenciesToPackageJson,\n generateFiles,\n joinPathFragments,\n OverwriteStrategy,\n type Tree,\n} from '@nx/devkit';\nimport {\n PACKAGES_DIR,\n SHARED_SCRIPTS_DIR,\n} from './shared-constructs-constants';\nimport { ensureSharedScriptsProject } from './shared-scripts';\nimport { withVersions } from './versions';\n\n/**\n * Ensures the shared scripts package exists and adds RDB local-dev scripts\n * to packages/common/scripts/src/rdb/. Used by ts#rdb.\n *\n * Engine-agnostic scripts (pull-image, start-container) are always vended.\n * Only the wait-for-db script for the requested engine is vended so that\n * projects do not reference database client packages they don't install.\n * The engine-specific file names allow postgres and mysql projects to\n * coexist in the same workspace.\n */\nexport async function sharedRdbScriptsGenerator(\n tree: Tree,\n engine: 'postgres' | 'mysql',\n): Promise<void> {\n await ensureSharedScriptsProject(tree);\n\n const rdbScriptsDir = joinPathFragments(\n import.meta.dirname,\n 'files',\n SHARED_SCRIPTS_DIR,\n 'src',\n 'rdb',\n );\n const targetDir = joinPathFragments(\n PACKAGES_DIR,\n SHARED_SCRIPTS_DIR,\n 'src',\n 'rdb',\n );\n\n generateFiles(\n tree,\n joinPathFragments(rdbScriptsDir, 'shared'),\n targetDir,\n {},\n { overwriteStrategy: OverwriteStrategy.KeepExisting },\n );\n generateFiles(\n tree,\n joinPathFragments(rdbScriptsDir, engine),\n targetDir,\n {},\n { overwriteStrategy: OverwriteStrategy.KeepExisting },\n );\n\n addDependenciesToPackageJson(tree, {}, withVersions(['tsx']));\n}\n"],"names":["addDependenciesToPackageJson","generateFiles","joinPathFragments","OverwriteStrategy","PACKAGES_DIR","SHARED_SCRIPTS_DIR","ensureSharedScriptsProject","withVersions","sharedRdbScriptsGenerator","tree","engine","rdbScriptsDir","dirname","targetDir","overwriteStrategy","KeepExisting"],"mappings":"AAAA;;;CAGC,GACD,SACEA,4BAA4B,EAC5BC,aAAa,EACbC,iBAAiB,EACjBC,iBAAiB,QAEZ,aAAa;AACpB,SACEC,YAAY,EACZC,kBAAkB,QACb,mCAAgC;AACvC,SAASC,0BAA0B,QAAQ,sBAAmB;AAC9D,SAASC,YAAY,QAAQ,gBAAa;AAE1C;;;;;;;;;CASC,GACD,OAAO,eAAeC,0BACpBC,IAAU,EACVC,MAA4B;IAE5B,MAAMJ,2BAA2BG;IAEjC,MAAME,gBAAgBT,kBACpB,YAAYU,OAAO,EACnB,SACAP,oBACA,OACA;IAEF,MAAMQ,YAAYX,kBAChBE,cACAC,oBACA,OACA;IAGFJ,cACEQ,MACAP,kBAAkBS,eAAe,WACjCE,WACA,CAAC,GACD;QAAEC,mBAAmBX,kBAAkBY,YAAY;IAAC;IAEtDd,cACEQ,MACAP,kBAAkBS,eAAeD,SACjCG,WACA,CAAC,GACD;QAAEC,mBAAmBX,kBAAkBY,YAAY;IAAC;IAGtDf,6BAA6BS,MAAM,CAAC,GAAGF,aAAa;QAAC;KAAM;AAC7D"}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -8,32 +8,32 @@
|
|
|
8
8
|
export declare const TS_VERSIONS: {
|
|
9
9
|
readonly '@a2a-js/sdk': "0.3.14";
|
|
10
10
|
readonly '@aws/aws-distro-opentelemetry-node-autoinstrumentation': "0.12.0";
|
|
11
|
-
readonly '@aws-sdk/client-dynamodb': "3.
|
|
12
|
-
readonly '@aws-sdk/client-bedrock-runtime': "3.
|
|
13
|
-
readonly '@aws-sdk/client-s3': "3.
|
|
14
|
-
readonly '@aws-sdk/client-sts': "3.
|
|
15
|
-
readonly '@aws-sdk/credential-providers': "3.
|
|
11
|
+
readonly '@aws-sdk/client-dynamodb': "3.1085.0";
|
|
12
|
+
readonly '@aws-sdk/client-bedrock-runtime': "3.1085.0";
|
|
13
|
+
readonly '@aws-sdk/client-s3': "3.1085.0";
|
|
14
|
+
readonly '@aws-sdk/client-sts': "3.1085.0";
|
|
15
|
+
readonly '@aws-sdk/credential-providers': "3.1085.0";
|
|
16
16
|
readonly '@aws-sdk/credential-provider-cognito-identity': "3.972.56";
|
|
17
|
-
readonly '@aws-sdk/client-secrets-manager': "3.
|
|
18
|
-
readonly '@aws-sdk/rds-signer': "3.
|
|
17
|
+
readonly '@aws-sdk/client-secrets-manager': "3.1085.0";
|
|
18
|
+
readonly '@aws-sdk/rds-signer': "3.1085.0";
|
|
19
19
|
readonly '@aws-smithy/server-apigateway': "1.0.0-alpha.10";
|
|
20
20
|
readonly '@aws-smithy/server-node': "1.0.0-alpha.10";
|
|
21
|
-
readonly '@aws-lambda-powertools/logger': "2.
|
|
22
|
-
readonly '@aws-lambda-powertools/metrics': "2.
|
|
23
|
-
readonly '@aws-lambda-powertools/parameters': "2.
|
|
24
|
-
readonly '@aws-lambda-powertools/tracer': "2.
|
|
25
|
-
readonly '@aws-lambda-powertools/parser': "2.
|
|
26
|
-
readonly '@aws-sdk/client-appconfigdata': "3.
|
|
21
|
+
readonly '@aws-lambda-powertools/logger': "2.34.0";
|
|
22
|
+
readonly '@aws-lambda-powertools/metrics': "2.34.0";
|
|
23
|
+
readonly '@aws-lambda-powertools/parameters': "2.34.0";
|
|
24
|
+
readonly '@aws-lambda-powertools/tracer': "2.34.0";
|
|
25
|
+
readonly '@aws-lambda-powertools/parser': "2.34.0";
|
|
26
|
+
readonly '@aws-sdk/client-appconfigdata': "3.1085.0";
|
|
27
27
|
readonly '@middy/core': "7.7.0";
|
|
28
28
|
readonly '@nxlv/python': "22.2.1";
|
|
29
29
|
readonly '@nx-extend/terraform': "10.3.0";
|
|
30
|
-
readonly '@nx/devkit': "23.0.
|
|
31
|
-
readonly '@nx/react': "23.0.
|
|
32
|
-
readonly 'create-nx-workspace': "23.0.
|
|
30
|
+
readonly '@nx/devkit': "23.0.2";
|
|
31
|
+
readonly '@nx/react': "23.0.2";
|
|
32
|
+
readonly 'create-nx-workspace': "23.0.2";
|
|
33
33
|
readonly '@swc-node/register': "1.11.1";
|
|
34
34
|
readonly '@swc/core': "1.15.43";
|
|
35
35
|
readonly '@modelcontextprotocol/sdk': "1.29.0";
|
|
36
|
-
readonly '@modelcontextprotocol/inspector': "0.
|
|
36
|
+
readonly '@modelcontextprotocol/inspector': "0.22.0";
|
|
37
37
|
readonly '@ag-ui/aws-strands': "0.2.3";
|
|
38
38
|
readonly '@ag-ui/client': "0.0.57";
|
|
39
39
|
readonly '@ag-ui/core': "0.0.57";
|
|
@@ -41,15 +41,15 @@ export declare const TS_VERSIONS: {
|
|
|
41
41
|
readonly 'agent-chat-cli': "0.3.0";
|
|
42
42
|
readonly '@copilotkit/react-core': "1.62.3";
|
|
43
43
|
readonly rxjs: "7.8.2";
|
|
44
|
-
readonly '@strands-agents/sdk': "1.
|
|
44
|
+
readonly '@strands-agents/sdk': "1.9.0";
|
|
45
45
|
readonly '@tanstack/react-router': "1.170.17";
|
|
46
46
|
readonly '@tanstack/router-plugin': "1.168.19";
|
|
47
47
|
readonly '@tanstack/router-generator': "1.167.18";
|
|
48
48
|
readonly '@tanstack/virtual-file-routes': "1.162.0";
|
|
49
49
|
readonly '@tanstack/router-utils': "1.162.2";
|
|
50
|
-
readonly '@cloudscape-design/board-components': "3.0.
|
|
51
|
-
readonly '@cloudscape-design/chat-components': "1.0.
|
|
52
|
-
readonly '@cloudscape-design/components': "3.0.
|
|
50
|
+
readonly '@cloudscape-design/board-components': "3.0.201";
|
|
51
|
+
readonly '@cloudscape-design/chat-components': "1.0.149";
|
|
52
|
+
readonly '@cloudscape-design/components': "3.0.1325";
|
|
53
53
|
readonly '@cloudscape-design/global-styles': "1.0.62";
|
|
54
54
|
readonly '@tanstack/react-query': "5.101.2";
|
|
55
55
|
readonly '@tanstack/react-query-devtools': "5.101.2";
|
|
@@ -62,17 +62,17 @@ export declare const TS_VERSIONS: {
|
|
|
62
62
|
readonly '@types/pg': "8.20.0";
|
|
63
63
|
readonly '@types/ws': "8.18.1";
|
|
64
64
|
readonly '@types/express': "5.0.6";
|
|
65
|
-
readonly '@smithy/config-resolver': "4.6.
|
|
66
|
-
readonly '@smithy/node-config-provider': "4.5.
|
|
67
|
-
readonly '@smithy/node-http-handler': "4.9.
|
|
68
|
-
readonly '@smithy/types': "4.16.
|
|
65
|
+
readonly '@smithy/config-resolver': "4.6.8";
|
|
66
|
+
readonly '@smithy/node-config-provider': "4.5.8";
|
|
67
|
+
readonly '@smithy/node-http-handler': "4.9.5";
|
|
68
|
+
readonly '@smithy/types': "4.16.1";
|
|
69
69
|
readonly '@vitest/coverage-v8': "4.1.10";
|
|
70
70
|
readonly '@vitest/ui': "4.1.10";
|
|
71
71
|
readonly '@astrojs/react': "6.0.1";
|
|
72
72
|
readonly '@astrojs/starlight': "0.41.3";
|
|
73
73
|
readonly astro: "7.0.7";
|
|
74
74
|
readonly aws4fetch: "1.0.20";
|
|
75
|
-
readonly 'aws-cdk': "2.
|
|
75
|
+
readonly 'aws-cdk': "2.1130.0";
|
|
76
76
|
readonly 'aws-cdk-lib': "2.261.0";
|
|
77
77
|
readonly 'aws-xray-sdk-core': "3.12.0";
|
|
78
78
|
readonly constructs: "10.6.0";
|
|
@@ -110,7 +110,7 @@ export declare const TS_VERSIONS: {
|
|
|
110
110
|
readonly rolldown: "1.1.5";
|
|
111
111
|
readonly 'simple-git': "3.36.0";
|
|
112
112
|
readonly 'source-map-support': "0.5.21";
|
|
113
|
-
readonly 'starlight-blog': "0.
|
|
113
|
+
readonly 'starlight-blog': "0.28.0";
|
|
114
114
|
readonly tailwindcss: "4.3.2";
|
|
115
115
|
readonly '@tailwindcss/vite': "4.3.2";
|
|
116
116
|
readonly tsx: "4.23.0";
|
|
@@ -130,7 +130,7 @@ export type ITsDepVersion = keyof typeof TS_VERSIONS;
|
|
|
130
130
|
* Add versions to the given dependencies
|
|
131
131
|
*/
|
|
132
132
|
export declare const withVersions: (deps: ITsDepVersion[]) => {
|
|
133
|
-
[k: string]: "0.3.14" | "0.12.0" | "3.
|
|
133
|
+
[k: string]: "0.3.14" | "0.12.0" | "3.1085.0" | "3.972.56" | "1.0.0-alpha.10" | "2.34.0" | "7.7.0" | "22.2.1" | "10.3.0" | "23.0.2" | "1.11.1" | "1.15.43" | "1.29.0" | "0.22.0" | "0.2.3" | "0.0.57" | "0.3.0" | "1.62.3" | "7.8.2" | "1.9.0" | "1.170.17" | "1.168.19" | "1.167.18" | "1.162.0" | "1.162.2" | "3.0.201" | "1.0.149" | "3.0.1325" | "1.0.62" | "5.101.2" | "11.18.0" | "26.1.1" | "8.10.162" | "2.8.19" | "8.20.0" | "8.18.1" | "5.0.6" | "4.6.8" | "4.5.8" | "4.9.5" | "4.16.1" | "4.1.10" | "6.0.1" | "0.41.3" | "7.0.7" | "1.0.20" | "2.1130.0" | "2.261.0" | "3.12.0" | "10.6.0" | "2.8.6" | "5.6.2" | "0.7.1" | "2.1.1" | "15.0.0" | "3.9.1" | "0.28.1" | "1.0.31" | "1.0.5" | "2.5.3" | "7.8.0" | "3.1.5" | "5.2.1" | "3.3.3" | "9.1.7" | "11.3.6" | "11.0.4" | "4.0.0" | "3.5.3" | "2.0.0" | "22.2.9" | "3.5.0" | "8.22.0" | "3.3.1" | "19.2.7" | "6.1.3" | "1.1.5" | "3.36.0" | "0.5.21" | "0.28.0" | "4.3.2" | "4.23.0" | "1.24.0" | "1.6.2" | "4.13.0" | "1.4.0" | "3.6.0" | "8.1.4" | "6.0.3" | "4.4.3" | "8.21.0";
|
|
134
134
|
};
|
|
135
135
|
/**
|
|
136
136
|
* Versions for Python dependencies added by generators
|
|
@@ -150,7 +150,7 @@ export declare const PY_VERSIONS: {
|
|
|
150
150
|
readonly fastapi: "==0.139.0";
|
|
151
151
|
readonly 'fastapi[standard]': "==0.139.0";
|
|
152
152
|
readonly httpx: "==0.28.1";
|
|
153
|
-
readonly langchain: "==1.3.
|
|
153
|
+
readonly langchain: "==1.3.13";
|
|
154
154
|
readonly 'langchain-aws': "==1.6.2";
|
|
155
155
|
readonly 'langchain-mcp-adapters': "==0.3.0";
|
|
156
156
|
readonly langgraph: "==1.2.9";
|
|
@@ -160,9 +160,13 @@ export declare const PY_VERSIONS: {
|
|
|
160
160
|
readonly 'strands-agents': "==1.47.0";
|
|
161
161
|
readonly 'strands-agents[a2a]': "==1.47.0";
|
|
162
162
|
readonly 'strands-agents-tools': "==0.8.3";
|
|
163
|
-
readonly ty: "==0.0.
|
|
163
|
+
readonly ty: "==0.0.59";
|
|
164
164
|
readonly pynamodb: "==6.1.0";
|
|
165
165
|
readonly uvicorn: "==0.51.0";
|
|
166
|
+
readonly sqlmodel: "==0.0.38";
|
|
167
|
+
readonly alembic: "==1.18.4";
|
|
168
|
+
readonly aiomysql: "==0.3.2";
|
|
169
|
+
readonly asyncpg: "==0.31.0";
|
|
166
170
|
};
|
|
167
171
|
export type IPyDepVersion = keyof typeof PY_VERSIONS;
|
|
168
172
|
/**
|
package/src/utils/versions.js
CHANGED
|
@@ -6,32 +6,32 @@
|
|
|
6
6
|
*/ export const TS_VERSIONS = {
|
|
7
7
|
'@a2a-js/sdk': '0.3.14',
|
|
8
8
|
'@aws/aws-distro-opentelemetry-node-autoinstrumentation': '0.12.0',
|
|
9
|
-
'@aws-sdk/client-dynamodb': '3.
|
|
10
|
-
'@aws-sdk/client-bedrock-runtime': '3.
|
|
11
|
-
'@aws-sdk/client-s3': '3.
|
|
12
|
-
'@aws-sdk/client-sts': '3.
|
|
13
|
-
'@aws-sdk/credential-providers': '3.
|
|
9
|
+
'@aws-sdk/client-dynamodb': '3.1085.0',
|
|
10
|
+
'@aws-sdk/client-bedrock-runtime': '3.1085.0',
|
|
11
|
+
'@aws-sdk/client-s3': '3.1085.0',
|
|
12
|
+
'@aws-sdk/client-sts': '3.1085.0',
|
|
13
|
+
'@aws-sdk/credential-providers': '3.1085.0',
|
|
14
14
|
'@aws-sdk/credential-provider-cognito-identity': '3.972.56',
|
|
15
|
-
'@aws-sdk/client-secrets-manager': '3.
|
|
16
|
-
'@aws-sdk/rds-signer': '3.
|
|
15
|
+
'@aws-sdk/client-secrets-manager': '3.1085.0',
|
|
16
|
+
'@aws-sdk/rds-signer': '3.1085.0',
|
|
17
17
|
'@aws-smithy/server-apigateway': '1.0.0-alpha.10',
|
|
18
18
|
'@aws-smithy/server-node': '1.0.0-alpha.10',
|
|
19
|
-
'@aws-lambda-powertools/logger': '2.
|
|
20
|
-
'@aws-lambda-powertools/metrics': '2.
|
|
21
|
-
'@aws-lambda-powertools/parameters': '2.
|
|
22
|
-
'@aws-lambda-powertools/tracer': '2.
|
|
23
|
-
'@aws-lambda-powertools/parser': '2.
|
|
24
|
-
'@aws-sdk/client-appconfigdata': '3.
|
|
19
|
+
'@aws-lambda-powertools/logger': '2.34.0',
|
|
20
|
+
'@aws-lambda-powertools/metrics': '2.34.0',
|
|
21
|
+
'@aws-lambda-powertools/parameters': '2.34.0',
|
|
22
|
+
'@aws-lambda-powertools/tracer': '2.34.0',
|
|
23
|
+
'@aws-lambda-powertools/parser': '2.34.0',
|
|
24
|
+
'@aws-sdk/client-appconfigdata': '3.1085.0',
|
|
25
25
|
'@middy/core': '7.7.0',
|
|
26
26
|
'@nxlv/python': '22.2.1',
|
|
27
27
|
'@nx-extend/terraform': '10.3.0',
|
|
28
|
-
'@nx/devkit': '23.0.
|
|
29
|
-
'@nx/react': '23.0.
|
|
30
|
-
'create-nx-workspace': '23.0.
|
|
28
|
+
'@nx/devkit': '23.0.2',
|
|
29
|
+
'@nx/react': '23.0.2',
|
|
30
|
+
'create-nx-workspace': '23.0.2',
|
|
31
31
|
'@swc-node/register': '1.11.1',
|
|
32
32
|
'@swc/core': '1.15.43',
|
|
33
33
|
'@modelcontextprotocol/sdk': '1.29.0',
|
|
34
|
-
'@modelcontextprotocol/inspector': '0.
|
|
34
|
+
'@modelcontextprotocol/inspector': '0.22.0',
|
|
35
35
|
'@ag-ui/aws-strands': '0.2.3',
|
|
36
36
|
'@ag-ui/client': '0.0.57',
|
|
37
37
|
'@ag-ui/core': '0.0.57',
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
'agent-chat-cli': '0.3.0',
|
|
40
40
|
'@copilotkit/react-core': '1.62.3',
|
|
41
41
|
rxjs: '7.8.2',
|
|
42
|
-
'@strands-agents/sdk': '1.
|
|
42
|
+
'@strands-agents/sdk': '1.9.0',
|
|
43
43
|
'@tanstack/react-router': '1.170.17',
|
|
44
44
|
'@tanstack/router-plugin': '1.168.19',
|
|
45
45
|
'@tanstack/router-generator': '1.167.18',
|
|
46
46
|
'@tanstack/virtual-file-routes': '1.162.0',
|
|
47
47
|
'@tanstack/router-utils': '1.162.2',
|
|
48
|
-
'@cloudscape-design/board-components': '3.0.
|
|
49
|
-
'@cloudscape-design/chat-components': '1.0.
|
|
50
|
-
'@cloudscape-design/components': '3.0.
|
|
48
|
+
'@cloudscape-design/board-components': '3.0.201',
|
|
49
|
+
'@cloudscape-design/chat-components': '1.0.149',
|
|
50
|
+
'@cloudscape-design/components': '3.0.1325',
|
|
51
51
|
'@cloudscape-design/global-styles': '1.0.62',
|
|
52
52
|
'@tanstack/react-query': '5.101.2',
|
|
53
53
|
'@tanstack/react-query-devtools': '5.101.2',
|
|
@@ -60,17 +60,17 @@
|
|
|
60
60
|
'@types/pg': '8.20.0',
|
|
61
61
|
'@types/ws': '8.18.1',
|
|
62
62
|
'@types/express': '5.0.6',
|
|
63
|
-
'@smithy/config-resolver': '4.6.
|
|
64
|
-
'@smithy/node-config-provider': '4.5.
|
|
65
|
-
'@smithy/node-http-handler': '4.9.
|
|
66
|
-
'@smithy/types': '4.16.
|
|
63
|
+
'@smithy/config-resolver': '4.6.8',
|
|
64
|
+
'@smithy/node-config-provider': '4.5.8',
|
|
65
|
+
'@smithy/node-http-handler': '4.9.5',
|
|
66
|
+
'@smithy/types': '4.16.1',
|
|
67
67
|
'@vitest/coverage-v8': '4.1.10',
|
|
68
68
|
'@vitest/ui': '4.1.10',
|
|
69
69
|
'@astrojs/react': '6.0.1',
|
|
70
70
|
'@astrojs/starlight': '0.41.3',
|
|
71
71
|
astro: '7.0.7',
|
|
72
72
|
aws4fetch: '1.0.20',
|
|
73
|
-
'aws-cdk': '2.
|
|
73
|
+
'aws-cdk': '2.1130.0',
|
|
74
74
|
'aws-cdk-lib': '2.261.0',
|
|
75
75
|
'aws-xray-sdk-core': '3.12.0',
|
|
76
76
|
constructs: '10.6.0',
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
rolldown: '1.1.5',
|
|
109
109
|
'simple-git': '3.36.0',
|
|
110
110
|
'source-map-support': '0.5.21',
|
|
111
|
-
'starlight-blog': '0.
|
|
111
|
+
'starlight-blog': '0.28.0',
|
|
112
112
|
tailwindcss: '4.3.2',
|
|
113
113
|
'@tailwindcss/vite': '4.3.2',
|
|
114
114
|
tsx: '4.23.0',
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
fastapi: '==0.139.0',
|
|
147
147
|
'fastapi[standard]': '==0.139.0',
|
|
148
148
|
httpx: '==0.28.1',
|
|
149
|
-
langchain: '==1.3.
|
|
149
|
+
langchain: '==1.3.13',
|
|
150
150
|
'langchain-aws': '==1.6.2',
|
|
151
151
|
'langchain-mcp-adapters': '==0.3.0',
|
|
152
152
|
langgraph: '==1.2.9',
|
|
@@ -156,9 +156,13 @@
|
|
|
156
156
|
'strands-agents': '==1.47.0',
|
|
157
157
|
'strands-agents[a2a]': '==1.47.0',
|
|
158
158
|
'strands-agents-tools': '==0.8.3',
|
|
159
|
-
ty: '==0.0.
|
|
159
|
+
ty: '==0.0.59',
|
|
160
160
|
pynamodb: '==6.1.0',
|
|
161
|
-
uvicorn: '==0.51.0'
|
|
161
|
+
uvicorn: '==0.51.0',
|
|
162
|
+
sqlmodel: '==0.0.38',
|
|
163
|
+
alembic: '==1.18.4',
|
|
164
|
+
aiomysql: '==0.3.2',
|
|
165
|
+
asyncpg: '==0.31.0'
|
|
162
166
|
};
|
|
163
167
|
/**
|
|
164
168
|
* Add versions to the given dependencies
|
|
@@ -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 */\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 '@aws-sdk/client-dynamodb': '3.1084.0',\n '@aws-sdk/client-bedrock-runtime': '3.1084.0',\n '@aws-sdk/client-s3': '3.1084.0',\n '@aws-sdk/client-sts': '3.1084.0',\n '@aws-sdk/credential-providers': '3.1084.0',\n '@aws-sdk/credential-provider-cognito-identity': '3.972.56',\n '@aws-sdk/client-secrets-manager': '3.1084.0',\n '@aws-sdk/rds-signer': '3.1084.0',\n '@aws-smithy/server-apigateway': '1.0.0-alpha.10',\n '@aws-smithy/server-node': '1.0.0-alpha.10',\n '@aws-lambda-powertools/logger': '2.33.1',\n '@aws-lambda-powertools/metrics': '2.33.1',\n '@aws-lambda-powertools/parameters': '2.33.1',\n '@aws-lambda-powertools/tracer': '2.33.1',\n '@aws-lambda-powertools/parser': '2.33.1',\n '@aws-sdk/client-appconfigdata': '3.1084.0',\n '@middy/core': '7.7.0',\n '@nxlv/python': '22.2.1',\n '@nx-extend/terraform': '10.3.0',\n '@nx/devkit': '23.0.1',\n '@nx/react': '23.0.1',\n 'create-nx-workspace': '23.0.1',\n '@swc-node/register': '1.11.1',\n '@swc/core': '1.15.43',\n '@modelcontextprotocol/sdk': '1.29.0',\n '@modelcontextprotocol/inspector': '0.19.0',\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.62.3',\n rxjs: '7.8.2',\n '@strands-agents/sdk': '1.8.0',\n '@tanstack/react-router': '1.170.17',\n '@tanstack/router-plugin': '1.168.19',\n '@tanstack/router-generator': '1.167.18',\n '@tanstack/virtual-file-routes': '1.162.0',\n '@tanstack/router-utils': '1.162.2',\n '@cloudscape-design/board-components': '3.0.200',\n '@cloudscape-design/chat-components': '1.0.148',\n '@cloudscape-design/components': '3.0.1324',\n '@cloudscape-design/global-styles': '1.0.62',\n '@tanstack/react-query': '5.101.2',\n '@tanstack/react-query-devtools': '5.101.2',\n '@trpc/tanstack-react-query': '11.18.0',\n '@trpc/client': '11.18.0',\n '@trpc/server': '11.18.0',\n '@types/node': '26.1.1',\n '@types/aws-lambda': '8.10.162',\n '@types/cors': '2.8.19',\n '@types/pg': '8.20.0',\n '@types/ws': '8.18.1',\n '@types/express': '5.0.6',\n '@smithy/config-resolver': '4.6.7',\n '@smithy/node-config-provider': '4.5.7',\n '@smithy/node-http-handler': '4.9.4',\n '@smithy/types': '4.16.0',\n '@vitest/coverage-v8': '4.1.10',\n '@vitest/ui': '4.1.10',\n '@astrojs/react': '6.0.1',\n '@astrojs/starlight': '0.41.3',\n astro: '7.0.7',\n aws4fetch: '1.0.20',\n 'aws-cdk': '2.1129.0',\n 'aws-cdk-lib': '2.261.0',\n 'aws-xray-sdk-core': '3.12.0',\n constructs: '10.6.0',\n cors: '2.8.6',\n chalk: '5.6.2',\n 'class-variance-authority': '0.7.1',\n clsx: '2.1.1',\n commander: '15.0.0',\n electrodb: '3.9.1',\n esbuild: '0.28.1',\n 'event-source-polyfill': '1.0.31',\n '@types/event-source-polyfill': '1.0.5',\n '@biomejs/biome': '2.5.3',\n '@prisma/adapter-mariadb': '7.8.0',\n '@prisma/adapter-pg': '7.8.0',\n '@prisma/client': '7.8.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.3.6',\n '@types/fs-extra': '11.0.4',\n 'make-dir-cli': '4.0.0',\n mariadb: '3.5.3',\n ncp: '2.0.0',\n 'npm-check-updates': '22.2.9',\n 'oidc-client-ts': '3.5.0',\n pg: '8.22.0',\n prisma: '7.8.0',\n 'react-oidc-context': '3.3.1',\n react: '19.2.7',\n 'react-dom': '19.2.7',\n rimraf: '6.1.3',\n rolldown: '1.1.5',\n 'simple-git': '3.36.0',\n 'source-map-support': '0.5.21',\n 'starlight-blog': '0.27.0',\n tailwindcss: '4.3.2',\n '@tailwindcss/vite': '4.3.2',\n tsx: '4.23.0',\n 'lucide-react': '1.24.0',\n 'radix-ui': '1.6.2',\n shadcn: '4.13.0',\n 'tw-animate-css': '1.4.0',\n 'tailwind-merge': '3.6.0',\n vite: '8.1.4',\n typescript: '6.0.3',\n vitest: '4.1.10',\n zod: '4.4.3',\n ws: '8.21.0',\n} as const;\nexport type ITsDepVersion = keyof typeof TS_VERSIONS;\n\n/**\n * Add versions to the given dependencies\n */\nexport const withVersions = (deps: ITsDepVersion[]) =>\n Object.fromEntries(deps.map((dep) => [dep, TS_VERSIONS[dep]]));\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.42',\n 'ag-ui-protocol': '==0.1.19',\n 'ag-ui-strands': '==0.2.2',\n 'aws-lambda-powertools': '==3.31.0',\n 'aws-lambda-powertools[tracer]': '==3.31.0',\n 'aws-lambda-powertools[parser]': '==3.31.0',\n 'aws-opentelemetry-distro': '==0.18.0',\n 'bedrock-agentcore': '==1.18.0',\n boto3: '==1.43.46',\n checkov: '==3.3.8',\n fastapi: '==0.139.0',\n 'fastapi[standard]': '==0.139.0',\n httpx: '==0.28.1',\n langchain: '==1.3.12',\n 'langchain-aws': '==1.6.2',\n 'langchain-mcp-adapters': '==0.3.0',\n langgraph: '==1.2.9',\n mcp: '==1.28.1',\n 'pip-check-updates': '==0.29.0',\n 'pip-licenses': '==5.5.5',\n 'strands-agents': '==1.47.0',\n 'strands-agents[a2a]': '==1.47.0',\n 'strands-agents-tools': '==0.8.3',\n ty: '==0.0.58',\n pynamodb: '==6.1.0',\n uvicorn: '==0.51.0',\n} as const;\nexport type IPyDepVersion = keyof typeof PY_VERSIONS;\n\n/**\n * Add versions to the given dependencies\n */\nexport const withPyVersions = (deps: IPyDepVersion[]) =>\n deps.map((dep) => `${dep}${PY_VERSIONS[dep]}`);\n\n/**\n * Versions for vendored tools\n */\nexport const VENDORED_VERSIONS = {\n 'git-secrets': '1.3.0',\n} as const;\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.54.0',\n random: '3.9.0',\n null: '3.3.0',\n archive: '2.8.0',\n external: '2.4.0',\n local: '2.9.0',\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});\n"],"names":["TS_VERSIONS","rxjs","astro","aws4fetch","constructs","cors","chalk","clsx","commander","electrodb","esbuild","ejs","express","husky","mariadb","ncp","pg","prisma","react","rimraf","rolldown","tailwindcss","tsx","shadcn","vite","typescript","vitest","zod","ws","withVersions","deps","Object","fromEntries","map","dep","PY_VERSIONS","boto3","checkov","fastapi","httpx","langchain","langgraph","mcp","ty","pynamodb","uvicorn","withPyVersions","VENDORED_VERSIONS","TERRAFORM_VERSIONS","aws","random","null","archive","external","local","terraformProviderVersions","awsProviderVersion","randomProviderVersion","nullProviderVersion","archiveProviderVersion","externalProviderVersion","localProvider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AAqB;IAChCC,KAAK;IACLC,QAAQ;IACRC,MAAM;IACNC,SAAS;IACTC,UAAU;IACVC,OAAO;AACT,EAAW;AAGX;;;CAGC,GACD,OAAO,MAAMC,4BAA4B,IAAO,CAAA;QAC9CC,oBAAoBR,mBAAmBC,GAAG;QAC1CQ,uBAAuBT,mBAAmBE,MAAM;QAChDQ,qBAAqBV,mBAAmBG,IAAI;QAC5CQ,wBAAwBX,mBAAmBI,OAAO;QAClDQ,yBAAyBZ,mBAAmBK,QAAQ;QACpDQ,sBAAsBb,mBAAmBM,KAAK;IAChD,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 */\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 '@aws-sdk/client-dynamodb': '3.1085.0',\n '@aws-sdk/client-bedrock-runtime': '3.1085.0',\n '@aws-sdk/client-s3': '3.1085.0',\n '@aws-sdk/client-sts': '3.1085.0',\n '@aws-sdk/credential-providers': '3.1085.0',\n '@aws-sdk/credential-provider-cognito-identity': '3.972.56',\n '@aws-sdk/client-secrets-manager': '3.1085.0',\n '@aws-sdk/rds-signer': '3.1085.0',\n '@aws-smithy/server-apigateway': '1.0.0-alpha.10',\n '@aws-smithy/server-node': '1.0.0-alpha.10',\n '@aws-lambda-powertools/logger': '2.34.0',\n '@aws-lambda-powertools/metrics': '2.34.0',\n '@aws-lambda-powertools/parameters': '2.34.0',\n '@aws-lambda-powertools/tracer': '2.34.0',\n '@aws-lambda-powertools/parser': '2.34.0',\n '@aws-sdk/client-appconfigdata': '3.1085.0',\n '@middy/core': '7.7.0',\n '@nxlv/python': '22.2.1',\n '@nx-extend/terraform': '10.3.0',\n '@nx/devkit': '23.0.2',\n '@nx/react': '23.0.2',\n 'create-nx-workspace': '23.0.2',\n '@swc-node/register': '1.11.1',\n '@swc/core': '1.15.43',\n '@modelcontextprotocol/sdk': '1.29.0',\n '@modelcontextprotocol/inspector': '0.22.0',\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.62.3',\n rxjs: '7.8.2',\n '@strands-agents/sdk': '1.9.0',\n '@tanstack/react-router': '1.170.17',\n '@tanstack/router-plugin': '1.168.19',\n '@tanstack/router-generator': '1.167.18',\n '@tanstack/virtual-file-routes': '1.162.0',\n '@tanstack/router-utils': '1.162.2',\n '@cloudscape-design/board-components': '3.0.201',\n '@cloudscape-design/chat-components': '1.0.149',\n '@cloudscape-design/components': '3.0.1325',\n '@cloudscape-design/global-styles': '1.0.62',\n '@tanstack/react-query': '5.101.2',\n '@tanstack/react-query-devtools': '5.101.2',\n '@trpc/tanstack-react-query': '11.18.0',\n '@trpc/client': '11.18.0',\n '@trpc/server': '11.18.0',\n '@types/node': '26.1.1',\n '@types/aws-lambda': '8.10.162',\n '@types/cors': '2.8.19',\n '@types/pg': '8.20.0',\n '@types/ws': '8.18.1',\n '@types/express': '5.0.6',\n '@smithy/config-resolver': '4.6.8',\n '@smithy/node-config-provider': '4.5.8',\n '@smithy/node-http-handler': '4.9.5',\n '@smithy/types': '4.16.1',\n '@vitest/coverage-v8': '4.1.10',\n '@vitest/ui': '4.1.10',\n '@astrojs/react': '6.0.1',\n '@astrojs/starlight': '0.41.3',\n astro: '7.0.7',\n aws4fetch: '1.0.20',\n 'aws-cdk': '2.1130.0',\n 'aws-cdk-lib': '2.261.0',\n 'aws-xray-sdk-core': '3.12.0',\n constructs: '10.6.0',\n cors: '2.8.6',\n chalk: '5.6.2',\n 'class-variance-authority': '0.7.1',\n clsx: '2.1.1',\n commander: '15.0.0',\n electrodb: '3.9.1',\n esbuild: '0.28.1',\n 'event-source-polyfill': '1.0.31',\n '@types/event-source-polyfill': '1.0.5',\n '@biomejs/biome': '2.5.3',\n '@prisma/adapter-mariadb': '7.8.0',\n '@prisma/adapter-pg': '7.8.0',\n '@prisma/client': '7.8.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.3.6',\n '@types/fs-extra': '11.0.4',\n 'make-dir-cli': '4.0.0',\n mariadb: '3.5.3',\n ncp: '2.0.0',\n 'npm-check-updates': '22.2.9',\n 'oidc-client-ts': '3.5.0',\n pg: '8.22.0',\n prisma: '7.8.0',\n 'react-oidc-context': '3.3.1',\n react: '19.2.7',\n 'react-dom': '19.2.7',\n rimraf: '6.1.3',\n rolldown: '1.1.5',\n 'simple-git': '3.36.0',\n 'source-map-support': '0.5.21',\n 'starlight-blog': '0.28.0',\n tailwindcss: '4.3.2',\n '@tailwindcss/vite': '4.3.2',\n tsx: '4.23.0',\n 'lucide-react': '1.24.0',\n 'radix-ui': '1.6.2',\n shadcn: '4.13.0',\n 'tw-animate-css': '1.4.0',\n 'tailwind-merge': '3.6.0',\n vite: '8.1.4',\n typescript: '6.0.3',\n vitest: '4.1.10',\n zod: '4.4.3',\n ws: '8.21.0',\n} as const;\nexport type ITsDepVersion = keyof typeof TS_VERSIONS;\n\n/**\n * Add versions to the given dependencies\n */\nexport const withVersions = (deps: ITsDepVersion[]) =>\n Object.fromEntries(deps.map((dep) => [dep, TS_VERSIONS[dep]]));\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.42',\n 'ag-ui-protocol': '==0.1.19',\n 'ag-ui-strands': '==0.2.2',\n 'aws-lambda-powertools': '==3.31.0',\n 'aws-lambda-powertools[tracer]': '==3.31.0',\n 'aws-lambda-powertools[parser]': '==3.31.0',\n 'aws-opentelemetry-distro': '==0.18.0',\n 'bedrock-agentcore': '==1.18.0',\n boto3: '==1.43.46',\n checkov: '==3.3.8',\n fastapi: '==0.139.0',\n 'fastapi[standard]': '==0.139.0',\n httpx: '==0.28.1',\n langchain: '==1.3.13',\n 'langchain-aws': '==1.6.2',\n 'langchain-mcp-adapters': '==0.3.0',\n langgraph: '==1.2.9',\n mcp: '==1.28.1',\n 'pip-check-updates': '==0.29.0',\n 'pip-licenses': '==5.5.5',\n 'strands-agents': '==1.47.0',\n 'strands-agents[a2a]': '==1.47.0',\n 'strands-agents-tools': '==0.8.3',\n ty: '==0.0.59',\n pynamodb: '==6.1.0',\n uvicorn: '==0.51.0',\n sqlmodel: '==0.0.38',\n alembic: '==1.18.4',\n aiomysql: '==0.3.2',\n asyncpg: '==0.31.0',\n} as const;\nexport type IPyDepVersion = keyof typeof PY_VERSIONS;\n\n/**\n * Add versions to the given dependencies\n */\nexport const withPyVersions = (deps: IPyDepVersion[]) =>\n deps.map((dep) => `${dep}${PY_VERSIONS[dep]}`);\n\n/**\n * Versions for vendored tools\n */\nexport const VENDORED_VERSIONS = {\n 'git-secrets': '1.3.0',\n} as const;\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.54.0',\n random: '3.9.0',\n null: '3.3.0',\n archive: '2.8.0',\n external: '2.4.0',\n local: '2.9.0',\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});\n"],"names":["TS_VERSIONS","rxjs","astro","aws4fetch","constructs","cors","chalk","clsx","commander","electrodb","esbuild","ejs","express","husky","mariadb","ncp","pg","prisma","react","rimraf","rolldown","tailwindcss","tsx","shadcn","vite","typescript","vitest","zod","ws","withVersions","deps","Object","fromEntries","map","dep","PY_VERSIONS","boto3","checkov","fastapi","httpx","langchain","langgraph","mcp","ty","pynamodb","uvicorn","sqlmodel","alembic","aiomysql","asyncpg","withPyVersions","VENDORED_VERSIONS","TERRAFORM_VERSIONS","aws","random","null","archive","external","local","terraformProviderVersions","awsProviderVersion","randomProviderVersion","nullProviderVersion","archiveProviderVersion","externalProviderVersion","localProviderVersion"],"mappings":"AAAA;;;CAGC,GAED;;CAEC,GACD,OAAO,MAAMA,cAAc;IACzB,eAAe;IACf,0DAA0D;IAC1D,4BAA4B;IAC5B,mCAAmC;IACnC,sBAAsB;IACtB,uBAAuB;IACvB,iCAAiC;IACjC,iDAAiD;IACjD,mCAAmC;IACnC,uBAAuB;IACvB,iCAAiC;IACjC,2BAA2B;IAC3B,iCAAiC;IACjC,kCAAkC;IAClC,qCAAqC;IACrC,iCAAiC;IACjC,iCAAiC;IACjC,iCAAiC;IACjC,eAAe;IACf,gBAAgB;IAChB,wBAAwB;IACxB,cAAc;IACd,aAAa;IACb,uBAAuB;IACvB,sBAAsB;IACtB,aAAa;IACb,6BAA6B;IAC7B,mCAAmC;IACnC,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,gBAAgB;IAChB,gBAAgB;IACh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TC,SAAS;IACT,qBAAqB;IACrBC,OAAO;IACPC,WAAW;IACX,iBAAiB;IACjB,0BAA0B;IAC1BC,WAAW;IACXC,KAAK;IACL,qBAAqB;IACrB,gBAAgB;IAChB,kBAAkB;IAClB,uBAAuB;IACvB,wBAAwB;IACxBC,IAAI;IACJC,UAAU;IACVC,SAAS;IACTC,UAAU;IACVC,SAAS;IACTC,UAAU;IACVC,SAAS;AACX,EAAW;AAGX;;CAEC,GACD,OAAO,MAAMC,iBAAiB,CAACpB,OAC7BA,KAAKG,GAAG,CAAC,CAACC,MAAQ,GAAGA,MAAMC,WAAW,CAACD,IAAI,EAAE,EAAE;AAEjD;;CAEC,GACD,OAAO,MAAMiB,oBAAoB;IAC/B,eAAe;AACjB,EAAW;AAEX;;;CAGC,GACD,OAAO,MAAMC,qBAAqB;IAChCC,KAAK;IACLC,QAAQ;IACRC,MAAM;IACNC,SAAS;IACTC,UAAU;IACVC,OAAO;AACT,EAAW;AAGX;;;CAGC,GACD,OAAO,MAAMC,4BAA4B,IAAO,CAAA;QAC9CC,oBAAoBR,mBAAmBC,GAAG;QAC1CQ,uBAAuBT,mBAAmBE,MAAM;QAChDQ,qBAAqBV,mBAAmBG,IAAI;QAC5CQ,wBAAwBX,mBAAmBI,OAAO;QAClDQ,yBAAyBZ,mBAAmBK,QAAQ;QACpDQ,sBAAsBb,mBAAmBM,KAAK;IAChD,CAAA,EAAG"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Clears the runtime-config dist dir before every build so that removed
|
|
3
|
-
* modules don't leave behind stale entries in `connection.json` /
|
|
4
|
-
* `agentcore.json` / per-entry leaf files.
|
|
5
|
-
*
|
|
6
|
-
* Invoked by the `reset-runtime-config` nx target, which the `build`
|
|
7
|
-
* target depends on.
|
|
8
|
-
*/
|
|
9
|
-
import { mkdirSync, rmSync, writeFileSync } from 'node:fs';
|
|
10
|
-
import { dirname, join } from 'node:path';
|
|
11
|
-
|
|
12
|
-
const distDir = process.env.DIST_DIR;
|
|
13
|
-
if (!distDir) {
|
|
14
|
-
throw new Error('DIST_DIR environment variable is required');
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// `runtime-config.json` starts as `{}` so the reader Terraform module can
|
|
18
|
-
// assume the file exists.
|
|
19
|
-
mkdirSync(distDir, { recursive: true });
|
|
20
|
-
writeFileSync(join(distDir, 'runtime-config.json'), '{}');
|
|
21
|
-
|
|
22
|
-
// Clear and recreate the per-entry leaf-file tree.
|
|
23
|
-
const runtimeConfigDir = join(distDir, 'runtime-config');
|
|
24
|
-
rmSync(runtimeConfigDir, { recursive: true, force: true });
|
|
25
|
-
mkdirSync(join(runtimeConfigDir, 'entries'), { recursive: true });
|