@aws/nx-plugin 0.68.0 → 0.69.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.
- package/LICENSE-THIRD-PARTY +14 -162
- package/package.json +7 -7
- package/src/infra/app/__snapshots__/generator.spec.ts.snap +15 -15
- package/src/preset/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/py/mcp-server/__snapshots__/generator.spec.ts.snap +1 -1
- package/src/py/strands-agent/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/trpc/react/__snapshots__/generator.spec.ts.snap +8 -11
- package/src/ts/mcp-server/__snapshots__/generator.spec.ts.snap +1 -1
- package/src/ts/nx-plugin/__snapshots__/generator.spec.ts.snap +1 -1
- package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +195 -311
- package/src/ts/react-website/app/files/app/shadcn/src/app.tsx.template +12 -0
- package/src/ts/react-website/app/files/app/shadcn/src/components/AppLayout/index.tsx.template +116 -0
- package/src/ts/react-website/app/files/app/shadcn/src/components/alert.tsx.template +30 -0
- package/src/ts/react-website/app/files/app/shadcn/src/components/spinner.tsx.template +3 -0
- package/src/ts/react-website/app/files/app/shadcn/src/main.tsx.template +32 -0
- package/src/ts/react-website/app/files/app/shadcn/src/styles.css.template +2 -0
- package/src/ts/react-website/app/files/tanstack-router/shadcn/src/components/app-sidebar.tsx.template +49 -0
- package/src/ts/react-website/app/files/tanstack-router/shadcn/src/routes/index.tsx.template +16 -0
- package/src/ts/react-website/app/generator.d.ts +3 -2
- package/src/ts/react-website/app/generator.js +41 -11
- package/src/ts/react-website/app/generator.js.map +1 -1
- package/src/ts/react-website/app/schema.d.ts +1 -1
- package/src/ts/react-website/app/schema.json +6 -2
- package/src/ts/react-website/cognito-auth/generator.js +12 -8
- package/src/ts/react-website/cognito-auth/generator.js.map +1 -1
- package/src/ts/react-website/cognito-auth/utils.d.ts +1 -0
- package/src/ts/react-website/cognito-auth/utils.js +113 -1
- package/src/ts/react-website/cognito-auth/utils.js.map +1 -1
- package/src/ts/strands-agent/generator.js +0 -18
- package/src/ts/strands-agent/generator.js.map +1 -1
- package/src/utils/files/common/shadcn/readme/README.md.template +32 -0
- package/src/utils/files/common/shadcn/src/components/ui/alert.tsx.template +66 -0
- package/src/utils/files/common/shadcn/src/components/ui/breadcrumb.tsx.template +109 -0
- package/src/utils/files/common/shadcn/src/components/ui/button.tsx.template +62 -0
- package/src/utils/files/common/shadcn/src/components/ui/card.tsx.template +92 -0
- package/src/utils/files/common/shadcn/src/components/ui/input.tsx.template +21 -0
- package/src/utils/files/common/shadcn/src/components/ui/separator.tsx.template +28 -0
- package/src/utils/files/common/shadcn/src/components/ui/sheet.tsx.template +139 -0
- package/src/utils/files/common/shadcn/src/components/ui/sidebar.tsx.template +726 -0
- package/src/utils/files/common/shadcn/src/components/ui/skeleton.tsx.template +13 -0
- package/src/utils/files/common/shadcn/src/components/ui/spinner.tsx.template +16 -0
- package/src/utils/files/common/shadcn/src/components/ui/tooltip.tsx.template +61 -0
- package/src/utils/files/common/shadcn/src/hooks/use-mobile.ts.template +19 -0
- package/src/utils/files/common/shadcn/src/index.ts.template +2 -0
- package/src/utils/files/common/shadcn/src/lib/utils.ts.template +6 -0
- package/src/utils/files/common/shadcn/src/styles/globals.css.template +125 -0
- package/src/utils/files/shadcn/components.json.template +20 -0
- package/src/utils/files/website/hooks/sigv4/useSigV4.tsx.template +6 -9
- package/src/utils/shared-constructs-constants.d.ts +2 -0
- package/src/utils/shared-constructs-constants.js +3 -1
- package/src/utils/shared-constructs-constants.js.map +1 -1
- package/src/utils/shared-shadcn.d.ts +6 -0
- package/src/utils/shared-shadcn.js +123 -0
- package/src/utils/shared-shadcn.js.map +1 -0
- package/src/utils/versions.d.ts +39 -27
- package/src/utils/versions.js +38 -26
- package/src/utils/versions.js.map +1 -1
package/LICENSE-THIRD-PARTY
CHANGED
|
@@ -4470,7 +4470,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
4470
4470
|
|
|
4471
4471
|
---
|
|
4472
4472
|
|
|
4473
|
-
The following software may be included in this product: @nx/devkit (22.4.
|
|
4473
|
+
The following software may be included in this product: @nx/devkit (22.4.4)
|
|
4474
4474
|
This software contains the following license and notice below:
|
|
4475
4475
|
|
|
4476
4476
|
(The MIT License)
|
|
@@ -4498,7 +4498,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
4498
4498
|
|
|
4499
4499
|
---
|
|
4500
4500
|
|
|
4501
|
-
The following software may be included in this product: @nx/eslint (22.4.
|
|
4501
|
+
The following software may be included in this product: @nx/eslint (22.4.4)
|
|
4502
4502
|
This software contains the following license and notice below:
|
|
4503
4503
|
|
|
4504
4504
|
(The MIT License)
|
|
@@ -4526,7 +4526,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
4526
4526
|
|
|
4527
4527
|
---
|
|
4528
4528
|
|
|
4529
|
-
The following software may be included in this product: @nx/js (22.4.
|
|
4529
|
+
The following software may be included in this product: @nx/js (22.4.4)
|
|
4530
4530
|
This software contains the following license and notice below:
|
|
4531
4531
|
|
|
4532
4532
|
(The MIT License)
|
|
@@ -4554,7 +4554,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
4554
4554
|
|
|
4555
4555
|
---
|
|
4556
4556
|
|
|
4557
|
-
The following software may be included in this product: @nx/module-federation (22.4.
|
|
4557
|
+
The following software may be included in this product: @nx/module-federation (22.4.4)
|
|
4558
4558
|
This software contains the following license and notice below:
|
|
4559
4559
|
|
|
4560
4560
|
(The MIT License)
|
|
@@ -4582,7 +4582,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
4582
4582
|
|
|
4583
4583
|
---
|
|
4584
4584
|
|
|
4585
|
-
The following software may be included in this product: @nx/nx-linux-x64-gnu (22.4.
|
|
4585
|
+
The following software may be included in this product: @nx/nx-linux-x64-gnu (22.4.4)
|
|
4586
4586
|
This software contains the following license and notice below:
|
|
4587
4587
|
|
|
4588
4588
|
(The MIT License)
|
|
@@ -4610,7 +4610,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
4610
4610
|
|
|
4611
4611
|
---
|
|
4612
4612
|
|
|
4613
|
-
The following software may be included in this product: @nx/react (22.4.
|
|
4613
|
+
The following software may be included in this product: @nx/react (22.4.4)
|
|
4614
4614
|
This software contains the following license and notice below:
|
|
4615
4615
|
|
|
4616
4616
|
(The MIT License)
|
|
@@ -4638,7 +4638,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
4638
4638
|
|
|
4639
4639
|
---
|
|
4640
4640
|
|
|
4641
|
-
The following software may be included in this product: @nx/rollup (22.4.
|
|
4641
|
+
The following software may be included in this product: @nx/rollup (22.4.4)
|
|
4642
4642
|
This software contains the following license and notice below:
|
|
4643
4643
|
|
|
4644
4644
|
(The MIT License)
|
|
@@ -4666,7 +4666,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
4666
4666
|
|
|
4667
4667
|
---
|
|
4668
4668
|
|
|
4669
|
-
The following software may be included in this product: @nx/vite (22.4.
|
|
4669
|
+
The following software may be included in this product: @nx/vite (22.4.4)
|
|
4670
4670
|
This software contains the following license and notice below:
|
|
4671
4671
|
|
|
4672
4672
|
(The MIT License)
|
|
@@ -4694,7 +4694,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
4694
4694
|
|
|
4695
4695
|
---
|
|
4696
4696
|
|
|
4697
|
-
The following software may be included in this product: @nx/vitest (22.4.
|
|
4697
|
+
The following software may be included in this product: @nx/vitest (22.4.4)
|
|
4698
4698
|
This software contains the following license and notice below:
|
|
4699
4699
|
|
|
4700
4700
|
(The MIT License)
|
|
@@ -4722,7 +4722,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
4722
4722
|
|
|
4723
4723
|
---
|
|
4724
4724
|
|
|
4725
|
-
The following software may be included in this product: @nx/web (22.4.
|
|
4725
|
+
The following software may be included in this product: @nx/web (22.4.4)
|
|
4726
4726
|
This software contains the following license and notice below:
|
|
4727
4727
|
|
|
4728
4728
|
(The MIT License)
|
|
@@ -4750,7 +4750,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
4750
4750
|
|
|
4751
4751
|
---
|
|
4752
4752
|
|
|
4753
|
-
The following software may be included in this product: @nx/workspace (22.4.
|
|
4753
|
+
The following software may be included in this product: @nx/workspace (22.4.4)
|
|
4754
4754
|
This software contains the following license and notice below:
|
|
4755
4755
|
|
|
4756
4756
|
(The MIT License)
|
|
@@ -7872,33 +7872,6 @@ SOFTWARE.
|
|
|
7872
7872
|
|
|
7873
7873
|
---
|
|
7874
7874
|
|
|
7875
|
-
The following software may be included in this product: ajv-keywords (3.5.2)
|
|
7876
|
-
This software contains the following license and notice below:
|
|
7877
|
-
|
|
7878
|
-
The MIT License (MIT)
|
|
7879
|
-
|
|
7880
|
-
Copyright (c) 2016 Evgeny Poberezkin
|
|
7881
|
-
|
|
7882
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7883
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7884
|
-
in the Software without restriction, including without limitation the rights
|
|
7885
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7886
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
7887
|
-
furnished to do so, subject to the following conditions:
|
|
7888
|
-
|
|
7889
|
-
The above copyright notice and this permission notice shall be included in all
|
|
7890
|
-
copies or substantial portions of the Software.
|
|
7891
|
-
|
|
7892
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
7893
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
7894
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
7895
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
7896
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
7897
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
7898
|
-
SOFTWARE.
|
|
7899
|
-
|
|
7900
|
-
---
|
|
7901
|
-
|
|
7902
7875
|
The following software may be included in this product: ajv-keywords (5.1.0)
|
|
7903
7876
|
This software contains the following license and notice below:
|
|
7904
7877
|
|
|
@@ -8662,34 +8635,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
8662
8635
|
|
|
8663
8636
|
---
|
|
8664
8637
|
|
|
8665
|
-
The following software may be included in this product: big.js (5.2.2)
|
|
8666
|
-
This software contains the following license and notice below:
|
|
8667
|
-
|
|
8668
|
-
The MIT Licence (Expat).
|
|
8669
|
-
|
|
8670
|
-
Copyright (c) 2018 Michael Mclaughlin
|
|
8671
|
-
|
|
8672
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
8673
|
-
a copy of this software and associated documentation files (the
|
|
8674
|
-
'Software'), to deal in the Software without restriction, including
|
|
8675
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
8676
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8677
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
8678
|
-
the following conditions:
|
|
8679
|
-
|
|
8680
|
-
The above copyright notice and this permission notice shall be
|
|
8681
|
-
included in all copies or substantial portions of the Software.
|
|
8682
|
-
|
|
8683
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
8684
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
8685
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
8686
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
8687
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
8688
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
8689
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
8690
|
-
|
|
8691
|
-
---
|
|
8692
|
-
|
|
8693
8638
|
The following software may be included in this product: bl (4.1.0)
|
|
8694
8639
|
This software contains the following license and notice below:
|
|
8695
8640
|
|
|
@@ -11527,21 +11472,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
11527
11472
|
|
|
11528
11473
|
---
|
|
11529
11474
|
|
|
11530
|
-
The following software may be included in this product: emojis-list (3.0.0)
|
|
11531
|
-
This software contains the following license and notice below:
|
|
11532
|
-
|
|
11533
|
-
The MIT License (MIT)
|
|
11534
|
-
|
|
11535
|
-
Copyright © 2015 Kiko Beats
|
|
11536
|
-
|
|
11537
|
-
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:
|
|
11538
|
-
|
|
11539
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
11540
|
-
|
|
11541
|
-
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.
|
|
11542
|
-
|
|
11543
|
-
---
|
|
11544
|
-
|
|
11545
11475
|
The following software may be included in this product: encodeurl (1.0.2)
|
|
11546
11476
|
This software contains the following license and notice below:
|
|
11547
11477
|
|
|
@@ -12658,32 +12588,6 @@ SOFTWARE.
|
|
|
12658
12588
|
|
|
12659
12589
|
---
|
|
12660
12590
|
|
|
12661
|
-
The following software may be included in this product: file-loader (6.2.0)
|
|
12662
|
-
This software contains the following license and notice below:
|
|
12663
|
-
|
|
12664
|
-
Copyright JS Foundation and other contributors
|
|
12665
|
-
|
|
12666
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
12667
|
-
a copy of this software and associated documentation files (the
|
|
12668
|
-
'Software'), to deal in the Software without restriction, including
|
|
12669
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
12670
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
12671
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
12672
|
-
the following conditions:
|
|
12673
|
-
|
|
12674
|
-
The above copyright notice and this permission notice shall be
|
|
12675
|
-
included in all copies or substantial portions of the Software.
|
|
12676
|
-
|
|
12677
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
12678
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
12679
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
12680
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
12681
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
12682
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
12683
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
12684
|
-
|
|
12685
|
-
---
|
|
12686
|
-
|
|
12687
12591
|
The following software may be included in this product: file-uri-to-path (2.0.0)
|
|
12688
12592
|
This software contains the following license and notice below:
|
|
12689
12593
|
|
|
@@ -15964,32 +15868,6 @@ THE SOFTWARE.
|
|
|
15964
15868
|
|
|
15965
15869
|
---
|
|
15966
15870
|
|
|
15967
|
-
The following software may be included in this product: loader-utils (2.0.4)
|
|
15968
|
-
This software contains the following license and notice below:
|
|
15969
|
-
|
|
15970
|
-
Copyright JS Foundation and other contributors
|
|
15971
|
-
|
|
15972
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
15973
|
-
a copy of this software and associated documentation files (the
|
|
15974
|
-
'Software'), to deal in the Software without restriction, including
|
|
15975
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
15976
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
15977
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
15978
|
-
the following conditions:
|
|
15979
|
-
|
|
15980
|
-
The above copyright notice and this permission notice shall be
|
|
15981
|
-
included in all copies or substantial portions of the Software.
|
|
15982
|
-
|
|
15983
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
15984
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
15985
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
15986
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
15987
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
15988
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
15989
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
15990
|
-
|
|
15991
|
-
---
|
|
15992
|
-
|
|
15993
15871
|
The following software may be included in this product: loader-utils (3.3.1)
|
|
15994
15872
|
This software contains the following license and notice below:
|
|
15995
15873
|
|
|
@@ -18266,7 +18144,7 @@ OTHER DEALINGS IN THE SOFTWARE.
|
|
|
18266
18144
|
|
|
18267
18145
|
---
|
|
18268
18146
|
|
|
18269
|
-
The following software may be included in this product: nx (22.4.
|
|
18147
|
+
The following software may be included in this product: nx (22.4.4)
|
|
18270
18148
|
This software contains the following license and notice below:
|
|
18271
18149
|
|
|
18272
18150
|
(The MIT License)
|
|
@@ -20308,7 +20186,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
|
20308
20186
|
|
|
20309
20187
|
---
|
|
20310
20188
|
|
|
20311
|
-
The following software may be included in this product: react (19.2.
|
|
20189
|
+
The following software may be included in this product: react (19.2.4)
|
|
20312
20190
|
This software contains the following license and notice below:
|
|
20313
20191
|
|
|
20314
20192
|
MIT License
|
|
@@ -20335,7 +20213,7 @@ SOFTWARE.
|
|
|
20335
20213
|
|
|
20336
20214
|
---
|
|
20337
20215
|
|
|
20338
|
-
The following software may be included in this product: react-dom (19.2.
|
|
20216
|
+
The following software may be included in this product: react-dom (19.2.4)
|
|
20339
20217
|
This software contains the following license and notice below:
|
|
20340
20218
|
|
|
20341
20219
|
MIT License
|
|
@@ -23715,32 +23593,6 @@ SOFTWARE.
|
|
|
23715
23593
|
|
|
23716
23594
|
---
|
|
23717
23595
|
|
|
23718
|
-
The following software may be included in this product: schema-utils (3.3.0)
|
|
23719
|
-
This software contains the following license and notice below:
|
|
23720
|
-
|
|
23721
|
-
Copyright JS Foundation and other contributors
|
|
23722
|
-
|
|
23723
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
23724
|
-
a copy of this software and associated documentation files (the
|
|
23725
|
-
'Software'), to deal in the Software without restriction, including
|
|
23726
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
23727
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
23728
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
23729
|
-
the following conditions:
|
|
23730
|
-
|
|
23731
|
-
The above copyright notice and this permission notice shall be
|
|
23732
|
-
included in all copies or substantial portions of the Software.
|
|
23733
|
-
|
|
23734
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
23735
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
23736
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
23737
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
23738
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
23739
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
23740
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
23741
|
-
|
|
23742
|
-
---
|
|
23743
|
-
|
|
23744
23596
|
The following software may be included in this product: schema-utils (4.3.2)
|
|
23745
23597
|
This software contains the following license and notice below:
|
|
23746
23598
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws/nx-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.69.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/awslabs/nx-plugin-for-aws.git",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"generators": "./generators.json",
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"nx": "~22.4.
|
|
22
|
+
"nx": "~22.4.2",
|
|
23
23
|
"prettier": "^3.8.1"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"@hey-api/openapi-ts": "0.64.13",
|
|
28
28
|
"@iarna/toml": "^2.2.5",
|
|
29
29
|
"@modelcontextprotocol/sdk": "~1.25.3",
|
|
30
|
-
"@nx/devkit": "~22.4.
|
|
31
|
-
"@nx/eslint": "~22.4.
|
|
32
|
-
"@nx/js": "~22.4.
|
|
33
|
-
"@nx/react": "~22.4.
|
|
34
|
-
"@nx/vite": "~22.4.
|
|
30
|
+
"@nx/devkit": "~22.4.2",
|
|
31
|
+
"@nx/eslint": "~22.4.2",
|
|
32
|
+
"@nx/js": "~22.4.2",
|
|
33
|
+
"@nx/react": "~22.4.2",
|
|
34
|
+
"@nx/vite": "~22.4.2",
|
|
35
35
|
"@nxlv/python": "~21.3.1",
|
|
36
36
|
"@phenomnomnominal/tsquery": "6.1.4",
|
|
37
37
|
"enquirer": "^2.4.1",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`infra generator > should add required dependencies to package.json > dependencies 1`] = `
|
|
4
4
|
{
|
|
5
|
-
"aws-cdk": "2.
|
|
6
|
-
"aws-cdk-lib": "2.
|
|
5
|
+
"aws-cdk": "2.1103.0",
|
|
6
|
+
"aws-cdk-lib": "2.236.0",
|
|
7
7
|
"constructs": "10.4.5",
|
|
8
8
|
"esbuild": "0.27.2",
|
|
9
9
|
"source-map-support": "0.5.21",
|
|
@@ -13,10 +13,10 @@ exports[`infra generator > should add required dependencies to package.json > de
|
|
|
13
13
|
exports[`infra generator > should add required dependencies to package.json > dev-dependencies 1`] = `
|
|
14
14
|
{
|
|
15
15
|
"@eslint/js": "^9.8.0",
|
|
16
|
-
"@nx/eslint": "22.4.
|
|
17
|
-
"@nx/eslint-plugin": "22.4.
|
|
18
|
-
"@nx/js": "22.4.
|
|
19
|
-
"@nx/vitest": "22.4.
|
|
16
|
+
"@nx/eslint": "22.4.4",
|
|
17
|
+
"@nx/eslint-plugin": "22.4.4",
|
|
18
|
+
"@nx/js": "22.4.4",
|
|
19
|
+
"@nx/vitest": "22.4.4",
|
|
20
20
|
"@swc-node/register": "~1.9.1",
|
|
21
21
|
"@swc/core": "~1.5.7",
|
|
22
22
|
"@swc/helpers": "~0.5.11",
|
|
@@ -39,18 +39,18 @@ exports[`infra generator > should add required dependencies to package.json > de
|
|
|
39
39
|
exports[`infra generator > should add required dependencies to package.json > package-json 1`] = `
|
|
40
40
|
{
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"aws-cdk": "2.
|
|
43
|
-
"aws-cdk-lib": "2.
|
|
42
|
+
"aws-cdk": "2.1103.0",
|
|
43
|
+
"aws-cdk-lib": "2.236.0",
|
|
44
44
|
"constructs": "10.4.5",
|
|
45
45
|
"esbuild": "0.27.2",
|
|
46
46
|
"source-map-support": "0.5.21",
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@eslint/js": "^9.8.0",
|
|
50
|
-
"@nx/eslint": "22.4.
|
|
51
|
-
"@nx/eslint-plugin": "22.4.
|
|
52
|
-
"@nx/js": "22.4.
|
|
53
|
-
"@nx/vitest": "22.4.
|
|
50
|
+
"@nx/eslint": "22.4.4",
|
|
51
|
+
"@nx/eslint-plugin": "22.4.4",
|
|
52
|
+
"@nx/js": "22.4.4",
|
|
53
|
+
"@nx/vitest": "22.4.4",
|
|
54
54
|
"@swc-node/register": "~1.9.1",
|
|
55
55
|
"@swc/core": "~1.5.7",
|
|
56
56
|
"@swc/helpers": "~0.5.11",
|
|
@@ -84,7 +84,7 @@ exports[`infra generator > should configure Checkov target correctly > checkov-t
|
|
|
84
84
|
"{workspaceRoot}/dist/{projectRoot}/cdk.out",
|
|
85
85
|
],
|
|
86
86
|
"options": {
|
|
87
|
-
"command": "uvx --with pycares==4.11.0 checkov==3.2.
|
|
87
|
+
"command": "uvx --with pycares==4.11.0 checkov==3.2.500 --config-file packages/test/checkov.yml --file dist/packages/test/cdk.out/**/*.template.json",
|
|
88
88
|
},
|
|
89
89
|
"outputs": [
|
|
90
90
|
"{workspaceRoot}/dist/{projectRoot}/checkov",
|
|
@@ -177,7 +177,7 @@ exports[`infra generator > should configure project.json with correct targets >
|
|
|
177
177
|
"{workspaceRoot}/dist/{projectRoot}/cdk.out",
|
|
178
178
|
],
|
|
179
179
|
"options": {
|
|
180
|
-
"command": "uvx --with pycares==4.11.0 checkov==3.2.
|
|
180
|
+
"command": "uvx --with pycares==4.11.0 checkov==3.2.500 --config-file packages/test/checkov.yml --file dist/packages/test/cdk.out/**/*.template.json",
|
|
181
181
|
},
|
|
182
182
|
"outputs": [
|
|
183
183
|
"{workspaceRoot}/dist/{projectRoot}/checkov",
|
|
@@ -724,7 +724,7 @@ exports[`infra generator > should handle custom project names correctly > custom
|
|
|
724
724
|
"{workspaceRoot}/dist/{projectRoot}/cdk.out",
|
|
725
725
|
],
|
|
726
726
|
"options": {
|
|
727
|
-
"command": "uvx --with pycares==4.11.0 checkov==3.2.
|
|
727
|
+
"command": "uvx --with pycares==4.11.0 checkov==3.2.500 --config-file packages/custom-infra/checkov.yml --file dist/packages/custom-infra/cdk.out/**/*.template.json",
|
|
728
728
|
},
|
|
729
729
|
"outputs": [
|
|
730
730
|
"{workspaceRoot}/dist/{projectRoot}/checkov",
|
|
@@ -191,8 +191,8 @@ exports[`preset generator > should run successfully > package.json 1`] = `
|
|
|
191
191
|
"name": "@proj/source",
|
|
192
192
|
"dependencies": {},
|
|
193
193
|
"devDependencies": {
|
|
194
|
-
"@nx/js": "22.4.
|
|
195
|
-
"@nx/workspace": "22.4.
|
|
194
|
+
"@nx/js": "22.4.4",
|
|
195
|
+
"@nx/workspace": "22.4.4",
|
|
196
196
|
"@swc-node/register": "~1.9.1",
|
|
197
197
|
"@swc/core": "~1.5.7",
|
|
198
198
|
"@swc/helpers": "~0.5.11",
|
|
@@ -590,9 +590,9 @@ dependencies = [
|
|
|
590
590
|
"aws-opentelemetry-distro==0.14.2",
|
|
591
591
|
"bedrock-agentcore==0.1.7",
|
|
592
592
|
"fastapi==0.128.0",
|
|
593
|
-
"boto3==1.42.
|
|
593
|
+
"boto3==1.42.39",
|
|
594
594
|
"mcp==1.26.0",
|
|
595
|
-
"strands-agents==1.
|
|
595
|
+
"strands-agents==1.24.0",
|
|
596
596
|
"strands-agents-tools==0.2.19",
|
|
597
597
|
"uvicorn==0.40.0"
|
|
598
598
|
]
|
|
@@ -145,7 +145,7 @@ exports[`trpc react generator > should handle IAM auth option > useSigV4.tsx 1`]
|
|
|
145
145
|
"import { AwsClient } from 'aws4fetch';
|
|
146
146
|
import { CognitoIdentityClient } from '@aws-sdk/client-cognito-identity';
|
|
147
147
|
import { fromCognitoIdentityPool } from '@aws-sdk/credential-provider-cognito-identity';
|
|
148
|
-
import { useCallback,
|
|
148
|
+
import { useCallback, useRef } from 'react';
|
|
149
149
|
import { useAuth } from 'react-oidc-context';
|
|
150
150
|
import { useRuntimeConfig } from './useRuntimeConfig';
|
|
151
151
|
import {
|
|
@@ -161,9 +161,9 @@ export const useSigV4 = () => {
|
|
|
161
161
|
const auth = useAuth();
|
|
162
162
|
const user = auth?.user;
|
|
163
163
|
|
|
164
|
-
const
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
const cachedCredentials = useRef<{ [key: string]: AwsCredentialIdentity }>(
|
|
165
|
+
{},
|
|
166
|
+
);
|
|
167
167
|
|
|
168
168
|
const withCachedCredentials = useCallback(
|
|
169
169
|
async (
|
|
@@ -171,7 +171,7 @@ export const useSigV4 = () => {
|
|
|
171
171
|
...cacheKeys: string[]
|
|
172
172
|
): Promise<AwsCredentialIdentity> => {
|
|
173
173
|
const key = \`sigv4/\${cacheKeys.join('/')}\`;
|
|
174
|
-
const cachedCreds = cachedCredentials[key];
|
|
174
|
+
const cachedCreds = cachedCredentials.current[key];
|
|
175
175
|
if (
|
|
176
176
|
cachedCreds &&
|
|
177
177
|
cachedCreds.expiration &&
|
|
@@ -181,10 +181,10 @@ export const useSigV4 = () => {
|
|
|
181
181
|
return cachedCreds;
|
|
182
182
|
}
|
|
183
183
|
const credentials = await provider();
|
|
184
|
-
|
|
184
|
+
cachedCredentials.current[key] = credentials;
|
|
185
185
|
return credentials;
|
|
186
186
|
},
|
|
187
|
-
[
|
|
187
|
+
[],
|
|
188
188
|
);
|
|
189
189
|
|
|
190
190
|
return useCallback(
|
|
@@ -208,11 +208,8 @@ export const useSigV4 = () => {
|
|
|
208
208
|
user.id_token,
|
|
209
209
|
},
|
|
210
210
|
});
|
|
211
|
-
const cognitoidentity = new CognitoIdentityClient({
|
|
212
|
-
credentials: credentialsFromCognitoIdentityPool,
|
|
213
|
-
});
|
|
214
211
|
const credential = await withCachedCredentials(
|
|
215
|
-
|
|
212
|
+
credentialsFromCognitoIdentityPool,
|
|
216
213
|
cognitoProps.identityPoolId,
|
|
217
214
|
user.profile.sub,
|
|
218
215
|
);
|
|
@@ -645,7 +645,7 @@ exports[`ts#mcp-server generator > should match snapshot for generated files > u
|
|
|
645
645
|
"zod": "4.3.6"
|
|
646
646
|
},
|
|
647
647
|
"devDependencies": {
|
|
648
|
-
"@modelcontextprotocol/inspector": "0.
|
|
648
|
+
"@modelcontextprotocol/inspector": "0.19.0",
|
|
649
649
|
"@types/express": "5.0.6",
|
|
650
650
|
"tsx": "4.21.0"
|
|
651
651
|
}
|
|
@@ -248,7 +248,7 @@ export const registerCreateWorkspaceCommandTool = (server: McpServer) => {
|
|
|
248
248
|
text: \`Run the following command to create a workspace:
|
|
249
249
|
|
|
250
250
|
\\\`\\\`\\\`bash
|
|
251
|
-
npx create-nx-workspace@22.4.
|
|
251
|
+
npx create-nx-workspace@22.4.2 \${workspaceName} --pm=\${packageManager} --preset=@aws/nx-plugin --ci=skip --aiAgents
|
|
252
252
|
\\\`\\\`\\\`
|
|
253
253
|
|
|
254
254
|
This will create a new workspace within the \${workspaceName} directory.
|