@aws/nx-plugin 1.0.0-rc.94 → 1.0.0-rc.96

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 (86) hide show
  1. package/LICENSE-THIRD-PARTY +234 -38
  2. package/migrations.json +54 -1
  3. package/package.json +6 -6
  4. package/src/infra/app/__snapshots__/generator.spec.ts.snap +4 -10
  5. package/src/migrations/latest/agent-connection-pin-strands-peers/metadata.json +3 -0
  6. package/src/migrations/latest/agent-connection-pin-strands-peers/migration.d.ts +18 -0
  7. package/src/migrations/latest/agent-connection-pin-strands-peers/migration.js +38 -0
  8. package/src/migrations/latest/agent-connection-pin-strands-peers/migration.js.map +1 -0
  9. package/src/migrations/latest/ignore-package-manager-temp-files/metadata.json +3 -0
  10. package/src/migrations/latest/ignore-package-manager-temp-files/migration.d.ts +12 -0
  11. package/src/migrations/latest/ignore-package-manager-temp-files/migration.js +25 -0
  12. package/src/migrations/latest/ignore-package-manager-temp-files/migration.js.map +1 -0
  13. package/src/migrations/latest/rolldown-config-bundle-transient/metadata.json +3 -0
  14. package/src/migrations/latest/rolldown-config-bundle-transient/migration.d.ts +6 -0
  15. package/src/migrations/latest/rolldown-config-bundle-transient/migration.js +80 -0
  16. package/src/migrations/latest/rolldown-config-bundle-transient/migration.js.map +1 -0
  17. package/src/migrations/latest/shadcn-package-imports-exports/metadata.json +3 -0
  18. package/src/migrations/latest/shadcn-package-imports-exports/migration.d.ts +6 -0
  19. package/src/migrations/latest/shadcn-package-imports-exports/migration.js +184 -0
  20. package/src/migrations/latest/shadcn-package-imports-exports/migration.js.map +1 -0
  21. package/src/preset/__snapshots__/generator.spec.ts.snap +8 -6
  22. package/src/py/agent/a2a-connection/generator.d.ts +1 -1
  23. package/src/py/agent/gateway-connection/generator.d.ts +1 -1
  24. package/src/py/agent/mcp-connection/generator.d.ts +1 -1
  25. package/src/py/agent/react-connection/generator.d.ts +29 -0
  26. package/src/smithy/ts/api/__snapshots__/generator.spec.ts.snap +4 -1
  27. package/src/ts/agent/a2a-connection/generator.d.ts +4 -0
  28. package/src/ts/agent/gateway-connection/generator.d.ts +4 -0
  29. package/src/ts/agent/generator.d.ts +4 -0
  30. package/src/ts/agent/mcp-connection/generator.d.ts +4 -0
  31. package/src/ts/agent/react-connection/generator.d.ts +37 -0
  32. package/src/ts/lib/generator.d.ts +13 -0
  33. package/src/ts/lib/generator.js +3 -2
  34. package/src/ts/lib/generator.js.map +1 -1
  35. package/src/ts/lib/ts-project-utils.d.ts +17 -1
  36. package/src/ts/lib/ts-project-utils.js +29 -0
  37. package/src/ts/lib/ts-project-utils.js.map +1 -1
  38. package/src/ts/lib/vitest.d.ts +6 -0
  39. package/src/ts/lib/vitest.js +16 -1
  40. package/src/ts/lib/vitest.js.map +1 -1
  41. package/src/ts/react-website/agui/generator.d.ts +21 -0
  42. package/src/ts/react-website/agui/generator.js +2 -1
  43. package/src/ts/react-website/agui/generator.js.map +1 -1
  44. package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +28 -22
  45. package/src/ts/react-website/app/generator.d.ts +42 -0
  46. package/src/ts/react-website/app/generator.js +4 -2
  47. package/src/ts/react-website/app/generator.js.map +1 -1
  48. package/src/utils/agent-connection/agent-connection.d.ts +2 -0
  49. package/src/utils/agent-connection/agent-connection.js +11 -4
  50. package/src/utils/agent-connection/agent-connection.js.map +1 -1
  51. package/src/utils/bundle/bundle.js +10 -0
  52. package/src/utils/bundle/bundle.js.map +1 -1
  53. package/src/utils/dependencies.js +1 -10
  54. package/src/utils/dependencies.js.map +1 -1
  55. package/src/utils/files/common/shadcn/src/components/ui/alert.tsx.template +1 -1
  56. package/src/utils/files/common/shadcn/src/components/ui/avatar.tsx.template +1 -1
  57. package/src/utils/files/common/shadcn/src/components/ui/breadcrumb.tsx.template +1 -1
  58. package/src/utils/files/common/shadcn/src/components/ui/button.tsx.template +1 -1
  59. package/src/utils/files/common/shadcn/src/components/ui/card.tsx.template +1 -1
  60. package/src/utils/files/common/shadcn/src/components/ui/input.tsx.template +1 -1
  61. package/src/utils/files/common/shadcn/src/components/ui/separator.tsx.template +1 -1
  62. package/src/utils/files/common/shadcn/src/components/ui/sheet.tsx.template +1 -1
  63. package/src/utils/files/common/shadcn/src/components/ui/sidebar.tsx.template +8 -8
  64. package/src/utils/files/common/shadcn/src/components/ui/skeleton.tsx.template +1 -1
  65. package/src/utils/files/common/shadcn/src/components/ui/spinner.tsx.template +1 -1
  66. package/src/utils/files/common/shadcn/src/components/ui/textarea.tsx.template +1 -1
  67. package/src/utils/files/common/shadcn/src/components/ui/tooltip.tsx.template +1 -1
  68. package/src/utils/files/shadcn/components.json.template +5 -5
  69. package/src/utils/format.d.ts +16 -0
  70. package/src/utils/format.js +15 -0
  71. package/src/utils/format.js.map +1 -1
  72. package/src/utils/init.js +11 -4
  73. package/src/utils/init.js.map +1 -1
  74. package/src/utils/pnpm-workspace.d.ts +5 -5
  75. package/src/utils/pnpm-workspace.js +5 -5
  76. package/src/utils/pnpm-workspace.js.map +1 -1
  77. package/src/utils/shared-shadcn.d.ts +22 -0
  78. package/src/utils/shared-shadcn.js +39 -28
  79. package/src/utils/shared-shadcn.js.map +1 -1
  80. package/src/utils/test.js +15 -0
  81. package/src/utils/test.js.map +1 -1
  82. package/src/utils/version-upgrade-migration/sync-vended-versions.js +4 -4
  83. package/src/utils/version-upgrade-migration/sync-vended-versions.js.map +1 -1
  84. package/src/utils/versions.d.ts +10 -9
  85. package/src/utils/versions.js +10 -8
  86. package/src/utils/versions.js.map +1 -1
@@ -3683,6 +3683,36 @@ THE SOFTWARE.
3683
3683
 
3684
3684
  ---
3685
3685
 
3686
+ The following software may be included in this product: @clack/core (1.4.3)
3687
+ This software contains the following license and notice below:
3688
+
3689
+ MIT License
3690
+
3691
+ MIT License Copyright (c) 2025-Present [Bombshell contributors](https://bomb.sh/team)
3692
+
3693
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3694
+
3695
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
3696
+
3697
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3698
+
3699
+ ---
3700
+
3701
+ The following software may be included in this product: @clack/prompts (1.7.0)
3702
+ This software contains the following license and notice below:
3703
+
3704
+ MIT License
3705
+
3706
+ MIT License Copyright (c) 2025-Present [Bombshell contributors](https://bomb.sh/team)
3707
+
3708
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3709
+
3710
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
3711
+
3712
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3713
+
3714
+ ---
3715
+
3686
3716
  The following software may be included in this product: @csstools/css-calc (3.2.0)
3687
3717
  This software contains the following license and notice below:
3688
3718
 
@@ -4644,7 +4674,7 @@ SOFTWARE.
4644
4674
 
4645
4675
  ---
4646
4676
 
4647
- The following software may be included in this product: @nx/devkit (23.1.2)
4677
+ The following software may be included in this product: @nx/devkit (23.2.0)
4648
4678
  This software contains the following license and notice below:
4649
4679
 
4650
4680
  MIT License
@@ -4668,7 +4698,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
4668
4698
 
4669
4699
  ---
4670
4700
 
4671
- The following software may be included in this product: @nx/eslint (23.1.2)
4701
+ The following software may be included in this product: @nx/eslint (23.2.0)
4672
4702
  This software contains the following license and notice below:
4673
4703
 
4674
4704
  MIT License
@@ -4692,7 +4722,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
4692
4722
 
4693
4723
  ---
4694
4724
 
4695
- The following software may be included in this product: @nx/js (23.1.2)
4725
+ The following software may be included in this product: @nx/js (23.2.0)
4696
4726
  This software contains the following license and notice below:
4697
4727
 
4698
4728
  MIT License
@@ -4716,7 +4746,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
4716
4746
 
4717
4747
  ---
4718
4748
 
4719
- The following software may be included in this product: @nx/nx-linux-x64-gnu (23.1.2)
4749
+ The following software may be included in this product: @nx/nx-linux-x64-gnu (23.2.0)
4720
4750
  This software contains the following license and notice below:
4721
4751
 
4722
4752
  (The MIT License)
@@ -4744,7 +4774,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4744
4774
 
4745
4775
  ---
4746
4776
 
4747
- The following software may be included in this product: @nx/playwright (23.1.2)
4777
+ The following software may be included in this product: @nx/playwright (23.2.0)
4748
4778
  This software contains the following license and notice below:
4749
4779
 
4750
4780
  MIT License
@@ -4768,7 +4798,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
4768
4798
 
4769
4799
  ---
4770
4800
 
4771
- The following software may be included in this product: @nx/react (23.1.2)
4801
+ The following software may be included in this product: @nx/react (23.2.0)
4772
4802
  This software contains the following license and notice below:
4773
4803
 
4774
4804
  MIT License
@@ -4792,7 +4822,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
4792
4822
 
4793
4823
  ---
4794
4824
 
4795
- The following software may be included in this product: @nx/vite (23.1.2)
4825
+ The following software may be included in this product: @nx/vite (23.2.0)
4796
4826
  This software contains the following license and notice below:
4797
4827
 
4798
4828
  MIT License
@@ -4816,7 +4846,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
4816
4846
 
4817
4847
  ---
4818
4848
 
4819
- The following software may be included in this product: @nx/vitest (23.1.2)
4849
+ The following software may be included in this product: @nx/vitest (23.2.0)
4820
4850
  This software contains the following license and notice below:
4821
4851
 
4822
4852
  MIT License
@@ -4840,7 +4870,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
4840
4870
 
4841
4871
  ---
4842
4872
 
4843
- The following software may be included in this product: @nx/web (23.1.2)
4873
+ The following software may be included in this product: @nx/web (23.2.0)
4844
4874
  This software contains the following license and notice below:
4845
4875
 
4846
4876
  MIT License
@@ -4864,7 +4894,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
4864
4894
 
4865
4895
  ---
4866
4896
 
4867
- The following software may be included in this product: @nx/workspace (23.1.2)
4897
+ The following software may be included in this product: @nx/workspace (23.2.0)
4868
4898
  This software contains the following license and notice below:
4869
4899
 
4870
4900
  MIT License
@@ -7191,6 +7221,34 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
7191
7221
 
7192
7222
  ---
7193
7223
 
7224
+ The following software may be included in this product: agent-base (7.1.4)
7225
+ This software contains the following license and notice below:
7226
+
7227
+ (The MIT License)
7228
+
7229
+ Copyright (c) 2013 Nathan Rajlich <nathan@tootallnate.net>
7230
+
7231
+ Permission is hereby granted, free of charge, to any person obtaining
7232
+ a copy of this software and associated documentation files (the
7233
+ 'Software'), to deal in the Software without restriction, including
7234
+ without limitation the rights to use, copy, modify, merge, publish,
7235
+ distribute, sublicense, and/or sell copies of the Software, and to
7236
+ permit persons to whom the Software is furnished to do so, subject to
7237
+ the following conditions:
7238
+
7239
+ The above copyright notice and this permission notice shall be
7240
+ included in all copies or substantial portions of the Software.
7241
+
7242
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
7243
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
7244
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
7245
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
7246
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
7247
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
7248
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7249
+
7250
+ ---
7251
+
7194
7252
  The following software may be included in this product: ajv (6.14.0)
7195
7253
  This software contains the following license and notice below:
7196
7254
 
@@ -10611,33 +10669,6 @@ THE SOFTWARE.
10611
10669
 
10612
10670
  ---
10613
10671
 
10614
- The following software may be included in this product: enquirer (2.3.6)
10615
- This software contains the following license and notice below:
10616
-
10617
- The MIT License (MIT)
10618
-
10619
- Copyright (c) 2016-present, Jon Schlinkert.
10620
-
10621
- Permission is hereby granted, free of charge, to any person obtaining a copy
10622
- of this software and associated documentation files (the "Software"), to deal
10623
- in the Software without restriction, including without limitation the rights
10624
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10625
- copies of the Software, and to permit persons to whom the Software is
10626
- furnished to do so, subject to the following conditions:
10627
-
10628
- The above copyright notice and this permission notice shall be included in
10629
- all copies or substantial portions of the Software.
10630
-
10631
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
10632
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10633
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
10634
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
10635
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
10636
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
10637
- THE SOFTWARE.
10638
-
10639
- ---
10640
-
10641
10672
  The following software may be included in this product: enquirer (2.4.1)
10642
10673
  This software contains the following license and notice below:
10643
10674
 
@@ -11605,6 +11636,89 @@ OTHER DEALINGS IN THE SOFTWARE.
11605
11636
 
11606
11637
  ---
11607
11638
 
11639
+ The following software may be included in this product: fast-string-truncated-width (3.0.3)
11640
+ This software contains the following license and notice below:
11641
+
11642
+ The MIT License (MIT)
11643
+
11644
+ Copyright (c) 2024-present Fabio Spampinato
11645
+
11646
+ Permission is hereby granted, free of charge, to any person obtaining a
11647
+ copy of this software and associated documentation files (the "Software"),
11648
+ to deal in the Software without restriction, including without limitation
11649
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
11650
+ and/or sell copies of the Software, and to permit persons to whom the
11651
+ Software is furnished to do so, subject to the following conditions:
11652
+
11653
+ The above copyright notice and this permission notice shall be included in
11654
+ all copies or substantial portions of the Software.
11655
+
11656
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11657
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
11658
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
11659
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
11660
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
11661
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
11662
+ DEALINGS IN THE SOFTWARE.
11663
+
11664
+ ---
11665
+
11666
+ The following software may be included in this product: fast-string-width (3.0.2)
11667
+ This software contains the following license and notice below:
11668
+
11669
+ The MIT License (MIT)
11670
+
11671
+ Copyright (c) 2024-present Fabio Spampinato
11672
+
11673
+ Permission is hereby granted, free of charge, to any person obtaining a
11674
+ copy of this software and associated documentation files (the "Software"),
11675
+ to deal in the Software without restriction, including without limitation
11676
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
11677
+ and/or sell copies of the Software, and to permit persons to whom the
11678
+ Software is furnished to do so, subject to the following conditions:
11679
+
11680
+ The above copyright notice and this permission notice shall be included in
11681
+ all copies or substantial portions of the Software.
11682
+
11683
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11684
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
11685
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
11686
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
11687
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
11688
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
11689
+ DEALINGS IN THE SOFTWARE.
11690
+
11691
+ ---
11692
+
11693
+ The following software may be included in this product: fast-wrap-ansi (0.2.0)
11694
+ This software contains the following license and notice below:
11695
+
11696
+ MIT License
11697
+
11698
+ Copyright (c) 2025 James Garbutt
11699
+
11700
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
11701
+
11702
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11703
+ of this software and associated documentation files (the "Software"), to deal
11704
+ in the Software without restriction, including without limitation the rights
11705
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11706
+ copies of the Software, and to permit persons to whom the Software is
11707
+ furnished to do so, subject to the following conditions:
11708
+
11709
+ The above copyright notice and this permission notice shall be included in all
11710
+ copies or substantial portions of the Software.
11711
+
11712
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11713
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
11714
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
11715
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
11716
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
11717
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
11718
+ SOFTWARE.
11719
+
11720
+ ---
11721
+
11608
11722
  The following software may be included in this product: fault (2.0.1)
11609
11723
  This software contains the following license and notice below:
11610
11724
 
@@ -12912,6 +13026,34 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
12912
13026
 
12913
13027
  ---
12914
13028
 
13029
+ The following software may be included in this product: https-proxy-agent (7.0.6)
13030
+ This software contains the following license and notice below:
13031
+
13032
+ (The MIT License)
13033
+
13034
+ Copyright (c) 2013 Nathan Rajlich <nathan@tootallnate.net>
13035
+
13036
+ Permission is hereby granted, free of charge, to any person obtaining
13037
+ a copy of this software and associated documentation files (the
13038
+ 'Software'), to deal in the Software without restriction, including
13039
+ without limitation the rights to use, copy, modify, merge, publish,
13040
+ distribute, sublicense, and/or sell copies of the Software, and to
13041
+ permit persons to whom the Software is furnished to do so, subject to
13042
+ the following conditions:
13043
+
13044
+ The above copyright notice and this permission notice shall be
13045
+ included in all copies or substantial portions of the Software.
13046
+
13047
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
13048
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
13049
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
13050
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
13051
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
13052
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
13053
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13054
+
13055
+ ---
13056
+
12915
13057
  The following software may be included in this product: iconv-lite (0.4.24)
12916
13058
  This software contains the following license and notice below:
12917
13059
 
@@ -17613,7 +17755,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
17613
17755
 
17614
17756
  ---
17615
17757
 
17616
- The following software may be included in this product: nx (23.1.2)
17758
+ The following software may be included in this product: nx (23.2.0)
17617
17759
  This software contains the following license and notice below:
17618
17760
 
17619
17761
  (The MIT License)
@@ -18570,6 +18712,33 @@ THE SOFTWARE.
18570
18712
 
18571
18713
  ---
18572
18714
 
18715
+ The following software may be included in this product: picomatch (4.0.7)
18716
+ This software contains the following license and notice below:
18717
+
18718
+ The MIT License (MIT)
18719
+
18720
+ Copyright (c) 2017-present, Jon Schlinkert.
18721
+
18722
+ Permission is hereby granted, free of charge, to any person obtaining a copy
18723
+ of this software and associated documentation files (the "Software"), to deal
18724
+ in the Software without restriction, including without limitation the rights
18725
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18726
+ copies of the Software, and to permit persons to whom the Software is
18727
+ furnished to do so, subject to the following conditions:
18728
+
18729
+ The above copyright notice and this permission notice shall be included in
18730
+ all copies or substantial portions of the Software.
18731
+
18732
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18733
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18734
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18735
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18736
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18737
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
18738
+ THE SOFTWARE.
18739
+
18740
+ ---
18741
+
18573
18742
  The following software may be included in this product: pify (3.0.0)
18574
18743
  This software contains the following license and notice below:
18575
18744
 
@@ -20591,6 +20760,33 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
20591
20760
 
20592
20761
  ---
20593
20762
 
20763
+ The following software may be included in this product: sisteransi (1.0.5)
20764
+ This software contains the following license and notice below:
20765
+
20766
+ MIT License
20767
+
20768
+ Copyright (c) 2018 Terkel Gjervig Nielsen
20769
+
20770
+ Permission is hereby granted, free of charge, to any person obtaining a copy
20771
+ of this software and associated documentation files (the "Software"), to deal
20772
+ in the Software without restriction, including without limitation the rights
20773
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20774
+ copies of the Software, and to permit persons to whom the Software is
20775
+ furnished to do so, subject to the following conditions:
20776
+
20777
+ The above copyright notice and this permission notice shall be included in all
20778
+ copies or substantial portions of the Software.
20779
+
20780
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20781
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20782
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20783
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20784
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20785
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20786
+ SOFTWARE.
20787
+
20788
+ ---
20789
+
20594
20790
  The following software may be included in this product: slash (3.0.0)
20595
20791
  This software contains the following license and notice below:
20596
20792
 
package/migrations.json CHANGED
@@ -67,6 +67,26 @@
67
67
  "description": "Cache the AgentCore ADOT install in its own target so editing an agent no longer re-runs it",
68
68
  "implementation": "./src/migrations/latest/agent-core-vendor-target/migration"
69
69
  },
70
+ "latest-rolldown-config-bundle-transient": {
71
+ "version": "1.0.0-rc.95",
72
+ "description": "Exclude the transient bundle rolldown writes while loading a TypeScript config from Biome and from git, so a concurrent format or lint target cannot fail on it",
73
+ "implementation": "./src/migrations/latest/rolldown-config-bundle-transient/migration"
74
+ },
75
+ "latest-agent-connection-pin-strands-peers": {
76
+ "version": "1.0.0-rc.95",
77
+ "description": "Declare @aws-sdk/client-s3 in the shared agent-connection project so @strands-agents/sdk resolves to a single peer-suffixed instance",
78
+ "implementation": "./src/migrations/latest/agent-connection-pin-strands-peers/migration"
79
+ },
80
+ "latest-ignore-package-manager-temp-files": {
81
+ "version": "1.0.0-rc.95",
82
+ "description": "Ignore the temporary files pnpm writes at the workspace root while materialising packages, which otherwise invalidate the Nx project graph",
83
+ "implementation": "./src/migrations/latest/ignore-package-manager-temp-files/migration"
84
+ },
85
+ "latest-shadcn-package-imports-exports": {
86
+ "version": "1.0.0-rc.95",
87
+ "description": "Move the shared shadcn package from a tsconfig paths alias to package.json imports/exports, matching the shadcn CLI's own monorepo resolution",
88
+ "implementation": "./src/migrations/latest/shadcn-package-imports-exports/migration"
89
+ },
70
90
  "v1.0.0-rc.50-0001-modernize-function-props-cast": {
71
91
  "version": "1.0.0-rc.50",
72
92
  "description": "Replace the legacy angle-bracket FunctionProps type assertion with the modern as syntax in generated API constructs",
@@ -308,7 +328,7 @@
308
328
  "implementation": "./src/migrations/v1.0.0-rc.89/0001-nx-parallel-default/migration"
309
329
  },
310
330
  "sync-vended-versions": {
311
- "version": "1.0.0-rc.94",
331
+ "version": "1.0.0-rc.96",
312
332
  "description": "Sync vended dependency versions and the tracked plugin version to those vended by this release",
313
333
  "implementation": "./src/utils/version-upgrade-migration/migration"
314
334
  }
@@ -379,6 +399,39 @@
379
399
  "alwaysAddToPackageJson": false
380
400
  }
381
401
  }
402
+ },
403
+ "nx-23.2.0-nx-packages": {
404
+ "version": "1.0.0-rc.96",
405
+ "packages": {
406
+ "nx": {
407
+ "version": "23.2.0",
408
+ "alwaysAddToPackageJson": false
409
+ },
410
+ "@nx/devkit": {
411
+ "version": "23.2.0",
412
+ "alwaysAddToPackageJson": false
413
+ },
414
+ "@nx/js": {
415
+ "version": "23.2.0",
416
+ "alwaysAddToPackageJson": false
417
+ },
418
+ "@nx/react": {
419
+ "version": "23.2.0",
420
+ "alwaysAddToPackageJson": false
421
+ },
422
+ "@nx/vite": {
423
+ "version": "23.2.0",
424
+ "alwaysAddToPackageJson": false
425
+ },
426
+ "@nx/vitest": {
427
+ "version": "23.2.0",
428
+ "alwaysAddToPackageJson": false
429
+ },
430
+ "@nx/workspace": {
431
+ "version": "23.2.0",
432
+ "alwaysAddToPackageJson": false
433
+ }
434
+ }
382
435
  }
383
436
  }
384
437
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/nx-plugin",
3
- "version": "1.0.0-rc.94",
3
+ "version": "1.0.0-rc.96",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/awslabs/nx-plugin-for-aws.git",
@@ -36,7 +36,7 @@
36
36
  "node": ">=20.19.0"
37
37
  },
38
38
  "peerDependencies": {
39
- "nx": "23.1.2"
39
+ "nx": "23.2.0"
40
40
  },
41
41
  "dependencies": {
42
42
  "@apidevtools/swagger-parser": "12.1.0",
@@ -46,10 +46,10 @@
46
46
  "@getgrit/gritql": "0.0.3",
47
47
  "@iarna/toml": "2.2.5",
48
48
  "@modelcontextprotocol/sdk": "1.30.0",
49
- "@nx/devkit": "23.1.2",
50
- "@nx/js": "23.1.2",
51
- "@nx/react": "23.1.2",
52
- "@nx/vite": "23.1.2",
49
+ "@nx/devkit": "23.2.0",
50
+ "@nx/js": "23.2.0",
51
+ "@nx/react": "23.2.0",
52
+ "@nx/vite": "23.2.0",
53
53
  "@nxlv/python": "23.0.0",
54
54
  "@phenomnomnominal/tsquery": "6.2.0",
55
55
  "@types/estree": "1.0.9",
@@ -4,16 +4,13 @@ exports[`infra generator > should add required dependencies to package.json > de
4
4
 
5
5
  exports[`infra generator > should add required dependencies to package.json > dev-dependencies 1`] = `
6
6
  {
7
- "@nx/js": "23.1.2",
8
- "@nx/vitest": "23.1.2",
9
- "@swc/helpers": "~0.5.18",
7
+ "@nx/vitest": "catalog:",
10
8
  "@types/node": "catalog:",
11
9
  "@vitest/coverage-v8": "catalog:",
12
10
  "aws-cdk": "catalog:",
13
11
  "esbuild": "catalog:",
14
- "jsdom": "^27.1.0",
12
+ "jsdom": "catalog:",
15
13
  "tsx": "catalog:",
16
- "typescript": "~6.0.3",
17
14
  "vite": "catalog:",
18
15
  "vitest": "catalog:",
19
16
  }
@@ -23,16 +20,13 @@ exports[`infra generator > should add required dependencies to package.json > pa
23
20
  {
24
21
  "dependencies": {},
25
22
  "devDependencies": {
26
- "@nx/js": "23.1.2",
27
- "@nx/vitest": "23.1.2",
28
- "@swc/helpers": "~0.5.18",
23
+ "@nx/vitest": "catalog:",
29
24
  "@types/node": "catalog:",
30
25
  "@vitest/coverage-v8": "catalog:",
31
26
  "aws-cdk": "catalog:",
32
27
  "esbuild": "catalog:",
33
- "jsdom": "^27.1.0",
28
+ "jsdom": "catalog:",
34
29
  "tsx": "catalog:",
35
- "typescript": "~6.0.3",
36
30
  "vite": "catalog:",
37
31
  "vitest": "catalog:",
38
32
  },
@@ -0,0 +1,3 @@
1
+ {
2
+ "description": "Declare @aws-sdk/client-s3 in the shared agent-connection project so @strands-agents/sdk resolves to a single peer-suffixed instance"
3
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ import { type Tree } from '@nx/devkit';
6
+ /**
7
+ * `@aws-sdk/client-s3` is an optional peer of `@strands-agents/sdk` that the
8
+ * shared agent-connection project never imports, so it went undeclared. pnpm
9
+ * then auto-installs its own copy there while a project that does declare it
10
+ * gets the catalog's, and those two resolutions give `@strands-agents/sdk` two
11
+ * peer-suffixed instances of the same version.
12
+ *
13
+ * Anything importing both projects then sees two nominal identities of every SDK
14
+ * type — `Agent`, `McpClient`, `Plugin` — and fails to compile with "Types have
15
+ * separate declarations of a private property". Declaring it keeps the version
16
+ * on the catalog, collapsing both to one instance.
17
+ */
18
+ export default function migration(tree: Tree): Promise<void>;
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */ import { joinPathFragments } from "@nx/devkit";
5
+ import { AGENT_CONNECTION_PROJECT_DIR } from "../../../utils/agent-connection/agent-connection.js";
6
+ import { addDependenciesToPackageJson } from "../../../utils/dependencies.js";
7
+ import { formatFilesInSubtree } from "../../../utils/format.js";
8
+ import { TS_VERSIONS } from "../../../utils/versions.js";
9
+ const CLIENT_S3 = '@aws-sdk/client-s3';
10
+ const STRANDS_SDK = '@strands-agents/sdk';
11
+ /**
12
+ * `@aws-sdk/client-s3` is an optional peer of `@strands-agents/sdk` that the
13
+ * shared agent-connection project never imports, so it went undeclared. pnpm
14
+ * then auto-installs its own copy there while a project that does declare it
15
+ * gets the catalog's, and those two resolutions give `@strands-agents/sdk` two
16
+ * peer-suffixed instances of the same version.
17
+ *
18
+ * Anything importing both projects then sees two nominal identities of every SDK
19
+ * type — `Agent`, `McpClient`, `Plugin` — and fails to compile with "Types have
20
+ * separate declarations of a private property". Declaring it keeps the version
21
+ * on the catalog, collapsing both to one instance.
22
+ */ export default async function migration(tree) {
23
+ const packageJsonPath = joinPathFragments(AGENT_CONNECTION_PROJECT_DIR, 'package.json');
24
+ if (!tree.exists(packageJsonPath)) {
25
+ return;
26
+ }
27
+ // Only where a strands client is actually present — that is what pulls the peer.
28
+ const packageJson = JSON.parse(tree.read(packageJsonPath, 'utf-8') ?? '{}');
29
+ if (!packageJson.dependencies?.[STRANDS_SDK]) {
30
+ return;
31
+ }
32
+ addDependenciesToPackageJson(tree, {
33
+ [CLIENT_S3]: TS_VERSIONS[CLIENT_S3]
34
+ }, {}, packageJsonPath);
35
+ await formatFilesInSubtree(tree);
36
+ }
37
+
38
+ //# sourceMappingURL=migration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../packages/nx-plugin/src/migrations/latest/agent-connection-pin-strands-peers/migration.ts"],"sourcesContent":["/**\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { joinPathFragments, type Tree } from '@nx/devkit';\nimport { AGENT_CONNECTION_PROJECT_DIR } from '../../../utils/agent-connection/agent-connection.js';\nimport { addDependenciesToPackageJson } from '../../../utils/dependencies.js';\nimport { formatFilesInSubtree } from '../../../utils/format.js';\nimport { TS_VERSIONS } from '../../../utils/versions.js';\n\nconst CLIENT_S3 = '@aws-sdk/client-s3';\nconst STRANDS_SDK = '@strands-agents/sdk';\n\n/**\n * `@aws-sdk/client-s3` is an optional peer of `@strands-agents/sdk` that the\n * shared agent-connection project never imports, so it went undeclared. pnpm\n * then auto-installs its own copy there while a project that does declare it\n * gets the catalog's, and those two resolutions give `@strands-agents/sdk` two\n * peer-suffixed instances of the same version.\n *\n * Anything importing both projects then sees two nominal identities of every SDK\n * type — `Agent`, `McpClient`, `Plugin` — and fails to compile with \"Types have\n * separate declarations of a private property\". Declaring it keeps the version\n * on the catalog, collapsing both to one instance.\n */\nexport default async function migration(tree: Tree): Promise<void> {\n const packageJsonPath = joinPathFragments(\n AGENT_CONNECTION_PROJECT_DIR,\n 'package.json',\n );\n if (!tree.exists(packageJsonPath)) {\n return;\n }\n\n // Only where a strands client is actually present — that is what pulls the peer.\n const packageJson = JSON.parse(tree.read(packageJsonPath, 'utf-8') ?? '{}');\n if (!packageJson.dependencies?.[STRANDS_SDK]) {\n return;\n }\n\n addDependenciesToPackageJson(\n tree,\n { [CLIENT_S3]: TS_VERSIONS[CLIENT_S3] },\n {},\n packageJsonPath,\n );\n\n await formatFilesInSubtree(tree);\n}\n"],"names":["joinPathFragments","AGENT_CONNECTION_PROJECT_DIR","addDependenciesToPackageJson","formatFilesInSubtree","TS_VERSIONS","CLIENT_S3","STRANDS_SDK","migration","tree","packageJsonPath","exists","packageJson","JSON","parse","read","dependencies"],"mappings":"AAAA;;;CAGC,GACD,SAASA,iBAAiB,QAAmB,aAAa;AAC1D,SAASC,4BAA4B,QAAQ,sDAAsD;AACnG,SAASC,4BAA4B,QAAQ,iCAAiC;AAC9E,SAASC,oBAAoB,QAAQ,2BAA2B;AAChE,SAASC,WAAW,QAAQ,6BAA6B;AAEzD,MAAMC,YAAY;AAClB,MAAMC,cAAc;AAEpB;;;;;;;;;;;CAWC,GACD,eAAe,eAAeC,UAAUC,IAAU;IAChD,MAAMC,kBAAkBT,kBACtBC,8BACA;IAEF,IAAI,CAACO,KAAKE,MAAM,CAACD,kBAAkB;QACjC;IACF;IAEA,iFAAiF;IACjF,MAAME,cAAcC,KAAKC,KAAK,CAACL,KAAKM,IAAI,CAACL,iBAAiB,YAAY;IACtE,IAAI,CAACE,YAAYI,YAAY,EAAE,CAACT,YAAY,EAAE;QAC5C;IACF;IAEAJ,6BACEM,MACA;QAAE,CAACH,UAAU,EAAED,WAAW,CAACC,UAAU;IAAC,GACtC,CAAC,GACDI;IAGF,MAAMN,qBAAqBK;AAC7B"}
@@ -0,0 +1,3 @@
1
+ {
2
+ "description": "Ignore the temporary files pnpm writes at the workspace root while materialising packages, which otherwise invalidate the Nx project graph"
3
+ }
@@ -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 type { Tree } from '@nx/devkit';
6
+ /**
7
+ * pnpm creates `_tmp_<pid>_<hash>` files at the workspace root while it
8
+ * materialises packages. Left unignored, Nx's watcher invalidates the project
9
+ * graph on every install, so a watch-mode `dev` target running at the time
10
+ * rebuilds the graph continuously and never starts the command it wraps.
11
+ */
12
+ export default function migration(tree: Tree): Promise<void>;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */ import { formatFilesInSubtree } from "../../../utils/format.js";
5
+ import { updateGitIgnore } from "../../../utils/git.js";
6
+ /** The temporary files pnpm writes while materialising packages. */ const TEMP_FILE_PATTERN = '_tmp_*';
7
+ /**
8
+ * pnpm creates `_tmp_<pid>_<hash>` files at the workspace root while it
9
+ * materialises packages. Left unignored, Nx's watcher invalidates the project
10
+ * graph on every install, so a watch-mode `dev` target running at the time
11
+ * rebuilds the graph continuously and never starts the command it wraps.
12
+ */ export default async function migration(tree) {
13
+ // Only pnpm writes these, so key off its lockfile rather than the workspace
14
+ // file — a workspace on another package manager may still carry one.
15
+ if (!tree.exists('pnpm-lock.yaml')) {
16
+ return;
17
+ }
18
+ updateGitIgnore(tree, '.', (patterns)=>patterns.includes(TEMP_FILE_PATTERN) ? patterns : [
19
+ ...patterns,
20
+ TEMP_FILE_PATTERN
21
+ ]);
22
+ await formatFilesInSubtree(tree);
23
+ }
24
+
25
+ //# sourceMappingURL=migration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../packages/nx-plugin/src/migrations/latest/ignore-package-manager-temp-files/migration.ts"],"sourcesContent":["/**\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\nimport type { Tree } from '@nx/devkit';\nimport { formatFilesInSubtree } from '../../../utils/format.js';\nimport { updateGitIgnore } from '../../../utils/git.js';\n\n/** The temporary files pnpm writes while materialising packages. */\nconst TEMP_FILE_PATTERN = '_tmp_*';\n\n/**\n * pnpm creates `_tmp_<pid>_<hash>` files at the workspace root while it\n * materialises packages. Left unignored, Nx's watcher invalidates the project\n * graph on every install, so a watch-mode `dev` target running at the time\n * rebuilds the graph continuously and never starts the command it wraps.\n */\nexport default async function migration(tree: Tree): Promise<void> {\n // Only pnpm writes these, so key off its lockfile rather than the workspace\n // file — a workspace on another package manager may still carry one.\n if (!tree.exists('pnpm-lock.yaml')) {\n return;\n }\n\n updateGitIgnore(tree, '.', (patterns) =>\n patterns.includes(TEMP_FILE_PATTERN)\n ? patterns\n : [...patterns, TEMP_FILE_PATTERN],\n );\n\n await formatFilesInSubtree(tree);\n}\n"],"names":["formatFilesInSubtree","updateGitIgnore","TEMP_FILE_PATTERN","migration","tree","exists","patterns","includes"],"mappings":"AAAA;;;CAGC,GAED,SAASA,oBAAoB,QAAQ,2BAA2B;AAChE,SAASC,eAAe,QAAQ,wBAAwB;AAExD,kEAAkE,GAClE,MAAMC,oBAAoB;AAE1B;;;;;CAKC,GACD,eAAe,eAAeC,UAAUC,IAAU;IAChD,4EAA4E;IAC5E,qEAAqE;IACrE,IAAI,CAACA,KAAKC,MAAM,CAAC,mBAAmB;QAClC;IACF;IAEAJ,gBAAgBG,MAAM,KAAK,CAACE,WAC1BA,SAASC,QAAQ,CAACL,qBACdI,WACA;eAAIA;YAAUJ;SAAkB;IAGtC,MAAMF,qBAAqBI;AAC7B"}