@aws/nx-plugin 0.7.1 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/LICENSE-THIRD-PARTY +53 -28
  2. package/generators.json +6 -0
  3. package/package.json +1 -1
  4. package/src/open-api/ts-client/__snapshots__/generator.spec.ts.snap +5130 -0
  5. package/src/open-api/ts-client/files/client.gen.ts.template +368 -0
  6. package/src/open-api/ts-client/files/types.gen.ts.template +60 -0
  7. package/src/open-api/ts-client/generator.d.ts +16 -0
  8. package/src/open-api/ts-client/generator.js +30 -0
  9. package/src/open-api/ts-client/generator.js.map +1 -0
  10. package/src/open-api/ts-client/schema.d.ts +9 -0
  11. package/src/open-api/ts-client/schema.json +20 -0
  12. package/src/open-api/ts-hooks/generator.js +4 -2
  13. package/src/open-api/ts-hooks/generator.js.map +1 -1
  14. package/src/open-api/utils/codegen-data/languages.d.ts +1 -0
  15. package/src/open-api/utils/codegen-data/languages.js +6 -1
  16. package/src/open-api/utils/codegen-data/languages.js.map +1 -1
  17. package/src/open-api/utils/codegen-data/types.d.ts +5 -0
  18. package/src/open-api/utils/codegen-data/types.js.map +1 -1
  19. package/src/open-api/utils/codegen-data.js +165 -33
  20. package/src/open-api/utils/codegen-data.js.map +1 -1
  21. package/src/open-api/utils/normalise.js +38 -8
  22. package/src/open-api/utils/normalise.js.map +1 -1
  23. package/src/py/fast-api/__snapshots__/generator.spec.ts.snap +94 -2
  24. package/src/py/fast-api/files/app/__name__/init.py.template +95 -0
  25. package/src/py/fast-api/files/app/__name__/main.py.template +3 -6
  26. package/src/py/fast-api/generator.js +6 -1
  27. package/src/py/fast-api/generator.js.map +1 -1
  28. package/src/trpc/backend/__snapshots__/generator.spec.ts.snap +8 -4
  29. package/src/trpc/backend/files/backend/src/init.ts.template +1 -0
  30. package/src/trpc/backend/files/backend/src/middleware/metrics.ts.template +7 -4
@@ -4410,34 +4410,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
4410
4410
 
4411
4411
  ---
4412
4412
 
4413
- The following software may be included in this product: @nx/react (20.4.0)
4414
- This software contains the following license and notice below:
4415
-
4416
- (The MIT License)
4417
-
4418
- Copyright (c) 2017-2025 Narwhal Technologies Inc.
4419
-
4420
- Permission is hereby granted, free of charge, to any person obtaining
4421
- a copy of this software and associated documentation files (the
4422
- 'Software'), to deal in the Software without restriction, including
4423
- without limitation the rights to use, copy, modify, merge, publish,
4424
- distribute, sublicense, and/or sell copies of the Software, and to
4425
- permit persons to whom the Software is furnished to do so, subject to
4426
- the following conditions:
4427
-
4428
- The above copyright notice and this permission notice shall be
4429
- included in all copies or substantial portions of the Software.
4430
-
4431
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
4432
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
4433
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
4434
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
4435
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
4436
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
4437
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4438
-
4439
- ---
4440
-
4441
4413
  The following software may be included in this product: @nx/vite (20.4.0)
4442
4414
  This software contains the following license and notice below:
4443
4415
 
@@ -6757,6 +6729,33 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
6757
6729
 
6758
6730
  ---
6759
6731
 
6732
+ The following software may be included in this product: acorn-import-attributes (1.9.5)
6733
+ This software contains the following license and notice below:
6734
+
6735
+ MIT License
6736
+
6737
+ Copyright (c) 2023 Sven Sauleau
6738
+
6739
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6740
+ of this software and associated documentation files (the "Software"), to deal
6741
+ in the Software without restriction, including without limitation the rights
6742
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6743
+ copies of the Software, and to permit persons to whom the Software is
6744
+ furnished to do so, subject to the following conditions:
6745
+
6746
+ The above copyright notice and this permission notice shall be included in all
6747
+ copies or substantial portions of the Software.
6748
+
6749
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6750
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6751
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6752
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
6753
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
6754
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
6755
+ SOFTWARE.
6756
+
6757
+ ---
6758
+
6760
6759
  The following software may be included in this product: acorn-jsx (5.3.2)
6761
6760
  This software contains the following license and notice below:
6762
6761
 
@@ -34013,6 +34012,32 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34013
34012
 
34014
34013
  ---
34015
34014
 
34015
+ The following software may be included in this product: webpack (5.95.0)
34016
+ This software contains the following license and notice below:
34017
+
34018
+ Copyright JS Foundation and other contributors
34019
+
34020
+ Permission is hereby granted, free of charge, to any person obtaining
34021
+ a copy of this software and associated documentation files (the
34022
+ 'Software'), to deal in the Software without restriction, including
34023
+ without limitation the rights to use, copy, modify, merge, publish,
34024
+ distribute, sublicense, and/or sell copies of the Software, and to
34025
+ permit persons to whom the Software is furnished to do so, subject to
34026
+ the following conditions:
34027
+
34028
+ The above copyright notice and this permission notice shall be
34029
+ included in all copies or substantial portions of the Software.
34030
+
34031
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
34032
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
34033
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
34034
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
34035
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
34036
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
34037
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34038
+
34039
+ ---
34040
+
34016
34041
  The following software may be included in this product: webpack-sources (3.2.3)
34017
34042
  This software contains the following license and notice below:
34018
34043
 
package/generators.json CHANGED
@@ -55,6 +55,12 @@
55
55
  "schema": "./src/api-connection/schema.json",
56
56
  "description": "Integrates a source project with a target API project"
57
57
  },
58
+ "open-api#ts-client": {
59
+ "factory": "./src/open-api/ts-client/generator",
60
+ "schema": "./src/open-api/ts-client/schema.json",
61
+ "description": "Generate a typescript client from an OpenAPI specification",
62
+ "hidden": true
63
+ },
58
64
  "open-api#ts-hooks": {
59
65
  "factory": "./src/open-api/ts-hooks/generator",
60
66
  "schema": "./src/open-api/ts-hooks/schema.json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/nx-plugin",
3
- "version": "0.7.1",
3
+ "version": "0.9.0",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "license": "Apache-2.0",