@rxap/plugin-library 16.0.0-dev.2 → 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 +51 -182
  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 -96
  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,364 +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.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)
7
-
6
+ # 16.0.0-dev.4 (2023-07-10)
8
7
 
9
8
  ### Bug Fixes
10
9
 
11
- * **deps:** update rxap packages to 16.x.x ([bd63f0b](https://gitlab.com/rxap/schematics/commit/bd63f0bfe3356eb1d00bb136253789f2e481e04b))
12
-
13
-
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))
14
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)
15
18
 
19
+ ### Bug Fixes
16
20
 
17
- # [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)
21
+ - remove deprecated pack targetconcept ([39f1869](https://gitlab.com/rxap/schematics/commit/39f18698795cc6f5d8db81b43581c7d75244021f))
18
22
 
19
- **Note:** Version bump only for package @rxap/plugin-library
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)
20
24
 
25
+ ### Bug Fixes
21
26
 
27
+ - **deps:** update rxap packages to16.x.x ([bd63f0b](https://gitlab.com/rxap/schematics/commit/bd63f0bfe3356eb1d00bb136253789f2e481e04b))
22
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)
23
30
 
31
+ **Note:** Version bump only for package @rxap/plugin-library
24
32
 
25
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)
26
34
 
27
-
28
35
  ### Build System
29
36
 
30
- * upgrade to nrwl 16.x.x ([de73759](https://gitlab.com/rxap/schematics/commit/de737599e984ce6e0dd19776ffbd04ab2c4085f3))
31
-
37
+ - upgrade to nrwl 16.x.x ([de73759](https://gitlab.com/rxap/schematics/commit/de737599e984ce6e0dd19776ffbd04ab2c4085f3))
32
38
 
33
39
  ### BREAKING CHANGES
34
40
 
35
- * upgrade nrwl 16.x.x
36
-
37
-
38
-
39
-
41
+ - upgrade nrwl 16.x.x
40
42
 
41
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)
42
44
 
43
-
44
45
  ### Bug Fixes
45
46
 
46
- * update to nrwl 15.9.4 ([c9ab045](https://gitlab.com/rxap/schematics/commit/c9ab0454484162e633b789a6274d77793179df23))
47
-
48
-
49
-
50
-
47
+ - update to nrwl 15.9.4 ([c9ab045](https://gitlab.com/rxap/schematics/commit/c9ab0454484162e633b789a6274d77793179df23))
51
48
 
52
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)
53
50
 
54
51
  **Note:** Version bump only for package @rxap/plugin-library
55
52
 
56
-
57
-
58
-
59
-
60
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)
61
54
 
62
-
63
55
  ### chore
64
56
 
65
- * upgrade to nrwl 15.x.x ([b0694b6](https://gitlab.com/rxap/schematics/commit/b0694b6550730b80fb7356f6c225787fda1ff6be))
66
-
57
+ - upgrade to nrwl 15.x.x ([b0694b6](https://gitlab.com/rxap/schematics/commit/b0694b6550730b80fb7356f6c225787fda1ff6be))
67
58
 
68
59
  ### Features
69
60
 
70
- * **library:** only include direct dependencies on default ([8892585](https://gitlab.com/rxap/schematics/commit/889258508b6a157b049ba9ebd74d6c32f8865331))
71
-
61
+ - **library:** only include direct dependencies ondefault ([8892585](https://gitlab.com/rxap/schematics/commit/889258508b6a157b049ba9ebd74d6c32f8865331))
72
62
 
73
63
  ### BREAKING CHANGES
74
64
 
75
- * upgrade nrwl 15.x.x
76
-
77
-
78
-
79
-
65
+ - upgrade nrwl 15.x.x
80
66
 
81
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)
82
68
 
83
69
  **Note:** Version bump only for package @rxap/plugin-library
84
70
 
85
-
86
-
87
-
88
-
89
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)
90
72
 
91
-
92
73
  ### Bug Fixes
93
74
 
94
- * update rxap packages to 14.x.x ([eda3337](https://gitlab.com/rxap/schematics/commit/eda3337af2c477126a3d83715cdc7a955c239cb6))
95
-
96
-
97
-
98
-
75
+ - update rxap packages to14.x.x ([eda3337](https://gitlab.com/rxap/schematics/commit/eda3337af2c477126a3d83715cdc7a955c239cb6))
99
76
 
100
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)
101
78
 
102
-
103
79
  ### Bug Fixes
104
80
 
105
- * remove @rxap/utilities dependency ([fa8b3e6](https://gitlab.com/rxap/schematics/commit/fa8b3e667f7c4e5e1a5f15a5d0cc9543da72729d))
106
-
107
-
108
-
109
-
81
+ - remove @rxap/utilitiesdependency ([fa8b3e6](https://gitlab.com/rxap/schematics/commit/fa8b3e667f7c4e5e1a5f15a5d0cc9543da72729d))
110
82
 
111
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)
112
84
 
113
-
114
85
  ### chore
115
86
 
116
- * upgrade to 14.x.x ([52cccdb](https://gitlab.com/rxap/schematics/commit/52cccdb066599a3c333117107a06169e5d42c604))
117
-
87
+ - upgrade to 14.x.x ([52cccdb](https://gitlab.com/rxap/schematics/commit/52cccdb066599a3c333117107a06169e5d42c604))
118
88
 
119
89
  ### BREAKING CHANGES
120
90
 
121
- * upgrade to 14.x.x
122
-
123
-
124
-
125
-
91
+ - upgrade to 14.x.x
126
92
 
127
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)
128
94
 
129
95
  **Note:** Version bump only for package @rxap/plugin-library
130
96
 
131
-
132
-
133
-
134
-
135
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)
136
98
 
137
99
  **Note:** Version bump only for package @rxap/plugin-library
138
100
 
139
-
140
-
141
-
142
-
143
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)
144
102
 
145
-
146
103
  ### Bug Fixes
147
104
 
148
- * update catch type ([a3a376b](https://gitlab.com/rxap/schematics/commit/a3a376be772f10889a1f7e1afdf18895ce070d9e))
149
- * **update-peer-dependencies:** migrate to use the createProjectGraphAsync if cache is unavailable ([3454d1d](https://gitlab.com/rxap/schematics/commit/3454d1d0f21a201da01169e4bd470811bcbac919))
150
- * **update-peer-dependencies:** update to the new project graph structure ([1b86986](https://gitlab.com/rxap/schematics/commit/1b86986ab259eaa6859f827164c389fd17fa63fc))
151
-
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))
152
108
 
153
109
  ### Build System
154
110
 
155
- * upgrade to nrwl 13.x.x ([8f07b6b](https://gitlab.com/rxap/schematics/commit/8f07b6b82fb82e8b70fbc82bd91a08d69cc52692))
156
-
111
+ - upgrade to nrwl 13.x.x ([8f07b6b](https://gitlab.com/rxap/schematics/commit/8f07b6b82fb82e8b70fbc82bd91a08d69cc52692))
157
112
 
158
113
  ### BREAKING CHANGES
159
114
 
160
- * update the core nrwl packages to 13.x.x
115
+ - update the core nrwl packages to 13.x.x
161
116
 
162
117
  Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
163
118
 
164
-
165
-
166
-
167
-
168
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)
169
120
 
170
-
171
121
  ### Bug Fixes
172
122
 
173
- * update catch type ([4587831](https://gitlab.com/rxap/schematics/commit/45878319c926061dc8995c568278c4ae7a903feb))
174
-
175
-
176
-
177
-
123
+ - update catch type ([4587831](https://gitlab.com/rxap/schematics/commit/45878319c926061dc8995c568278c4ae7a903feb))
178
124
 
179
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)
180
126
 
181
-
182
127
  ### Bug Fixes
183
128
 
184
- * **update-peer-dependencies:** migrate to use the createProjectGraphAsync if cache is unavailable ([5307344](https://gitlab.com/rxap/schematics/commit/530734419cd4c05a1c13443da0e0cad0ce510d79))
185
- * **update-peer-dependencies:** update to the new project graph structure ([3cc7378](https://gitlab.com/rxap/schematics/commit/3cc7378eef2372b1caf4c4587a70d6e23e0aadcf))
186
-
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))
187
131
 
188
132
  ### Build System
189
133
 
190
- * upgrade to nrwl 13.x.x ([f6fb1fd](https://gitlab.com/rxap/schematics/commit/f6fb1fde34006136be4dadd72795d2d43207072a))
191
-
134
+ - upgrade to nrwl 13.x.x ([f6fb1fd](https://gitlab.com/rxap/schematics/commit/f6fb1fde34006136be4dadd72795d2d43207072a))
192
135
 
193
136
  ### BREAKING CHANGES
194
137
 
195
- * update the core nrwl packages to 13.x.x
138
+ - update the core nrwl packages to 13.x.x
196
139
 
197
140
  Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
198
141
 
199
-
200
-
201
-
202
-
203
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)
204
143
 
205
144
  **Note:** Version bump only for package @rxap/plugin-library
206
145
 
207
-
208
-
209
-
210
-
211
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)
212
147
 
213
-
214
148
  ### Bug Fixes
215
149
 
216
- * add nrwl package to peer dependencies ([e15f848](https://gitlab.com/rxap/schematics/commit/e15f848369366bad60b63b32c7e71710b1ded826))
217
-
218
-
219
-
220
-
150
+ - add nrwl package to peerdependencies ([e15f848](https://gitlab.com/rxap/schematics/commit/e15f848369366bad60b63b32c7e71710b1ded826))
221
151
 
222
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)
223
153
 
224
-
225
154
  ### Bug Fixes
226
155
 
227
- * add strict tsc compiler option ([a262758](https://gitlab.com/rxap/schematics/commit/a2627582222671e58f6feaed0309d33ab13e6984))
228
-
229
-
230
-
231
-
156
+ - add strict tsc compileroption ([a262758](https://gitlab.com/rxap/schematics/commit/a2627582222671e58f6feaed0309d33ab13e6984))
232
157
 
233
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)
234
159
 
235
-
236
160
  ### Bug Fixes
237
161
 
238
- * replace deprecated schema id property ([cb8dedb](https://gitlab.com/rxap/schematics/commit/cb8dedb0c15c774f6c101df150f0d98242bc511a))
239
-
240
-
241
-
242
-
162
+ - replace deprecated schema idproperty ([cb8dedb](https://gitlab.com/rxap/schematics/commit/cb8dedb0c15c774f6c101df150f0d98242bc511a))
243
163
 
244
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)
245
165
 
246
166
  **Note:** Version bump only for package @rxap/plugin-library
247
167
 
248
-
249
-
250
-
251
-
252
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)
253
169
 
254
-
255
170
  ### Bug Fixes
256
171
 
257
- * include hidden files in schematics files folder ([028450e](https://gitlab.com/rxap/schematics/commit/028450e11e0f0caeec7ace91e84d45a606ff2dad))
258
-
259
-
260
-
261
-
172
+ - include hidden files in schematics filesfolder ([028450e](https://gitlab.com/rxap/schematics/commit/028450e11e0f0caeec7ace91e84d45a606ff2dad))
262
173
 
263
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)
264
175
 
265
-
266
176
  ### Bug Fixes
267
177
 
268
- * **update-package-dependencies:** only update ng-package if exists ([0374698](https://gitlab.com/rxap/schematics/commit/0374698b552356409336b4389e09b16b44746f57))
269
-
178
+ - **update-package-dependencies:** only update ng-package ifexists ([0374698](https://gitlab.com/rxap/schematics/commit/0374698b552356409336b4389e09b16b44746f57))
270
179
 
271
180
  ### Features
272
181
 
273
- * **update-package-dependencies:** add option dependencies ([c7c7fd8](https://gitlab.com/rxap/schematics/commit/c7c7fd83d3f143508009d3af34ed1daac37d90a2))
274
-
275
-
276
-
277
-
182
+ - **update-package-dependencies:** add optiondependencies ([c7c7fd8](https://gitlab.com/rxap/schematics/commit/c7c7fd83d3f143508009d3af34ed1daac37d90a2))
278
183
 
279
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)
280
185
 
281
186
  **Note:** Version bump only for package @rxap/plugin-library
282
187
 
283
-
284
-
285
-
286
-
287
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)
288
189
 
289
-
290
190
  ### Bug Fixes
291
191
 
292
- * mv typescript package to dependencies ([06a7d2b](https://gitlab.com/rxap/schematics/commit/06a7d2bbbf5b0018cacdeb2445942719682c6937))
293
-
294
-
295
-
296
-
192
+ - mv typescript package todependencies ([06a7d2b](https://gitlab.com/rxap/schematics/commit/06a7d2bbbf5b0018cacdeb2445942719682c6937))
297
193
 
298
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)
299
195
 
300
-
301
196
  ### Features
302
197
 
303
- * remove lerna dependency ([652fed9](https://gitlab.com/rxap/schematics/commit/652fed9b577a2554e0212320ed78281ef204eb10))
304
-
305
-
306
-
307
-
198
+ - remove lernadependency ([652fed9](https://gitlab.com/rxap/schematics/commit/652fed9b577a2554e0212320ed78281ef204eb10))
308
199
 
309
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)
310
201
 
311
-
312
202
  ### Bug Fixes
313
203
 
314
- * mv peerDependencies to dependencies ([97be8bf](https://gitlab.com/rxap/schematics/commit/97be8bf8395ede8e5a50804b9ad7f72fde12bc81))
315
-
204
+ - mv peerDependencies todependencies ([97be8bf](https://gitlab.com/rxap/schematics/commit/97be8bf8395ede8e5a50804b9ad7f72fde12bc81))
316
205
 
317
206
  ### Features
318
207
 
319
- * **update-package-dependencies:** update the package.json dependencies ([6afdf0e](https://gitlab.com/rxap/schematics/commit/6afdf0ed0881b6ff85e720ff1ca0d6cd3f4dbfdd))
320
-
321
-
322
-
323
-
208
+ - **update-package-dependencies:** update the package.jsondependencies ([6afdf0e](https://gitlab.com/rxap/schematics/commit/6afdf0ed0881b6ff85e720ff1ca0d6cd3f4dbfdd))
324
209
 
325
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)
326
211
 
327
-
328
212
  ### Bug Fixes
329
213
 
330
- * only write json file if changed ([b39207b](https://gitlab.com/rxap/schematics/commit/b39207b446fde7ea294a3eb1313ed714f6861ece))
331
-
332
-
333
-
334
-
214
+ - only write json file ifchanged ([b39207b](https://gitlab.com/rxap/schematics/commit/b39207b446fde7ea294a3eb1313ed714f6861ece))
335
215
 
336
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)
337
217
 
338
-
339
218
  ### Bug Fixes
340
219
 
341
- * set ng-add save target to devDependencies ([c213f21](https://gitlab.com/rxap/schematics/commit/c213f21067e8bb280a48ae726840bfe0f5c4ff11))
342
-
343
-
344
-
345
-
220
+ - set ng-add save target todevDependencies ([c213f21](https://gitlab.com/rxap/schematics/commit/c213f21067e8bb280a48ae726840bfe0f5c4ff11))
346
221
 
347
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)
348
223
 
349
-
350
224
  ### Bug Fixes
351
225
 
352
- * ensure the peerDependencies property is defined ([90122eb](https://gitlab.com/rxap/schematics/commit/90122eb42382c2761f8124a88d79f3a16e8c5635))
353
- * use correct options property ([2fea2f8](https://gitlab.com/rxap/schematics/commit/2fea2f801c9d3fe4ecceac0a568cfe93cfa42971))
354
-
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))
355
228
 
356
229
  ### Features
357
230
 
358
- * add update-package-group builder ([e04006b](https://gitlab.com/rxap/schematics/commit/e04006bf53b3988fd110f8e61c899503e0e98c3d))
359
- * add update-peer-dependency builder ([f473dbe](https://gitlab.com/rxap/schematics/commit/f473dbeef0b1fcd5d5bba52ebff8311a6578e7a7))
360
-
361
-
362
-
363
-
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))
364
233
 
365
234
  ## 12.0.1 (2021-06-21)
366
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