@skyux/packages 5.0.0-beta.15 → 5.0.0-beta.150
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.
- package/CHANGELOG.md +540 -0
- package/collection.json +10 -0
- package/package.json +40 -12
- package/src/schematics/migrations/migration-collection.json +24 -0
- package/src/schematics/migrations/noop/noop.schematic.d.ts +2 -0
- package/{migrations → src/schematics/migrations}/noop/noop.schematic.js +0 -0
- package/src/schematics/migrations/noop/noop.schematic.js.map +1 -0
- package/src/schematics/migrations/remove-package-json-scripts/remove-package-json-scripts.schematic.d.ts +2 -0
- package/src/schematics/migrations/remove-package-json-scripts/remove-package-json-scripts.schematic.js +24 -0
- package/src/schematics/migrations/remove-package-json-scripts/remove-package-json-scripts.schematic.js.map +1 -0
- package/src/schematics/migrations/setup-coverage-for-testing-module/setup-coverage-for-testing-module.schematic.d.ts +2 -0
- package/src/schematics/migrations/setup-coverage-for-testing-module/setup-coverage-for-testing-module.schematic.js +59 -0
- package/src/schematics/migrations/setup-coverage-for-testing-module/setup-coverage-for-testing-module.schematic.js.map +1 -0
- package/src/schematics/migrations/update-peer-dependencies/update-peer-dependencies.schematic.d.ts +2 -0
- package/src/schematics/migrations/update-peer-dependencies/update-peer-dependencies.schematic.js +47 -0
- package/src/schematics/migrations/update-peer-dependencies/update-peer-dependencies.schematic.js.map +1 -0
- package/src/schematics/ng-add/ng-add.schematic.d.ts +2 -0
- package/src/schematics/ng-add/ng-add.schematic.js +50 -0
- package/src/schematics/ng-add/ng-add.schematic.js.map +1 -0
- package/src/schematics/ng-add/schema.json +1 -0
- package/src/schematics/utility/tree.d.ts +5 -0
- package/src/schematics/utility/tree.js +16 -0
- package/src/schematics/utility/tree.js.map +1 -0
- package/src/schematics/utility/workspace.d.ts +17 -0
- package/src/schematics/utility/workspace.js +81 -0
- package/src/schematics/utility/workspace.js.map +1 -0
- package/migrations/migration-collection.json +0 -9
- package/migrations/noop/noop.schematic.d.ts +0 -1
- package/migrations/noop/noop.schematic.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,543 @@
|
|
|
1
|
+
# 5.0.0-beta.150 (2021-09-30)
|
|
2
|
+
|
|
3
|
+
- `@skyux/inline-form@5.0.0` [Release notes](https://github.com/blackbaud/skyux-inline-form/blob/5.0.0/CHANGELOG.md)
|
|
4
|
+
|
|
5
|
+
# 5.0.0-beta.149 (2021-09-30)
|
|
6
|
+
|
|
7
|
+
- `@skyux/router@5.0.0` [Release notes](https://github.com/blackbaud/skyux-router/blob/5.0.0/CHANGELOG.md)
|
|
8
|
+
|
|
9
|
+
# 5.0.0-beta.148 (2021-09-30)
|
|
10
|
+
|
|
11
|
+
- `@skyux/flyout@5.0.0` [Release notes](https://github.com/blackbaud/skyux-flyout/blob/5.0.0/CHANGELOG.md)
|
|
12
|
+
|
|
13
|
+
# 5.0.0-beta.147 (2021-09-30)
|
|
14
|
+
|
|
15
|
+
- `@skyux-sdk/testing@5.0.0` [Release notes](https://github.com/blackbaud/skyux-sdk-testing/blob/5.0.0/CHANGELOG.md)
|
|
16
|
+
|
|
17
|
+
# 5.0.0-beta.146 (2021-09-30)
|
|
18
|
+
|
|
19
|
+
- `@skyux/popovers@5.0.0` [Release notes](https://github.com/blackbaud/skyux-popovers/blob/5.0.0/CHANGELOG.md)
|
|
20
|
+
|
|
21
|
+
# 5.0.0-beta.145 (2021-09-30)
|
|
22
|
+
|
|
23
|
+
- `@skyux/split-view@5.0.0` [Release notes](https://github.com/blackbaud/skyux-split-view/blob/5.0.0/CHANGELOG.md)
|
|
24
|
+
|
|
25
|
+
# 5.0.0-beta.144 (2021-09-30)
|
|
26
|
+
|
|
27
|
+
- `@skyux/core@5.0.0` [Release notes](https://github.com/blackbaud/skyux-core/blob/5.0.0/CHANGELOG.md)
|
|
28
|
+
|
|
29
|
+
# 5.0.0-beta.143 (2021-09-30)
|
|
30
|
+
|
|
31
|
+
- `@skyux/layout@5.0.0-beta.8` [Release notes](https://github.com/blackbaud/skyux-layout/blob/5.0.0-beta.8/CHANGELOG.md)
|
|
32
|
+
|
|
33
|
+
# 5.0.0-beta.142 (2021-09-30)
|
|
34
|
+
|
|
35
|
+
- `@skyux/animations@5.0.0` [Release notes](https://github.com/blackbaud/skyux-animations/blob/5.0.0/CHANGELOG.md)
|
|
36
|
+
|
|
37
|
+
# 5.0.0-beta.141 (2021-09-30)
|
|
38
|
+
|
|
39
|
+
- `@skyux/errors@5.0.0` [Release notes](https://github.com/blackbaud/skyux-errors/blob/5.0.0/CHANGELOG.md)
|
|
40
|
+
|
|
41
|
+
# 5.0.0-beta.140 (2021-09-30)
|
|
42
|
+
|
|
43
|
+
- `@skyux/core@5.0.0-beta.12` [Release notes](https://github.com/blackbaud/skyux-core/blob/5.0.0-beta.12/CHANGELOG.md)
|
|
44
|
+
|
|
45
|
+
# 5.0.0-beta.139 (2021-09-29)
|
|
46
|
+
|
|
47
|
+
- `@skyux/http@5.0.0` [Release notes](https://github.com/blackbaud/skyux-http/blob/5.0.0/CHANGELOG.md)
|
|
48
|
+
|
|
49
|
+
# 5.0.0-beta.138 (2021-09-29)
|
|
50
|
+
|
|
51
|
+
- `@skyux/config@5.0.0` [Release notes](https://github.com/blackbaud/skyux-config/blob/5.0.0/CHANGELOG.md)
|
|
52
|
+
|
|
53
|
+
# 5.0.0-beta.137 (2021-09-29)
|
|
54
|
+
|
|
55
|
+
- `@skyux/list-builder-common@5.0.0` [Release notes](https://github.com/blackbaud/skyux-list-builder-common/blob/5.0.0/CHANGELOG.md)
|
|
56
|
+
|
|
57
|
+
# 5.0.0-beta.136 (2021-09-29)
|
|
58
|
+
|
|
59
|
+
- `@skyux/omnibar-interop@5.0.0` [Release notes](https://github.com/blackbaud/skyux-omnibar-interop/blob/5.0.0/CHANGELOG.md)
|
|
60
|
+
|
|
61
|
+
# 5.0.0-beta.135 (2021-09-29)
|
|
62
|
+
|
|
63
|
+
- `@skyux/validation@5.0.0` [Release notes](https://github.com/blackbaud/skyux-validation/blob/5.0.0/CHANGELOG.md)
|
|
64
|
+
|
|
65
|
+
# 5.0.0-beta.134 (2021-09-29)
|
|
66
|
+
|
|
67
|
+
- `@skyux/autonumeric@5.0.0` [Release notes](https://github.com/blackbaud/skyux-autonumeric/blob/5.0.0/CHANGELOG.md)
|
|
68
|
+
|
|
69
|
+
# 5.0.0-beta.133 (2021-09-29)
|
|
70
|
+
|
|
71
|
+
- `@skyux/assets@5.0.0` [Release notes](https://github.com/blackbaud/skyux-assets/blob/5.0.0/CHANGELOG.md)
|
|
72
|
+
|
|
73
|
+
# 5.0.0-beta.132 (2021-09-29)
|
|
74
|
+
|
|
75
|
+
- `@skyux/data-manager@5.0.0-beta.7` [Release notes](https://github.com/blackbaud/skyux-data-manager/blob/5.0.0-beta.7/CHANGELOG.md)
|
|
76
|
+
|
|
77
|
+
# 5.0.0-beta.131 (2021-09-29)
|
|
78
|
+
|
|
79
|
+
- `@skyux/theme@5.0.0` [Release notes](https://github.com/blackbaud/skyux-theme/blob/5.0.0/CHANGELOG.md)
|
|
80
|
+
|
|
81
|
+
# 5.0.0-beta.130 (2021-09-28)
|
|
82
|
+
|
|
83
|
+
- `@skyux/angular-tree-component@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-angular-tree-component/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
84
|
+
|
|
85
|
+
# 5.0.0-beta.129 (2021-09-28)
|
|
86
|
+
|
|
87
|
+
- `@skyux/router@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-router/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
88
|
+
|
|
89
|
+
# 5.0.0-beta.128 (2021-09-28)
|
|
90
|
+
|
|
91
|
+
- `@skyux/docs-tools@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-docs-tools/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
92
|
+
|
|
93
|
+
# 5.0.0-beta.127 (2021-09-28)
|
|
94
|
+
|
|
95
|
+
- `@skyux/tabs@5.0.0-beta.4` [Release notes](https://github.com/blackbaud/skyux-tabs/blob/5.0.0-beta.4/CHANGELOG.md)
|
|
96
|
+
|
|
97
|
+
# 5.0.0-beta.126 (2021-09-28)
|
|
98
|
+
|
|
99
|
+
- `@skyux/ag-grid@5.0.0-beta.5` [Release notes](https://github.com/blackbaud/skyux-ag-grid/blob/5.0.0-beta.5/CHANGELOG.md)
|
|
100
|
+
|
|
101
|
+
# 5.0.0-beta.125 (2021-09-28)
|
|
102
|
+
|
|
103
|
+
- `@skyux/docs-tools@5.0.0-beta.0` [Release notes](https://github.com/blackbaud/skyux-docs-tools/blob/5.0.0-beta.0/CHANGELOG.md)
|
|
104
|
+
|
|
105
|
+
# 5.0.0-beta.124 (2021-09-27)
|
|
106
|
+
|
|
107
|
+
- `@skyux/text-editor@5.0.0-beta.4` [Release notes](https://github.com/blackbaud/skyux-text-editor/blob/5.0.0-beta.4/CHANGELOG.md)
|
|
108
|
+
|
|
109
|
+
# 5.0.0-beta.123 (2021-09-24)
|
|
110
|
+
|
|
111
|
+
- Fixed the `ng add` schematic to use the version range listed in `packageGroup` when determining the latest version. [#12](https://github.com/blackbaud/skyux-packages/pull/12)
|
|
112
|
+
|
|
113
|
+
# 5.0.0-beta.122 (2021-09-24)
|
|
114
|
+
|
|
115
|
+
- Fixed release.
|
|
116
|
+
|
|
117
|
+
# 5.0.0-beta.121 (2021-09-24)
|
|
118
|
+
|
|
119
|
+
- Added a `ng add` schematic. [#11](https://github.com/blackbaud/skyux-packages/pull/11)
|
|
120
|
+
|
|
121
|
+
# 5.0.0-beta.120 (2021-09-23)
|
|
122
|
+
|
|
123
|
+
- `@skyux/datetime@5.0.0-beta.5` [Release notes](https://github.com/blackbaud/skyux-datetime/blob/5.0.0-beta.5/CHANGELOG.md)
|
|
124
|
+
|
|
125
|
+
# 5.0.0-beta.119 (2021-09-23)
|
|
126
|
+
|
|
127
|
+
- `@skyux/config@5.0.0-beta.4` [Release notes](https://github.com/blackbaud/skyux-config/blob/5.0.0-beta.4/CHANGELOG.md)
|
|
128
|
+
|
|
129
|
+
# 5.0.0-beta.118 (2021-09-23)
|
|
130
|
+
|
|
131
|
+
- `@skyux/flyout@5.0.0-beta.4` [Release notes](https://github.com/blackbaud/skyux-flyout/blob/5.0.0-beta.4/CHANGELOG.md)
|
|
132
|
+
|
|
133
|
+
# 5.0.0-beta.117 (2021-09-22)
|
|
134
|
+
|
|
135
|
+
- `@skyux/flyout@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-flyout/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
136
|
+
|
|
137
|
+
# 5.0.0-beta.116 (2021-09-22)
|
|
138
|
+
|
|
139
|
+
- `@skyux/config@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-config/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
140
|
+
|
|
141
|
+
# 5.0.0-beta.115 (2021-09-22)
|
|
142
|
+
|
|
143
|
+
- `@skyux/theme@5.0.0-beta.6` [Release notes](https://github.com/blackbaud/skyux-theme/blob/5.0.0-beta.6/CHANGELOG.md)
|
|
144
|
+
|
|
145
|
+
# 5.0.0-beta.114 (2021-09-22)
|
|
146
|
+
|
|
147
|
+
- `@skyux/progress-indicator@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-progress-indicator/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
148
|
+
|
|
149
|
+
# 5.0.0-beta.113 (2021-09-21)
|
|
150
|
+
|
|
151
|
+
- `@skyux/validation@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-validation/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
152
|
+
|
|
153
|
+
# 5.0.0-beta.112 (2021-09-21)
|
|
154
|
+
|
|
155
|
+
- `@skyux/ag-grid@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-ag-grid/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
156
|
+
|
|
157
|
+
# 5.0.0-beta.111 (2021-09-16)
|
|
158
|
+
|
|
159
|
+
- `@skyux/tabs@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-tabs/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
160
|
+
|
|
161
|
+
# 5.0.0-beta.110 (2021-09-16)
|
|
162
|
+
|
|
163
|
+
- Added the `ng update` schematic `setup-coverage-for-testing-module` to setup code coverage for library testing modules. [#7](https://github.com/blackbaud/skyux-packages/pull/7)
|
|
164
|
+
|
|
165
|
+
# 5.0.0-beta.109 (2021-09-16)
|
|
166
|
+
|
|
167
|
+
- `@skyux/select-field@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-select-field/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
168
|
+
|
|
169
|
+
# 5.0.0-beta.108 (2021-09-16)
|
|
170
|
+
|
|
171
|
+
- `@skyux/tabs@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-tabs/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
172
|
+
|
|
173
|
+
# 5.0.0-beta.107 (2021-09-16)
|
|
174
|
+
|
|
175
|
+
- `@skyux/data-manager@5.0.0-beta.6` [Release notes](https://github.com/blackbaud/skyux-data-manager/blob/5.0.0-beta.6/CHANGELOG.md)
|
|
176
|
+
|
|
177
|
+
# 5.0.0-beta.106 (2021-09-16)
|
|
178
|
+
|
|
179
|
+
- `@skyux/phone-field@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-phone-field/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
180
|
+
|
|
181
|
+
# 5.0.0-beta.105 (2021-09-16)
|
|
182
|
+
|
|
183
|
+
- `@skyux/modals@5.0.0-beta.6` [Release notes](https://github.com/blackbaud/skyux-modals/blob/5.0.0-beta.6/CHANGELOG.md)
|
|
184
|
+
|
|
185
|
+
# 5.0.0-beta.104 (2021-09-16)
|
|
186
|
+
|
|
187
|
+
- `@skyux/avatar@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-avatar/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
188
|
+
|
|
189
|
+
# 5.0.0-beta.103 (2021-09-15)
|
|
190
|
+
|
|
191
|
+
- `@skyux/data-manager@5.0.0-beta.5` [Release notes](https://github.com/blackbaud/skyux-data-manager/blob/5.0.0-beta.5/CHANGELOG.md)
|
|
192
|
+
|
|
193
|
+
# 5.0.0-beta.102 (2021-09-15)
|
|
194
|
+
|
|
195
|
+
- `@skyux/split-view@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-split-view/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
196
|
+
|
|
197
|
+
# 5.0.0-beta.101 (2021-09-15)
|
|
198
|
+
|
|
199
|
+
- `@skyux/pages@5.0.0-beta.4` [Release notes](https://github.com/blackbaud/skyux-pages/blob/5.0.0-beta.4/CHANGELOG.md)
|
|
200
|
+
|
|
201
|
+
# 5.0.0-beta.100 (2021-09-15)
|
|
202
|
+
|
|
203
|
+
- `@skyux/list-builder-view-grids@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-list-builder-view-grids/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
204
|
+
|
|
205
|
+
# 5.0.0-beta.99 (2021-09-14)
|
|
206
|
+
|
|
207
|
+
- `@skyux/list-builder-view-checklist@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-list-builder-view-checklist/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
208
|
+
|
|
209
|
+
# 5.0.0-beta.98 (2021-09-14)
|
|
210
|
+
|
|
211
|
+
- `@skyux/tiles@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-tiles/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
212
|
+
|
|
213
|
+
# 5.0.0-beta.97 (2021-09-14)
|
|
214
|
+
|
|
215
|
+
- `@skyux/list-builder@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-list-builder/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
216
|
+
|
|
217
|
+
# 5.0.0-beta.96 (2021-09-14)
|
|
218
|
+
|
|
219
|
+
- `@skyux/errors@5.0.0-beta.4` [Release notes](https://github.com/blackbaud/skyux-errors/blob/5.0.0-beta.4/CHANGELOG.md)
|
|
220
|
+
|
|
221
|
+
# 5.0.0-beta.95 (2021-09-14)
|
|
222
|
+
|
|
223
|
+
- `@skyux/lookup@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-lookup/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
224
|
+
|
|
225
|
+
# 5.0.0-beta.94 (2021-09-14)
|
|
226
|
+
|
|
227
|
+
- `@skyux/grids@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-grids/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
228
|
+
|
|
229
|
+
# 5.0.0-beta.93 (2021-09-14)
|
|
230
|
+
|
|
231
|
+
- `@skyux/forms@5.0.0-beta.5` [Release notes](https://github.com/blackbaud/skyux-forms/blob/5.0.0-beta.5/CHANGELOG.md)
|
|
232
|
+
|
|
233
|
+
# 5.0.0-beta.92 (2021-09-14)
|
|
234
|
+
|
|
235
|
+
- `@skyux/lists@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-lists/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
236
|
+
|
|
237
|
+
# 5.0.0-beta.91 (2021-09-14)
|
|
238
|
+
|
|
239
|
+
- `@skyux/inline-form@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-inline-form/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
240
|
+
|
|
241
|
+
# 5.0.0-beta.90 (2021-09-14)
|
|
242
|
+
|
|
243
|
+
- `@skyux/layout@5.0.0-beta.7` [Release notes](https://github.com/blackbaud/skyux-layout/blob/5.0.0-beta.7/CHANGELOG.md)
|
|
244
|
+
|
|
245
|
+
# 5.0.0-beta.89 (2021-09-14)
|
|
246
|
+
|
|
247
|
+
- `@skyux/colorpicker@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-colorpicker/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
248
|
+
|
|
249
|
+
# 5.0.0-beta.88 (2021-09-14)
|
|
250
|
+
|
|
251
|
+
- `@skyux/router@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-router/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
252
|
+
|
|
253
|
+
# 5.0.0-beta.87 (2021-09-14)
|
|
254
|
+
|
|
255
|
+
- `@skyux/action-bars@5.0.0-beta.4` [Release notes](https://github.com/blackbaud/skyux-action-bars/blob/5.0.0-beta.4/CHANGELOG.md)
|
|
256
|
+
|
|
257
|
+
# 5.0.0-beta.86 (2021-09-13)
|
|
258
|
+
|
|
259
|
+
- `@skyux/popovers@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-popovers/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
260
|
+
|
|
261
|
+
# 5.0.0-beta.85 (2021-09-13)
|
|
262
|
+
|
|
263
|
+
- `@skyux/router@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-router/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
264
|
+
|
|
265
|
+
# 5.0.0-beta.84 (2021-09-13)
|
|
266
|
+
|
|
267
|
+
- `@skyux-sdk/testing@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-sdk-testing/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
268
|
+
|
|
269
|
+
# 5.0.0-beta.83 (2021-09-13)
|
|
270
|
+
|
|
271
|
+
- `@skyux/core@5.0.0-beta.11` [Release notes](https://github.com/blackbaud/skyux-core/blob/5.0.0-beta.11/CHANGELOG.md)
|
|
272
|
+
|
|
273
|
+
# 5.0.0-beta.82 (2021-09-13)
|
|
274
|
+
|
|
275
|
+
- `@skyux/list-builder@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-list-builder/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
276
|
+
|
|
277
|
+
# 5.0.0-beta.81 (2021-09-13)
|
|
278
|
+
|
|
279
|
+
- `@skyux/datetime@5.0.0-beta.4` [Release notes](https://github.com/blackbaud/skyux-datetime/blob/5.0.0-beta.4/CHANGELOG.md)
|
|
280
|
+
|
|
281
|
+
# 5.0.0-beta.80 (2021-09-13)
|
|
282
|
+
|
|
283
|
+
- `@skyux/lists@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-lists/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
284
|
+
|
|
285
|
+
# 5.0.0-beta.79 (2021-09-13)
|
|
286
|
+
|
|
287
|
+
- `@skyux/data-manager@5.0.0-beta.4` [Release notes](https://github.com/blackbaud/skyux-data-manager/blob/5.0.0-beta.4/CHANGELOG.md)
|
|
288
|
+
|
|
289
|
+
# 5.0.0-beta.78 (2021-09-10)
|
|
290
|
+
|
|
291
|
+
- `@skyux/validation@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-validation/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
292
|
+
|
|
293
|
+
# 5.0.0-beta.77 (2021-09-10)
|
|
294
|
+
|
|
295
|
+
- `@skyux/flyout@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-flyout/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
296
|
+
|
|
297
|
+
# 5.0.0-beta.76 (2021-09-10)
|
|
298
|
+
|
|
299
|
+
- `@skyux/inline-form@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-inline-form/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
300
|
+
|
|
301
|
+
# 5.0.0-beta.75 (2021-09-10)
|
|
302
|
+
|
|
303
|
+
- `@skyux/datetime@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-datetime/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
304
|
+
|
|
305
|
+
# 5.0.0-beta.74 (2021-09-10)
|
|
306
|
+
|
|
307
|
+
- `@skyux/http@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-http/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
308
|
+
|
|
309
|
+
# 5.0.0-beta.73 (2021-09-10)
|
|
310
|
+
|
|
311
|
+
- `@skyux/layout@5.0.0-beta.6` [Release notes](https://github.com/blackbaud/skyux-layout/blob/5.0.0-beta.6/CHANGELOG.md)
|
|
312
|
+
|
|
313
|
+
# 5.0.0-beta.72 (2021-09-10)
|
|
314
|
+
|
|
315
|
+
- `@skyux/toast@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-toast/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
316
|
+
|
|
317
|
+
# 5.0.0-beta.71 (2021-09-10)
|
|
318
|
+
|
|
319
|
+
- `@skyux/modals@5.0.0-beta.5` [Release notes](https://github.com/blackbaud/skyux-modals/blob/5.0.0-beta.5/CHANGELOG.md)
|
|
320
|
+
|
|
321
|
+
# 5.0.0-beta.70 (2021-09-10)
|
|
322
|
+
|
|
323
|
+
- `@skyux/list-builder-common@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-list-builder-common/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
324
|
+
|
|
325
|
+
# 5.0.0-beta.69 (2021-09-10)
|
|
326
|
+
|
|
327
|
+
- `@skyux/forms@5.0.0-beta.4` [Release notes](https://github.com/blackbaud/skyux-forms/blob/5.0.0-beta.4/CHANGELOG.md)
|
|
328
|
+
|
|
329
|
+
# 5.0.0-beta.68 (2021-09-10)
|
|
330
|
+
|
|
331
|
+
- `@skyux/navbar@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-navbar/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
332
|
+
|
|
333
|
+
# 5.0.0-beta.67 (2021-09-10)
|
|
334
|
+
|
|
335
|
+
- `@skyux/config@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-config/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
336
|
+
|
|
337
|
+
# 5.0.0-beta.66 (2021-09-10)
|
|
338
|
+
|
|
339
|
+
- `@skyux/omnibar-interop@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-omnibar-interop/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
340
|
+
|
|
341
|
+
# 5.0.0-beta.65 (2021-09-10)
|
|
342
|
+
|
|
343
|
+
- `@skyux/indicators@5.0.0-beta.4` [Release notes](https://github.com/blackbaud/skyux-indicators/blob/5.0.0-beta.4/CHANGELOG.md)
|
|
344
|
+
|
|
345
|
+
# 5.0.0-beta.64 (2021-09-09)
|
|
346
|
+
|
|
347
|
+
- `@skyux/theme@5.0.0-beta.5` [Release notes](https://github.com/blackbaud/skyux-theme/blob/5.0.0-beta.5/CHANGELOG.md)
|
|
348
|
+
|
|
349
|
+
# 5.0.0-beta.63 (2021-09-09)
|
|
350
|
+
|
|
351
|
+
- `@skyux/layout@5.0.0-beta.5` [Release notes](https://github.com/blackbaud/skyux-layout/blob/5.0.0-beta.5/CHANGELOG.md)
|
|
352
|
+
|
|
353
|
+
# 5.0.0-beta.62 (2021-09-09)
|
|
354
|
+
|
|
355
|
+
- `@skyux/colorpicker@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-colorpicker/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
356
|
+
|
|
357
|
+
# 5.0.0-beta.61 (2021-09-09)
|
|
358
|
+
|
|
359
|
+
- `@skyux/avatar@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-avatar/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
360
|
+
|
|
361
|
+
# 5.0.0-beta.60 (2021-09-09)
|
|
362
|
+
|
|
363
|
+
- `@skyux/modals@5.0.0-beta.4` [Release notes](https://github.com/blackbaud/skyux-modals/blob/5.0.0-beta.4/CHANGELOG.md)
|
|
364
|
+
|
|
365
|
+
# 5.0.0-beta.59 (2021-09-09)
|
|
366
|
+
|
|
367
|
+
- `@skyux/core@5.0.0-beta.10` [Release notes](https://github.com/blackbaud/skyux-core/blob/5.0.0-beta.10/CHANGELOG.md)
|
|
368
|
+
|
|
369
|
+
# 5.0.0-beta.58 (2021-09-08)
|
|
370
|
+
|
|
371
|
+
- `@skyux/angular-tree-component@5.0.0-beta.0` [Release notes](https://github.com/blackbaud/skyux-angular-tree-component/blob/5.0.0-beta.0/CHANGELOG.md)
|
|
372
|
+
|
|
373
|
+
# 5.0.0-beta.57 (2021-09-08)
|
|
374
|
+
|
|
375
|
+
- `@skyux/action-bars@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-action-bars/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
376
|
+
|
|
377
|
+
# 5.0.0-beta.56 (2021-09-08)
|
|
378
|
+
|
|
379
|
+
- `@skyux/autonumeric@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-autonumeric/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
380
|
+
|
|
381
|
+
# 5.0.0-beta.55 (2021-09-08)
|
|
382
|
+
|
|
383
|
+
- `@skyux/layout@5.0.0-beta.4` [Release notes](https://github.com/blackbaud/skyux-layout/blob/5.0.0-beta.4/CHANGELOG.md)
|
|
384
|
+
|
|
385
|
+
# 5.0.0-beta.54 (2021-09-08)
|
|
386
|
+
|
|
387
|
+
- `@skyux/select-field@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-select-field/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
388
|
+
|
|
389
|
+
# 5.0.0-beta.53 (2021-09-07)
|
|
390
|
+
|
|
391
|
+
- `@skyux/forms@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-forms/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
392
|
+
|
|
393
|
+
# 5.0.0-beta.52 (2021-09-07)
|
|
394
|
+
|
|
395
|
+
- `@skyux/progress-indicator@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-progress-indicator/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
396
|
+
|
|
397
|
+
# 5.0.0-beta.51 (2021-09-03)
|
|
398
|
+
|
|
399
|
+
- `@skyux/forms@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-forms/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
400
|
+
|
|
401
|
+
# 5.0.0-beta.50 (2021-09-03)
|
|
402
|
+
|
|
403
|
+
- `@skyux/assets@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-assets/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
404
|
+
|
|
405
|
+
# 5.0.0-beta.49 (2021-09-03)
|
|
406
|
+
|
|
407
|
+
- `@skyux/autonumeric@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-autonumeric/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
408
|
+
|
|
409
|
+
# 5.0.0-beta.48 (2021-09-03)
|
|
410
|
+
|
|
411
|
+
- `@skyux/i18n@5.0.0-beta.7` [Release notes](https://github.com/blackbaud/skyux-i18n/blob/5.0.0-beta.7/CHANGELOG.md)
|
|
412
|
+
|
|
413
|
+
# 5.0.0-beta.47 (2021-09-02)
|
|
414
|
+
|
|
415
|
+
- `@skyux/indicators@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-indicators/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
416
|
+
|
|
417
|
+
# 5.0.0-beta.46 (2021-09-02)
|
|
418
|
+
|
|
419
|
+
- `@skyux/layout@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-layout/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
420
|
+
|
|
421
|
+
# 5.0.0-beta.45 (2021-09-02)
|
|
422
|
+
|
|
423
|
+
- `@skyux/animations@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-animations/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
424
|
+
|
|
425
|
+
# 5.0.0-beta.44 (2021-09-02)
|
|
426
|
+
|
|
427
|
+
- `@skyux/avatar@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-avatar/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
428
|
+
|
|
429
|
+
# 5.0.0-beta.43 (2021-09-02)
|
|
430
|
+
|
|
431
|
+
- `@skyux/http@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-http/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
432
|
+
|
|
433
|
+
# 5.0.0-beta.42 (2021-09-02)
|
|
434
|
+
|
|
435
|
+
- `@skyux/action-bars@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-action-bars/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
436
|
+
|
|
437
|
+
# 5.0.0-beta.41 (2021-09-02)
|
|
438
|
+
|
|
439
|
+
- `@skyux/a11y@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-a11y/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
440
|
+
|
|
441
|
+
# 5.0.0-beta.40 (2021-09-02)
|
|
442
|
+
|
|
443
|
+
- `@skyux/data-manager@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-data-manager/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
444
|
+
|
|
445
|
+
# 5.0.0-beta.39 (2021-09-02)
|
|
446
|
+
|
|
447
|
+
- `@skyux/errors@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-errors/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
448
|
+
|
|
449
|
+
# 5.0.0-beta.38 (2021-09-01)
|
|
450
|
+
|
|
451
|
+
- `@skyux/datetime@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-datetime/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
452
|
+
|
|
453
|
+
# 5.0.0-beta.37 (2021-09-01)
|
|
454
|
+
|
|
455
|
+
- `@skyux/errors@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-errors/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
456
|
+
|
|
457
|
+
# 5.0.0-beta.36 (2021-09-01)
|
|
458
|
+
|
|
459
|
+
- `@skyux/modals@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-modals/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
460
|
+
|
|
461
|
+
# 5.0.0-beta.35 (2021-09-01)
|
|
462
|
+
|
|
463
|
+
- `@skyux/i18n@5.0.0-beta.6` [Release notes](https://github.com/blackbaud/skyux-i18n/blob/5.0.0-beta.6/CHANGELOG.md)
|
|
464
|
+
|
|
465
|
+
# 5.0.0-beta.34 (2021-08-31)
|
|
466
|
+
|
|
467
|
+
- `@skyux/i18n@5.0.0-beta.5` [Release notes](https://github.com/blackbaud/skyux-i18n/blob/5.0.0-beta.5/CHANGELOG.md)
|
|
468
|
+
|
|
469
|
+
# 5.0.0-beta.33 (2021-08-30)
|
|
470
|
+
|
|
471
|
+
- `@skyux/errors@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-errors/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
472
|
+
|
|
473
|
+
# 5.0.0-beta.32 (2021-08-30)
|
|
474
|
+
|
|
475
|
+
- `@skyux/toast@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-toast/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
476
|
+
|
|
477
|
+
# 5.0.0-beta.31 (2021-08-27)
|
|
478
|
+
|
|
479
|
+
- `@skyux/autonumeric@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-autonumeric/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
480
|
+
|
|
481
|
+
# 5.0.0-beta.30 (2021-08-27)
|
|
482
|
+
|
|
483
|
+
- `@skyux/indicators@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-indicators/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
484
|
+
|
|
485
|
+
# 5.0.0-beta.29 (2021-08-27)
|
|
486
|
+
|
|
487
|
+
- `@skyux/tabs@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-tabs/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
488
|
+
|
|
489
|
+
# 5.0.0-beta.28 (2021-08-27)
|
|
490
|
+
|
|
491
|
+
- `@skyux/tiles@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-tiles/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
492
|
+
|
|
493
|
+
# 5.0.0-beta.27 (2021-08-27)
|
|
494
|
+
|
|
495
|
+
- `@skyux/assets@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-assets/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
496
|
+
|
|
497
|
+
# 5.0.0-beta.26 (2021-08-26)
|
|
498
|
+
|
|
499
|
+
- `@skyux/flyout@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-flyout/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
500
|
+
|
|
501
|
+
# 5.0.0-beta.25 (2021-08-26)
|
|
502
|
+
|
|
503
|
+
- `@skyux/animations@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-animations/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
504
|
+
|
|
505
|
+
# 5.0.0-beta.24 (2021-08-26)
|
|
506
|
+
|
|
507
|
+
- `@skyux/a11y@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-a11y/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
508
|
+
|
|
509
|
+
# 5.0.0-beta.23 (2021-08-26)
|
|
510
|
+
|
|
511
|
+
- `@skyux/modals@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-modals/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
512
|
+
|
|
513
|
+
# 5.0.0-beta.22 (2021-08-24)
|
|
514
|
+
|
|
515
|
+
- `@skyux/colorpicker@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-colorpicker/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
516
|
+
|
|
517
|
+
# 5.0.0-beta.21 (2021-08-18)
|
|
518
|
+
|
|
519
|
+
- `@skyux/datetime@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-datetime/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
520
|
+
|
|
521
|
+
# 5.0.0-beta.20 (2021-08-13)
|
|
522
|
+
|
|
523
|
+
- `@skyux/i18n@5.0.0-beta.4` [Release notes](https://github.com/blackbaud/skyux-i18n/blob/5.0.0-beta.4/CHANGELOG.md)
|
|
524
|
+
|
|
525
|
+
# 5.0.0-beta.19 (2021-08-09)
|
|
526
|
+
|
|
527
|
+
- `@skyux/layout@5.0.0-beta.2` [Release notes](https://github.com/blackbaud/skyux-layout/blob/5.0.0-beta.2/CHANGELOG.md)
|
|
528
|
+
|
|
529
|
+
# 5.0.0-beta.18 (2021-08-06)
|
|
530
|
+
|
|
531
|
+
- `@skyux/i18n@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-i18n/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
532
|
+
|
|
533
|
+
# 5.0.0-beta.17 (2021-08-05)
|
|
534
|
+
|
|
535
|
+
- `@skyux/theme@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-theme/blob/5.0.0-beta.3/CHANGELOG.md)
|
|
536
|
+
|
|
537
|
+
# 5.0.0-beta.16 (2021-08-03)
|
|
538
|
+
|
|
539
|
+
- `@skyux/split-view@5.0.0-beta.1` [Release notes](https://github.com/blackbaud/skyux-split-view/blob/5.0.0-beta.1/CHANGELOG.md)
|
|
540
|
+
|
|
1
541
|
# 5.0.0-beta.15 (2021-07-30)
|
|
2
542
|
|
|
3
543
|
- `@skyux/text-editor@5.0.0-beta.3` [Release notes](https://github.com/blackbaud/skyux-text-editor/blob/5.0.0-beta.3/CHANGELOG.md)
|
package/collection.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
+
"schematics": {
|
|
4
|
+
"ng-add": {
|
|
5
|
+
"description": "Add @skyux/packages to your project.",
|
|
6
|
+
"factory": "./src/schematics/ng-add/ng-add.schematic",
|
|
7
|
+
"schema": "./src/schematics/ng-add/schema.json"
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/packages",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.150",
|
|
4
4
|
"description": "Handles the `ng update` command for SKY UX component libraries.",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "npm run clean && tsc -p tsconfig.json",
|
|
6
|
+
"build": "npm run clean && tsc -p tsconfig.build.json",
|
|
7
7
|
"postbuild": "node ./scripts/after-build-success.js",
|
|
8
8
|
"clean": "rimraf dist",
|
|
9
|
-
"format-all": "npx prettier --write ."
|
|
9
|
+
"format-all": "npx prettier --write .",
|
|
10
|
+
"lint": "eslint src --ext .ts",
|
|
11
|
+
"test": "npm run lint && nyc npm run test:unit",
|
|
12
|
+
"test:unit": "ts-node --project tsconfig.test.json node_modules/jasmine/bin/jasmine.js --config=jasmine.json"
|
|
10
13
|
},
|
|
11
14
|
"repository": {
|
|
12
15
|
"type": "git",
|
|
@@ -18,14 +21,20 @@
|
|
|
18
21
|
"url": "https://github.com/blackbaud/skyux-packages/issues"
|
|
19
22
|
},
|
|
20
23
|
"homepage": "https://github.com/blackbaud/skyux-packages#readme",
|
|
24
|
+
"schematics": "./collection.json",
|
|
25
|
+
"ng-add": {
|
|
26
|
+
"save": "dependencies"
|
|
27
|
+
},
|
|
21
28
|
"ng-update": {
|
|
22
|
-
"migrations": "./migrations/migration-collection.json",
|
|
29
|
+
"migrations": "./src/schematics/migrations/migration-collection.json",
|
|
23
30
|
"packageGroup": {
|
|
31
|
+
"@skyux-sdk/documentation-schematics": "^5.0.0-beta.0",
|
|
32
|
+
"@skyux-sdk/e2e": "^5.0.0-beta.0",
|
|
24
33
|
"@skyux-sdk/testing": "^5.0.0-beta.0",
|
|
25
34
|
"@skyux/a11y": "^5.0.0-beta.0",
|
|
26
35
|
"@skyux/action-bars": "^5.0.0-beta.0",
|
|
27
36
|
"@skyux/ag-grid": "^5.0.0-beta.0",
|
|
28
|
-
"@skyux/angular-tree-component": "^
|
|
37
|
+
"@skyux/angular-tree-component": "^5.0.0-beta.0",
|
|
29
38
|
"@skyux/animations": "^5.0.0-beta.0",
|
|
30
39
|
"@skyux/assets": "^5.0.0-beta.0",
|
|
31
40
|
"@skyux/autonumeric": "^5.0.0-beta.0",
|
|
@@ -35,6 +44,8 @@
|
|
|
35
44
|
"@skyux/core": "^5.0.0-beta.0",
|
|
36
45
|
"@skyux/data-manager": "^5.0.0-beta.0",
|
|
37
46
|
"@skyux/datetime": "^5.0.0-beta.0",
|
|
47
|
+
"@skyux/docs-tools": "^5.0.0-beta.0",
|
|
48
|
+
"@skyux/e2e-client": "^5.0.0",
|
|
38
49
|
"@skyux/errors": "^5.0.0-beta.0",
|
|
39
50
|
"@skyux/flyout": "^5.0.0-beta.0",
|
|
40
51
|
"@skyux/forms": "^5.0.0-beta.0",
|
|
@@ -69,13 +80,30 @@
|
|
|
69
80
|
"@skyux/validation": "^5.0.0-beta.0"
|
|
70
81
|
}
|
|
71
82
|
},
|
|
83
|
+
"dependencies": {
|
|
84
|
+
"latest-version": "5.1.0"
|
|
85
|
+
},
|
|
72
86
|
"devDependencies": {
|
|
73
|
-
"@
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
87
|
+
"@angular-devkit/schematics": "12.2.7",
|
|
88
|
+
"@istanbuljs/nyc-config-typescript": "1.0.1",
|
|
89
|
+
"@schematics/angular": "12.2.7",
|
|
90
|
+
"@trivago/prettier-plugin-sort-imports": "2.0.4",
|
|
91
|
+
"@types/fs-extra": "9.0.13",
|
|
92
|
+
"@types/jasmine": "3.9.1",
|
|
93
|
+
"@types/mock-require": "2.0.0",
|
|
94
|
+
"@types/node": "14.14.45",
|
|
95
|
+
"@types/semver": "7.3.8",
|
|
96
|
+
"@typescript-eslint/eslint-plugin": "4.32.0",
|
|
97
|
+
"@typescript-eslint/parser": "4.32.0",
|
|
98
|
+
"eslint": "7.32.0",
|
|
99
|
+
"eslint-config-prettier": "8.3.0",
|
|
100
|
+
"fs-extra": "10.0.0",
|
|
101
|
+
"jasmine": "3.9.0",
|
|
102
|
+
"mock-require": "3.0.3",
|
|
103
|
+
"nyc": "15.1.0",
|
|
104
|
+
"prettier": "2.4.1",
|
|
105
|
+
"rimraf": "3.0.2",
|
|
106
|
+
"ts-node": "10.2.1",
|
|
107
|
+
"typescript": "4.4.3"
|
|
80
108
|
}
|
|
81
109
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schematics": {
|
|
3
|
+
"noop": {
|
|
4
|
+
"version": "5.0.0-beta.150",
|
|
5
|
+
"factory": "./noop/noop.schematic",
|
|
6
|
+
"description": "Update all SKY UX component packages"
|
|
7
|
+
},
|
|
8
|
+
"update-peer-dependencies": {
|
|
9
|
+
"version": "5.0.0-beta.150",
|
|
10
|
+
"factory": "./update-peer-dependencies/update-peer-dependencies.schematic",
|
|
11
|
+
"description": "Update library peer dependencies"
|
|
12
|
+
},
|
|
13
|
+
"setup-coverage-for-testing-module": {
|
|
14
|
+
"version": "5.0.0-beta.0",
|
|
15
|
+
"factory": "./setup-coverage-for-testing-module/setup-coverage-for-testing-module.schematic",
|
|
16
|
+
"description": "Setup coverage for the testing module"
|
|
17
|
+
},
|
|
18
|
+
"remove-package-json-scripts": {
|
|
19
|
+
"version": "5.0.0-beta.0",
|
|
20
|
+
"factory": "./remove-package-json-scripts/remove-package-json-scripts.schematic",
|
|
21
|
+
"description": "Remove SKY UX scripts from package.json"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"noop.schematic.js","sourceRoot":"","sources":["../../../../../src/schematics/migrations/noop/noop.schematic.ts"],"names":[],"mappings":";;AAEA;IACE,OAAO,GAAG,EAAE,GAAE,CAAC,CAAC;AAClB,CAAC;AAFD,4BAEC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const tree_1 = require("../../utility/tree");
|
|
13
|
+
function default_1() {
|
|
14
|
+
return (tree) => __awaiter(this, void 0, void 0, function* () {
|
|
15
|
+
const filePath = 'package.json';
|
|
16
|
+
const packageJson = JSON.parse((0, tree_1.readRequiredFile)(tree, filePath));
|
|
17
|
+
delete packageJson.scripts['skyux:update'];
|
|
18
|
+
delete packageJson.scripts['skyux:update-angular'];
|
|
19
|
+
delete packageJson.scripts['skyux:update-skyux'];
|
|
20
|
+
tree.overwrite(filePath, JSON.stringify(packageJson, undefined, 2));
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
exports.default = default_1;
|
|
24
|
+
//# sourceMappingURL=remove-package-json-scripts.schematic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-package-json-scripts.schematic.js","sourceRoot":"","sources":["../../../../../src/schematics/migrations/remove-package-json-scripts/remove-package-json-scripts.schematic.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,6CAAsD;AAEtD;IACE,OAAO,CAAO,IAAI,EAAE,EAAE;QACpB,MAAM,QAAQ,GAAG,cAAc,CAAC;QAChC,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAA,uBAAgB,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC;QAEjE,OAAO,WAAW,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;QAC3C,OAAO,WAAW,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;QACnD,OAAO,WAAW,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjD,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC;IACtE,CAAC,CAAA,CAAC;AACJ,CAAC;AAXD,4BAWC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
|
13
|
+
const tree_1 = require("../../utility/tree");
|
|
14
|
+
const workspace_1 = require("../../utility/workspace");
|
|
15
|
+
function updateSpecsEntryPoint(projectName) {
|
|
16
|
+
return (tree) => {
|
|
17
|
+
const filePath = `projects/${projectName}/src/test.ts`;
|
|
18
|
+
let contents = (0, tree_1.readRequiredFile)(tree, filePath);
|
|
19
|
+
if (!contents.includes('const testingContext')) {
|
|
20
|
+
contents += `
|
|
21
|
+
// Find any tests included in the "testing" entry point.
|
|
22
|
+
try {
|
|
23
|
+
const testingContext = require.context('../testing/', true, /\\.spec\\.ts$/);
|
|
24
|
+
testingContext.keys().map(testingContext);
|
|
25
|
+
} catch (err) {}
|
|
26
|
+
`;
|
|
27
|
+
tree.overwrite(filePath, contents);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function addEntryPointToCodeCoverageIgnore(projectName) {
|
|
32
|
+
return (0, workspace_1.updateWorkspace)((workspace) => {
|
|
33
|
+
const project = workspace.projects.get(projectName);
|
|
34
|
+
const testTarget = project.targets.get('test');
|
|
35
|
+
const options = testTarget.options;
|
|
36
|
+
options.codeCoverageExclude = (options.codeCoverageExclude ||
|
|
37
|
+
[]);
|
|
38
|
+
const ignorePattern = `projects/${projectName}/src/test.ts`;
|
|
39
|
+
if (!options.codeCoverageExclude.includes(ignorePattern)) {
|
|
40
|
+
options.codeCoverageExclude.push(ignorePattern);
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
function updatePackages() {
|
|
45
|
+
return (tree) => __awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
const { workspace } = yield (0, workspace_1.getWorkspace)(tree);
|
|
47
|
+
const { project, projectName } = yield (0, workspace_1.getProject)(workspace, workspace.extensions.defaultProject);
|
|
48
|
+
// Only run for libraries.
|
|
49
|
+
if (project.extensions.projectType !== 'library') {
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
return (0, schematics_1.chain)([
|
|
53
|
+
updateSpecsEntryPoint(projectName),
|
|
54
|
+
addEntryPointToCodeCoverageIgnore(projectName),
|
|
55
|
+
]);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
exports.default = updatePackages;
|
|
59
|
+
//# sourceMappingURL=setup-coverage-for-testing-module.schematic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup-coverage-for-testing-module.schematic.js","sourceRoot":"","sources":["../../../../../src/schematics/migrations/setup-coverage-for-testing-module/setup-coverage-for-testing-module.schematic.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,2DAAyD;AAEzD,6CAAsD;AACtD,uDAIiC;AAEjC,SAAS,qBAAqB,CAAC,WAAmB;IAChD,OAAO,CAAC,IAAI,EAAE,EAAE;QACd,MAAM,QAAQ,GAAG,YAAY,WAAW,cAAc,CAAC;QACvD,IAAI,QAAQ,GAAG,IAAA,uBAAgB,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAChD,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,sBAAsB,CAAC,EAAE;YAC9C,QAAQ,IAAI;;;;;;CAMjB,CAAC;YACI,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;SACpC;IACH,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,iCAAiC,CAAC,WAAmB;IAC5D,OAAO,IAAA,2BAAe,EAAC,CAAC,SAAS,EAAE,EAAE;QACnC,MAAM,OAAO,GAAG,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAE,CAAC;QACrD,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAE,CAAC;QAChD,MAAM,OAAO,GAAG,UAAU,CAAC,OAAQ,CAAC;QAEpC,OAAO,CAAC,mBAAmB,GAAG,CAAC,OAAO,CAAC,mBAAmB;YACxD,EAAE,CAAa,CAAC;QAElB,MAAM,aAAa,GAAG,YAAY,WAAW,cAAc,CAAC;QAC5D,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE;YACxD,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;SACjD;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAwB,cAAc;IACpC,OAAO,CAAO,IAAI,EAAE,EAAE;QACpB,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,IAAA,wBAAY,EAAC,IAAI,CAAC,CAAC;QAE/C,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,MAAM,IAAA,sBAAU,EAC/C,SAAS,EACT,SAAS,CAAC,UAAU,CAAC,cAAwB,CAC9C,CAAC;QAEF,0BAA0B;QAC1B,IAAI,OAAO,CAAC,UAAU,CAAC,WAAW,KAAK,SAAS,EAAE;YAChD,OAAO;SACR;QAED,OAAO,IAAA,kBAAK,EAAC;YACX,qBAAqB,CAAC,WAAW,CAAC;YAClC,iCAAiC,CAAC,WAAW,CAAC;SAC/C,CAAC,CAAC;IACL,CAAC,CAAA,CAAC;AACJ,CAAC;AAnBD,iCAmBC"}
|
package/src/schematics/migrations/update-peer-dependencies/update-peer-dependencies.schematic.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const tree_1 = require("../../utility/tree");
|
|
13
|
+
const workspace_1 = require("../../utility/workspace");
|
|
14
|
+
function updateDependencySection(context, project, tree, section) {
|
|
15
|
+
const libraryPackageJsonPath = `${project.root}/package.json`;
|
|
16
|
+
const libraryPackageJson = JSON.parse((0, tree_1.readRequiredFile)(tree, libraryPackageJsonPath));
|
|
17
|
+
const rootPackageJson = JSON.parse((0, tree_1.readRequiredFile)(tree, 'package.json'));
|
|
18
|
+
if (libraryPackageJson[section]) {
|
|
19
|
+
for (const packageName in libraryPackageJson[section]) {
|
|
20
|
+
const rootVersion = rootPackageJson.dependencies[packageName];
|
|
21
|
+
if (rootVersion.match(/^(\^|~)/)) {
|
|
22
|
+
context.logger.warn(`Package "${packageName}@${rootVersion}" was not set to a specific version in the root 'package.json'. Skipping update to library 'package.json'.`);
|
|
23
|
+
break;
|
|
24
|
+
}
|
|
25
|
+
const rangeMatch = libraryPackageJson[section][packageName].match(/^(\^|~)/);
|
|
26
|
+
const rangeCharacter = rangeMatch ? rangeMatch[0] : '';
|
|
27
|
+
libraryPackageJson[section][packageName] = `${rangeCharacter}${rootVersion}`;
|
|
28
|
+
}
|
|
29
|
+
tree.overwrite(libraryPackageJsonPath, JSON.stringify(libraryPackageJson, undefined, 2));
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
function updateLibraryDependencies() {
|
|
33
|
+
return (tree, context) => __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
const { workspace } = yield (0, workspace_1.getWorkspace)(tree);
|
|
35
|
+
const { project } = yield (0, workspace_1.getProject)(workspace, workspace.extensions.defaultProject);
|
|
36
|
+
// Only run for libraries.
|
|
37
|
+
/* istanbul ignore if */
|
|
38
|
+
if (project.extensions.projectType !== 'library') {
|
|
39
|
+
context.logger.info('The default project is of type "application". Skipping.');
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
updateDependencySection(context, project, tree, 'peerDependencies');
|
|
43
|
+
updateDependencySection(context, project, tree, 'dependencies');
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
exports.default = updateLibraryDependencies;
|
|
47
|
+
//# sourceMappingURL=update-peer-dependencies.schematic.js.map
|
package/src/schematics/migrations/update-peer-dependencies/update-peer-dependencies.schematic.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-peer-dependencies.schematic.js","sourceRoot":"","sources":["../../../../../src/schematics/migrations/update-peer-dependencies/update-peer-dependencies.schematic.ts"],"names":[],"mappings":";;;;;;;;;;;AAGA,6CAAsD;AACtD,uDAAmE;AAEnE,SAAS,uBAAuB,CAC9B,OAAyB,EACzB,OAAqC,EACrC,IAAU,EACV,OAAe;IAEf,MAAM,sBAAsB,GAAG,GAAG,OAAO,CAAC,IAAI,eAAe,CAAC;IAE9D,MAAM,kBAAkB,GAAG,IAAI,CAAC,KAAK,CACnC,IAAA,uBAAgB,EAAC,IAAI,EAAE,sBAAsB,CAAC,CAC/C,CAAC;IAEF,MAAM,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,IAAA,uBAAgB,EAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC;IAE3E,IAAI,kBAAkB,CAAC,OAAO,CAAC,EAAE;QAC/B,KAAK,MAAM,WAAW,IAAI,kBAAkB,CAAC,OAAO,CAAC,EAAE;YACrD,MAAM,WAAW,GAAG,eAAe,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;YAC9D,IAAI,WAAW,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE;gBAChC,OAAO,CAAC,MAAM,CAAC,IAAI,CACjB,YAAY,WAAW,IAAI,WAAW,4GAA4G,CACnJ,CAAC;gBACF,MAAM;aACP;YAED,MAAM,UAAU,GACd,kBAAkB,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;YAC5D,MAAM,cAAc,GAAG,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YAEvD,kBAAkB,CAAC,OAAO,CAAC,CACzB,WAAW,CACZ,GAAG,GAAG,cAAc,GAAG,WAAW,EAAE,CAAC;SACvC;QAED,IAAI,CAAC,SAAS,CACZ,sBAAsB,EACtB,IAAI,CAAC,SAAS,CAAC,kBAAkB,EAAE,SAAS,EAAE,CAAC,CAAC,CACjD,CAAC;KACH;AACH,CAAC;AAED,SAAwB,yBAAyB;IAC/C,OAAO,CAAO,IAAI,EAAE,OAAO,EAAE,EAAE;QAC7B,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,IAAA,wBAAY,EAAC,IAAI,CAAC,CAAC;QAE/C,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,IAAA,sBAAU,EAClC,SAAS,EACT,SAAS,CAAC,UAAU,CAAC,cAAwB,CAC9C,CAAC;QAEF,0BAA0B;QAC1B,wBAAwB;QACxB,IAAI,OAAO,CAAC,UAAU,CAAC,WAAW,KAAK,SAAS,EAAE;YAChD,OAAO,CAAC,MAAM,CAAC,IAAI,CACjB,yDAAyD,CAC1D,CAAC;YACF,OAAO;SACR;QAED,uBAAuB,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,kBAAkB,CAAC,CAAC;QACpE,uBAAuB,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,cAAc,CAAC,CAAC;IAClE,CAAC,CAAA,CAAC;AACJ,CAAC;AArBD,4CAqBC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
16
|
+
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
17
|
+
const latest_version_1 = __importDefault(require("latest-version"));
|
|
18
|
+
const path_1 = __importDefault(require("path"));
|
|
19
|
+
const tree_1 = require("../utility/tree");
|
|
20
|
+
function ensureLatestVersions(context, dependencies, packageGroup) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
for (const packageName in dependencies) {
|
|
23
|
+
const version = packageGroup[packageName];
|
|
24
|
+
if (version) {
|
|
25
|
+
// Get the latest version from NPM.
|
|
26
|
+
const latestVersion = yield (0, latest_version_1.default)(packageName, { version });
|
|
27
|
+
if (latestVersion !== dependencies[packageName]) {
|
|
28
|
+
context.logger.info(`Updated "${packageName}" from version (${dependencies[packageName]}) to (${latestVersion}).`);
|
|
29
|
+
dependencies[packageName] = latestVersion;
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
context.logger.info(`Skipped "${packageName}" because it is already on the latest version.`);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function ngAdd() {
|
|
39
|
+
return (tree, context) => __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
const packageJsonPath = 'package.json';
|
|
41
|
+
const packageJson = JSON.parse((0, tree_1.readRequiredFile)(tree, packageJsonPath));
|
|
42
|
+
const { packageGroup } = fs_extra_1.default.readJsonSync(path_1.default.resolve(__dirname, '../../../package.json'))['ng-update'];
|
|
43
|
+
yield ensureLatestVersions(context, packageJson.dependencies, packageGroup);
|
|
44
|
+
yield ensureLatestVersions(context, packageJson.devDependencies, packageGroup);
|
|
45
|
+
tree.overwrite(packageJsonPath, JSON.stringify(packageJson, undefined, 2));
|
|
46
|
+
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
exports.default = ngAdd;
|
|
50
|
+
//# sourceMappingURL=ng-add.schematic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-add.schematic.js","sourceRoot":"","sources":["../../../../src/schematics/ng-add/ng-add.schematic.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,4DAA0E;AAE1E,wDAA0B;AAC1B,oEAA8C;AAC9C,gDAAwB;AAExB,0CAAmD;AAEnD,SAAe,oBAAoB,CACjC,OAAyB,EACzB,YAEC,EACD,YAEC;;QAED,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE;YACtC,MAAM,OAAO,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC;YAE1C,IAAI,OAAO,EAAE;gBACX,mCAAmC;gBACnC,MAAM,aAAa,GAAG,MAAM,IAAA,wBAAgB,EAAC,WAAW,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC;gBAEvE,IAAI,aAAa,KAAK,YAAY,CAAC,WAAW,CAAC,EAAE;oBAC/C,OAAO,CAAC,MAAM,CAAC,IAAI,CACjB,YAAY,WAAW,mBAAmB,YAAY,CAAC,WAAW,CAAC,SAAS,aAAa,IAAI,CAC9F,CAAC;oBAEF,YAAY,CAAC,WAAW,CAAC,GAAG,aAAa,CAAC;iBAC3C;qBAAM;oBACL,OAAO,CAAC,MAAM,CAAC,IAAI,CACjB,YAAY,WAAW,gDAAgD,CACxE,CAAC;iBACH;aACF;SACF;IACH,CAAC;CAAA;AAED,SAAwB,KAAK;IAC3B,OAAO,CAAO,IAAI,EAAE,OAAO,EAAE,EAAE;QAC7B,MAAM,eAAe,GAAG,cAAc,CAAC;QACvC,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAA,uBAAgB,EAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC;QAExE,MAAM,EAAE,YAAY,EAAE,GAAG,kBAAE,CAAC,YAAY,CACtC,cAAI,CAAC,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC,CACjD,CAAC,WAAW,CAAC,CAAC;QAEf,MAAM,oBAAoB,CAAC,OAAO,EAAE,WAAW,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;QAC5E,MAAM,oBAAoB,CACxB,OAAO,EACP,WAAW,CAAC,eAAe,EAC3B,YAAY,CACb,CAAC;QAEF,IAAI,CAAC,SAAS,CAAC,eAAe,EAAE,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC;QAE3E,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;IAChD,CAAC,CAAA,CAAC;AACJ,CAAC;AApBD,wBAoBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readRequiredFile = void 0;
|
|
4
|
+
const core_1 = require("@angular-devkit/core");
|
|
5
|
+
/**
|
|
6
|
+
* Returns the contents of a required file or throws an error if it doesn't exist.
|
|
7
|
+
*/
|
|
8
|
+
function readRequiredFile(tree, filePath) {
|
|
9
|
+
const data = tree.read(filePath);
|
|
10
|
+
if (!data) {
|
|
11
|
+
throw new Error(`The file '${filePath}' was expected to exist but was not found.`);
|
|
12
|
+
}
|
|
13
|
+
return core_1.virtualFs.fileBufferToString(data);
|
|
14
|
+
}
|
|
15
|
+
exports.readRequiredFile = readRequiredFile;
|
|
16
|
+
//# sourceMappingURL=tree.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree.js","sourceRoot":"","sources":["../../../../src/schematics/utility/tree.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AAGjD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAAU,EAAE,QAAgB;IAC3D,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACjC,IAAI,CAAC,IAAI,EAAE;QACT,MAAM,IAAI,KAAK,CACb,aAAa,QAAQ,4CAA4C,CAClE,CAAC;KACH;IAED,OAAO,gBAAS,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;AAC5C,CAAC;AATD,4CASC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { workspaces } from '@angular-devkit/core';
|
|
2
|
+
import { Rule, Tree } from '@angular-devkit/schematics';
|
|
3
|
+
/**
|
|
4
|
+
* Returns the workspace host and project config (angular.json).
|
|
5
|
+
*/
|
|
6
|
+
export declare function getWorkspace(tree: Tree): Promise<{
|
|
7
|
+
host: workspaces.WorkspaceHost;
|
|
8
|
+
workspace: workspaces.WorkspaceDefinition;
|
|
9
|
+
}>;
|
|
10
|
+
export declare function getProject(workspace: workspaces.WorkspaceDefinition, projectName: string): Promise<{
|
|
11
|
+
project: workspaces.ProjectDefinition;
|
|
12
|
+
projectName: string;
|
|
13
|
+
}>;
|
|
14
|
+
/**
|
|
15
|
+
* Allows updates to the Angular project config (angular.json).
|
|
16
|
+
*/
|
|
17
|
+
export declare function updateWorkspace(updater: (workspace: workspaces.WorkspaceDefinition) => void): Rule;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.updateWorkspace = exports.getProject = exports.getWorkspace = void 0;
|
|
13
|
+
const core_1 = require("@angular-devkit/core");
|
|
14
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
|
15
|
+
const tree_1 = require("./tree");
|
|
16
|
+
/**
|
|
17
|
+
* Creates a workspace host.
|
|
18
|
+
* Taken from: https://angular.io/guide/schematics-for-libraries#get-the-project-configuration
|
|
19
|
+
*/
|
|
20
|
+
function createHost(tree) {
|
|
21
|
+
return {
|
|
22
|
+
/* istanbul ignore next */
|
|
23
|
+
readFile(path) {
|
|
24
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
+
return (0, tree_1.readRequiredFile)(tree, path);
|
|
26
|
+
});
|
|
27
|
+
},
|
|
28
|
+
/* istanbul ignore next */
|
|
29
|
+
writeFile(path, data) {
|
|
30
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
+
return tree.overwrite(path, data);
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
isDirectory(path) {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
// approximate a directory check
|
|
37
|
+
return !tree.exists(path) && tree.getDir(path).subfiles.length > 0;
|
|
38
|
+
});
|
|
39
|
+
},
|
|
40
|
+
isFile(path) {
|
|
41
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
return tree.exists(path);
|
|
43
|
+
});
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns the workspace host and project config (angular.json).
|
|
49
|
+
*/
|
|
50
|
+
function getWorkspace(tree) {
|
|
51
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
const host = createHost(tree);
|
|
53
|
+
const { workspace } = yield core_1.workspaces.readWorkspace('/', host);
|
|
54
|
+
return { host, workspace };
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
exports.getWorkspace = getWorkspace;
|
|
58
|
+
function getProject(workspace, projectName) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
const project = workspace.projects.get(projectName);
|
|
61
|
+
if (!project) {
|
|
62
|
+
throw new schematics_1.SchematicsException(`The "${projectName}" project is not defined in angular.json. Provide a valid project name.`);
|
|
63
|
+
}
|
|
64
|
+
return { project, projectName };
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
exports.getProject = getProject;
|
|
68
|
+
/**
|
|
69
|
+
* Allows updates to the Angular project config (angular.json).
|
|
70
|
+
*/
|
|
71
|
+
function updateWorkspace(updater) {
|
|
72
|
+
return (tree) => __awaiter(this, void 0, void 0, function* () {
|
|
73
|
+
const { host, workspace } = yield getWorkspace(tree);
|
|
74
|
+
// Send the workspace to the callback to allow it to be modified.
|
|
75
|
+
yield updater(workspace);
|
|
76
|
+
// Update the workspace config with any changes.
|
|
77
|
+
yield core_1.workspaces.writeWorkspace(workspace, host);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
exports.updateWorkspace = updateWorkspace;
|
|
81
|
+
//# sourceMappingURL=workspace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../src/schematics/utility/workspace.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAkD;AAClD,2DAA6E;AAE7E,iCAA0C;AAE1C;;;GAGG;AACH,SAAS,UAAU,CAAC,IAAU;IAC5B,OAAO;QACL,0BAA0B;QACpB,QAAQ,CAAC,IAAY;;gBACzB,OAAO,IAAA,uBAAgB,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACtC,CAAC;SAAA;QACD,0BAA0B;QACpB,SAAS,CAAC,IAAY,EAAE,IAAY;;gBACxC,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACpC,CAAC;SAAA;QACK,WAAW,CAAC,IAAY;;gBAC5B,gCAAgC;gBAChC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;YACrE,CAAC;SAAA;QACK,MAAM,CAAC,IAAY;;gBACvB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YAC3B,CAAC;SAAA;KACF,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAsB,YAAY,CAAC,IAAU;;QAI3C,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;QAC9B,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,iBAAU,CAAC,aAAa,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QAChE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;IAC7B,CAAC;CAAA;AAPD,oCAOC;AAED,SAAsB,UAAU,CAC9B,SAAyC,EACzC,WAAmB;;QAEnB,MAAM,OAAO,GAAG,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QACpD,IAAI,CAAC,OAAO,EAAE;YACZ,MAAM,IAAI,gCAAmB,CAC3B,QAAQ,WAAW,yEAAyE,CAC7F,CAAC;SACH;QAED,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC;IAClC,CAAC;CAAA;AAZD,gCAYC;AAED;;GAEG;AACH,SAAgB,eAAe,CAC7B,OAA4D;IAE5D,OAAO,CAAO,IAAI,EAAE,EAAE;QACpB,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,MAAM,YAAY,CAAC,IAAI,CAAC,CAAC;QAErD,iEAAiE;QACjE,MAAM,OAAO,CAAC,SAAS,CAAC,CAAC;QAEzB,gDAAgD;QAChD,MAAM,iBAAU,CAAC,cAAc,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC,CAAA,CAAC;AACJ,CAAC;AAZD,0CAYC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function (): () => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"noop.schematic.js","sourceRoot":"","sources":["../../../src/migrations/noop/noop.schematic.ts"],"names":[],"mappings":";;AAAA;IACE,OAAO,GAAG,EAAE,GAAE,CAAC,CAAC;AAClB,CAAC;AAFD,4BAEC"}
|