@rxap/plugin-nestjs 16.1.0-dev.2 → 16.1.0-dev.20

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/CHANGELOG.md +143 -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/index.d.ts +2 -0
  23. package/src/generators/init/index.js +7 -0
  24. package/src/generators/init/index.js.map +1 -0
  25. package/src/generators/init/schema.d.ts +1 -0
  26. package/src/generators/init/schema.json +5 -0
  27. package/src/generators/init-application/files/shared/Dockerfile +7 -0
  28. package/src/generators/init-application/generator.js +545 -8
  29. package/src/generators/init-application/generator.js.map +1 -1
  30. package/src/generators/init-application/index.d.ts +2 -0
  31. package/src/generators/init-application/index.js +7 -0
  32. package/src/generators/init-application/index.js.map +1 -0
  33. package/src/generators/init-application/schema.d.ts +3 -2
  34. package/src/generators/init-application/schema.json +26 -21
  35. package/src/generators/init-library/generator.js +12 -17
  36. package/src/generators/init-library/generator.js.map +1 -1
  37. package/src/generators/init-library/index.d.ts +2 -0
  38. package/src/generators/init-library/index.js +7 -0
  39. package/src/generators/init-library/index.js.map +1 -0
  40. package/src/generators/init-library/schema.d.ts +1 -0
  41. package/src/generators/init-library/schema.json +5 -0
  42. package/src/generators/jwt/generator.d.ts +4 -0
  43. package/src/generators/jwt/generator.js +79 -0
  44. package/src/generators/jwt/generator.js.map +1 -0
  45. package/src/generators/jwt/index.d.ts +2 -0
  46. package/src/generators/jwt/index.js +7 -0
  47. package/src/generators/jwt/index.js.map +1 -0
  48. package/src/generators/jwt/schema.d.ts +4 -0
  49. package/src/generators/jwt/schema.json +18 -0
  50. package/src/generators/open-api/generator.d.ts +4 -0
  51. package/src/generators/open-api/generator.js +45 -0
  52. package/src/generators/open-api/generator.js.map +1 -0
  53. package/src/generators/open-api/index.d.ts +2 -0
  54. package/src/generators/open-api/index.js +7 -0
  55. package/src/generators/open-api/index.js.map +1 -0
  56. package/src/generators/open-api/schema.d.ts +4 -0
  57. package/src/generators/open-api/schema.json +18 -0
  58. package/src/generators/sentry/generator.d.ts +4 -0
  59. package/src/generators/sentry/generator.js +148 -0
  60. package/src/generators/sentry/generator.js.map +1 -0
  61. package/src/generators/sentry/index.d.ts +2 -0
  62. package/src/generators/sentry/index.js +7 -0
  63. package/src/generators/sentry/index.js.map +1 -0
  64. package/src/generators/sentry/schema.d.ts +6 -0
  65. package/src/generators/sentry/schema.json +32 -0
  66. package/src/generators/swagger/files/environments/environment.swagger.ts__tmpl__ +8 -0
  67. package/src/generators/swagger/files/swagger.ts__tmpl__ +21 -0
  68. package/src/generators/swagger/generator.d.ts +4 -0
  69. package/src/generators/swagger/generator.js +91 -0
  70. package/src/generators/swagger/generator.js.map +1 -0
  71. package/src/generators/swagger/index.d.ts +2 -0
  72. package/src/generators/swagger/index.js +7 -0
  73. package/src/generators/swagger/index.js.map +1 -0
  74. package/src/generators/swagger/schema.d.ts +4 -0
  75. package/src/generators/swagger/schema.json +22 -0
  76. package/src/generators/validator/generator.d.ts +4 -0
  77. package/src/generators/validator/generator.js +14 -0
  78. package/src/generators/validator/generator.js.map +1 -0
  79. package/src/generators/validator/index.d.ts +2 -0
  80. package/src/generators/validator/index.js +7 -0
  81. package/src/generators/validator/index.js.map +1 -0
  82. package/src/generators/validator/schema.d.ts +4 -0
  83. package/src/generators/validator/schema.json +22 -0
  84. package/src/index.d.ts +1 -0
  85. package/src/index.js +3 -1
  86. package/src/index.js.map +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,149 @@
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.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)
7
+
8
+ ### Bug Fixes
9
+
10
+ - peer dependency issue ([e67e2b8](https://gitlab.com/rxap/packages/commit/e67e2b8eb884b598536d16c2c544a9ad9be5b53e))
11
+
12
+ # [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)
13
+
14
+ ### Bug Fixes
15
+
16
+ - add development configuration to build target ([393a03a](https://gitlab.com/rxap/packages/commit/393a03aa54366fd1a037aac9ef42a57a23258f1f))
17
+ - use local status server if possible ([d9b48fa](https://gitlab.com/rxap/packages/commit/d9b48fa8f862d769e7c2675226a900eca3b8fde5))
18
+ - use ready hook for RegisterToStatusService ([b0b1cd5](https://gitlab.com/rxap/packages/commit/b0b1cd5273343ae09ab1b3c3dd2d0fae951d7cbd))
19
+
20
+ # [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)
21
+
22
+ ### Bug Fixes
23
+
24
+ - improve nest application init generator execution ([30adde1](https://gitlab.com/rxap/packages/commit/30adde1b164884137890e4c604ed86a7a75261d9))
25
+ - use unified Dockerfile ([913898d](https://gitlab.com/rxap/packages/commit/913898d976a56873caabd2140cf2e6e0fef15214))
26
+
27
+ ### Reverts
28
+
29
+ - "build: use nx run commands to build openapi.json" ([b294956](https://gitlab.com/rxap/packages/commit/b294956b25d42350a1e0907635c88776a39b7708))
30
+
31
+ # [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)
32
+
33
+ ### Features
34
+
35
+ - add openapi utility operation generation ([9e67895](https://gitlab.com/rxap/packages/commit/9e678950b7f47bb39768f2d41c3a64b3af7a3c10))
36
+
37
+ # [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)
38
+
39
+ **Note:** Version bump only for package @rxap/plugin-nestjs
40
+
41
+ # [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)
42
+
43
+ **Note:** Version bump only for package @rxap/plugin-nestjs
44
+
45
+ # [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)
46
+
47
+ **Note:** Version bump only for package @rxap/plugin-nestjs
48
+
49
+ # [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)
50
+
51
+ ### Bug Fixes
52
+
53
+ - create health files if not exist ([ea81a96](https://gitlab.com/rxap/packages/commit/ea81a964686256ea0c7d1a52cb09d6481a47cc98))
54
+ - remove support for open-api client sdk packages ([ace153f](https://gitlab.com/rxap/packages/commit/ace153f977690e7714c3c4110600e2a8916a0d52))
55
+ - respect the overwrite flag ([3234759](https://gitlab.com/rxap/packages/commit/32347594f4e3f27eb639647d6db0ec61a8537d04))
56
+ - use es module import style ([f844c22](https://gitlab.com/rxap/packages/commit/f844c22eac4a4e5ef288eb1039879faa207c9889))
57
+
58
+ # [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)
59
+
60
+ ### Bug Fixes
61
+
62
+ - use the plugin-open-api project for client sdk generation ([5097269](https://gitlab.com/rxap/packages/commit/509726988a0bcb10a39dedff3bde9bbc36cf1331))
63
+
64
+ ### Features
65
+
66
+ - support open-api package project generation ([d1f2d03](https://gitlab.com/rxap/packages/commit/d1f2d03a1b6bca7171fc04dc161bb62325017fc6))
67
+
68
+ # [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)
69
+
70
+ ### Bug Fixes
71
+
72
+ - default status service base url var generation ([9509086](https://gitlab.com/rxap/packages/commit/95090864e8eda444fa2a849dbf2fb4b608afcc7c))
73
+ - ensure the env replacement for nest application is defined ([692dda5](https://gitlab.com/rxap/packages/commit/692dda5e52a20ac3158cf2d07e96e44de4f1fe77))
74
+ - set default throttler ttl to 1 ([dcd9f60](https://gitlab.com/rxap/packages/commit/dcd9f609bd75245f0cf7e889f4eab2cc66cf995d))
75
+ - support config validation overwrite ([bd01600](https://gitlab.com/rxap/packages/commit/bd01600ba9e0159b4e338a902314436d45c7d782))
76
+ - use the new status service hostname ([c2655b6](https://gitlab.com/rxap/packages/commit/c2655b6c8f499755cc788da991ac9cebca05a49c))
77
+
78
+ # [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)
79
+
80
+ ### Bug Fixes
81
+
82
+ - add missing template property ([11daed1](https://gitlab.com/rxap/packages/commit/11daed1cb52709ee436014f571642644dbb77fe9))
83
+ - add project ts-morph ([f17725d](https://gitlab.com/rxap/packages/commit/f17725dccf31d3f5fab9087e103e19ad5df43246))
84
+ - create an info path for the default app controller ([8d3ab19](https://gitlab.com/rxap/packages/commit/8d3ab197ba35ece19345e3eea78e938a512586e5))
85
+ - ensure overwrite option is passed to sub schematics ([8472aab](https://gitlab.com/rxap/packages/commit/8472aab8814227c851fab9ae4c1b9ec3019d6f4e))
86
+ - ensure the project name is not included in the project tag list ([b131ac3](https://gitlab.com/rxap/packages/commit/b131ac3bd92b3b8799d62f15bbd30a1997d7c753))
87
+ - pass overwrite option to utility function ([7bf4f62](https://gitlab.com/rxap/packages/commit/7bf4f62249879ec13cb476844cac143033d4a8b4))
88
+ - resolve issues ([07edb75](https://gitlab.com/rxap/packages/commit/07edb75b3ed6bedc2b831145d6ac5b57e342c6fd))
89
+ - streamline the nestjs application initialization ([4fcdde5](https://gitlab.com/rxap/packages/commit/4fcdde539d462efaaf6fe24000187c87bbad8c19))
90
+
91
+ ### Features
92
+
93
+ - add the health indicator generator ([3153e97](https://gitlab.com/rxap/packages/commit/3153e97c034d3f8856a68cf507ac88b5fb8c53bc))
94
+ - add the jwt generator ([b9d22b1](https://gitlab.com/rxap/packages/commit/b9d22b1fc6c7b7bfa960012f92a1a9f74fd20a32))
95
+ - add the mandatory app property to the environment object ([2655e0d](https://gitlab.com/rxap/packages/commit/2655e0d5449949a67b38044d34e6180f22ffc9c1))
96
+ - add the open-api generator ([6ecf74d](https://gitlab.com/rxap/packages/commit/6ecf74d83dfb7092523fdeb6dc7e925f8aece46e))
97
+ - add the sentry generator ([567eb83](https://gitlab.com/rxap/packages/commit/567eb83f2932643f359eb844db9b104e0b6c223d))
98
+ - add the validator generator ([810ff12](https://gitlab.com/rxap/packages/commit/810ff12308a98446c37f03ae2523b1d7d7a8b7d5))
99
+ - exclude health path from global api prefix ([15a5dbe](https://gitlab.com/rxap/packages/commit/15a5dbe4581e943bd7d0775fd87f8c2b0322cc02))
100
+ - generate status registry feature ([aff8ff8](https://gitlab.com/rxap/packages/commit/aff8ff8f0e67e6181383beb93ee1f7c898c9a2ea))
101
+
102
+ # [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)
103
+
104
+ ### Reverts
105
+
106
+ - change from commonjs to es2022 ([747a381](https://gitlab.com/rxap/packages/commit/747a381a090f0a276cf363da61bb19ed0c9cb5b7))
107
+
108
+ # [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)
109
+
110
+ ### Bug Fixes
111
+
112
+ - change from commonjs to es2022 ([fd0f2ba](https://gitlab.com/rxap/packages/commit/fd0f2bae24eae7c854e96f630076cd5598c30be6))
113
+
114
+ # [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)
115
+
116
+ ### Bug Fixes
117
+
118
+ - soft fail for library generation ([109f456](https://gitlab.com/rxap/packages/commit/109f456e74f048942a09d2c579539b80ea620134))
119
+
120
+ # [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)
121
+
122
+ ### Bug Fixes
123
+
124
+ - expose generators as schematics ([679ca36](https://gitlab.com/rxap/packages/commit/679ca36d3712a11e4dc838762bca2f7c471e1e04))
125
+
126
+ # [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)
127
+
128
+ ### Bug Fixes
129
+
130
+ - only skip swagger configuration if explicit disabled ([97435db](https://gitlab.com/rxap/packages/commit/97435db71cba7c38f9821335d33e93689105b836))
131
+
132
+ # [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)
133
+
134
+ ### Bug Fixes
135
+
136
+ - add licence file to publishable packages ([ca6d4d5](https://gitlab.com/rxap/packages/commit/ca6d4d509a743b89bad5ed7ae935d3007231705a))
137
+
138
+ ### Features
139
+
140
+ - add generate-open-api target to nestjs application projects ([bcb4e9e](https://gitlab.com/rxap/packages/commit/bcb4e9e6104e1fba63a1026da8e50dda6ff172b1))
141
+ - mv swagger generator to plugin-nestjs ([cf2ecbb](https://gitlab.com/rxap/packages/commit/cf2ecbb16b681cb04d392d17bb987b24e8c9224b))
142
+
143
+ # [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)
144
+
145
+ ### Bug Fixes
146
+
147
+ - ensure projects are buildable or publishable ([781a8b7](https://gitlab.com/rxap/packages/commit/781a8b77d9e7f74493347516b5e678a42e1e32df))
148
+
6
149
  # [16.1.0-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.1.0-dev.1...@rxap/plugin-nestjs@16.1.0-dev.2) (2023-08-03)
7
150
 
8
151
  ### Features