@rxap/plugin-library 16.0.0-dev.3 → 16.0.0-dev.4

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 (126) hide show
  1. package/CHANGELOG.md +47 -189
  2. package/README.md +80 -127
  3. package/executors.json +24 -0
  4. package/generators.json +24 -0
  5. package/package.json +55 -40
  6. package/src/executors/readme/executor.d.ts +5 -0
  7. package/src/executors/readme/executor.js +143 -0
  8. package/src/executors/readme/executor.js.map +1 -0
  9. package/src/executors/readme/schema.d.ts +1 -0
  10. package/src/{builders/update-package-group → executors/readme}/schema.json +2 -3
  11. package/src/executors/run-generator/executor.d.ts +5 -0
  12. package/src/executors/run-generator/executor.js +46 -0
  13. package/src/executors/run-generator/executor.js.map +1 -0
  14. package/src/executors/run-generator/schema.d.ts +6 -0
  15. package/src/executors/run-generator/schema.json +27 -0
  16. package/src/executors/update-dependencies/executor.d.ts +5 -0
  17. package/src/executors/update-dependencies/executor.js +32 -0
  18. package/src/executors/update-dependencies/executor.js.map +1 -0
  19. package/src/executors/update-dependencies/schema.d.ts +1 -0
  20. package/src/executors/update-dependencies/schema.json +9 -0
  21. package/src/executors/update-package-group/executor.d.ts +5 -0
  22. package/src/executors/update-package-group/executor.js +45 -0
  23. package/src/executors/update-package-group/executor.js.map +1 -0
  24. package/src/executors/update-package-group/schema.d.ts +1 -0
  25. package/src/executors/update-package-group/schema.json +9 -0
  26. package/src/generators/fix-dependencies/generator.d.ts +27 -0
  27. package/src/generators/fix-dependencies/generator.js +547 -0
  28. package/src/generators/fix-dependencies/generator.js.map +1 -0
  29. package/src/generators/fix-dependencies/schema.d.ts +8 -0
  30. package/src/generators/fix-dependencies/schema.json +31 -0
  31. package/src/generators/index-export/generator.d.ts +4 -0
  32. package/src/generators/index-export/generator.js +52 -0
  33. package/src/generators/index-export/generator.js.map +1 -0
  34. package/src/generators/index-export/schema.d.ts +3 -0
  35. package/src/generators/index-export/schema.json +16 -0
  36. package/src/generators/init/files/README.md.handlebars +115 -0
  37. package/src/generators/init/generator.d.ts +4 -0
  38. package/src/generators/init/generator.js +261 -0
  39. package/src/generators/init/generator.js.map +1 -0
  40. package/src/generators/init/schema.d.ts +3 -0
  41. package/src/generators/init/schema.json +16 -0
  42. package/src/generators/schematic/files/schematic/__fileName__/index.ts.template +8 -0
  43. package/src/generators/schematic/files/schematic/__fileName__/schema.d.ts.template +3 -0
  44. package/src/generators/schematic/files/schematic/__fileName__/schema.json.template +18 -0
  45. package/src/generators/schematic/generator.d.ts +6 -0
  46. package/src/generators/schematic/generator.js +137 -0
  47. package/src/generators/schematic/generator.js.map +1 -0
  48. package/src/generators/schematic/schema.d.ts +6 -0
  49. package/src/generators/schematic/schema.json +43 -0
  50. package/src/index.d.ts +0 -1
  51. package/src/index.js +0 -2
  52. package/src/index.js.map +1 -1
  53. package/LICENSE +0 -630
  54. package/builders.json +0 -20
  55. package/collection.json +0 -32
  56. package/migration.json +0 -4
  57. package/src/builders/build-schematics/builder.d.ts +0 -13
  58. package/src/builders/build-schematics/builder.js +0 -84
  59. package/src/builders/build-schematics/builder.js.map +0 -1
  60. package/src/builders/build-schematics/schema.json +0 -78
  61. package/src/builders/update-package-group/builder.d.ts +0 -19
  62. package/src/builders/update-package-group/builder.js +0 -89
  63. package/src/builders/update-package-group/builder.js.map +0 -1
  64. package/src/builders/update-package-group/read-file.d.ts +0 -7
  65. package/src/builders/update-package-group/read-file.js +0 -11
  66. package/src/builders/update-package-group/read-file.js.map +0 -1
  67. package/src/builders/update-package-group/write-file.d.ts +0 -5
  68. package/src/builders/update-package-group/write-file.js +0 -11
  69. package/src/builders/update-package-group/write-file.js.map +0 -1
  70. package/src/builders/update-peer-dependencies/builder.d.ts +0 -40
  71. package/src/builders/update-peer-dependencies/builder.js +0 -293
  72. package/src/builders/update-peer-dependencies/builder.js.map +0 -1
  73. package/src/builders/update-peer-dependencies/schema.json +0 -33
  74. package/src/builders/utils/assets.d.ts +0 -14
  75. package/src/builders/utils/assets.js +0 -54
  76. package/src/builders/utils/assets.js.map +0 -1
  77. package/src/builders/utils/compile-typescript-files.d.ts +0 -13
  78. package/src/builders/utils/compile-typescript-files.js +0 -56
  79. package/src/builders/utils/compile-typescript-files.js.map +0 -1
  80. package/src/builders/utils/equals.d.ts +0 -1
  81. package/src/builders/utils/equals.js +0 -200
  82. package/src/builders/utils/equals.js.map +0 -1
  83. package/src/builders/utils/unique.d.ts +0 -1
  84. package/src/builders/utils/unique.js +0 -8
  85. package/src/builders/utils/unique.js.map +0 -1
  86. package/src/schematics/config/index.d.ts +0 -3
  87. package/src/schematics/config/index.js +0 -17
  88. package/src/schematics/config/index.js.map +0 -1
  89. package/src/schematics/config/schema.json +0 -50
  90. package/src/schematics/config-schematics/coerce-builders-json.d.ts +0 -2
  91. package/src/schematics/config-schematics/coerce-builders-json.js +0 -23
  92. package/src/schematics/config-schematics/coerce-builders-json.js.map +0 -1
  93. package/src/schematics/config-schematics/coerce-builders.d.ts +0 -1
  94. package/src/schematics/config-schematics/coerce-builders.js +0 -11
  95. package/src/schematics/config-schematics/coerce-builders.js.map +0 -1
  96. package/src/schematics/config-schematics/coerce-collection-json.d.ts +0 -2
  97. package/src/schematics/config-schematics/coerce-collection-json.js +0 -23
  98. package/src/schematics/config-schematics/coerce-collection-json.js.map +0 -1
  99. package/src/schematics/config-schematics/coerce-migration-json.d.ts +0 -2
  100. package/src/schematics/config-schematics/coerce-migration-json.js +0 -23
  101. package/src/schematics/config-schematics/coerce-migration-json.js.map +0 -1
  102. package/src/schematics/config-schematics/coerce-ng-update.d.ts +0 -1
  103. package/src/schematics/config-schematics/coerce-ng-update.js +0 -21
  104. package/src/schematics/config-schematics/coerce-ng-update.js.map +0 -1
  105. package/src/schematics/config-schematics/coerce-schematics.d.ts +0 -1
  106. package/src/schematics/config-schematics/coerce-schematics.js +0 -11
  107. package/src/schematics/config-schematics/coerce-schematics.js.map +0 -1
  108. package/src/schematics/config-schematics/index.d.ts +0 -3
  109. package/src/schematics/config-schematics/index.js +0 -82
  110. package/src/schematics/config-schematics/index.js.map +0 -1
  111. package/src/schematics/config-schematics/init-src-files.d.ts +0 -2
  112. package/src/schematics/config-schematics/init-src-files.js +0 -16
  113. package/src/schematics/config-schematics/init-src-files.js.map +0 -1
  114. package/src/schematics/config-schematics/schema.json +0 -47
  115. package/src/schematics/config-update-package-group/index.d.ts +0 -3
  116. package/src/schematics/config-update-package-group/index.js +0 -21
  117. package/src/schematics/config-update-package-group/index.js.map +0 -1
  118. package/src/schematics/config-update-package-group/schema.json +0 -21
  119. package/src/schematics/config-update-peer-dependencies/index.d.ts +0 -3
  120. package/src/schematics/config-update-peer-dependencies/index.js +0 -26
  121. package/src/schematics/config-update-peer-dependencies/index.js.map +0 -1
  122. package/src/schematics/config-update-peer-dependencies/schema.json +0 -28
  123. package/src/schematics/ng-add/index.d.ts +0 -3
  124. package/src/schematics/ng-add/index.js +0 -21
  125. package/src/schematics/ng-add/index.js.map +0 -1
  126. package/src/schematics/ng-add/schema.json +0 -17
package/CHANGELOG.md CHANGED
@@ -3,375 +3,233 @@
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.0.0-dev.3](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@16.0.0-dev.2...@rxap/plugin-library@16.0.0-dev.3) (2023-05-18)
7
-
6
+ # 16.0.0-dev.4 (2023-07-10)
8
7
 
9
8
  ### Bug Fixes
10
9
 
11
- * remove deprecated pack target concept ([39f1869](https://gitlab.com/rxap/schematics/commit/39f18698795cc6f5d8db81b43581c7d75244021f))
12
-
10
+ - **fix-dependencies:** reuse existing project dependency version ([664c64e](https://gitlab.com/rxap/packages/commit/664c64e94d0f5717fa6e78180fbaadb7337f6ffe))
11
+ - **init:** add the fix-dependencies target and update the preversion script ([548740b](https://gitlab.com/rxap/packages/commit/548740b8560320afa69566c54ec709171a6ff7b5))
12
+ - remove scss assets copies if \_index.scss does not exist ([8d6ef93](https://gitlab.com/rxap/packages/commit/8d6ef93f3ec62cf915743a475ed48258e836f49a))
13
+ - restructure and merge mono repos packages, schematics, plugins and nest ([653b4cd](https://gitlab.com/rxap/packages/commit/653b4cd39fc92d322df9b3959651fea0aa6079da))
14
+ - **run-generator:** support dry-run and without-project-argument flags ([7f4d918](https://gitlab.com/rxap/packages/commit/7f4d918e4852131550571779ca25b02c904ad83c))
15
+ - **update-package-group:** use pined version instead of range ([30b1307](https://gitlab.com/rxap/packages/commit/30b130780dde4fba670429e6dd56377cb94f8513))
13
16
 
17
+ # [16.0.0-dev.3](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@16.0.0-dev.2...@rxap/plugin-library@16.0.0-dev.3) (2023-05-18)
14
18
 
19
+ ### Bug Fixes
15
20
 
21
+ - remove deprecated pack targetconcept ([39f1869](https://gitlab.com/rxap/schematics/commit/39f18698795cc6f5d8db81b43581c7d75244021f))
16
22
 
17
23
  # [16.0.0-dev.2](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@16.0.0-dev.1...@rxap/plugin-library@16.0.0-dev.2) (2023-05-18)
18
24
 
19
-
20
25
  ### Bug Fixes
21
26
 
22
- * **deps:** update rxap packages to 16.x.x ([bd63f0b](https://gitlab.com/rxap/schematics/commit/bd63f0bfe3356eb1d00bb136253789f2e481e04b))
23
-
24
-
25
-
26
-
27
+ - **deps:** update rxap packages to16.x.x ([bd63f0b](https://gitlab.com/rxap/schematics/commit/bd63f0bfe3356eb1d00bb136253789f2e481e04b))
27
28
 
28
29
  # [16.0.0-dev.1](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@16.0.0-dev.0...@rxap/plugin-library@16.0.0-dev.1) (2023-05-17)
29
30
 
30
31
  **Note:** Version bump only for package @rxap/plugin-library
31
32
 
32
-
33
-
34
-
35
-
36
33
  # [16.0.0-dev.0](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@15.0.2...@rxap/plugin-library@16.0.0-dev.0) (2023-05-11)
37
34
 
38
-
39
35
  ### Build System
40
36
 
41
- * upgrade to nrwl 16.x.x ([de73759](https://gitlab.com/rxap/schematics/commit/de737599e984ce6e0dd19776ffbd04ab2c4085f3))
42
-
37
+ - upgrade to nrwl 16.x.x ([de73759](https://gitlab.com/rxap/schematics/commit/de737599e984ce6e0dd19776ffbd04ab2c4085f3))
43
38
 
44
39
  ### BREAKING CHANGES
45
40
 
46
- * upgrade nrwl 16.x.x
47
-
48
-
49
-
50
-
41
+ - upgrade nrwl 16.x.x
51
42
 
52
43
  ## [15.0.2](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@15.0.1...@rxap/plugin-library@15.0.2) (2023-05-11)
53
44
 
54
-
55
45
  ### Bug Fixes
56
46
 
57
- * update to nrwl 15.9.4 ([c9ab045](https://gitlab.com/rxap/schematics/commit/c9ab0454484162e633b789a6274d77793179df23))
58
-
59
-
60
-
61
-
47
+ - update to nrwl 15.9.4 ([c9ab045](https://gitlab.com/rxap/schematics/commit/c9ab0454484162e633b789a6274d77793179df23))
62
48
 
63
49
  ## [15.0.1](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@15.0.0...@rxap/plugin-library@15.0.1) (2023-01-30)
64
50
 
65
51
  **Note:** Version bump only for package @rxap/plugin-library
66
52
 
67
-
68
-
69
-
70
-
71
53
  # [15.0.0](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@14.0.3...@rxap/plugin-library@15.0.0) (2022-12-14)
72
54
 
73
-
74
55
  ### chore
75
56
 
76
- * upgrade to nrwl 15.x.x ([b0694b6](https://gitlab.com/rxap/schematics/commit/b0694b6550730b80fb7356f6c225787fda1ff6be))
77
-
57
+ - upgrade to nrwl 15.x.x ([b0694b6](https://gitlab.com/rxap/schematics/commit/b0694b6550730b80fb7356f6c225787fda1ff6be))
78
58
 
79
59
  ### Features
80
60
 
81
- * **library:** only include direct dependencies on default ([8892585](https://gitlab.com/rxap/schematics/commit/889258508b6a157b049ba9ebd74d6c32f8865331))
82
-
61
+ - **library:** only include direct dependencies ondefault ([8892585](https://gitlab.com/rxap/schematics/commit/889258508b6a157b049ba9ebd74d6c32f8865331))
83
62
 
84
63
  ### BREAKING CHANGES
85
64
 
86
- * upgrade nrwl 15.x.x
87
-
88
-
89
-
90
-
65
+ - upgrade nrwl 15.x.x
91
66
 
92
67
  ## [14.0.3](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@14.0.2...@rxap/plugin-library@14.0.3) (2022-12-14)
93
68
 
94
69
  **Note:** Version bump only for package @rxap/plugin-library
95
70
 
96
-
97
-
98
-
99
-
100
71
  ## [14.0.2](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@14.0.1...@rxap/plugin-library@14.0.2) (2022-10-06)
101
72
 
102
-
103
73
  ### Bug Fixes
104
74
 
105
- * update rxap packages to 14.x.x ([eda3337](https://gitlab.com/rxap/schematics/commit/eda3337af2c477126a3d83715cdc7a955c239cb6))
106
-
107
-
108
-
109
-
75
+ - update rxap packages to14.x.x ([eda3337](https://gitlab.com/rxap/schematics/commit/eda3337af2c477126a3d83715cdc7a955c239cb6))
110
76
 
111
77
  ## [14.0.1](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@14.0.0...@rxap/plugin-library@14.0.1) (2022-10-06)
112
78
 
113
-
114
79
  ### Bug Fixes
115
80
 
116
- * remove @rxap/utilities dependency ([fa8b3e6](https://gitlab.com/rxap/schematics/commit/fa8b3e667f7c4e5e1a5f15a5d0cc9543da72729d))
117
-
118
-
119
-
120
-
81
+ - remove @rxap/utilitiesdependency ([fa8b3e6](https://gitlab.com/rxap/schematics/commit/fa8b3e667f7c4e5e1a5f15a5d0cc9543da72729d))
121
82
 
122
83
  # [14.0.0](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@13.0.1...@rxap/plugin-library@14.0.0) (2022-09-08)
123
84
 
124
-
125
85
  ### chore
126
86
 
127
- * upgrade to 14.x.x ([52cccdb](https://gitlab.com/rxap/schematics/commit/52cccdb066599a3c333117107a06169e5d42c604))
128
-
87
+ - upgrade to 14.x.x ([52cccdb](https://gitlab.com/rxap/schematics/commit/52cccdb066599a3c333117107a06169e5d42c604))
129
88
 
130
89
  ### BREAKING CHANGES
131
90
 
132
- * upgrade to 14.x.x
133
-
134
-
135
-
136
-
91
+ - upgrade to 14.x.x
137
92
 
138
93
  ## [13.0.1](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@13.0.0...@rxap/plugin-library@13.0.1) (2022-09-08)
139
94
 
140
95
  **Note:** Version bump only for package @rxap/plugin-library
141
96
 
142
-
143
-
144
-
145
-
146
97
  # [13.0.0](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@13.0.0-next.2...@rxap/plugin-library@13.0.0) (2022-09-08)
147
98
 
148
99
  **Note:** Version bump only for package @rxap/plugin-library
149
100
 
150
-
151
-
152
-
153
-
154
101
  # [13.0.0-next.2](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.4.2...@rxap/plugin-library@13.0.0-next.2) (2022-03-24)
155
102
 
156
-
157
103
  ### Bug Fixes
158
104
 
159
- * update catch type ([a3a376b](https://gitlab.com/rxap/schematics/commit/a3a376be772f10889a1f7e1afdf18895ce070d9e))
160
- * **update-peer-dependencies:** migrate to use the createProjectGraphAsync if cache is unavailable ([3454d1d](https://gitlab.com/rxap/schematics/commit/3454d1d0f21a201da01169e4bd470811bcbac919))
161
- * **update-peer-dependencies:** update to the new project graph structure ([1b86986](https://gitlab.com/rxap/schematics/commit/1b86986ab259eaa6859f827164c389fd17fa63fc))
162
-
105
+ - update catch type ([a3a376b](https://gitlab.com/rxap/schematics/commit/a3a376be772f10889a1f7e1afdf18895ce070d9e))
106
+ - **update-peer-dependencies:** migrate to use the createProjectGraphAsync if cache isunavailable ([3454d1d](https://gitlab.com/rxap/schematics/commit/3454d1d0f21a201da01169e4bd470811bcbac919))
107
+ - **update-peer-dependencies:** update to the new project graphstructure ([1b86986](https://gitlab.com/rxap/schematics/commit/1b86986ab259eaa6859f827164c389fd17fa63fc))
163
108
 
164
109
  ### Build System
165
110
 
166
- * upgrade to nrwl 13.x.x ([8f07b6b](https://gitlab.com/rxap/schematics/commit/8f07b6b82fb82e8b70fbc82bd91a08d69cc52692))
167
-
111
+ - upgrade to nrwl 13.x.x ([8f07b6b](https://gitlab.com/rxap/schematics/commit/8f07b6b82fb82e8b70fbc82bd91a08d69cc52692))
168
112
 
169
113
  ### BREAKING CHANGES
170
114
 
171
- * update the core nrwl packages to 13.x.x
115
+ - update the core nrwl packages to 13.x.x
172
116
 
173
117
  Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
174
118
 
175
-
176
-
177
-
178
-
179
119
  # [13.0.0-next.1](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@13.0.0-next.0...@rxap/plugin-library@13.0.0-next.1) (2022-02-25)
180
120
 
181
-
182
121
  ### Bug Fixes
183
122
 
184
- * update catch type ([4587831](https://gitlab.com/rxap/schematics/commit/45878319c926061dc8995c568278c4ae7a903feb))
185
-
186
-
187
-
188
-
123
+ - update catch type ([4587831](https://gitlab.com/rxap/schematics/commit/45878319c926061dc8995c568278c4ae7a903feb))
189
124
 
190
125
  # [13.0.0-next.0](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.4.2...@rxap/plugin-library@13.0.0-next.0) (2022-02-19)
191
126
 
192
-
193
127
  ### Bug Fixes
194
128
 
195
- * **update-peer-dependencies:** migrate to use the createProjectGraphAsync if cache is unavailable ([5307344](https://gitlab.com/rxap/schematics/commit/530734419cd4c05a1c13443da0e0cad0ce510d79))
196
- * **update-peer-dependencies:** update to the new project graph structure ([3cc7378](https://gitlab.com/rxap/schematics/commit/3cc7378eef2372b1caf4c4587a70d6e23e0aadcf))
197
-
129
+ - **update-peer-dependencies:** migrate to use the createProjectGraphAsync if cache isunavailable ([5307344](https://gitlab.com/rxap/schematics/commit/530734419cd4c05a1c13443da0e0cad0ce510d79))
130
+ - **update-peer-dependencies:** update to the new project graphstructure ([3cc7378](https://gitlab.com/rxap/schematics/commit/3cc7378eef2372b1caf4c4587a70d6e23e0aadcf))
198
131
 
199
132
  ### Build System
200
133
 
201
- * upgrade to nrwl 13.x.x ([f6fb1fd](https://gitlab.com/rxap/schematics/commit/f6fb1fde34006136be4dadd72795d2d43207072a))
202
-
134
+ - upgrade to nrwl 13.x.x ([f6fb1fd](https://gitlab.com/rxap/schematics/commit/f6fb1fde34006136be4dadd72795d2d43207072a))
203
135
 
204
136
  ### BREAKING CHANGES
205
137
 
206
- * update the core nrwl packages to 13.x.x
138
+ - update the core nrwl packages to 13.x.x
207
139
 
208
140
  Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
209
141
 
210
-
211
-
212
-
213
-
214
142
  ## [12.4.2](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.4.2-next.1...@rxap/plugin-library@12.4.2) (2021-10-07)
215
143
 
216
144
  **Note:** Version bump only for package @rxap/plugin-library
217
145
 
218
-
219
-
220
-
221
-
222
146
  ## [12.4.2-next.1](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.4.2-next.0...@rxap/plugin-library@12.4.2-next.1) (2021-08-11)
223
147
 
224
-
225
148
  ### Bug Fixes
226
149
 
227
- * add nrwl package to peer dependencies ([e15f848](https://gitlab.com/rxap/schematics/commit/e15f848369366bad60b63b32c7e71710b1ded826))
228
-
229
-
230
-
231
-
150
+ - add nrwl package to peerdependencies ([e15f848](https://gitlab.com/rxap/schematics/commit/e15f848369366bad60b63b32c7e71710b1ded826))
232
151
 
233
152
  ## [12.4.2-next.0](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.4.1...@rxap/plugin-library@12.4.2-next.0) (2021-08-10)
234
153
 
235
-
236
154
  ### Bug Fixes
237
155
 
238
- * add strict tsc compiler option ([a262758](https://gitlab.com/rxap/schematics/commit/a2627582222671e58f6feaed0309d33ab13e6984))
239
-
240
-
241
-
242
-
156
+ - add strict tsc compileroption ([a262758](https://gitlab.com/rxap/schematics/commit/a2627582222671e58f6feaed0309d33ab13e6984))
243
157
 
244
158
  ## [12.4.1](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.4.0...@rxap/plugin-library@12.4.1) (2021-07-27)
245
159
 
246
-
247
160
  ### Bug Fixes
248
161
 
249
- * replace deprecated schema id property ([cb8dedb](https://gitlab.com/rxap/schematics/commit/cb8dedb0c15c774f6c101df150f0d98242bc511a))
250
-
251
-
252
-
253
-
162
+ - replace deprecated schema idproperty ([cb8dedb](https://gitlab.com/rxap/schematics/commit/cb8dedb0c15c774f6c101df150f0d98242bc511a))
254
163
 
255
164
  # [12.4.0](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.4.0-next.1...@rxap/plugin-library@12.4.0) (2021-07-09)
256
165
 
257
166
  **Note:** Version bump only for package @rxap/plugin-library
258
167
 
259
-
260
-
261
-
262
-
263
168
  # [12.4.0-next.1](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.4.0-next.0...@rxap/plugin-library@12.4.0-next.1) (2021-07-08)
264
169
 
265
-
266
170
  ### Bug Fixes
267
171
 
268
- * include hidden files in schematics files folder ([028450e](https://gitlab.com/rxap/schematics/commit/028450e11e0f0caeec7ace91e84d45a606ff2dad))
269
-
270
-
271
-
272
-
172
+ - include hidden files in schematics filesfolder ([028450e](https://gitlab.com/rxap/schematics/commit/028450e11e0f0caeec7ace91e84d45a606ff2dad))
273
173
 
274
174
  # [12.4.0-next.0](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.3.2...@rxap/plugin-library@12.4.0-next.0) (2021-06-28)
275
175
 
276
-
277
176
  ### Bug Fixes
278
177
 
279
- * **update-package-dependencies:** only update ng-package if exists ([0374698](https://gitlab.com/rxap/schematics/commit/0374698b552356409336b4389e09b16b44746f57))
280
-
178
+ - **update-package-dependencies:** only update ng-package ifexists ([0374698](https://gitlab.com/rxap/schematics/commit/0374698b552356409336b4389e09b16b44746f57))
281
179
 
282
180
  ### Features
283
181
 
284
- * **update-package-dependencies:** add option dependencies ([c7c7fd8](https://gitlab.com/rxap/schematics/commit/c7c7fd83d3f143508009d3af34ed1daac37d90a2))
285
-
286
-
287
-
288
-
182
+ - **update-package-dependencies:** add optiondependencies ([c7c7fd8](https://gitlab.com/rxap/schematics/commit/c7c7fd83d3f143508009d3af34ed1daac37d90a2))
289
183
 
290
184
  ## [12.3.2](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.3.1...@rxap/plugin-library@12.3.2) (2021-06-23)
291
185
 
292
186
  **Note:** Version bump only for package @rxap/plugin-library
293
187
 
294
-
295
-
296
-
297
-
298
188
  ## [12.3.1](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.3.0...@rxap/plugin-library@12.3.1) (2021-06-23)
299
189
 
300
-
301
190
  ### Bug Fixes
302
191
 
303
- * mv typescript package to dependencies ([06a7d2b](https://gitlab.com/rxap/schematics/commit/06a7d2bbbf5b0018cacdeb2445942719682c6937))
304
-
305
-
306
-
307
-
192
+ - mv typescript package todependencies ([06a7d2b](https://gitlab.com/rxap/schematics/commit/06a7d2bbbf5b0018cacdeb2445942719682c6937))
308
193
 
309
194
  # [12.3.0](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.2.0...@rxap/plugin-library@12.3.0) (2021-06-23)
310
195
 
311
-
312
196
  ### Features
313
197
 
314
- * remove lerna dependency ([652fed9](https://gitlab.com/rxap/schematics/commit/652fed9b577a2554e0212320ed78281ef204eb10))
315
-
316
-
317
-
318
-
198
+ - remove lernadependency ([652fed9](https://gitlab.com/rxap/schematics/commit/652fed9b577a2554e0212320ed78281ef204eb10))
319
199
 
320
200
  # [12.2.0](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.1.2...@rxap/plugin-library@12.2.0) (2021-06-23)
321
201
 
322
-
323
202
  ### Bug Fixes
324
203
 
325
- * mv peerDependencies to dependencies ([97be8bf](https://gitlab.com/rxap/schematics/commit/97be8bf8395ede8e5a50804b9ad7f72fde12bc81))
326
-
204
+ - mv peerDependencies todependencies ([97be8bf](https://gitlab.com/rxap/schematics/commit/97be8bf8395ede8e5a50804b9ad7f72fde12bc81))
327
205
 
328
206
  ### Features
329
207
 
330
- * **update-package-dependencies:** update the package.json dependencies ([6afdf0e](https://gitlab.com/rxap/schematics/commit/6afdf0ed0881b6ff85e720ff1ca0d6cd3f4dbfdd))
331
-
332
-
333
-
334
-
208
+ - **update-package-dependencies:** update the package.jsondependencies ([6afdf0e](https://gitlab.com/rxap/schematics/commit/6afdf0ed0881b6ff85e720ff1ca0d6cd3f4dbfdd))
335
209
 
336
210
  ## [12.1.2](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.1.1...@rxap/plugin-library@12.1.2) (2021-06-23)
337
211
 
338
-
339
212
  ### Bug Fixes
340
213
 
341
- * only write json file if changed ([b39207b](https://gitlab.com/rxap/schematics/commit/b39207b446fde7ea294a3eb1313ed714f6861ece))
342
-
343
-
344
-
345
-
214
+ - only write json file ifchanged ([b39207b](https://gitlab.com/rxap/schematics/commit/b39207b446fde7ea294a3eb1313ed714f6861ece))
346
215
 
347
216
  ## [12.1.1](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.1.0...@rxap/plugin-library@12.1.1) (2021-06-23)
348
217
 
349
-
350
218
  ### Bug Fixes
351
219
 
352
- * set ng-add save target to devDependencies ([c213f21](https://gitlab.com/rxap/schematics/commit/c213f21067e8bb280a48ae726840bfe0f5c4ff11))
353
-
354
-
355
-
356
-
220
+ - set ng-add save target todevDependencies ([c213f21](https://gitlab.com/rxap/schematics/commit/c213f21067e8bb280a48ae726840bfe0f5c4ff11))
357
221
 
358
222
  # [12.1.0](https://gitlab.com/rxap/schematics/compare/@rxap/plugin-library@12.0.1...@rxap/plugin-library@12.1.0) (2021-06-23)
359
223
 
360
-
361
224
  ### Bug Fixes
362
225
 
363
- * ensure the peerDependencies property is defined ([90122eb](https://gitlab.com/rxap/schematics/commit/90122eb42382c2761f8124a88d79f3a16e8c5635))
364
- * use correct options property ([2fea2f8](https://gitlab.com/rxap/schematics/commit/2fea2f801c9d3fe4ecceac0a568cfe93cfa42971))
365
-
226
+ - ensure the peerDependencies property isdefined ([90122eb](https://gitlab.com/rxap/schematics/commit/90122eb42382c2761f8124a88d79f3a16e8c5635))
227
+ - use correct optionsproperty ([2fea2f8](https://gitlab.com/rxap/schematics/commit/2fea2f801c9d3fe4ecceac0a568cfe93cfa42971))
366
228
 
367
229
  ### Features
368
230
 
369
- * add update-package-group builder ([e04006b](https://gitlab.com/rxap/schematics/commit/e04006bf53b3988fd110f8e61c899503e0e98c3d))
370
- * add update-peer-dependency builder ([f473dbe](https://gitlab.com/rxap/schematics/commit/f473dbeef0b1fcd5d5bba52ebff8311a6578e7a7))
371
-
372
-
373
-
374
-
231
+ - add update-package-groupbuilder ([e04006b](https://gitlab.com/rxap/schematics/commit/e04006bf53b3988fd110f8e61c899503e0e98c3d))
232
+ - add update-peer-dependencybuilder ([f473dbe](https://gitlab.com/rxap/schematics/commit/f473dbeef0b1fcd5d5bba52ebff8311a6578e7a7))
375
233
 
376
234
  ## 12.0.1 (2021-06-21)
377
235
 
package/README.md CHANGED
@@ -1,5 +1,4 @@
1
- @rxap/plugin-library (Nx/Ng Plugin)
2
- ======
1
+ # @rxap/plugin-library
3
2
 
4
3
  [![npm version](https://img.shields.io/npm/v/@rxap/plugin-library?style=flat-square)](https://www.npmjs.com/package/@rxap/plugin-library)
5
4
  [![commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
@@ -8,154 +7,108 @@
8
7
  ![npm](https://img.shields.io/npm/dm/@rxap/plugin-library)
9
8
  ![NPM](https://img.shields.io/npm/l/@rxap/plugin-library)
10
9
 
11
- > A Nx/Ng plugin for build many library types.
12
-
13
10
  - [Installation](#installation)
14
- - [Schematics](#schematics)
15
- - [Builder](#builder)
11
+ - [Generators](#generators)
12
+ - [Executors](#executors)
16
13
 
17
14
  # Installation
18
15
 
19
- Add the plugin to your workspace:
20
-
16
+ **Add the package to your workspace:**
17
+ ```bash
18
+ yarn add @rxap/plugin-library
21
19
  ```
22
- ng add @rxap/plugin-library
20
+ **Install peer dependencies:**
21
+ ```bash
22
+ yarn add
23
23
  ```
24
-
25
- > Setup the package @rxap/plugin-library for the workspace.
26
-
27
-
28
- *Configure the builder @rxap/plugin-library for a project:*
29
-
30
- ```
31
- ng g @rxap/plugin-library:config [project]
24
+ **Execute the init generator:**
25
+ ```bash
26
+ yarn nx g @rxap/plugin-library:init
32
27
  ```
28
+ # Generators
33
29
 
34
- > Adds @rxap/plugin-library builder to the specified project
35
-
36
- # Schematics
37
-
38
- ## config-schematics
39
- > Adds the builder @rxap/pack-library:build-schematics to the specified project
30
+ ## init
31
+ > Create and update configurations to use rxap package publish concept
40
32
 
33
+ ```bash
34
+ yarn nx g @rxap/plugin-library:init
41
35
  ```
42
- ng g @rxap/plugin-library:config-schematics
43
- ```
44
-
45
- Option | Type | Default | Description
46
- --- | --- | --- | ---
47
- project | string | | The name of the project.
48
- type | string | |
49
-
50
- | Required |
51
- | --- |
52
- | project |
53
- | type |
54
-
55
- ## config
56
- > Adds @rxap/plugin-library builder to the specified project
57
-
58
- ```
59
- ng g @rxap/plugin-library:config
60
- ```
61
-
62
- Option | Type | Default | Description
63
- --- | --- | --- | ---
64
- project | string | | The name of the project.
65
- schematics | boolean | true | Whether to add the build-schematics for schematics
66
- migrations | boolean | true | Whether to add the build-schematics for migrations
67
- builders | boolean | false | Whether to add the build-schematics for builders
68
- updatePackageGroup | boolean | true | Whether to add the update-package-group builder to the project
69
- updatePeerDependencies | boolean | true | Whether to add the update-peer-dependencies for builder to the project
70
36
 
71
- | Required |
72
- | --- |
73
- | project |
37
+ ## fix-dependencies
38
+ > Adds missing dependencies and removes redudant dependencies of a project
74
39
 
75
- ## config-update-package-group
76
- > Adds @rxap/plugin-library:update-package-group builder to the specified project
77
-
78
- ```
79
- ng g @rxap/plugin-library:config-update-package-group
40
+ ```bash
41
+ yarn nx g @rxap/plugin-library:fix-dependencies
80
42
  ```
81
43
 
82
- Option | Type | Default | Description
83
- --- | --- | --- | ---
84
- project | string | | The name of the project.
85
-
86
- | Required |
87
- | --- |
88
- | project |
44
+ ## index-export
45
+ > Generate index exports for each directory and in the src root
89
46
 
90
- ## config-update-peer-dependencies
91
- > Adds the builder @rxap/plugin-library:update-peer-dependencies to the specified project.
92
-
93
- ```
94
- ng g @rxap/plugin-library:config-update-peer-dependencies
47
+ ```bash
48
+ yarn nx g @rxap/plugin-library:index-export
95
49
  ```
96
50
 
97
- Option | Type | Default | Description
98
- --- | --- | --- | ---
99
- project | string | | The name of the project.
100
- ignore | array | | A list of package name regex that should not be included as peer dependencies
101
-
102
- | Required |
103
- | --- |
104
- | project |
105
-
106
- ## ng-add
107
- > Setup the package @rxap/plugin-library for the workspace.
51
+ ## schematic
52
+ > Create a Schematic for a project.
108
53
 
54
+ ```bash
55
+ yarn nx g @rxap/plugin-library:schematic
109
56
  ```
110
- ng g @rxap/plugin-library:ng-add
111
- ```
112
-
113
- Option | Type | Default | Description
114
- --- | --- | --- | ---
115
- project | string | | Name of the project
57
+ # Executors
116
58
 
117
- # Builder
59
+ ## update-dependencies
60
+ > Update the local dependencies in the dist package.json. Replaces the atarix with the current package version of local dependency
118
61
 
119
- ## build-schematics
120
- > Builds the library schematics and copy all files into the out path
121
-
122
- **Builder name**
123
- ```
124
- @rxap/plugin-library:build-schematics
62
+ **project.json**
63
+ ```json
64
+ {
65
+ "targets": {
66
+ "update-dependencies": {
67
+ "executor": "@rxap/plugin-library:update-dependencies"
68
+ }
69
+ }
70
+ }
125
71
  ```
126
72
 
127
- Option | Type | Default | Description
128
- --- | --- | --- | ---
129
- tsConfig | string | | The name of the Typescript configuration file.
130
- outputPath | string | | The output path of the generated files.
131
- assets | array | | List of static library assets.
132
- type | string | |
133
-
134
- | Required |
135
- | --- |
136
- | tsConfig |
137
- | outputPath |
138
- | type |
139
73
  ## update-package-group
140
- > Updates the package-group in the project package.json
141
-
142
- **Builder name**
143
- ```
144
- @rxap/plugin-library:update-package-group
145
- ```
146
-
147
- Option | Type | Default | Description
148
- --- | --- | --- | ---
149
- ## update-peer-dependencies
150
- > Updates the package.json peerDependencies and will predict the next version of local dependencies.
151
-
152
- **Builder name**
153
- ```
154
- @rxap/plugin-library:update-peer-dependencies
74
+ > Update the packageGroup array with all direct depedent projects
75
+
76
+ **project.json**
77
+ ```json
78
+ {
79
+ "targets": {
80
+ "update-package-group": {
81
+ "executor": "@rxap/plugin-library:update-package-group"
82
+ }
83
+ }
84
+ }
85
+ ```
86
+
87
+ ## readme
88
+ > Readme generator for libraries.
89
+
90
+ **project.json**
91
+ ```json
92
+ {
93
+ "targets": {
94
+ "readme": {
95
+ "executor": "@rxap/plugin-library:readme"
96
+ }
97
+ }
98
+ }
99
+ ```
100
+
101
+ ## run-generator
102
+ > Executes a generator for the project
103
+
104
+ **project.json**
105
+ ```json
106
+ {
107
+ "targets": {
108
+ "run-generator": {
109
+ "executor": "@rxap/plugin-library:run-generator"
110
+ }
111
+ }
112
+ }
155
113
  ```
156
114
 
157
- Option | Type | Default | Description
158
- --- | --- | --- | ---
159
- ignore | array | | A list of package name regex that should not be included as peer dependencies
160
- dependencies | array | | A list of package name should be included as dependencies
161
- includeIndirectDependencies | boolean | false | Whether the dependencies of the direct dependencies are include in the peer dependencies list