@aws/nx-plugin 1.0.0-rc.0 → 1.0.0-rc.2

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 (211) hide show
  1. package/generators.json +10 -5
  2. package/package.json +1 -1
  3. package/src/connection/generator.js +2 -2
  4. package/src/connection/generator.js.map +1 -1
  5. package/src/infra/app/__snapshots__/generator.spec.ts.snap +11 -11
  6. package/src/infra/app/files/app/src/main.ts.template +2 -2
  7. package/src/infra/app/generator.js +9 -9
  8. package/src/infra/app/generator.js.map +1 -1
  9. package/src/infra/app/schema.d.ts +1 -1
  10. package/src/infra/app/schema.json +1 -1
  11. package/src/mcp-server/guide-pipeline.js +8 -10
  12. package/src/mcp-server/guide-pipeline.js.map +1 -1
  13. package/src/mcp-server/tools/create-workspace-command.js +1 -1
  14. package/src/mcp-server/tools/create-workspace-command.js.map +1 -1
  15. package/src/mcp-server/tools/generator-guide.js +2 -2
  16. package/src/mcp-server/tools/generator-guide.js.map +1 -1
  17. package/src/preset/__snapshots__/generator.spec.ts.snap +1 -1
  18. package/src/preset/generator.d.ts +1 -1
  19. package/src/preset/generator.js +4 -6
  20. package/src/preset/generator.js.map +1 -1
  21. package/src/preset/schema.d.ts +5 -5
  22. package/src/preset/schema.json +4 -4
  23. package/src/py/agent/__snapshots__/generator.spec.ts.snap +1 -1
  24. package/src/py/agent/a2a-connection/generator.js +4 -3
  25. package/src/py/agent/a2a-connection/generator.js.map +1 -1
  26. package/src/py/agent/files/deploy/Dockerfile.template +3 -3
  27. package/src/py/agent/generator.js +23 -23
  28. package/src/py/agent/generator.js.map +1 -1
  29. package/src/py/agent/mcp-connection/generator.js +1 -1
  30. package/src/py/agent/mcp-connection/generator.js.map +1 -1
  31. package/src/py/agent/react-connection/__snapshots__/generator.spec.ts.snap +3 -3
  32. package/src/py/agent/react-connection/generator.js +4 -4
  33. package/src/py/agent/react-connection/generator.js.map +1 -1
  34. package/src/py/agent/schema.d.ts +8 -8
  35. package/src/py/agent/schema.json +18 -18
  36. package/src/py/api/generator.js +2 -2
  37. package/src/py/api/generator.js.map +1 -1
  38. package/src/py/api/schema.d.ts +4 -6
  39. package/src/py/api/schema.json +15 -15
  40. package/src/py/fast-api/__snapshots__/generator.spec.ts.snap +6 -6
  41. package/src/py/fast-api/generator.js +50 -38
  42. package/src/py/fast-api/generator.js.map +1 -1
  43. package/src/py/fast-api/react/generator.js +1 -1
  44. package/src/py/fast-api/react/generator.js.map +1 -1
  45. package/src/py/fast-api/schema.d.ts +4 -6
  46. package/src/py/fast-api/schema.json +15 -15
  47. package/src/py/lambda-function/__snapshots__/generator.spec.ts.snap +2 -2
  48. package/src/py/lambda-function/files/handler/__lambdaFunctionSnakeCase__.py.template +6 -6
  49. package/src/py/lambda-function/generator.js +23 -20
  50. package/src/py/lambda-function/generator.js.map +1 -1
  51. package/src/py/lambda-function/schema.d.ts +7 -4
  52. package/src/py/lambda-function/schema.json +15 -7
  53. package/src/py/mcp-server/__snapshots__/generator.spec.ts.snap +1 -1
  54. package/src/py/mcp-server/generator.js +11 -11
  55. package/src/py/mcp-server/generator.js.map +1 -1
  56. package/src/py/mcp-server/schema.d.ts +5 -9
  57. package/src/py/mcp-server/schema.json +15 -15
  58. package/src/py/project/generator.js +1 -1
  59. package/src/py/project/generator.js.map +1 -1
  60. package/src/py/project/schema.d.ts +1 -1
  61. package/src/py/project/schema.json +2 -2
  62. package/src/smithy/project/generator.js +2 -2
  63. package/src/smithy/project/generator.js.map +1 -1
  64. package/src/smithy/react-connection/generator.js +1 -1
  65. package/src/smithy/react-connection/generator.js.map +1 -1
  66. package/src/smithy/ts/api/__snapshots__/generator.spec.ts.snap +4 -4
  67. package/src/smithy/ts/api/generator.js +72 -55
  68. package/src/smithy/ts/api/generator.js.map +1 -1
  69. package/src/smithy/ts/api/schema.d.ts +4 -6
  70. package/src/smithy/ts/api/schema.json +15 -15
  71. package/src/terraform/project/generator.js +1 -1
  72. package/src/terraform/project/generator.js.map +1 -1
  73. package/src/trpc/backend/__snapshots__/generator.spec.ts.snap +6 -6
  74. package/src/trpc/backend/files/src/client/index.ts.template +5 -5
  75. package/src/trpc/backend/files/src/handler.ts.template +2 -2
  76. package/src/trpc/backend/generator.js +69 -51
  77. package/src/trpc/backend/generator.js.map +1 -1
  78. package/src/trpc/backend/schema.d.ts +4 -4
  79. package/src/trpc/backend/schema.json +15 -15
  80. package/src/trpc/react/__snapshots__/generator.spec.ts.snap +3 -3
  81. package/src/trpc/react/files/src/components/__apiNameClassName__ClientProvider.tsx.template +14 -14
  82. package/src/trpc/react/generator.js +6 -5
  83. package/src/trpc/react/generator.js.map +1 -1
  84. package/src/ts/agent/__snapshots__/generator.spec.ts.snap +1 -1
  85. package/src/ts/agent/a2a-connection/generator.js +4 -3
  86. package/src/ts/agent/a2a-connection/generator.js.map +1 -1
  87. package/src/ts/agent/files/deploy/Dockerfile.template +1 -1
  88. package/src/ts/agent/generator.js +22 -22
  89. package/src/ts/agent/generator.js.map +1 -1
  90. package/src/ts/agent/mcp-connection/generator.js +1 -1
  91. package/src/ts/agent/mcp-connection/generator.js.map +1 -1
  92. package/src/ts/agent/react-connection/files/src/components/__agentNameClassName__AgentClientProvider.tsx.template +8 -8
  93. package/src/ts/agent/react-connection/generator.js +6 -6
  94. package/src/ts/agent/react-connection/generator.js.map +1 -1
  95. package/src/ts/agent/react-connection/serve-local.js +2 -2
  96. package/src/ts/agent/schema.d.ts +8 -8
  97. package/src/ts/agent/schema.json +18 -18
  98. package/src/ts/api/generator.js +6 -4
  99. package/src/ts/api/generator.js.map +1 -1
  100. package/src/ts/api/schema.d.ts +4 -4
  101. package/src/ts/api/schema.json +15 -15
  102. package/src/ts/lambda-function/__snapshots__/generator.spec.ts.snap +2 -2
  103. package/src/ts/lambda-function/files/handler/__lambdaFunctionKebabCase__.ts.template +10 -10
  104. package/src/ts/lambda-function/generator.js +33 -28
  105. package/src/ts/lambda-function/generator.js.map +1 -1
  106. package/src/ts/lambda-function/schema.d.ts +7 -4
  107. package/src/ts/lambda-function/schema.json +15 -7
  108. package/src/ts/mcp-server/__snapshots__/generator.spec.ts.snap +1 -1
  109. package/src/ts/mcp-server/generator.js +12 -12
  110. package/src/ts/mcp-server/generator.js.map +1 -1
  111. package/src/ts/mcp-server/schema.d.ts +5 -9
  112. package/src/ts/mcp-server/schema.json +15 -15
  113. package/src/ts/nx-generator/__snapshots__/generator.spec.ts.snap +1 -1
  114. package/src/ts/nx-generator/files/nx-plugin-for-aws/generator/generator.spec.ts.template +1 -1
  115. package/src/ts/nx-plugin/generator.js +2 -2
  116. package/src/ts/nx-plugin/generator.js.map +1 -1
  117. package/src/ts/rdb/__snapshots__/generator.spec.ts.snap +2 -2
  118. package/src/ts/rdb/files/prisma.config.ts.template +1 -1
  119. package/src/ts/rdb/files/scripts/docker-pull.ts.template +1 -1
  120. package/src/ts/rdb/files/scripts/docker-start.ts.template +3 -3
  121. package/src/ts/rdb/files/scripts/wait-for-db.ts.template +3 -3
  122. package/src/ts/rdb/files/src/create-db-user-handler.ts.template +2 -2
  123. package/src/ts/rdb/files/src/migration-handler.ts.template +2 -2
  124. package/src/ts/rdb/files/src/prisma.ts.template +2 -2
  125. package/src/ts/rdb/generator.js +84 -66
  126. package/src/ts/rdb/generator.js.map +1 -1
  127. package/src/ts/rdb/schema.d.ts +5 -5
  128. package/src/ts/rdb/schema.json +13 -13
  129. package/src/ts/rdb/trpc-connection/files/src/middleware/__rdbNameKebab__.ts.template +1 -1
  130. package/src/ts/react-website/agui/files/common/src/hooks/useAgui__agentNameClassName__.tsx.template +9 -9
  131. package/src/ts/react-website/agui/generator.d.ts +2 -2
  132. package/src/ts/react-website/agui/generator.js +9 -9
  133. package/src/ts/react-website/agui/generator.js.map +1 -1
  134. package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +27 -25
  135. package/src/ts/react-website/app/files/app/cloudscape/src/components/AppLayout/index.tsx.template +5 -5
  136. package/src/ts/react-website/app/files/app/cloudscape/src/main.tsx.template +1 -1
  137. package/src/ts/react-website/app/files/app/cloudscape/src/styles.css.template +1 -1
  138. package/src/ts/react-website/app/files/app/none/src/components/AppLayout/index.tsx.template +5 -5
  139. package/src/ts/react-website/app/files/app/none/src/main.tsx.template +1 -1
  140. package/src/ts/react-website/app/files/app/none/src/styles.css.template +2 -2
  141. package/src/ts/react-website/app/files/app/shadcn/src/components/AppLayout/index.tsx.template +6 -6
  142. package/src/ts/react-website/app/files/app/shadcn/src/main.tsx.template +1 -1
  143. package/src/ts/react-website/app/generator.d.ts +3 -3
  144. package/src/ts/react-website/app/generator.js +104 -98
  145. package/src/ts/react-website/app/generator.js.map +1 -1
  146. package/src/ts/react-website/app/schema.d.ts +9 -6
  147. package/src/ts/react-website/app/schema.json +13 -13
  148. package/src/ts/react-website/cognito-auth/__snapshots__/generator.terraform.spec.ts.snap +3 -3
  149. package/src/ts/react-website/cognito-auth/__snapshots__/generator.ux-provider.spec.ts.snap +3 -3
  150. package/src/ts/react-website/cognito-auth/generator.js +9 -9
  151. package/src/ts/react-website/cognito-auth/generator.js.map +1 -1
  152. package/src/ts/react-website/cognito-auth/schema.d.ts +2 -2
  153. package/src/ts/react-website/cognito-auth/schema.json +4 -4
  154. package/src/ts/website/app/schema.d.ts +8 -6
  155. package/src/ts/website/app/schema.json +21 -13
  156. package/src/ts/website/auth/generator.js +1 -1
  157. package/src/ts/website/auth/generator.js.map +1 -1
  158. package/src/ts/website/auth/schema.d.ts +2 -2
  159. package/src/ts/website/auth/schema.json +4 -4
  160. package/src/utils/agent-connection/agent-connection.js +1 -1
  161. package/src/utils/agent-connection/agent-connection.js.map +1 -1
  162. package/src/utils/agent-core-constructs/agent-core-constructs.d.ts +9 -9
  163. package/src/utils/agent-core-constructs/agent-core-constructs.js +11 -13
  164. package/src/utils/agent-core-constructs/agent-core-constructs.js.map +1 -1
  165. package/src/utils/agent-core-constructs/files/cdk/app/agent-core/__nameKebabCase__/__nameKebabCase__.ts.template +13 -13
  166. package/src/utils/agent-core-constructs/files/terraform/app/agent-core/__nameKebabCase__/__nameKebabCase__.tf.template +4 -4
  167. package/src/utils/agent-core-constructs/files/terraform/core/agent-core/runtime.tf.template +5 -5
  168. package/src/utils/api-constructs/api-constructs.d.ts +3 -3
  169. package/src/utils/api-constructs/api-constructs.js +4 -6
  170. package/src/utils/api-constructs/api-constructs.js.map +1 -1
  171. package/src/utils/api-constructs/files/cdk/app/apis/http/__apiNameKebabCase__.ts.template +12 -12
  172. package/src/utils/api-constructs/files/cdk/app/apis/rest/__apiNameKebabCase__.ts.template +12 -12
  173. package/src/utils/api-constructs/files/terraform/app/apis/http/__apiNameKebabCase__/__apiNameKebabCase__.tf.template +7 -7
  174. package/src/utils/api-constructs/files/terraform/app/apis/rest/__apiNameKebabCase__/__apiNameKebabCase__.tf.template +10 -10
  175. package/src/utils/api-constructs/open-api-metadata.d.ts +3 -3
  176. package/src/utils/api-constructs/open-api-metadata.js +2 -2
  177. package/src/utils/api-constructs/open-api-metadata.js.map +1 -1
  178. package/src/utils/commands.d.ts +1 -1
  179. package/src/utils/commands.js +2 -2
  180. package/src/utils/commands.js.map +1 -1
  181. package/src/utils/config/__snapshots__/utils.spec.ts.snap +6 -6
  182. package/src/utils/config/index.d.ts +2 -2
  183. package/src/utils/connection/open-api/files/components/__apiNameClassName__Provider.tsx.template +7 -7
  184. package/src/utils/connection/open-api/react.d.ts +1 -1
  185. package/src/utils/connection/open-api/react.js +3 -3
  186. package/src/utils/containers.d.ts +5 -5
  187. package/src/utils/containers.js +6 -6
  188. package/src/utils/containers.js.map +1 -1
  189. package/src/utils/function-constructs/files/cdk/app/lambda-functions/{__functionNameKebabCase__.ts.template → __nameKebabCase__.ts.template} +1 -1
  190. package/src/utils/function-constructs/files/terraform/app/lambda-functions/{__functionNameKebabCase__/__functionNameKebabCase__.tf.template → __nameKebabCase__/__nameKebabCase__.tf.template} +7 -7
  191. package/src/utils/function-constructs/function-constructs.d.ts +4 -4
  192. package/src/utils/function-constructs/function-constructs.js +5 -7
  193. package/src/utils/function-constructs/function-constructs.js.map +1 -1
  194. package/src/utils/iac-providers.d.ts +3 -3
  195. package/src/utils/iac-providers.js +1 -1
  196. package/src/utils/iac.d.ts +2 -2
  197. package/src/utils/iac.js +6 -6
  198. package/src/utils/iac.js.map +1 -1
  199. package/src/utils/identity-constructs/identity-constructs.d.ts +2 -2
  200. package/src/utils/identity-constructs/identity-constructs.js +3 -3
  201. package/src/utils/identity-constructs/identity-constructs.js.map +1 -1
  202. package/src/utils/rdb-constructs/files/terraform/app/dbs/__nameKebabCase__/__nameKebabCase__.tf.template +4 -4
  203. package/src/utils/rdb-constructs/rdb-constructs.d.ts +4 -4
  204. package/src/utils/rdb-constructs/rdb-constructs.js +4 -6
  205. package/src/utils/rdb-constructs/rdb-constructs.js.map +1 -1
  206. package/src/utils/shared-constructs.d.ts +2 -2
  207. package/src/utils/shared-constructs.js +3 -3
  208. package/src/utils/shared-constructs.js.map +1 -1
  209. package/src/utils/website-constructs/website-constructs.d.ts +2 -2
  210. package/src/utils/website-constructs/website-constructs.js +4 -6
  211. package/src/utils/website-constructs/website-constructs.js.map +1 -1
@@ -125,7 +125,7 @@ exports[`react-website generator > TailwindCSS integration > should not include
125
125
  "
126
126
  `;
127
127
 
128
- exports[`react-website generator > TailwindCSS integration > terraform iacProvider > should generate terraform files for static website and snapshot them > terraform-static-website-files 1`] = `
128
+ exports[`react-website generator > TailwindCSS integration > terraform iac > should generate terraform files for static website and snapshot them > terraform-static-website-files 1`] = `
129
129
  {
130
130
  "static-website.tf": "terraform {
131
131
  required_providers {
@@ -2029,8 +2029,9 @@ exports[`react-website generator > Tanstack router integration > should generate
2029
2029
  "tags": [],
2030
2030
  "metadata": {
2031
2031
  "generator": "ts#react-website",
2032
- "uxProvider": "Cloudscape",
2033
- "framework": "react"
2032
+ "ux": "cloudscape",
2033
+ "framework": "react",
2034
+ "infra": "cloudfront-s3"
2034
2035
  },
2035
2036
  "targets": {
2036
2037
  "build": {
@@ -3656,8 +3657,9 @@ exports[`react-website generator > Tanstack router integration > should generate
3656
3657
  "tags": [],
3657
3658
  "metadata": {
3658
3659
  "generator": "ts#react-website",
3659
- "uxProvider": "Cloudscape",
3660
- "framework": "react"
3660
+ "ux": "cloudscape",
3661
+ "framework": "react",
3662
+ "infra": "cloudfront-s3"
3661
3663
  },
3662
3664
  "targets": {
3663
3665
  "build": {
@@ -4985,7 +4987,7 @@ exports[`react-website generator > should handle npm scope prefix correctly > sc
4985
4987
  }
4986
4988
  `;
4987
4989
 
4988
- exports[`react-website generator uxProvider tests > Cloudscape > should update package.json with required dependencies > test-app/src/components/AppLayout/index.tsx 1`] = `
4990
+ exports[`react-website generator ux tests > Cloudscape > should update package.json with required dependencies > test-app/src/components/AppLayout/index.tsx 1`] = `
4989
4991
  "import * as React from 'react';
4990
4992
  import { createContext, useCallback, useEffect, useState } from 'react';
4991
4993
  import Config from '../../config';
@@ -5142,21 +5144,21 @@ export default AppLayout;
5142
5144
  "
5143
5145
  `;
5144
5146
 
5145
- exports[`react-website generator uxProvider tests > Cloudscape > should update package.json with required dependencies > test-app/src/components/alert.tsx 1`] = `
5147
+ exports[`react-website generator ux tests > Cloudscape > should update package.json with required dependencies > test-app/src/components/alert.tsx 1`] = `
5146
5148
  "import { Alert as CloudscapeAlert } from '@cloudscape-design/components';
5147
5149
 
5148
5150
  export const Alert = CloudscapeAlert;
5149
5151
  "
5150
5152
  `;
5151
5153
 
5152
- exports[`react-website generator uxProvider tests > Cloudscape > should update package.json with required dependencies > test-app/src/components/spinner.tsx 1`] = `
5154
+ exports[`react-website generator ux tests > Cloudscape > should update package.json with required dependencies > test-app/src/components/spinner.tsx 1`] = `
5153
5155
  "import { Spinner as CloudscapeSpinner } from '@cloudscape-design/components';
5154
5156
 
5155
5157
  export const Spinner = CloudscapeSpinner;
5156
5158
  "
5157
5159
  `;
5158
5160
 
5159
- exports[`react-website generator uxProvider tests > Cloudscape > should update package.json with required dependencies > test-app/src/config.ts 1`] = `
5161
+ exports[`react-website generator ux tests > Cloudscape > should update package.json with required dependencies > test-app/src/config.ts 1`] = `
5160
5162
  "export default {
5161
5163
  applicationName: 'test-app',
5162
5164
  logo: 'data:image/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KDTwhLS0gVXBsb2FkZWQgdG86IFNWRyBSZXBvLCB3d3cuc3ZncmVwby5jb20sIFRyYW5zZm9ybWVkIGJ5OiBTVkcgUmVwbyBNaXhlciBUb29scyAtLT4KPHN2ZyBmaWxsPSIjMjQ4YmFlIiB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0cm9rZT0iIzI0OGJhZSI+Cg08ZyBpZD0iU1ZHUmVwb19iZ0NhcnJpZXIiIHN0cm9rZS13aWR0aD0iMCIvPgoNPGcgaWQ9IlNWR1JlcG9fdHJhY2VyQ2FycmllciIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cg08ZyBpZD0iU1ZHUmVwb19pY29uQ2FycmllciI+Cg08dGl0bGU+aW9uaWNvbnMtdjVfbG9nb3M8L3RpdGxlPgoNPHBhdGggZD0iTTQxMC42NiwxODAuNzJoMHEtNy42Ny0yLjYyLTE1LjQ1LTQuODgsMS4yOS01LjI1LDIuMzgtMTAuNTZjMTEuNy01Ni45LDQuMDUtMTAyLjc0LTIyLjA2LTExNy44My0yNS0xNC40OC02NiwuNjEtMTA3LjM2LDM2LjY5cS02LjEsNS4zNC0xMS45NSwxMS0zLjktMy43Ni04LTcuMzZjLTQzLjM1LTM4LjU4LTg2LjgtNTQuODMtMTEyLjg4LTM5LjY5LTI1LDE0LjUxLTMyLjQzLDU3LjY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MWE0ODQuNTQsNDg0LjU0LDAsMCwwLDQwLjIzLTUxLjIsNDc3Ljg0LDQ3Ny44NCwwLDAsMCw2NS0xMC4wNXExLjQ3LDUuOTQsMi42LDExLjY0aDBDMzgzLjgxLDM3Ny41OCwzODQuNSwzOTkuNTYsMzgxLjMyLDQxNi43NVptMTcuNC0xMDIuNjRoMGMtMi42Mi44Ny01LjMyLDEuNzEtOC4wNiwyLjUzYTQ4My4yNiw0ODMuMjYsMCwwLDAtMjQuMzEtNjAuOTQsNDgxLjUyLDQ4MS41MiwwLDAsMCwyMy4zNi02MC4wNmM0LjkxLDEuNDMsOS42OCwyLjkzLDE0LjI3LDQuNTIsNDQuNDIsMTUuMzIsNzEuNTIsMzgsNzEuNTIsNTUuNDNDNDc1LjUsMjc0LjE5LDQ0Ni4yMywyOTguMzMsMzk4LjcyLDMxNC4xMVoiLz4KDTxwYXRoIGQ9Ik0yNTYsMjk4LjU1YTQzLDQzLDAsMSwwLTQyLjg2LTQzQTQyLjkxLDQyLjkxLDAsMCwwLDI1NiwyOTguNTVaIi8+Cg08L2c+Cg08L3N2Zz4=',
@@ -5164,7 +5166,7 @@ exports[`react-website generator uxProvider tests > Cloudscape > should update p
5164
5166
  "
5165
5167
  `;
5166
5168
 
5167
- exports[`react-website generator uxProvider tests > Cloudscape > should update package.json with required dependencies > test-app/src/hooks/useAppLayout.tsx 1`] = `
5169
+ exports[`react-website generator ux tests > Cloudscape > should update package.json with required dependencies > test-app/src/hooks/useAppLayout.tsx 1`] = `
5168
5170
  "import { useContext } from 'react';
5169
5171
  import { AppLayoutContext } from '../components/AppLayout';
5170
5172
 
@@ -5173,7 +5175,7 @@ export const useAppLayout = (): AppLayoutContext =>
5173
5175
  "
5174
5176
  `;
5175
5177
 
5176
- exports[`react-website generator uxProvider tests > Cloudscape > should update package.json with required dependencies > test-app/src/main.tsx 1`] = `
5178
+ exports[`react-website generator ux tests > Cloudscape > should update package.json with required dependencies > test-app/src/main.tsx 1`] = `
5177
5179
  "import React from 'react';
5178
5180
  import { createRoot } from 'react-dom/client';
5179
5181
  import { I18nProvider } from '@cloudscape-design/components/i18n';
@@ -5213,7 +5215,7 @@ root &&
5213
5215
  "
5214
5216
  `;
5215
5217
 
5216
- exports[`react-website generator uxProvider tests > Cloudscape > should update package.json with required dependencies > test-app/src/routeTree.gen.ts 1`] = `
5218
+ exports[`react-website generator ux tests > Cloudscape > should update package.json with required dependencies > test-app/src/routeTree.gen.ts 1`] = `
5217
5219
  "/* eslint-disable */
5218
5220
 
5219
5221
  // @ts-nocheck
@@ -5276,7 +5278,7 @@ export const routeTree = rootRouteImport
5276
5278
  "
5277
5279
  `;
5278
5280
 
5279
- exports[`react-website generator uxProvider tests > Cloudscape > should update package.json with required dependencies > test-app/src/routes/__root.tsx 1`] = `
5281
+ exports[`react-website generator ux tests > Cloudscape > should update package.json with required dependencies > test-app/src/routes/__root.tsx 1`] = `
5280
5282
  "import { createRootRouteWithContext } from '@tanstack/react-router';
5281
5283
  import AppLayout from '../components/AppLayout';
5282
5284
  import { RouterProviderContext } from '../main';
@@ -5292,7 +5294,7 @@ export const Route = createRootRouteWithContext<RouterProviderContext>()({
5292
5294
  "
5293
5295
  `;
5294
5296
 
5295
- exports[`react-website generator uxProvider tests > Cloudscape > should update package.json with required dependencies > test-app/src/routes/index.tsx 1`] = `
5297
+ exports[`react-website generator ux tests > Cloudscape > should update package.json with required dependencies > test-app/src/routes/index.tsx 1`] = `
5296
5298
  "import {
5297
5299
  ContentLayout,
5298
5300
  Header,
@@ -5317,13 +5319,13 @@ function RouteComponent() {
5317
5319
  "
5318
5320
  `;
5319
5321
 
5320
- exports[`react-website generator uxProvider tests > Cloudscape > should update package.json with required dependencies > test-app/src/styles.css 1`] = `
5322
+ exports[`react-website generator ux tests > Cloudscape > should update package.json with required dependencies > test-app/src/styles.css 1`] = `
5321
5323
  "@import 'tailwindcss';
5322
5324
  /* You can add global styles to this file, and also import other style files */
5323
5325
  "
5324
5326
  `;
5325
5327
 
5326
- exports[`react-website generator uxProvider tests > Shadcn > should update package.json with required dependencies > test-app/src/components/AppLayout/index.tsx 1`] = `
5328
+ exports[`react-website generator ux tests > Shadcn > should update package.json with required dependencies > test-app/src/components/AppLayout/index.tsx 1`] = `
5327
5329
  "import * as React from 'react';
5328
5330
  import {
5329
5331
  SidebarInset,
@@ -5446,7 +5448,7 @@ export default AppLayout;
5446
5448
  "
5447
5449
  `;
5448
5450
 
5449
- exports[`react-website generator uxProvider tests > Shadcn > should update package.json with required dependencies > test-app/src/components/alert.tsx 1`] = `
5451
+ exports[`react-website generator ux tests > Shadcn > should update package.json with required dependencies > test-app/src/components/alert.tsx 1`] = `
5450
5452
  "import React from 'react';
5451
5453
  import {
5452
5454
  Alert as ShadcnAlert,
@@ -5480,7 +5482,7 @@ export const Alert: React.FC<AlertProps> = ({
5480
5482
  "
5481
5483
  `;
5482
5484
 
5483
- exports[`react-website generator uxProvider tests > Shadcn > should update package.json with required dependencies > test-app/src/components/app-sidebar.tsx 1`] = `
5485
+ exports[`react-website generator ux tests > Shadcn > should update package.json with required dependencies > test-app/src/components/app-sidebar.tsx 1`] = `
5484
5486
  "import { Home } from 'lucide-react';
5485
5487
 
5486
5488
  import {
@@ -5533,14 +5535,14 @@ export function AppSidebar() {
5533
5535
  "
5534
5536
  `;
5535
5537
 
5536
- exports[`react-website generator uxProvider tests > Shadcn > should update package.json with required dependencies > test-app/src/components/spinner.tsx 1`] = `
5538
+ exports[`react-website generator ux tests > Shadcn > should update package.json with required dependencies > test-app/src/components/spinner.tsx 1`] = `
5537
5539
  "import { Spinner as ShadcnSpinner } from ':proj/common-shadcn/components/ui/spinner';
5538
5540
 
5539
5541
  export const Spinner = ShadcnSpinner;
5540
5542
  "
5541
5543
  `;
5542
5544
 
5543
- exports[`react-website generator uxProvider tests > Shadcn > should update package.json with required dependencies > test-app/src/config.ts 1`] = `
5545
+ exports[`react-website generator ux tests > Shadcn > should update package.json with required dependencies > test-app/src/config.ts 1`] = `
5544
5546
  "export default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c3Ljg0LDQ3Ny44NCwwLDAsMCw2NS0xMC4wNXExLjQ3LDUuOTQsMi42LDExLjY0aDBDMzgzLjgxLDM3Ny41OCwzODQuNSwzOTkuNTYsMzgxLjMyLDQxNi43NVptMTcuNC0xMDIuNjRoMGMtMi42Mi44Ny01LjMyLDEuNzEtOC4wNiwyLjUzYTQ4My4yNiw0ODMuMjYsMCwwLDAtMjQuMzEtNjAuOTQsNDgxLjUyLDQ4MS41MiwwLDAsMCwyMy4zNi02MC4wNmM0LjkxLDEuNDMsOS42OCwyLjkzLDE0LjI3LDQuNTIsNDQuNDIsMTUuMzIsNzEuNTIsMzgsNzEuNTIsNTUuNDNDNDc1LjUsMjc0LjE5LDQ0Ni4yMywyOTguMzMsMzk4LjcyLDMxNC4xMVoiLz4KDTxwYXRoIGQ9Ik0yNTYsMjk4LjU1YTQzLDQzLDAsMSwwLTQyLjg2LTQzQTQyLjkxLDQyLjkxLDAsMCwwLDI1NiwyOTguNTVaIi8+Cg08L2c+Cg08L3N2Zz4=',
@@ -5548,7 +5550,7 @@ exports[`react-website generator uxProvider tests > Shadcn > should update packa
5548
5550
  "
5549
5551
  `;
5550
5552
 
5551
- exports[`react-website generator uxProvider tests > Shadcn > should update package.json with required dependencies > test-app/src/main.tsx 1`] = `
5553
+ exports[`react-website generator ux tests > Shadcn > should update package.json with required dependencies > test-app/src/main.tsx 1`] = `
5552
5554
  "import React from 'react';
5553
5555
  import { createRoot } from 'react-dom/client';
5554
5556
  import { RouterProvider, createRouter } from '@tanstack/react-router';
@@ -5584,7 +5586,7 @@ root &&
5584
5586
  "
5585
5587
  `;
5586
5588
 
5587
- exports[`react-website generator uxProvider tests > Shadcn > should update package.json with required dependencies > test-app/src/routeTree.gen.ts 1`] = `
5589
+ exports[`react-website generator ux tests > Shadcn > should update package.json with required dependencies > test-app/src/routeTree.gen.ts 1`] = `
5588
5590
  "/* eslint-disable */
5589
5591
 
5590
5592
  // @ts-nocheck
@@ -5647,7 +5649,7 @@ export const routeTree = rootRouteImport
5647
5649
  "
5648
5650
  `;
5649
5651
 
5650
- exports[`react-website generator uxProvider tests > Shadcn > should update package.json with required dependencies > test-app/src/routes/__root.tsx 1`] = `
5652
+ exports[`react-website generator ux tests > Shadcn > should update package.json with required dependencies > test-app/src/routes/__root.tsx 1`] = `
5651
5653
  "import { createRootRouteWithContext } from '@tanstack/react-router';
5652
5654
  import AppLayout from '../components/AppLayout';
5653
5655
  import { RouterProviderContext } from '../main';
@@ -5663,7 +5665,7 @@ export const Route = createRootRouteWithContext<RouterProviderContext>()({
5663
5665
  "
5664
5666
  `;
5665
5667
 
5666
- exports[`react-website generator uxProvider tests > Shadcn > should update package.json with required dependencies > test-app/src/routes/index.tsx 1`] = `
5668
+ exports[`react-website generator ux tests > Shadcn > should update package.json with required dependencies > test-app/src/routes/index.tsx 1`] = `
5667
5669
  "import { createFileRoute } from '@tanstack/react-router';
5668
5670
 
5669
5671
  export const Route = createFileRoute('/')({
@@ -5683,7 +5685,7 @@ function RouteComponent() {
5683
5685
  "
5684
5686
  `;
5685
5687
 
5686
- exports[`react-website generator uxProvider tests > Shadcn > should update package.json with required dependencies > test-app/src/styles.css 1`] = `
5688
+ exports[`react-website generator ux tests > Shadcn > should update package.json with required dependencies > test-app/src/styles.css 1`] = `
5687
5689
  "@import '../../packages/common/shadcn/src/styles/globals.css';
5688
5690
  @source './**/*.{ts,tsx}';
5689
5691
  "
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- import { createContext, useCallback<% if (enableTanstackRouter) { %>, useEffect<% } %>, useState } from 'react';
2
+ import { createContext, useCallback<% if (tanstackRouter) { %>, useEffect<% } %>, useState } from 'react';
3
3
  import Config from '../../config';
4
4
 
5
5
  import {
6
- <% if (enableTanstackRouter) { %>BreadcrumbGroup,
6
+ <% if (tanstackRouter) { %>BreadcrumbGroup,
7
7
  BreadcrumbGroupProps,
8
8
  SideNavigation,
9
9
  <% } %>TopNavigation,
@@ -11,7 +11,7 @@ import {
11
11
  import CloudscapeAppLayout, {
12
12
  AppLayoutProps,
13
13
  } from '@cloudscape-design/components/app-layout';
14
- <% if (enableTanstackRouter) { %>import { useMatchRoute, useLocation, useNavigate } from '@tanstack/react-router';
14
+ <% if (tanstackRouter) { %>import { useMatchRoute, useLocation, useNavigate } from '@tanstack/react-router';
15
15
 
16
16
  const getBreadcrumbs = (
17
17
  matchRoute: ReturnType<typeof useMatchRoute>,
@@ -75,7 +75,7 @@ const AppLayout: React.FC<React.PropsWithChildren> = ({ children }) => {
75
75
  [appLayoutProps],
76
76
  );
77
77
 
78
- <% if (enableTanstackRouter) { %>const navigate = useNavigate();
78
+ <% if (tanstackRouter) { %>const navigate = useNavigate();
79
79
  const [activeBreadcrumbs, setActiveBreadcrumbs] = useState<
80
80
  BreadcrumbGroupProps.Item[]
81
81
  >([{ text: '/', href: '/' }]);
@@ -127,7 +127,7 @@ const AppLayout: React.FC<React.PropsWithChildren> = ({ children }) => {
127
127
  />
128
128
  <CloudscapeAppLayout
129
129
  ref={appLayout}
130
- <% if (enableTanstackRouter) { %>breadcrumbs={
130
+ <% if (tanstackRouter) { %>breadcrumbs={
131
131
  <BreadcrumbGroup onFollow={onNavigate} items={activeBreadcrumbs} />
132
132
  }
133
133
  navigation={
@@ -3,7 +3,7 @@ import { createRoot } from 'react-dom/client';
3
3
  import { I18nProvider } from '@cloudscape-design/components/i18n';
4
4
  import messages from '@cloudscape-design/components/i18n/messages/all.en';
5
5
  import '@cloudscape-design/global-styles/index.css';
6
- <% if (enableTanstackRouter) { %>import { RouterProvider, createRouter } from '@tanstack/react-router';
6
+ <% if (tanstackRouter) { %>import { RouterProvider, createRouter } from '@tanstack/react-router';
7
7
  import { routeTree } from './routeTree.gen';
8
8
 
9
9
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
@@ -1,2 +1,2 @@
1
- <% if (enableTailwind) { %>@import "tailwindcss";
1
+ <% if (tailwind) { %>@import "tailwindcss";
2
2
  <% } %>/* You can add global styles to this file, and also import other style files */
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- <% if (enableTanstackRouter) { %>
2
+ <% if (tanstackRouter) { %>
3
3
  import {
4
4
  useEffect,
5
5
  useMemo,
@@ -7,7 +7,7 @@ import {
7
7
  } from 'react';
8
8
  <% } %>
9
9
  import Config from '../../config';
10
- <% if (enableTanstackRouter) { %>import { Link, useLocation, useMatchRoute } from '@tanstack/react-router';
10
+ <% if (tanstackRouter) { %>import { Link, useLocation, useMatchRoute } from '@tanstack/react-router';
11
11
 
12
12
  const getBreadcrumbs = (
13
13
  matchRoute: ReturnType<typeof useMatchRoute>,
@@ -46,7 +46,7 @@ import Config from '../../config';
46
46
  */
47
47
  const AppLayout: React.FC<React.PropsWithChildren> = ({ children }) => {
48
48
 
49
- <% if (enableTanstackRouter) { %>
49
+ <% if (tanstackRouter) { %>
50
50
  const [activeBreadcrumbs, setActiveBreadcrumbs] = useState<{ href: string; text: string }[]>([
51
51
  { text: '/', href: '/' },
52
52
  ]);
@@ -85,7 +85,7 @@ const AppLayout: React.FC<React.PropsWithChildren> = ({ children }) => {
85
85
  </a>
86
86
  </div>
87
87
 
88
- <% if (enableTanstackRouter) { %>
88
+ <% if (tanstackRouter) { %>
89
89
  <nav className="app-nav">
90
90
  {navItems.map((item) => (
91
91
  <Link
@@ -101,7 +101,7 @@ const AppLayout: React.FC<React.PropsWithChildren> = ({ children }) => {
101
101
  </div>
102
102
  </header>
103
103
  <main className="app-main">
104
- <% if (enableTanstackRouter) { %>
104
+ <% if (tanstackRouter) { %>
105
105
  <nav className="breadcrumbs" aria-label="Breadcrumb">
106
106
  {activeBreadcrumbs.map((crumb, index) => (
107
107
  <span className="breadcrumb-segment" key={crumb.href || index}>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createRoot } from 'react-dom/client';
3
- <% if (enableTanstackRouter) { %>import { RouterProvider, createRouter } from '@tanstack/react-router';
3
+ <% if (tanstackRouter) { %>import { RouterProvider, createRouter } from '@tanstack/react-router';
4
4
  import { routeTree } from './routeTree.gen';
5
5
 
6
6
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
@@ -1,4 +1,4 @@
1
- <% if (enableTailwind) { %>@import "tailwindcss";
1
+ <% if (tailwind) { %>@import "tailwindcss";
2
2
  <% } %>
3
3
 
4
4
  :root {
@@ -157,7 +157,7 @@ a {
157
157
  margin: 0;
158
158
  }
159
159
 
160
- <% if (enableTanstackRouter) { %>
160
+ <% if (tanstackRouter) { %>
161
161
  .app-nav {
162
162
  display: flex;
163
163
  align-items: center;
@@ -1,9 +1,9 @@
1
1
  import * as React from "react"
2
- import { SidebarInset, SidebarProvider<% if (enableTanstackRouter) { %>, SidebarTrigger<% } %> } from "<%= scopeAlias %>common-shadcn/components/ui/sidebar"
2
+ import { SidebarInset, SidebarProvider<% if (tanstackRouter) { %>, SidebarTrigger<% } %> } from "<%= scopeAlias %>common-shadcn/components/ui/sidebar"
3
3
  import { Separator } from "<%= scopeAlias %>common-shadcn/components/ui/separator"
4
4
  import Config from "../../config"
5
5
 
6
- <% if (enableTanstackRouter) { %>import { Link, useLocation, useMatchRoute } from "@tanstack/react-router"
6
+ <% if (tanstackRouter) { %>import { Link, useLocation, useMatchRoute } from "@tanstack/react-router"
7
7
  import {
8
8
  Breadcrumb,
9
9
  BreadcrumbItem,
@@ -46,7 +46,7 @@ const getBreadcrumbs = (
46
46
  }<% } %>
47
47
 
48
48
  const AppLayout = ({ children }: { children: React.ReactNode }) => {
49
- <% if (enableTanstackRouter) { %>
49
+ <% if (tanstackRouter) { %>
50
50
  const [activeBreadcrumbs, setActiveBreadcrumbs] = React.useState<
51
51
  { href: string; text: string }[]
52
52
  >([{ text: "/", href: "/" }])
@@ -65,11 +65,11 @@ const AppLayout = ({ children }: { children: React.ReactNode }) => {
65
65
  <% } %>
66
66
  return (
67
67
  <SidebarProvider>
68
- <% if (enableTanstackRouter) { %><AppSidebar /><% } %>
68
+ <% if (tanstackRouter) { %><AppSidebar /><% } %>
69
69
  <SidebarInset>
70
70
  <header className="supports-backdrop-blur:bg-background/60 sticky top-0 z-10 flex h-16 items-center gap-4 border-b bg-background/80 px-4 backdrop-blur">
71
71
  <div className="flex items-center gap-3">
72
- <% if (enableTanstackRouter) { %><SidebarTrigger className="-ml-1" /><% } %>
72
+ <% if (tanstackRouter) { %><SidebarTrigger className="-ml-1" /><% } %>
73
73
  <Separator orientation="vertical" className="h-6" />
74
74
  <div className="flex items-center gap-2">
75
75
  <img
@@ -86,7 +86,7 @@ const AppLayout = ({ children }: { children: React.ReactNode }) => {
86
86
  </div>
87
87
  </header>
88
88
  <div className="flex flex-1 flex-col gap-6 p-6 pt-4">
89
- <% if (enableTanstackRouter) { %><Breadcrumb>
89
+ <% if (tanstackRouter) { %><Breadcrumb>
90
90
  <BreadcrumbList>
91
91
  {activeBreadcrumbs.map((crumb, index) => (
92
92
  <React.Fragment key={crumb.href || index}>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createRoot } from 'react-dom/client';
3
- <% if (enableTanstackRouter) { %>import { RouterProvider, createRouter } from '@tanstack/react-router';
3
+ <% if (tanstackRouter) { %>import { RouterProvider, createRouter } from '@tanstack/react-router';
4
4
  import { routeTree } from './routeTree.gen';
5
5
  import './styles.css';
6
6
 
@@ -5,9 +5,9 @@
5
5
  import { Tree } from '@nx/devkit';
6
6
  import { TsReactWebsiteGeneratorSchema } from './schema';
7
7
  import { NxGeneratorInfo } from '../../../utils/nx';
8
- export declare const SUPPORTED_UX_PROVIDERS: readonly ["None", "Cloudscape", "Shadcn"];
9
- export type UxProviderOption = (typeof SUPPORTED_UX_PROVIDERS)[number];
10
- export type UxProvider = UxProviderOption;
8
+ export declare const SUPPORTED_UX_PROVIDERS: readonly ["none", "cloudscape", "shadcn"];
9
+ export type UxOption = (typeof SUPPORTED_UX_PROVIDERS)[number];
10
+ export type Ux = UxOption;
11
11
  export declare const REACT_WEBSITE_APP_GENERATOR_INFO: NxGeneratorInfo;
12
12
  export declare function tsReactWebsiteGenerator(tree: Tree, schema: TsReactWebsiteGeneratorSchema): Promise<() => void>;
13
13
  export default tsReactWebsiteGenerator;