@aws/nx-plugin 0.76.0 → 0.78.0

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.
Files changed (57) hide show
  1. package/LICENSE-THIRD-PARTY +96 -10
  2. package/package.json +9 -9
  3. package/src/infra/app/__snapshots__/generator.spec.ts.snap +378 -7
  4. package/src/infra/app/files/app/src/main.ts.template +17 -2
  5. package/src/infra/app/generator.js +34 -9
  6. package/src/infra/app/generator.js.map +1 -1
  7. package/src/infra/app/schema.d.ts +1 -0
  8. package/src/infra/app/schema.json +6 -0
  9. package/src/py/fast-api/__snapshots__/generator.spec.ts.snap +16 -13
  10. package/src/py/fast-api/react/__snapshots__/generator.spec.ts.snap +1 -1
  11. package/src/py/mcp-server/__snapshots__/generator.spec.ts.snap +2 -2
  12. package/src/py/strands-agent/__snapshots__/generator.spec.ts.snap +6 -6
  13. package/src/smithy/react-connection/__snapshots__/generator.spec.ts.snap +2 -2
  14. package/src/smithy/ts/api/__snapshots__/generator.spec.ts.snap +23 -17
  15. package/src/trpc/backend/__snapshots__/generator.spec.ts.snap +60 -34
  16. package/src/trpc/backend/files/src/handler.ts.template +48 -0
  17. package/src/trpc/backend/files/src/index.ts.template +1 -1
  18. package/src/trpc/backend/files/src/router.ts.template +0 -38
  19. package/src/trpc/backend/files/src/schema/z-async-iterable.ts.template +115 -0
  20. package/src/trpc/backend/generator.js +6 -2
  21. package/src/trpc/backend/generator.js.map +1 -1
  22. package/src/trpc/react/__snapshots__/generator.spec.ts.snap +274 -27
  23. package/src/trpc/react/files/src/components/__apiNameClassName__ClientProvider.tsx.template +57 -1
  24. package/src/trpc/react/generator.js +11 -1
  25. package/src/trpc/react/generator.js.map +1 -1
  26. package/src/ts/mcp-server/__snapshots__/generator.spec.ts.snap +1 -1
  27. package/src/ts/nx-plugin/__snapshots__/generator.spec.ts.snap +1 -1
  28. package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +13 -13
  29. package/src/utils/api-constructs/files/cdk/app/apis/rest/__apiNameKebabCase__.ts.template +13 -1
  30. package/src/utils/api-constructs/files/cdk/core/api/trpc/trpc-utils.ts.template +3 -3
  31. package/src/utils/api-constructs/files/terraform/app/apis/rest/__apiNameKebabCase__/__apiNameKebabCase__.tf.template +8 -3
  32. package/src/utils/api-constructs/files/terraform/core/api/rest/rest-api/rest-api.tf.template +1 -1
  33. package/src/utils/connection/open-api/files/components/__apiNameClassName__Provider.tsx.template +1 -1
  34. package/src/utils/files/common/infra-config/src/index.ts.template +3 -0
  35. package/src/utils/files/common/infra-config/src/resolve-stage.ts.template +23 -0
  36. package/src/utils/files/common/infra-config/src/stages.config.ts.template +48 -0
  37. package/src/utils/files/common/infra-config/src/stages.types.ts.template +66 -0
  38. package/src/utils/files/common/scripts/src/index.ts.template +1 -0
  39. package/src/utils/files/common/scripts/src/infra-deploy.ts.template +2 -0
  40. package/src/utils/files/common/scripts/src/infra-destroy.ts.template +2 -0
  41. package/src/utils/files/common/scripts/src/stage-credentials/cdk-command.ts.template +18 -0
  42. package/src/utils/files/common/scripts/src/stage-credentials/credentials.ts.template +100 -0
  43. package/src/utils/files/common/scripts/src/stage-credentials/run.ts.template +52 -0
  44. package/src/utils/files/common/scripts/src/stage-credentials/stage-parser.ts.template +15 -0
  45. package/src/utils/files/website/hooks/sigv4/useSigV4.tsx.template +81 -33
  46. package/src/utils/shared-constructs-constants.d.ts +4 -0
  47. package/src/utils/shared-constructs-constants.js +5 -1
  48. package/src/utils/shared-constructs-constants.js.map +1 -1
  49. package/src/utils/shared-infra-config.d.ts +11 -0
  50. package/src/utils/shared-infra-config.js +47 -0
  51. package/src/utils/shared-infra-config.js.map +1 -0
  52. package/src/utils/shared-scripts.d.ts +12 -0
  53. package/src/utils/shared-scripts.js +49 -0
  54. package/src/utils/shared-scripts.js.map +1 -0
  55. package/src/utils/versions.d.ts +31 -28
  56. package/src/utils/versions.js +30 -27
  57. package/src/utils/versions.js.map +1 -1
@@ -4,54 +4,102 @@ import { fromCognitoIdentityPool } from '@aws-sdk/credential-provider-cognito-id
4
4
  import { useCallback, useRef } from 'react';
5
5
  import { useAuth } from 'react-oidc-context';
6
6
  import { useRuntimeConfig } from './useRuntimeConfig';
7
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider } from '@smithy/types';
7
+ import {
8
+ AwsCredentialIdentity,
9
+ AwsCredentialIdentityProvider,
10
+ } from '@smithy/types';
8
11
 
9
12
  // Credential expiration grace time before considering credentials as expired
10
13
  const CREDENTIAL_EXPIRY_OFFSET_MILLIS = 30 * 1000;
11
14
 
12
- export const useSigV4 = () => {
15
+ type AwsSignInput = Parameters<AwsClient['sign']>[0];
16
+ type AwsSignInit = Parameters<AwsClient['sign']>[1];
17
+
18
+ export interface SigV4Client {
19
+ /** A SigV4-signing fetch drop-in replacement. */
20
+ fetch: typeof globalThis.fetch;
21
+ /** Signs a request. Same parameters as AwsClient.sign(). Returns an unsigned Request when signing is skipped. */
22
+ sign: AwsClient['sign'];
23
+ }
24
+
25
+ export const useSigV4 = (): SigV4Client => {
13
26
  const { cognitoProps } = useRuntimeConfig();
14
27
  const auth = useAuth();
15
28
  const user = auth?.user;
16
29
 
17
- const cachedCredentials = useRef<{ [key: string]: AwsCredentialIdentity }>({});
30
+ const cachedCredentials = useRef<{ [key: string]: AwsCredentialIdentity }>(
31
+ {},
32
+ );
18
33
 
19
- const withCachedCredentials = useCallback(async (provider: AwsCredentialIdentityProvider, ...cacheKeys: string[]): Promise<AwsCredentialIdentity> => {
20
- const key = `sigv4/${cacheKeys.join('/')}`;
21
- const cachedCreds = cachedCredentials.current[key];
22
- if (cachedCreds && cachedCreds.expiration && cachedCreds.expiration.getTime() > Date.now() + CREDENTIAL_EXPIRY_OFFSET_MILLIS) {
23
- return cachedCreds;
34
+ const skipSigning = !cognitoProps && import.meta.env.MODE === 'serve-local';
35
+
36
+ const withCachedCredentials = useCallback(
37
+ async (
38
+ provider: AwsCredentialIdentityProvider,
39
+ ...cacheKeys: string[]
40
+ ): Promise<AwsCredentialIdentity> => {
41
+ const key = `sigv4/${cacheKeys.join('/')}`;
42
+ const cachedCreds = cachedCredentials.current[key];
43
+ if (
44
+ cachedCreds &&
45
+ cachedCreds.expiration &&
46
+ cachedCreds.expiration.getTime() >
47
+ Date.now() + CREDENTIAL_EXPIRY_OFFSET_MILLIS
48
+ ) {
49
+ return cachedCreds;
50
+ }
51
+ const credentials = await provider();
52
+ cachedCredentials.current[key] = credentials;
53
+ return credentials;
54
+ },
55
+ [],
56
+ );
57
+
58
+ const getAwsClient = useCallback(async (): Promise<AwsClient> => {
59
+ if (!cognitoProps) {
60
+ throw new Error('cognitoProps is undefined!');
61
+ }
62
+ if (!user?.id_token) {
63
+ throw new Error('user.id_token is undefined!');
24
64
  }
25
- const credentials = await provider();
26
- cachedCredentials.current[key] = credentials;
27
- return credentials;
28
- }, []);
29
65
 
30
- return useCallback(
66
+ const credentialsFromCognitoIdentityPool = fromCognitoIdentityPool({
67
+ client: new CognitoIdentityClient({ region: cognitoProps.region }),
68
+ identityPoolId: cognitoProps.identityPoolId,
69
+ logins: {
70
+ [`cognito-idp.${cognitoProps.region}.amazonaws.com/${cognitoProps.userPoolId}`]:
71
+ user.id_token,
72
+ },
73
+ });
74
+ const credential = await withCachedCredentials(
75
+ credentialsFromCognitoIdentityPool,
76
+ cognitoProps.identityPoolId,
77
+ user.profile.sub,
78
+ );
79
+ return new AwsClient(credential);
80
+ }, [cognitoProps, user?.id_token, user?.profile.sub, withCachedCredentials]);
81
+
82
+ const sigv4Fetch: typeof globalThis.fetch = useCallback(
31
83
  async (input: RequestInfo | URL, init?: RequestInit | undefined) => {
32
- if (!cognitoProps && import.meta.env.MODE === 'serve-local') {
33
- // Skip request signing in serve-local mode when cognitoProps are not set
84
+ if (skipSigning) {
34
85
  return fetch(input, init);
35
86
  }
36
- if (!cognitoProps) {
37
- throw new Error('cognitoProps is undefined!');
38
- }
39
- if (!user?.id_token) {
40
- throw new Error('user.id_token is undefined!');
41
- }
42
-
43
- const credentialsFromCognitoIdentityPool = fromCognitoIdentityPool({
44
- client: new CognitoIdentityClient({ region: cognitoProps.region }),
45
- identityPoolId: cognitoProps.identityPoolId,
46
- logins: {
47
- [`cognito-idp.${cognitoProps.region}.amazonaws.com/${cognitoProps.userPoolId}`]:
48
- user.id_token,
49
- },
50
- });
51
- const credential = await withCachedCredentials(credentialsFromCognitoIdentityPool, cognitoProps.identityPoolId, user.profile.sub);
52
- const awsClient = new AwsClient(credential);
87
+ const awsClient = await getAwsClient();
53
88
  return awsClient.fetch(input, init);
54
89
  },
55
- [cognitoProps, user?.id_token, user?.profile.sub, withCachedCredentials]
90
+ [skipSigning, getAwsClient],
56
91
  );
92
+
93
+ const sign = useCallback(
94
+ async (input: AwsSignInput, init?: AwsSignInit): Promise<Request> => {
95
+ if (skipSigning) {
96
+ return new Request(input.toString(), init ?? undefined);
97
+ }
98
+ const awsClient = await getAwsClient();
99
+ return awsClient.sign(input, init);
100
+ },
101
+ [skipSigning, getAwsClient],
102
+ );
103
+
104
+ return { fetch: sigv4Fetch, sign };
57
105
  };
@@ -9,3 +9,7 @@ export declare const SHARED_TERRAFORM_NAME = "terraform";
9
9
  export declare const SHARED_TERRAFORM_DIR = "common/terraform";
10
10
  export declare const SHARED_SHADCN_NAME = "common-shadcn";
11
11
  export declare const SHARED_SHADCN_DIR = "common/shadcn";
12
+ export declare const SHARED_INFRA_CONFIG_NAME = "common-infra-config";
13
+ export declare const SHARED_INFRA_CONFIG_DIR = "common/infra-config";
14
+ export declare const SHARED_SCRIPTS_NAME = "common-scripts";
15
+ export declare const SHARED_SCRIPTS_DIR = "common/scripts";
@@ -4,7 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.SHARED_SHADCN_DIR = exports.SHARED_SHADCN_NAME = exports.SHARED_TERRAFORM_DIR = exports.SHARED_TERRAFORM_NAME = exports.SHARED_CONSTRUCTS_DIR = exports.SHARED_CONSTRUCTS_NAME = exports.PACKAGES_DIR = void 0;
7
+ exports.SHARED_SCRIPTS_DIR = exports.SHARED_SCRIPTS_NAME = exports.SHARED_INFRA_CONFIG_DIR = exports.SHARED_INFRA_CONFIG_NAME = exports.SHARED_SHADCN_DIR = exports.SHARED_SHADCN_NAME = exports.SHARED_TERRAFORM_DIR = exports.SHARED_TERRAFORM_NAME = exports.SHARED_CONSTRUCTS_DIR = exports.SHARED_CONSTRUCTS_NAME = exports.PACKAGES_DIR = void 0;
8
8
  exports.PACKAGES_DIR = 'packages';
9
9
  exports.SHARED_CONSTRUCTS_NAME = 'common-constructs';
10
10
  exports.SHARED_CONSTRUCTS_DIR = 'common/constructs';
@@ -12,4 +12,8 @@ exports.SHARED_TERRAFORM_NAME = 'terraform';
12
12
  exports.SHARED_TERRAFORM_DIR = 'common/terraform';
13
13
  exports.SHARED_SHADCN_NAME = 'common-shadcn';
14
14
  exports.SHARED_SHADCN_DIR = 'common/shadcn';
15
+ exports.SHARED_INFRA_CONFIG_NAME = 'common-infra-config';
16
+ exports.SHARED_INFRA_CONFIG_DIR = 'common/infra-config';
17
+ exports.SHARED_SCRIPTS_NAME = 'common-scripts';
18
+ exports.SHARED_SCRIPTS_DIR = 'common/scripts';
15
19
  //# sourceMappingURL=shared-constructs-constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared-constructs-constants.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/shared-constructs-constants.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEU,QAAA,YAAY,GAAG,UAAU,CAAC;AAC1B,QAAA,sBAAsB,GAAG,mBAAmB,CAAC;AAC7C,QAAA,qBAAqB,GAAG,mBAAmB,CAAC;AAC5C,QAAA,qBAAqB,GAAG,WAAW,CAAC;AACpC,QAAA,oBAAoB,GAAG,kBAAkB,CAAC;AAC1C,QAAA,kBAAkB,GAAG,eAAe,CAAC;AACrC,QAAA,iBAAiB,GAAG,eAAe,CAAC"}
1
+ {"version":3,"file":"shared-constructs-constants.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/shared-constructs-constants.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEU,QAAA,YAAY,GAAG,UAAU,CAAC;AAC1B,QAAA,sBAAsB,GAAG,mBAAmB,CAAC;AAC7C,QAAA,qBAAqB,GAAG,mBAAmB,CAAC;AAC5C,QAAA,qBAAqB,GAAG,WAAW,CAAC;AACpC,QAAA,oBAAoB,GAAG,kBAAkB,CAAC;AAC1C,QAAA,kBAAkB,GAAG,eAAe,CAAC;AACrC,QAAA,iBAAiB,GAAG,eAAe,CAAC;AACpC,QAAA,wBAAwB,GAAG,qBAAqB,CAAC;AACjD,QAAA,uBAAuB,GAAG,qBAAqB,CAAC;AAChD,QAAA,mBAAmB,GAAG,gBAAgB,CAAC;AACvC,QAAA,kBAAkB,GAAG,gBAAgB,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ import { Tree } from '@nx/devkit';
6
+ /**
7
+ * Lazily creates the shared infra-config package at packages/common/infra-config/.
8
+ * Contains stage configuration types and the user's stage-to-credential mappings.
9
+ * Importable from any package via ts project references.
10
+ */
11
+ export declare function sharedInfraConfigGenerator(tree: Tree): Promise<void>;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sharedInfraConfigGenerator = sharedInfraConfigGenerator;
4
+ const tslib_1 = require("tslib");
5
+ /**
6
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7
+ * SPDX-License-Identifier: Apache-2.0
8
+ */
9
+ const devkit_1 = require("@nx/devkit");
10
+ const npm_scope_1 = require("./npm-scope");
11
+ const generator_1 = tslib_1.__importDefault(require("../ts/lib/generator"));
12
+ const format_1 = require("./format");
13
+ const shared_constructs_constants_1 = require("./shared-constructs-constants");
14
+ /**
15
+ * Lazily creates the shared infra-config package at packages/common/infra-config/.
16
+ * Contains stage configuration types and the user's stage-to-credential mappings.
17
+ * Importable from any package via ts project references.
18
+ */
19
+ function sharedInfraConfigGenerator(tree) {
20
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
21
+ const configDir = (0, devkit_1.joinPathFragments)(shared_constructs_constants_1.PACKAGES_DIR, shared_constructs_constants_1.SHARED_INFRA_CONFIG_DIR);
22
+ // Don't recreate if it already exists
23
+ if (tree.exists((0, devkit_1.joinPathFragments)(configDir, 'project.json'))) {
24
+ return;
25
+ }
26
+ const npmScopePrefix = (0, npm_scope_1.getNpmScopePrefix)(tree);
27
+ const pkgMgrCmd = (0, devkit_1.getPackageManagerCommand)();
28
+ yield (0, generator_1.default)(tree, {
29
+ name: shared_constructs_constants_1.SHARED_INFRA_CONFIG_NAME,
30
+ directory: shared_constructs_constants_1.PACKAGES_DIR,
31
+ subDirectory: shared_constructs_constants_1.SHARED_INFRA_CONFIG_DIR,
32
+ });
33
+ // Replace default src/ with our templates
34
+ tree.delete((0, devkit_1.joinPathFragments)(configDir, 'src'));
35
+ (0, devkit_1.generateFiles)(tree, (0, devkit_1.joinPathFragments)(__dirname, 'files', shared_constructs_constants_1.SHARED_INFRA_CONFIG_DIR, 'src'), (0, devkit_1.joinPathFragments)(configDir, 'src'), {
36
+ pkgMgrRunNx: `${pkgMgrCmd.exec} nx`,
37
+ }, { overwriteStrategy: devkit_1.OverwriteStrategy.KeepExisting });
38
+ // Generate README
39
+ (0, devkit_1.generateFiles)(tree, (0, devkit_1.joinPathFragments)(__dirname, 'files', 'common', 'readme'), configDir, {
40
+ fullyQualifiedName: `${npmScopePrefix}${shared_constructs_constants_1.SHARED_INFRA_CONFIG_NAME}`,
41
+ name: shared_constructs_constants_1.SHARED_INFRA_CONFIG_NAME,
42
+ pkgMgrCmd: pkgMgrCmd.exec,
43
+ }, { overwriteStrategy: devkit_1.OverwriteStrategy.Overwrite });
44
+ yield (0, format_1.formatFilesInSubtree)(tree);
45
+ });
46
+ }
47
+ //# sourceMappingURL=shared-infra-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared-infra-config.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/shared-infra-config.ts"],"names":[],"mappings":";;AAyBA,gEA2CC;;AApED;;;GAGG;AACH,uCAMoB;AACpB,2CAAgD;AAChD,4EAAqD;AACrD,qCAAgD;AAChD,+EAIuC;AAEvC;;;;GAIG;AACH,SAAsB,0BAA0B,CAAC,IAAU;;QACzD,MAAM,SAAS,GAAG,IAAA,0BAAiB,EAAC,0CAAY,EAAE,qDAAuB,CAAC,CAAC;QAE3E,sCAAsC;QACtC,IAAI,IAAI,CAAC,MAAM,CAAC,IAAA,0BAAiB,EAAC,SAAS,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC;YAC9D,OAAO;QACT,CAAC;QAED,MAAM,cAAc,GAAG,IAAA,6BAAiB,EAAC,IAAI,CAAC,CAAC;QAC/C,MAAM,SAAS,GAAG,IAAA,iCAAwB,GAAE,CAAC;QAE7C,MAAM,IAAA,mBAAkB,EAAC,IAAI,EAAE;YAC7B,IAAI,EAAE,sDAAwB;YAC9B,SAAS,EAAE,0CAAY;YACvB,YAAY,EAAE,qDAAuB;SACtC,CAAC,CAAC;QAEH,0CAA0C;QAC1C,IAAI,CAAC,MAAM,CAAC,IAAA,0BAAiB,EAAC,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC;QACjD,IAAA,sBAAa,EACX,IAAI,EACJ,IAAA,0BAAiB,EAAC,SAAS,EAAE,OAAO,EAAE,qDAAuB,EAAE,KAAK,CAAC,EACrE,IAAA,0BAAiB,EAAC,SAAS,EAAE,KAAK,CAAC,EACnC;YACE,WAAW,EAAE,GAAG,SAAS,CAAC,IAAI,KAAK;SACpC,EACD,EAAE,iBAAiB,EAAE,0BAAiB,CAAC,YAAY,EAAE,CACtD,CAAC;QAEF,kBAAkB;QAClB,IAAA,sBAAa,EACX,IAAI,EACJ,IAAA,0BAAiB,EAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,EACzD,SAAS,EACT;YACE,kBAAkB,EAAE,GAAG,cAAc,GAAG,sDAAwB,EAAE;YAClE,IAAI,EAAE,sDAAwB;YAC9B,SAAS,EAAE,SAAS,CAAC,IAAI;SAC1B,EACD,EAAE,iBAAiB,EAAE,0BAAiB,CAAC,SAAS,EAAE,CACnD,CAAC;QAEF,MAAM,IAAA,6BAAoB,EAAC,IAAI,CAAC,CAAC;IACnC,CAAC;CAAA"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ import { Tree } from '@nx/devkit';
6
+ /**
7
+ * Lazily creates the shared scripts package at packages/common/scripts/.
8
+ * Contains infra-deploy and infra-destroy scripts that resolve
9
+ * credentials from infra-config and call CDK.
10
+ * Invoked via `tsx packages/common/scripts/src/infra-deploy.ts` from NX targets.
11
+ */
12
+ export declare function sharedScriptsGenerator(tree: Tree): Promise<void>;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sharedScriptsGenerator = sharedScriptsGenerator;
4
+ const tslib_1 = require("tslib");
5
+ /**
6
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7
+ * SPDX-License-Identifier: Apache-2.0
8
+ */
9
+ const devkit_1 = require("@nx/devkit");
10
+ const npm_scope_1 = require("./npm-scope");
11
+ const generator_1 = tslib_1.__importDefault(require("../ts/lib/generator"));
12
+ const versions_1 = require("./versions");
13
+ const format_1 = require("./format");
14
+ const shared_constructs_constants_1 = require("./shared-constructs-constants");
15
+ /**
16
+ * Lazily creates the shared scripts package at packages/common/scripts/.
17
+ * Contains infra-deploy and infra-destroy scripts that resolve
18
+ * credentials from infra-config and call CDK.
19
+ * Invoked via `tsx packages/common/scripts/src/infra-deploy.ts` from NX targets.
20
+ */
21
+ function sharedScriptsGenerator(tree) {
22
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
23
+ const scriptsDir = (0, devkit_1.joinPathFragments)(shared_constructs_constants_1.PACKAGES_DIR, shared_constructs_constants_1.SHARED_SCRIPTS_DIR);
24
+ // Don't recreate if it already exists
25
+ if (tree.exists((0, devkit_1.joinPathFragments)(scriptsDir, 'project.json'))) {
26
+ return;
27
+ }
28
+ const npmScopePrefix = (0, npm_scope_1.getNpmScopePrefix)(tree);
29
+ const scopeAlias = (0, npm_scope_1.toScopeAlias)(npmScopePrefix);
30
+ yield (0, generator_1.default)(tree, {
31
+ name: shared_constructs_constants_1.SHARED_SCRIPTS_NAME,
32
+ directory: shared_constructs_constants_1.PACKAGES_DIR,
33
+ subDirectory: shared_constructs_constants_1.SHARED_SCRIPTS_DIR,
34
+ });
35
+ // Replace default src/ with our templates
36
+ tree.delete((0, devkit_1.joinPathFragments)(scriptsDir, 'src'));
37
+ (0, devkit_1.generateFiles)(tree, (0, devkit_1.joinPathFragments)(__dirname, 'files', shared_constructs_constants_1.SHARED_SCRIPTS_DIR, 'src'), (0, devkit_1.joinPathFragments)(scriptsDir, 'src'), { scopeAlias }, { overwriteStrategy: devkit_1.OverwriteStrategy.KeepExisting });
38
+ // Add AWS SDK deps as dev dependencies (used by deploy-time scripts for assumeRole)
39
+ (0, devkit_1.addDependenciesToPackageJson)(tree, {}, (0, versions_1.withVersions)(['@aws-sdk/client-sts', '@aws-sdk/credential-providers']));
40
+ // Generate README
41
+ (0, devkit_1.generateFiles)(tree, (0, devkit_1.joinPathFragments)(__dirname, 'files', 'common', 'readme'), scriptsDir, {
42
+ fullyQualifiedName: `${npmScopePrefix}${shared_constructs_constants_1.SHARED_SCRIPTS_NAME}`,
43
+ name: shared_constructs_constants_1.SHARED_SCRIPTS_NAME,
44
+ pkgMgrCmd: (0, devkit_1.getPackageManagerCommand)().exec,
45
+ }, { overwriteStrategy: devkit_1.OverwriteStrategy.Overwrite });
46
+ yield (0, format_1.formatFilesInSubtree)(tree);
47
+ });
48
+ }
49
+ //# sourceMappingURL=shared-scripts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared-scripts.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/shared-scripts.ts"],"names":[],"mappings":";;AA4BA,wDAgDC;;AA5ED;;;GAGG;AACH,uCAOoB;AACpB,2CAA8D;AAC9D,4EAAqD;AACrD,yCAA0C;AAC1C,qCAAgD;AAChD,+EAIuC;AAEvC;;;;;GAKG;AACH,SAAsB,sBAAsB,CAAC,IAAU;;QACrD,MAAM,UAAU,GAAG,IAAA,0BAAiB,EAAC,0CAAY,EAAE,gDAAkB,CAAC,CAAC;QAEvE,sCAAsC;QACtC,IAAI,IAAI,CAAC,MAAM,CAAC,IAAA,0BAAiB,EAAC,UAAU,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC;YAC/D,OAAO;QACT,CAAC;QAED,MAAM,cAAc,GAAG,IAAA,6BAAiB,EAAC,IAAI,CAAC,CAAC;QAC/C,MAAM,UAAU,GAAG,IAAA,wBAAY,EAAC,cAAc,CAAC,CAAC;QAEhD,MAAM,IAAA,mBAAkB,EAAC,IAAI,EAAE;YAC7B,IAAI,EAAE,iDAAmB;YACzB,SAAS,EAAE,0CAAY;YACvB,YAAY,EAAE,gDAAkB;SACjC,CAAC,CAAC;QAEH,0CAA0C;QAC1C,IAAI,CAAC,MAAM,CAAC,IAAA,0BAAiB,EAAC,UAAU,EAAE,KAAK,CAAC,CAAC,CAAC;QAClD,IAAA,sBAAa,EACX,IAAI,EACJ,IAAA,0BAAiB,EAAC,SAAS,EAAE,OAAO,EAAE,gDAAkB,EAAE,KAAK,CAAC,EAChE,IAAA,0BAAiB,EAAC,UAAU,EAAE,KAAK,CAAC,EACpC,EAAE,UAAU,EAAE,EACd,EAAE,iBAAiB,EAAE,0BAAiB,CAAC,YAAY,EAAE,CACtD,CAAC;QAEF,oFAAoF;QACpF,IAAA,qCAA4B,EAC1B,IAAI,EACJ,EAAE,EACF,IAAA,uBAAY,EAAC,CAAC,qBAAqB,EAAE,+BAA+B,CAAC,CAAC,CACvE,CAAC;QAEF,kBAAkB;QAClB,IAAA,sBAAa,EACX,IAAI,EACJ,IAAA,0BAAiB,EAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,EACzD,UAAU,EACV;YACE,kBAAkB,EAAE,GAAG,cAAc,GAAG,iDAAmB,EAAE;YAC7D,IAAI,EAAE,iDAAmB;YACzB,SAAS,EAAE,IAAA,iCAAwB,GAAE,CAAC,IAAI;SAC3C,EACD,EAAE,iBAAiB,EAAE,0BAAiB,CAAC,SAAS,EAAE,CACnD,CAAC;QAEF,MAAM,IAAA,6BAAoB,EAAC,IAAI,CAAC,CAAC;IACnC,CAAC;CAAA"}
@@ -6,9 +6,10 @@
6
6
  * Versons for TypeScript dependencies added by generators
7
7
  */
8
8
  export declare const TS_VERSIONS: {
9
- readonly '@aws-sdk/client-cognito-identity': "3.987.0";
10
- readonly '@aws-sdk/client-dynamodb': "3.987.0";
11
- readonly '@aws-sdk/credential-providers': "3.987.0";
9
+ readonly '@aws-sdk/client-cognito-identity': "3.992.0";
10
+ readonly '@aws-sdk/client-dynamodb': "3.992.0";
11
+ readonly '@aws-sdk/client-sts': "3.992.0";
12
+ readonly '@aws-sdk/credential-providers': "3.992.0";
12
13
  readonly '@aws-sdk/credential-provider-cognito-identity': "3.972.3";
13
14
  readonly '@aws-smithy/server-apigateway': "1.0.0-alpha.10";
14
15
  readonly '@aws-smithy/server-node': "1.0.0-alpha.10";
@@ -19,21 +20,21 @@ export declare const TS_VERSIONS: {
19
20
  readonly '@middy/core': "6.4.5";
20
21
  readonly '@nxlv/python': "22.1.0";
21
22
  readonly '@nx-extend/terraform': "9.0.1";
22
- readonly '@nx/devkit': "22.5.0";
23
- readonly '@nx/react': "22.5.0";
24
- readonly 'create-nx-workspace': "22.5.0";
25
- readonly '@modelcontextprotocol/sdk': "1.26.0";
23
+ readonly '@nx/devkit': "22.5.1";
24
+ readonly '@nx/react': "22.5.1";
25
+ readonly 'create-nx-workspace': "22.5.1";
26
+ readonly '@modelcontextprotocol/sdk': "1.27.0";
26
27
  readonly '@modelcontextprotocol/inspector': "0.19.0";
27
- readonly '@strands-agents/sdk': "0.2.1";
28
- readonly '@tanstack/react-router': "1.159.5";
29
- readonly '@tanstack/router-plugin': "1.159.5";
30
- readonly '@tanstack/router-generator': "1.159.4";
28
+ readonly '@strands-agents/sdk': "0.2.2";
29
+ readonly '@tanstack/react-router': "1.160.2";
30
+ readonly '@tanstack/router-plugin': "1.160.2";
31
+ readonly '@tanstack/router-generator': "1.160.1";
31
32
  readonly '@tanstack/virtual-file-routes': "1.154.7";
32
33
  readonly '@tanstack/router-utils': "1.158.0";
33
- readonly '@cloudscape-design/board-components': "3.0.147";
34
- readonly '@cloudscape-design/components': "3.0.1200";
34
+ readonly '@cloudscape-design/board-components': "3.0.149";
35
+ readonly '@cloudscape-design/components': "3.0.1204";
35
36
  readonly '@cloudscape-design/global-styles': "1.0.50";
36
- readonly '@tanstack/react-query': "5.90.20";
37
+ readonly '@tanstack/react-query': "5.90.21";
37
38
  readonly '@tanstack/react-query-devtools': "5.91.3";
38
39
  readonly '@trpc/tanstack-react-query': "11.10.0";
39
40
  readonly '@trpc/client': "11.10.0";
@@ -45,16 +46,18 @@ export declare const TS_VERSIONS: {
45
46
  readonly '@types/express': "5.0.6";
46
47
  readonly '@smithy/types': "4.12.0";
47
48
  readonly aws4fetch: "1.0.20";
48
- readonly 'aws-cdk': "2.1105.0";
49
+ readonly 'aws-cdk': "2.1106.0";
49
50
  readonly 'aws-cdk-lib': "2.238.0";
50
51
  readonly '@aws-cdk/aws-bedrock-agentcore-alpha': "2.238.0-alpha.0";
51
52
  readonly 'aws-xray-sdk-core': "3.12.0";
52
- readonly constructs: "10.4.5";
53
+ readonly constructs: "10.5.0";
53
54
  readonly cors: "2.8.6";
54
55
  readonly 'class-variance-authority': "0.7.1";
55
56
  readonly clsx: "2.1.1";
56
57
  readonly electrodb: "3.5.3";
57
58
  readonly esbuild: "0.27.3";
59
+ readonly 'event-source-polyfill': "1.0.31";
60
+ readonly '@types/event-source-polyfill': "1.0.5";
58
61
  readonly 'eslint-plugin-prettier': "5.5.5";
59
62
  readonly express: "5.2.1";
60
63
  readonly 'jsonc-eslint-parser': "2.4.2";
@@ -66,17 +69,17 @@ export declare const TS_VERSIONS: {
66
69
  readonly 'react-oidc-context': "3.3.0";
67
70
  readonly react: "19.2.4";
68
71
  readonly 'react-dom': "19.2.4";
69
- readonly rimraf: "6.1.2";
72
+ readonly rimraf: "6.1.3";
70
73
  readonly rolldown: "1.0.0-rc.1";
71
74
  readonly 'source-map-support': "0.5.21";
72
75
  readonly tailwindcss: "4.1.18";
73
76
  readonly '@tailwindcss/vite': "4.1.18";
74
77
  readonly tsx: "4.21.0";
75
- readonly 'lucide-react': "0.563.0";
78
+ readonly 'lucide-react': "0.574.0";
76
79
  readonly 'radix-ui': "1.4.3";
77
- readonly shadcn: "3.8.4";
80
+ readonly shadcn: "3.8.5";
78
81
  readonly 'tw-animate-css': "1.4.0";
79
- readonly 'tailwind-merge': "3.4.0";
82
+ readonly 'tailwind-merge': "3.4.1";
80
83
  readonly 'vite-tsconfig-paths': "5.1.4";
81
84
  readonly zod: "4.3.6";
82
85
  readonly ws: "8.19.0";
@@ -86,7 +89,7 @@ export type ITsDepVersion = keyof typeof TS_VERSIONS;
86
89
  * Add versions to the given dependencies
87
90
  */
88
91
  export declare const withVersions: (deps: ITsDepVersion[]) => {
89
- [k: string]: "3.987.0" | "3.972.3" | "1.0.0-alpha.10" | "2.31.0" | "6.4.5" | "22.1.0" | "9.0.1" | "22.5.0" | "1.26.0" | "0.19.0" | "0.2.1" | "1.159.5" | "1.159.4" | "1.154.7" | "1.158.0" | "3.0.147" | "3.0.1200" | "1.0.50" | "5.90.20" | "5.91.3" | "11.10.0" | "22.19.11" | "8.10.160" | "2.8.19" | "8.18.1" | "5.0.6" | "4.12.0" | "1.0.20" | "2.1105.0" | "2.238.0" | "2.238.0-alpha.0" | "3.12.0" | "10.4.5" | "2.8.6" | "0.7.1" | "2.1.1" | "3.5.3" | "0.27.3" | "5.5.5" | "5.2.1" | "2.4.2" | "4.0.0" | "2.0.0" | "19.3.2" | "3.4.1" | "3.8.1" | "3.3.0" | "19.2.4" | "6.1.2" | "1.0.0-rc.1" | "0.5.21" | "4.1.18" | "4.21.0" | "0.563.0" | "1.4.3" | "3.8.4" | "1.4.0" | "3.4.0" | "5.1.4" | "4.3.6" | "8.19.0";
92
+ [k: string]: "3.992.0" | "3.972.3" | "1.0.0-alpha.10" | "2.31.0" | "6.4.5" | "22.1.0" | "9.0.1" | "22.5.1" | "1.27.0" | "0.19.0" | "0.2.2" | "1.160.2" | "1.160.1" | "1.154.7" | "1.158.0" | "3.0.149" | "3.0.1204" | "1.0.50" | "5.90.21" | "5.91.3" | "11.10.0" | "22.19.11" | "8.10.160" | "2.8.19" | "8.18.1" | "5.0.6" | "4.12.0" | "1.0.20" | "2.1106.0" | "2.238.0" | "2.238.0-alpha.0" | "3.12.0" | "10.5.0" | "2.8.6" | "0.7.1" | "2.1.1" | "3.5.3" | "0.27.3" | "1.0.31" | "1.0.5" | "5.5.5" | "5.2.1" | "2.4.2" | "4.0.0" | "2.0.0" | "19.3.2" | "3.4.1" | "3.8.1" | "3.3.0" | "19.2.4" | "6.1.3" | "1.0.0-rc.1" | "0.5.21" | "4.1.18" | "4.21.0" | "0.574.0" | "1.4.3" | "3.8.5" | "1.4.0" | "5.1.4" | "4.3.6" | "8.19.0";
90
93
  };
91
94
  /**
92
95
  * Versions for Python dependencies added by generators
@@ -97,16 +100,16 @@ export declare const PY_VERSIONS: {
97
100
  readonly 'aws-lambda-powertools[parser]': "==3.24.0";
98
101
  readonly 'aws-opentelemetry-distro': "==0.15.0";
99
102
  readonly 'bedrock-agentcore': "==0.1.7";
100
- readonly boto3: "==1.42.49";
101
- readonly checkov: "==3.2.501";
102
- readonly fastapi: "==0.129.0";
103
- readonly 'fastapi[standard]': "==0.129.0";
103
+ readonly boto3: "==1.42.54";
104
+ readonly checkov: "==3.2.505";
105
+ readonly fastapi: "==0.131.0";
106
+ readonly 'fastapi[standard]': "==0.131.0";
104
107
  readonly mangum: "==0.21.0";
105
108
  readonly mcp: "==1.26.0";
106
109
  readonly 'pip-check-updates': "==0.28.0";
107
- readonly 'strands-agents': "==1.26.0";
108
- readonly 'strands-agents-tools': "==0.2.20";
109
- readonly uvicorn: "==0.40.0";
110
+ readonly 'strands-agents': "==1.27.0";
111
+ readonly 'strands-agents-tools': "==0.2.21";
112
+ readonly uvicorn: "==0.41.0";
110
113
  };
111
114
  export type IPyDepVersion = keyof typeof PY_VERSIONS;
112
115
  /**
@@ -9,9 +9,10 @@ exports.withPyVersions = exports.PY_VERSIONS = exports.withVersions = exports.TS
9
9
  * Versons for TypeScript dependencies added by generators
10
10
  */
11
11
  exports.TS_VERSIONS = {
12
- '@aws-sdk/client-cognito-identity': '3.987.0',
13
- '@aws-sdk/client-dynamodb': '3.987.0',
14
- '@aws-sdk/credential-providers': '3.987.0',
12
+ '@aws-sdk/client-cognito-identity': '3.992.0',
13
+ '@aws-sdk/client-dynamodb': '3.992.0',
14
+ '@aws-sdk/client-sts': '3.992.0',
15
+ '@aws-sdk/credential-providers': '3.992.0',
15
16
  '@aws-sdk/credential-provider-cognito-identity': '3.972.3',
16
17
  '@aws-smithy/server-apigateway': '1.0.0-alpha.10',
17
18
  '@aws-smithy/server-node': '1.0.0-alpha.10',
@@ -22,21 +23,21 @@ exports.TS_VERSIONS = {
22
23
  '@middy/core': '6.4.5',
23
24
  '@nxlv/python': '22.1.0',
24
25
  '@nx-extend/terraform': '9.0.1',
25
- '@nx/devkit': '22.5.0',
26
- '@nx/react': '22.5.0',
27
- 'create-nx-workspace': '22.5.0',
28
- '@modelcontextprotocol/sdk': '1.26.0',
26
+ '@nx/devkit': '22.5.1',
27
+ '@nx/react': '22.5.1',
28
+ 'create-nx-workspace': '22.5.1',
29
+ '@modelcontextprotocol/sdk': '1.27.0',
29
30
  '@modelcontextprotocol/inspector': '0.19.0',
30
- '@strands-agents/sdk': '0.2.1',
31
- '@tanstack/react-router': '1.159.5',
32
- '@tanstack/router-plugin': '1.159.5',
33
- '@tanstack/router-generator': '1.159.4',
31
+ '@strands-agents/sdk': '0.2.2',
32
+ '@tanstack/react-router': '1.160.2',
33
+ '@tanstack/router-plugin': '1.160.2',
34
+ '@tanstack/router-generator': '1.160.1',
34
35
  '@tanstack/virtual-file-routes': '1.154.7',
35
36
  '@tanstack/router-utils': '1.158.0',
36
- '@cloudscape-design/board-components': '3.0.147',
37
- '@cloudscape-design/components': '3.0.1200',
37
+ '@cloudscape-design/board-components': '3.0.149',
38
+ '@cloudscape-design/components': '3.0.1204',
38
39
  '@cloudscape-design/global-styles': '1.0.50',
39
- '@tanstack/react-query': '5.90.20',
40
+ '@tanstack/react-query': '5.90.21',
40
41
  '@tanstack/react-query-devtools': '5.91.3',
41
42
  '@trpc/tanstack-react-query': '11.10.0',
42
43
  '@trpc/client': '11.10.0',
@@ -48,16 +49,18 @@ exports.TS_VERSIONS = {
48
49
  '@types/express': '5.0.6',
49
50
  '@smithy/types': '4.12.0',
50
51
  aws4fetch: '1.0.20',
51
- 'aws-cdk': '2.1105.0',
52
+ 'aws-cdk': '2.1106.0',
52
53
  'aws-cdk-lib': '2.238.0',
53
54
  '@aws-cdk/aws-bedrock-agentcore-alpha': '2.238.0-alpha.0',
54
55
  'aws-xray-sdk-core': '3.12.0',
55
- constructs: '10.4.5',
56
+ constructs: '10.5.0',
56
57
  cors: '2.8.6',
57
58
  'class-variance-authority': '0.7.1',
58
59
  clsx: '2.1.1',
59
60
  electrodb: '3.5.3',
60
61
  esbuild: '0.27.3',
62
+ 'event-source-polyfill': '1.0.31',
63
+ '@types/event-source-polyfill': '1.0.5',
61
64
  'eslint-plugin-prettier': '5.5.5',
62
65
  express: '5.2.1',
63
66
  'jsonc-eslint-parser': '2.4.2',
@@ -69,17 +72,17 @@ exports.TS_VERSIONS = {
69
72
  'react-oidc-context': '3.3.0',
70
73
  react: '19.2.4',
71
74
  'react-dom': '19.2.4',
72
- rimraf: '6.1.2',
75
+ rimraf: '6.1.3',
73
76
  rolldown: '1.0.0-rc.1',
74
77
  'source-map-support': '0.5.21',
75
78
  tailwindcss: '4.1.18',
76
79
  '@tailwindcss/vite': '4.1.18',
77
80
  tsx: '4.21.0',
78
- 'lucide-react': '0.563.0',
81
+ 'lucide-react': '0.574.0',
79
82
  'radix-ui': '1.4.3',
80
- shadcn: '3.8.4',
83
+ shadcn: '3.8.5',
81
84
  'tw-animate-css': '1.4.0',
82
- 'tailwind-merge': '3.4.0',
85
+ 'tailwind-merge': '3.4.1',
83
86
  'vite-tsconfig-paths': '5.1.4',
84
87
  zod: '4.3.6',
85
88
  ws: '8.19.0',
@@ -98,16 +101,16 @@ exports.PY_VERSIONS = {
98
101
  'aws-lambda-powertools[parser]': '==3.24.0',
99
102
  'aws-opentelemetry-distro': '==0.15.0',
100
103
  'bedrock-agentcore': '==0.1.7',
101
- boto3: '==1.42.49',
102
- checkov: '==3.2.501',
103
- fastapi: '==0.129.0',
104
- 'fastapi[standard]': '==0.129.0',
104
+ boto3: '==1.42.54',
105
+ checkov: '==3.2.505',
106
+ fastapi: '==0.131.0',
107
+ 'fastapi[standard]': '==0.131.0',
105
108
  mangum: '==0.21.0',
106
109
  mcp: '==1.26.0',
107
110
  'pip-check-updates': '==0.28.0',
108
- 'strands-agents': '==1.26.0',
109
- 'strands-agents-tools': '==0.2.20',
110
- uvicorn: '==0.40.0',
111
+ 'strands-agents': '==1.27.0',
112
+ 'strands-agents-tools': '==0.2.21',
113
+ uvicorn: '==0.41.0',
111
114
  };
112
115
  /**
113
116
  * Add versions to the given dependencies
@@ -1 +1 @@
1
- {"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/versions.ts"],"names":[],"mappings":";AAAA;;;GAGG;;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