@rxap/plugin-nestjs 16.1.0-dev.3 → 16.1.0-dev.30

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 (91) hide show
  1. package/CHANGELOG.md +197 -0
  2. package/LICENSE.md +621 -0
  3. package/README.md +120 -1
  4. package/generators.json +87 -0
  5. package/package.json +60 -41
  6. package/src/generators/health-indicator/generator.d.ts +4 -0
  7. package/src/generators/health-indicator/generator.js +31 -0
  8. package/src/generators/health-indicator/generator.js.map +1 -0
  9. package/src/generators/health-indicator/index.d.ts +2 -0
  10. package/src/generators/health-indicator/index.js +7 -0
  11. package/src/generators/health-indicator/index.js.map +1 -0
  12. package/src/generators/health-indicator/schema.d.ts +5 -0
  13. package/src/generators/health-indicator/schema.json +32 -0
  14. package/src/generators/health-indicator-init/generator.d.ts +4 -0
  15. package/src/generators/health-indicator-init/generator.js +35 -0
  16. package/src/generators/health-indicator-init/generator.js.map +1 -0
  17. package/src/generators/health-indicator-init/index.d.ts +2 -0
  18. package/src/generators/health-indicator-init/index.js +7 -0
  19. package/src/generators/health-indicator-init/index.js.map +1 -0
  20. package/src/generators/health-indicator-init/schema.d.ts +4 -0
  21. package/src/generators/health-indicator-init/schema.json +22 -0
  22. package/src/generators/init/generator.js +5 -3
  23. package/src/generators/init/generator.js.map +1 -1
  24. package/src/generators/init/index.d.ts +2 -0
  25. package/src/generators/init/index.js +7 -0
  26. package/src/generators/init/index.js.map +1 -0
  27. package/src/generators/init/schema.d.ts +2 -0
  28. package/src/generators/init/schema.json +10 -0
  29. package/src/generators/init-application/extract-existing-config-validation.d.ts +3 -0
  30. package/src/generators/init-application/extract-existing-config-validation.js +47 -0
  31. package/src/generators/init-application/extract-existing-config-validation.js.map +1 -0
  32. package/src/generators/init-application/files/shared/Dockerfile +7 -0
  33. package/src/generators/init-application/generator.js +606 -16
  34. package/src/generators/init-application/generator.js.map +1 -1
  35. package/src/generators/init-application/index.d.ts +2 -0
  36. package/src/generators/init-application/index.js +7 -0
  37. package/src/generators/init-application/index.js.map +1 -0
  38. package/src/generators/init-application/schema.d.ts +4 -2
  39. package/src/generators/init-application/schema.json +31 -21
  40. package/src/generators/init-library/generator.js +9 -7
  41. package/src/generators/init-library/generator.js.map +1 -1
  42. package/src/generators/init-library/index.d.ts +2 -0
  43. package/src/generators/init-library/index.js +7 -0
  44. package/src/generators/init-library/index.js.map +1 -0
  45. package/src/generators/init-library/schema.d.ts +2 -0
  46. package/src/generators/init-library/schema.json +10 -0
  47. package/src/generators/jwt/generator.d.ts +4 -0
  48. package/src/generators/jwt/generator.js +79 -0
  49. package/src/generators/jwt/generator.js.map +1 -0
  50. package/src/generators/jwt/index.d.ts +2 -0
  51. package/src/generators/jwt/index.js +7 -0
  52. package/src/generators/jwt/index.js.map +1 -0
  53. package/src/generators/jwt/schema.d.ts +4 -0
  54. package/src/generators/jwt/schema.json +18 -0
  55. package/src/generators/open-api/generator.d.ts +4 -0
  56. package/src/generators/open-api/generator.js +74 -0
  57. package/src/generators/open-api/generator.js.map +1 -0
  58. package/src/generators/open-api/index.d.ts +2 -0
  59. package/src/generators/open-api/index.js +7 -0
  60. package/src/generators/open-api/index.js.map +1 -0
  61. package/src/generators/open-api/schema.d.ts +4 -0
  62. package/src/generators/open-api/schema.json +18 -0
  63. package/src/generators/sentry/generator.d.ts +4 -0
  64. package/src/generators/sentry/generator.js +148 -0
  65. package/src/generators/sentry/generator.js.map +1 -0
  66. package/src/generators/sentry/index.d.ts +2 -0
  67. package/src/generators/sentry/index.js +7 -0
  68. package/src/generators/sentry/index.js.map +1 -0
  69. package/src/generators/sentry/schema.d.ts +6 -0
  70. package/src/generators/sentry/schema.json +32 -0
  71. package/src/generators/swagger/files/environments/environment.swagger.ts__tmpl__ +8 -0
  72. package/src/generators/swagger/files/swagger.ts__tmpl__ +21 -0
  73. package/src/generators/swagger/generator.d.ts +4 -0
  74. package/src/generators/swagger/generator.js +91 -0
  75. package/src/generators/swagger/generator.js.map +1 -0
  76. package/src/generators/swagger/index.d.ts +2 -0
  77. package/src/generators/swagger/index.js +7 -0
  78. package/src/generators/swagger/index.js.map +1 -0
  79. package/src/generators/swagger/schema.d.ts +4 -0
  80. package/src/generators/swagger/schema.json +22 -0
  81. package/src/generators/validator/generator.d.ts +4 -0
  82. package/src/generators/validator/generator.js +14 -0
  83. package/src/generators/validator/generator.js.map +1 -0
  84. package/src/generators/validator/index.d.ts +2 -0
  85. package/src/generators/validator/index.js +7 -0
  86. package/src/generators/validator/index.js.map +1 -0
  87. package/src/generators/validator/schema.d.ts +4 -0
  88. package/src/generators/validator/schema.json +22 -0
  89. package/src/index.d.ts +1 -0
  90. package/src/index.js +3 -1
  91. package/src/index.js.map +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,203 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [16.1.0-dev.30](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.29...@rxap/plugin-nestjs@16.1.0-dev.30) (2023-09-21)
7
+
8
+ ### Bug Fixes
9
+
10
+ - add skip-projects flag ([0f45987](https://gitlab.com/rxap/packages/commit/0f45987bc9dd927b1ede9eb53256125fa0e33674))
11
+
12
+ # [16.1.0-dev.29](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.28...@rxap/plugin-nestjs@16.1.0-dev.29) (2023-09-19)
13
+
14
+ ### Bug Fixes
15
+
16
+ - support dynamic server config loading ([088583a](https://gitlab.com/rxap/packages/commit/088583acece9a693a461c958af3fa27cb20d661f))
17
+
18
+ # [16.1.0-dev.28](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.27...@rxap/plugin-nestjs@16.1.0-dev.28) (2023-09-18)
19
+
20
+ ### Bug Fixes
21
+
22
+ - install required dependencies ([2ec480a](https://gitlab.com/rxap/packages/commit/2ec480a2080d2be7aeb18b27dc9efb2ddc87835f))
23
+
24
+ # [16.1.0-dev.27](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.26...@rxap/plugin-nestjs@16.1.0-dev.27) (2023-09-18)
25
+
26
+ ### Bug Fixes
27
+
28
+ - install required dependencies ([1eafe46](https://gitlab.com/rxap/packages/commit/1eafe462bcc0797340b52e3853ddffb49a5e584e))
29
+
30
+ # [16.1.0-dev.26](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.25...@rxap/plugin-nestjs@16.1.0-dev.26) (2023-09-18)
31
+
32
+ ### Bug Fixes
33
+
34
+ - ensure project tags ([f644ed7](https://gitlab.com/rxap/packages/commit/f644ed7191bb89fa6d45ae53ed61c7ff0f36ab8a))
35
+
36
+ # [16.1.0-dev.25](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.24...@rxap/plugin-nestjs@16.1.0-dev.25) (2023-09-18)
37
+
38
+ ### Bug Fixes
39
+
40
+ - install required dependencies ([3c86754](https://gitlab.com/rxap/packages/commit/3c867542bdc88c781f3894761b2a284955d9f7c4))
41
+
42
+ # [16.1.0-dev.24](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.23...@rxap/plugin-nestjs@16.1.0-dev.24) (2023-09-18)
43
+
44
+ ### Bug Fixes
45
+
46
+ - update service status name ([238353c](https://gitlab.com/rxap/packages/commit/238353c821f25268af93599756406e73431fca21))
47
+
48
+ # [16.1.0-dev.23](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.22...@rxap/plugin-nestjs@16.1.0-dev.23) (2023-09-12)
49
+
50
+ ### Bug Fixes
51
+
52
+ - ensure extraction works in new module structure ([bc421d7](https://gitlab.com/rxap/packages/commit/bc421d74643e15d55b2b74c930ddc32e3a601d03))
53
+
54
+ # [16.1.0-dev.22](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.21...@rxap/plugin-nestjs@16.1.0-dev.22) (2023-09-12)
55
+
56
+ ### Bug Fixes
57
+
58
+ - remove generate file call ([dc7d904](https://gitlab.com/rxap/packages/commit/dc7d9042abb02dbad0b006aee71c508300a5fa17))
59
+
60
+ # [16.1.0-dev.21](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.20...@rxap/plugin-nestjs@16.1.0-dev.21) (2023-09-12)
61
+
62
+ ### Bug Fixes
63
+
64
+ - restore existing config validation ([88feca5](https://gitlab.com/rxap/packages/commit/88feca56b0209f5fdfd649321606414ba66756ab))
65
+
66
+ # [16.1.0-dev.20](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.19...@rxap/plugin-nestjs@16.1.0-dev.20) (2023-09-12)
67
+
68
+ ### Bug Fixes
69
+
70
+ - peer dependency issue ([e67e2b8](https://gitlab.com/rxap/packages/commit/e67e2b8eb884b598536d16c2c544a9ad9be5b53e))
71
+
72
+ # [16.1.0-dev.19](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.18...@rxap/plugin-nestjs@16.1.0-dev.19) (2023-09-12)
73
+
74
+ ### Bug Fixes
75
+
76
+ - add development configuration to build target ([393a03a](https://gitlab.com/rxap/packages/commit/393a03aa54366fd1a037aac9ef42a57a23258f1f))
77
+ - use local status server if possible ([d9b48fa](https://gitlab.com/rxap/packages/commit/d9b48fa8f862d769e7c2675226a900eca3b8fde5))
78
+ - use ready hook for RegisterToStatusService ([b0b1cd5](https://gitlab.com/rxap/packages/commit/b0b1cd5273343ae09ab1b3c3dd2d0fae951d7cbd))
79
+
80
+ # [16.1.0-dev.18](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.17...@rxap/plugin-nestjs@16.1.0-dev.18) (2023-09-12)
81
+
82
+ ### Bug Fixes
83
+
84
+ - improve nest application init generator execution ([30adde1](https://gitlab.com/rxap/packages/commit/30adde1b164884137890e4c604ed86a7a75261d9))
85
+ - use unified Dockerfile ([913898d](https://gitlab.com/rxap/packages/commit/913898d976a56873caabd2140cf2e6e0fef15214))
86
+
87
+ ### Reverts
88
+
89
+ - "build: use nx run commands to build openapi.json" ([b294956](https://gitlab.com/rxap/packages/commit/b294956b25d42350a1e0907635c88776a39b7708))
90
+
91
+ # [16.1.0-dev.17](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.16...@rxap/plugin-nestjs@16.1.0-dev.17) (2023-09-09)
92
+
93
+ ### Features
94
+
95
+ - add openapi utility operation generation ([9e67895](https://gitlab.com/rxap/packages/commit/9e678950b7f47bb39768f2d41c3a64b3af7a3c10))
96
+
97
+ # [16.1.0-dev.16](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.15...@rxap/plugin-nestjs@16.1.0-dev.16) (2023-09-07)
98
+
99
+ **Note:** Version bump only for package @rxap/plugin-nestjs
100
+
101
+ # [16.1.0-dev.15](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.14...@rxap/plugin-nestjs@16.1.0-dev.15) (2023-09-03)
102
+
103
+ **Note:** Version bump only for package @rxap/plugin-nestjs
104
+
105
+ # [16.1.0-dev.14](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.13...@rxap/plugin-nestjs@16.1.0-dev.14) (2023-09-03)
106
+
107
+ **Note:** Version bump only for package @rxap/plugin-nestjs
108
+
109
+ # [16.1.0-dev.13](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.12...@rxap/plugin-nestjs@16.1.0-dev.13) (2023-09-03)
110
+
111
+ ### Bug Fixes
112
+
113
+ - create health files if not exist ([ea81a96](https://gitlab.com/rxap/packages/commit/ea81a964686256ea0c7d1a52cb09d6481a47cc98))
114
+ - remove support for open-api client sdk packages ([ace153f](https://gitlab.com/rxap/packages/commit/ace153f977690e7714c3c4110600e2a8916a0d52))
115
+ - respect the overwrite flag ([3234759](https://gitlab.com/rxap/packages/commit/32347594f4e3f27eb639647d6db0ec61a8537d04))
116
+ - use es module import style ([f844c22](https://gitlab.com/rxap/packages/commit/f844c22eac4a4e5ef288eb1039879faa207c9889))
117
+
118
+ # [16.1.0-dev.12](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.11...@rxap/plugin-nestjs@16.1.0-dev.12) (2023-09-02)
119
+
120
+ ### Bug Fixes
121
+
122
+ - use the plugin-open-api project for client sdk generation ([5097269](https://gitlab.com/rxap/packages/commit/509726988a0bcb10a39dedff3bde9bbc36cf1331))
123
+
124
+ ### Features
125
+
126
+ - support open-api package project generation ([d1f2d03](https://gitlab.com/rxap/packages/commit/d1f2d03a1b6bca7171fc04dc161bb62325017fc6))
127
+
128
+ # [16.1.0-dev.11](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.10...@rxap/plugin-nestjs@16.1.0-dev.11) (2023-09-01)
129
+
130
+ ### Bug Fixes
131
+
132
+ - default status service base url var generation ([9509086](https://gitlab.com/rxap/packages/commit/95090864e8eda444fa2a849dbf2fb4b608afcc7c))
133
+ - ensure the env replacement for nest application is defined ([692dda5](https://gitlab.com/rxap/packages/commit/692dda5e52a20ac3158cf2d07e96e44de4f1fe77))
134
+ - set default throttler ttl to 1 ([dcd9f60](https://gitlab.com/rxap/packages/commit/dcd9f609bd75245f0cf7e889f4eab2cc66cf995d))
135
+ - support config validation overwrite ([bd01600](https://gitlab.com/rxap/packages/commit/bd01600ba9e0159b4e338a902314436d45c7d782))
136
+ - use the new status service hostname ([c2655b6](https://gitlab.com/rxap/packages/commit/c2655b6c8f499755cc788da991ac9cebca05a49c))
137
+
138
+ # [16.1.0-dev.10](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.9...@rxap/plugin-nestjs@16.1.0-dev.10) (2023-08-31)
139
+
140
+ ### Bug Fixes
141
+
142
+ - add missing template property ([11daed1](https://gitlab.com/rxap/packages/commit/11daed1cb52709ee436014f571642644dbb77fe9))
143
+ - add project ts-morph ([f17725d](https://gitlab.com/rxap/packages/commit/f17725dccf31d3f5fab9087e103e19ad5df43246))
144
+ - create an info path for the default app controller ([8d3ab19](https://gitlab.com/rxap/packages/commit/8d3ab197ba35ece19345e3eea78e938a512586e5))
145
+ - ensure overwrite option is passed to sub schematics ([8472aab](https://gitlab.com/rxap/packages/commit/8472aab8814227c851fab9ae4c1b9ec3019d6f4e))
146
+ - ensure the project name is not included in the project tag list ([b131ac3](https://gitlab.com/rxap/packages/commit/b131ac3bd92b3b8799d62f15bbd30a1997d7c753))
147
+ - pass overwrite option to utility function ([7bf4f62](https://gitlab.com/rxap/packages/commit/7bf4f62249879ec13cb476844cac143033d4a8b4))
148
+ - resolve issues ([07edb75](https://gitlab.com/rxap/packages/commit/07edb75b3ed6bedc2b831145d6ac5b57e342c6fd))
149
+ - streamline the nestjs application initialization ([4fcdde5](https://gitlab.com/rxap/packages/commit/4fcdde539d462efaaf6fe24000187c87bbad8c19))
150
+
151
+ ### Features
152
+
153
+ - add the health indicator generator ([3153e97](https://gitlab.com/rxap/packages/commit/3153e97c034d3f8856a68cf507ac88b5fb8c53bc))
154
+ - add the jwt generator ([b9d22b1](https://gitlab.com/rxap/packages/commit/b9d22b1fc6c7b7bfa960012f92a1a9f74fd20a32))
155
+ - add the mandatory app property to the environment object ([2655e0d](https://gitlab.com/rxap/packages/commit/2655e0d5449949a67b38044d34e6180f22ffc9c1))
156
+ - add the open-api generator ([6ecf74d](https://gitlab.com/rxap/packages/commit/6ecf74d83dfb7092523fdeb6dc7e925f8aece46e))
157
+ - add the sentry generator ([567eb83](https://gitlab.com/rxap/packages/commit/567eb83f2932643f359eb844db9b104e0b6c223d))
158
+ - add the validator generator ([810ff12](https://gitlab.com/rxap/packages/commit/810ff12308a98446c37f03ae2523b1d7d7a8b7d5))
159
+ - exclude health path from global api prefix ([15a5dbe](https://gitlab.com/rxap/packages/commit/15a5dbe4581e943bd7d0775fd87f8c2b0322cc02))
160
+ - generate status registry feature ([aff8ff8](https://gitlab.com/rxap/packages/commit/aff8ff8f0e67e6181383beb93ee1f7c898c9a2ea))
161
+
162
+ # [16.1.0-dev.9](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.8...@rxap/plugin-nestjs@16.1.0-dev.9) (2023-08-17)
163
+
164
+ ### Reverts
165
+
166
+ - change from commonjs to es2022 ([747a381](https://gitlab.com/rxap/packages/commit/747a381a090f0a276cf363da61bb19ed0c9cb5b7))
167
+
168
+ # [16.1.0-dev.8](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.7...@rxap/plugin-nestjs@16.1.0-dev.8) (2023-08-16)
169
+
170
+ ### Bug Fixes
171
+
172
+ - change from commonjs to es2022 ([fd0f2ba](https://gitlab.com/rxap/packages/commit/fd0f2bae24eae7c854e96f630076cd5598c30be6))
173
+
174
+ # [16.1.0-dev.7](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.6...@rxap/plugin-nestjs@16.1.0-dev.7) (2023-08-14)
175
+
176
+ ### Bug Fixes
177
+
178
+ - soft fail for library generation ([109f456](https://gitlab.com/rxap/packages/commit/109f456e74f048942a09d2c579539b80ea620134))
179
+
180
+ # [16.1.0-dev.6](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.5...@rxap/plugin-nestjs@16.1.0-dev.6) (2023-08-06)
181
+
182
+ ### Bug Fixes
183
+
184
+ - expose generators as schematics ([679ca36](https://gitlab.com/rxap/packages/commit/679ca36d3712a11e4dc838762bca2f7c471e1e04))
185
+
186
+ # [16.1.0-dev.5](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.4...@rxap/plugin-nestjs@16.1.0-dev.5) (2023-08-05)
187
+
188
+ ### Bug Fixes
189
+
190
+ - only skip swagger configuration if explicit disabled ([97435db](https://gitlab.com/rxap/packages/commit/97435db71cba7c38f9821335d33e93689105b836))
191
+
192
+ # [16.1.0-dev.4](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.3...@rxap/plugin-nestjs@16.1.0-dev.4) (2023-08-04)
193
+
194
+ ### Bug Fixes
195
+
196
+ - add licence file to publishable packages ([ca6d4d5](https://gitlab.com/rxap/packages/commit/ca6d4d509a743b89bad5ed7ae935d3007231705a))
197
+
198
+ ### Features
199
+
200
+ - add generate-open-api target to nestjs application projects ([bcb4e9e](https://gitlab.com/rxap/packages/commit/bcb4e9e6104e1fba63a1026da8e50dda6ff172b1))
201
+ - mv swagger generator to plugin-nestjs ([cf2ecbb](https://gitlab.com/rxap/packages/commit/cf2ecbb16b681cb04d392d17bb987b24e8c9224b))
202
+
6
203
  # [16.1.0-dev.3](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.2...@rxap/plugin-nestjs@16.1.0-dev.3) (2023-08-04)
7
204
 
8
205
  ### Bug Fixes