@ui5/webcomponents-tools 0.0.0-d0bcf47c7 → 0.0.0-d4d43327a

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 (56) hide show
  1. package/CHANGELOG.md +418 -1
  2. package/README.md +5 -6
  3. package/assets-meta.js +153 -0
  4. package/bin/dev.js +12 -1
  5. package/components-package/eslint.js +28 -0
  6. package/components-package/nps.js +106 -44
  7. package/components-package/postcss.components.js +13 -13
  8. package/components-package/postcss.themes.js +19 -16
  9. package/components-package/vite.config.js +12 -0
  10. package/components-package/wdio.js +128 -62
  11. package/components-package/wdio.sync.js +360 -0
  12. package/icons-collection/nps.js +69 -28
  13. package/lib/copy-and-watch/index.js +145 -0
  14. package/lib/copy-list/index.js +28 -0
  15. package/lib/create-icons/index.js +124 -0
  16. package/lib/create-illustrations/index.js +161 -0
  17. package/lib/create-new-component/index.js +154 -0
  18. package/lib/dev-server/dev-server.js +66 -0
  19. package/lib/dev-server/virtual-index-html-plugin.js +53 -0
  20. package/lib/esm-abs-to-rel/index.js +58 -0
  21. package/lib/generate-custom-elements-manifest/index.js +327 -0
  22. package/lib/generate-js-imports/illustrations.js +72 -0
  23. package/lib/generate-json-imports/i18n.js +98 -0
  24. package/lib/generate-json-imports/themes.js +80 -0
  25. package/lib/hbs2lit/index.js +3 -0
  26. package/lib/hbs2lit/src/compiler.js +57 -0
  27. package/lib/hbs2lit/src/extendedAttributeMapping.js +12 -0
  28. package/lib/hbs2lit/src/includesReplacer.js +31 -0
  29. package/lib/hbs2lit/src/litVisitor2.js +253 -0
  30. package/lib/hbs2lit/src/partials2.js +51 -0
  31. package/lib/hbs2lit/src/partialsVisitor.js +187 -0
  32. package/lib/hbs2lit/src/svgProcessor.js +69 -0
  33. package/lib/hbs2ui5/RenderTemplates/LitRenderer.js +12 -0
  34. package/lib/hbs2ui5/index.js +102 -0
  35. package/lib/i18n/defaults.js +82 -0
  36. package/lib/i18n/toJSON.js +43 -0
  37. package/lib/jsdoc/config.json +29 -0
  38. package/lib/jsdoc/configTypescript.json +29 -0
  39. package/lib/jsdoc/plugin.js +2468 -0
  40. package/lib/jsdoc/preprocess.js +146 -0
  41. package/lib/jsdoc/template/publish.js +4120 -0
  42. package/lib/postcss-combine-duplicated-selectors/index.js +178 -0
  43. package/lib/postcss-css-to-esm/index.js +90 -0
  44. package/lib/postcss-css-to-json/index.js +47 -0
  45. package/lib/postcss-new-files/index.js +36 -0
  46. package/lib/postcss-p/postcss-p.mjs +14 -0
  47. package/lib/replace-global-core/index.js +25 -0
  48. package/lib/scoping/get-all-tags.js +37 -0
  49. package/lib/scoping/lint-src.js +31 -0
  50. package/lib/scoping/missing-dependencies.js +65 -0
  51. package/lib/scoping/report-tags-usage.js +28 -0
  52. package/lib/scoping/scope-test-pages.js +40 -0
  53. package/lib/test-runner/test-runner.js +63 -0
  54. package/package.json +48 -55
  55. package/bin/init-ui5-package.js +0 -3
  56. package/package-lock.json +0 -9994
package/CHANGELOG.md CHANGED
@@ -3,9 +3,426 @@
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
+ # [1.11.0-rc.4](https://github.com/SAP/ui5-webcomponents/compare/v1.11.0-rc.3...v1.11.0-rc.4) (2023-03-02)
7
+
8
+ **Note:** Version bump only for package @ui5/webcomponents-tools
9
+
10
+
11
+
12
+
13
+
14
+ # [1.11.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v1.11.0-rc.2...v1.11.0-rc.3) (2023-02-23)
15
+
16
+
17
+ ### Features
18
+
19
+ * **playground:** next playground with storybook ([#5831](https://github.com/SAP/ui5-webcomponents/issues/5831)) ([79274c8](https://github.com/SAP/ui5-webcomponents/commit/79274c8e442cf5854a7fe6327f25aaed04312103)), closes [#5898](https://github.com/SAP/ui5-webcomponents/issues/5898)
20
+
21
+
22
+
23
+
24
+
25
+ # [1.11.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.11.0-rc.1...v1.11.0-rc.2) (2023-02-16)
26
+
27
+ **Note:** Version bump only for package @ui5/webcomponents-tools
28
+
29
+
30
+
31
+
32
+
33
+ # [1.11.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.11.0-rc.0...v1.11.0-rc.1) (2023-02-09)
34
+
35
+ **Note:** Version bump only for package @ui5/webcomponents-tools
36
+
37
+
38
+
39
+
40
+
41
+ # [1.11.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.10.4-rc.0...v1.11.0-rc.0) (2023-02-02)
42
+
43
+ **Note:** Version bump only for package @ui5/webcomponents-tools
44
+
45
+
46
+
47
+
48
+
49
+ ## [1.10.4-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.10.3...v1.10.4-rc.0) (2023-01-26)
50
+
51
+ **Note:** Version bump only for package @ui5/webcomponents-tools
52
+
53
+
54
+
55
+
56
+
57
+ ## [1.10.3](https://github.com/SAP/ui5-webcomponents/compare/v1.10.2...v1.10.3) (2023-01-25)
58
+
59
+ **Note:** Version bump only for package @ui5/webcomponents-tools
60
+
61
+
62
+
63
+
64
+
65
+ ## [1.10.2](https://github.com/SAP/ui5-webcomponents/compare/v1.10.1...v1.10.2) (2023-01-25)
66
+
67
+ **Note:** Version bump only for package ui5-webcomponents
68
+
69
+ ## [1.10.1](https://github.com/SAP/ui5-webcomponents/compare/v0.0.0-7b49a7ff1...v1.10.1) (2023-01-24)
70
+
71
+ **Note:** Version bump only for package @ui5/webcomponents-tools
72
+
73
+
74
+
75
+
76
+
77
+ # [1.10.0](https://github.com/SAP/ui5-webcomponents/compare/v1.9.3...v1.10.0) (2023-01-20)
78
+
79
+
80
+ ### Bug Fixes
81
+
82
+ * **infra:** set Content-Type header on testsuite ([#6108](https://github.com/SAP/ui5-webcomponents/issues/6108)) ([fae3f91](https://github.com/SAP/ui5-webcomponents/commit/fae3f91975ab1dad7135bea2227f61986eff403f))
83
+
84
+
85
+ ### Features
86
+
87
+ * enable TS in main, fiori ([#6064](https://github.com/SAP/ui5-webcomponents/issues/6064)) ([0b56130](https://github.com/SAP/ui5-webcomponents/commit/0b561307b93b8af465dc5bee67650069ee138f7f))
88
+ * migrate illustrated-message component to TS, small refactor ([#6195](https://github.com/SAP/ui5-webcomponents/issues/6195)) ([046c779](https://github.com/SAP/ui5-webcomponents/commit/046c779f654648172619dd720c0d90342ec78fb9))
89
+ * support decorators for custom elements metadata ([#6072](https://github.com/SAP/ui5-webcomponents/issues/6072)) ([fc9ee6e](https://github.com/SAP/ui5-webcomponents/commit/fc9ee6e2af10b4315fde072a50ab37efa180c809))
90
+ * **ui5-button, ui5-date-picker, ui5-calendar:** migrate to TS ([#6173](https://github.com/SAP/ui5-webcomponents/issues/6173)) ([7232ca0](https://github.com/SAP/ui5-webcomponents/commit/7232ca08f286c5dde10080373fb62247f1acf7b7)), closes [#6080](https://github.com/SAP/ui5-webcomponents/issues/6080)
91
+ * use Typescript for the `base` package ([#5982](https://github.com/SAP/ui5-webcomponents/issues/5982)) ([bd184d8](https://github.com/SAP/ui5-webcomponents/commit/bd184d81a4218328bc7bf04baf2bc1f69a361679))
92
+
93
+
94
+
95
+
96
+
97
+ ## [1.9.3](https://github.com/SAP/ui5-webcomponents/compare/v1.9.2...v1.9.3) (2022-12-16)
98
+
99
+ **Note:** Version bump only for package @ui5/webcomponents-tools
100
+
101
+
102
+
103
+
104
+
105
+ ## [1.9.1](https://github.com/SAP/ui5-webcomponents/compare/v1.9.0...v1.9.1) (2022-11-10)
106
+
107
+
108
+ ### Bug Fixes
109
+
110
+ * **framework:** fix paths for generating illustration imports in nps ([#5997](https://github.com/SAP/ui5-webcomponents/issues/5997)) ([e932f7d](https://github.com/SAP/ui5-webcomponents/commit/e932f7d069ebf10f73219bff7154558b7b0d849e))
111
+
112
+
113
+
114
+
115
+
116
+ # [1.9.0](https://github.com/SAP/ui5-webcomponents/compare/v1.8.0...v1.9.0) (2022-10-31)
117
+
118
+
119
+ ### Bug Fixes
120
+
121
+ * **framework:** fix contexts management in hbs-2-lit compiler ([#5958](https://github.com/SAP/ui5-webcomponents/issues/5958)) ([94d1619](https://github.com/SAP/ui5-webcomponents/commit/94d16199ed7dc79b21d99a0637533e93af54c90a)), closes [#4701](https://github.com/SAP/ui5-webcomponents/issues/4701)
122
+
123
+
124
+ ### Features
125
+
126
+ * **framework:** fetch illustrations on demand ([#5927](https://github.com/SAP/ui5-webcomponents/issues/5927)) ([f8e1033](https://github.com/SAP/ui5-webcomponents/commit/f8e1033643626261dcad8a38f65c325ba9aff99f))
127
+ * **framework:** generate custom elements manifest ([#5964](https://github.com/SAP/ui5-webcomponents/issues/5964)) ([0d62770](https://github.com/SAP/ui5-webcomponents/commit/0d62770cace54fd9aef73d9632dd06d8a83680e9))
128
+
129
+
130
+
131
+
132
+
133
+ # [1.8.0](https://github.com/SAP/ui5-webcomponents/compare/v1.7.1...v1.8.0) (2022-10-03)
134
+
135
+
136
+ ### Features
137
+
138
+ * **icons:** create type-definitions for icon imports ([#5753](https://github.com/SAP/ui5-webcomponents/issues/5753)) ([2de4a04](https://github.com/SAP/ui5-webcomponents/commit/2de4a045f56e2f166d3e846ff11e6f9d76e98009)), closes [#5747](https://github.com/SAP/ui5-webcomponents/issues/5747) [#5335](https://github.com/SAP/ui5-webcomponents/issues/5335)
139
+ * **main:** add support for custom SVG icons ([#5865](https://github.com/SAP/ui5-webcomponents/issues/5865)) ([d8b7200](https://github.com/SAP/ui5-webcomponents/commit/d8b7200f30c16d94b7f15ddbdf9808d8efbaa38c))
140
+
141
+
142
+
143
+
144
+
145
+ ## [1.7.1](https://github.com/SAP/ui5-webcomponents/compare/v1.7.0...v1.7.1) (2022-09-08)
146
+
147
+ **Note:** Version bump only for package @ui5/webcomponents-tools
148
+
149
+
150
+
151
+
152
+
153
+ # [1.7.0](https://github.com/SAP/ui5-webcomponents/compare/v1.6.0...v1.7.0) (2022-09-02)
154
+
155
+ **Note:** Version bump only for package @ui5/webcomponents-tools
156
+
157
+
158
+
159
+
160
+
161
+ # [1.6.0](https://github.com/SAP/ui5-webcomponents/compare/v1.5.0...v1.6.0) (2022-07-25)
162
+
163
+
164
+ ### Bug Fixes
165
+
166
+ * **MultoComboBox:** fix component scoping ([#5553](https://github.com/SAP/ui5-webcomponents/issues/5553)) ([9c26e8e](https://github.com/SAP/ui5-webcomponents/commit/9c26e8e)), closes [#5521](https://github.com/SAP/ui5-webcomponents/issues/5521)
167
+
168
+
169
+
170
+
171
+
172
+ # [1.5.0](https://github.com/SAP/ui5-webcomponents/compare/v1.4.0...v1.5.0) (2022-07-03)
173
+
174
+ **Note:** Version bump only for package @ui5/webcomponents-tools
175
+
176
+
177
+
178
+
179
+
180
+ # [1.4.0](https://github.com/SAP/ui5-webcomponents/compare/v1.3.1...v1.4.0) (2022-05-25)
181
+
182
+
183
+ ### Features
184
+
185
+ **Note:** Version bump only for package @ui5/webcomponents-icons-tnt
186
+
187
+
188
+
189
+
190
+
191
+ ## [1.3.1](https://github.com/SAP/ui5-webcomponents/compare/v1.3.0...v1.3.1) (2022-04-27)
192
+
193
+ **Note:** Version bump only for package @ui5/webcomponents-tools
194
+
195
+
196
+
197
+
198
+
199
+ # [1.3.0](https://github.com/SAP/ui5-webcomponents/compare/v1.2.4...v1.3.0) (2022-04-19)
200
+
201
+
202
+ ### Bug Fixes
203
+
204
+ * **localization:** fix js error if "sh" locale set ([#4905](https://github.com/SAP/ui5-webcomponents/issues/4905)) ([979bca2](https://github.com/SAP/ui5-webcomponents/commit/979bca2)), closes [#4904](https://github.com/SAP/ui5-webcomponents/issues/4904)
205
+
206
+
207
+
208
+
209
+
210
+ ## [1.2.4](https://github.com/SAP/ui5-webcomponents/compare/v1.2.3...v1.2.4) (2022-03-30)
211
+
212
+ **Note:** Version bump only for package @ui5/webcomponents-tools
213
+
214
+
215
+
216
+
217
+
218
+ ## [1.2.3](https://github.com/SAP/ui5-webcomponents/compare/v1.2.2...v1.2.3) (2022-03-23)
219
+
220
+ **Note:** Version bump only for package @ui5/webcomponents-tools
221
+
222
+
223
+
224
+
225
+
226
+ ## [1.2.2](https://github.com/SAP/ui5-webcomponents/compare/v1.2.1...v1.2.2) (2022-03-22)
227
+
228
+
229
+ **Note:** Version bump only for package @ui5/webcomponents-tools
230
+
231
+
232
+
233
+
234
+
235
+ ## [1.2.1](https://github.com/SAP/ui5-webcomponents/compare/v1.2.0...v1.2.1) (2022-03-02)
236
+
237
+ **Note:** Version bump only for package @ui5/webcomponents-tools
238
+
239
+
240
+
241
+
242
+
243
+ # [1.2.0](https://github.com/SAP/ui5-webcomponents/compare/v1.1.2...v1.2.0) (2022-02-28)
244
+
245
+
246
+ ### Bug Fixes
247
+
248
+ * correct scoping issues with several components ([#4820](https://github.com/SAP/ui5-webcomponents/issues/4820)) ([621dc20](https://github.com/SAP/ui5-webcomponents/commit/621dc20))
249
+ * display methods in child components API ([#4792](https://github.com/SAP/ui5-webcomponents/issues/4792)) ([1929d08](https://github.com/SAP/ui5-webcomponents/commit/1929d08))
250
+
251
+
252
+ ### Features
253
+
254
+ * **jsdoc:** remove attr name for Object props ([#4680](https://github.com/SAP/ui5-webcomponents/issues/4680)) ([1741bd6](https://github.com/SAP/ui5-webcomponents/commit/1741bd6)), closes [#4674](https://github.com/SAP/ui5-webcomponents/issues/4674)
255
+
256
+
257
+
258
+
259
+
260
+ ## [1.1.2](https://github.com/SAP/ui5-webcomponents/compare/v1.1.1...v1.1.2) (2022-01-26)
261
+
262
+ **Note:** Version bump only for package @ui5/webcomponents-tools
263
+
264
+
265
+
266
+
267
+
268
+ ## [1.1.1](https://github.com/SAP/ui5-webcomponents/compare/v1.1.0...v1.1.1) (2022-01-24)
269
+
270
+ **Note:** Version bump only for package @ui5/webcomponents-tools
271
+
272
+
273
+
274
+
275
+
276
+ # [1.1.0](https://github.com/SAP/ui5-webcomponents/compare/v1.0.2...v1.1.0) (2022-01-21)
277
+
278
+
279
+ **Note:** Version bump only for package @ui5/webcomponents-tools
280
+
281
+
282
+
283
+
284
+
285
+ ## [1.0.2](https://github.com/SAP/ui5-webcomponents/compare/v1.0.1...v1.0.2) (2021-11-29)
286
+
287
+ **Note:** Version bump only for package @ui5/webcomponents-tools
288
+
289
+
290
+
291
+
292
+
293
+ ## [1.0.1](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0...v1.0.1) (2021-11-10)
294
+
295
+ **Note:** Version bump only for package @ui5/webcomponents-tools
296
+
297
+
298
+
299
+
300
+
301
+ # [1.0.0](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.16...v1.0.0) (2021-11-10)
302
+
303
+
304
+ **Note:** Version bump only for package @ui5/webcomponents-tools
305
+
306
+
307
+ # [1.0.0-rc.16](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.15...v1.0.0-rc.16) (2021-11-09)
308
+
309
+
310
+
311
+ ### Features
312
+
313
+ * **tools:** create an npm init script ([#4090](https://github.com/SAP/ui5-webcomponents/issues/4090)) ([5608e04](https://github.com/SAP/ui5-webcomponents/commit/5608e04))
314
+
315
+
316
+
317
+ # [1.0.0-rc.15](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.14...v1.0.0-rc.15) (2021-07-23)
318
+
319
+
320
+ ### Bug Fixes
321
+
322
+ * **tools:** fix build error on MacOS 11 from rollup-plugin-terser ([#3347](https://github.com/SAP/ui5-webcomponents/issues/3347)) ([59892c4](https://github.com/SAP/ui5-webcomponents/commit/59892c4)), closes [#2515](https://github.com/SAP/ui5-webcomponents/issues/2515)
323
+
324
+
325
+
326
+
327
+
328
+
329
+ # [1.0.0-rc.14](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.13...v1.0.0-rc.14) (2021-04-01)
330
+
331
+
332
+
333
+
334
+ # [1.0.0-rc.13](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.12...v1.0.0-rc.13) (2021-03-26)
335
+
336
+
337
+ **Note:** Version bump only for package @ui5/webcomponents-tools
338
+
339
+
340
+
341
+
342
+
343
+ # [1.0.0-rc.12](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.11...v1.0.0-rc.12) (2021-02-18)
344
+
345
+ **Note:** Version bump only for package @ui5/webcomponents-tools
346
+
347
+
348
+
349
+
350
+ # [1.0.0-rc.11](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.10...v1.0.0-rc.11) (2020-12-21)
351
+
352
+
353
+ ### Bug Fixes
354
+
355
+ * build error on MacOS 11 from rollup-plugin-terser ([#2515](https://github.com/SAP/ui5-webcomponents/issues/2515)) ([0629fac](https://github.com/SAP/ui5-webcomponents/commit/0629fac))
356
+
357
+
358
+
359
+
360
+
361
+ # [1.0.0-rc.10](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.9...v1.0.0-rc.10) (2020-11-12)
362
+
363
+
364
+
365
+ # [1.0.0-rc.9](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.8...v1.0.0-rc.9) (2020-10-08)
366
+
367
+
368
+ ### Features
369
+
370
+ * **framework:** dynamic custom elements scoping ([#2091](https://github.com/SAP/ui5-webcomponents/issues/2091)) ([3588542](https://github.com/SAP/ui5-webcomponents/commit/3588542))
371
+ * **framework:** make assets path configurable ([#2214](https://github.com/SAP/ui5-webcomponents/issues/2214)) ([16c46da](https://github.com/SAP/ui5-webcomponents/commit/16c46da))
372
+ * **tools:** ES5 build supports dynamic imports (inlined) ([#2063](https://github.com/SAP/ui5-webcomponents/issues/2063)) ([3fe5cac](https://github.com/SAP/ui5-webcomponents/commit/3fe5cac))
373
+ * **tools:** process HBS files in nested directories ([#2067](https://github.com/SAP/ui5-webcomponents/issues/2067)) ([13f1d2a](https://github.com/SAP/ui5-webcomponents/commit/13f1d2a)), closes [#2065](https://github.com/SAP/ui5-webcomponents/issues/2065)
374
+
375
+
376
+
377
+
378
+
379
+ # [1.0.0-rc.8](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.7...v1.0.0-rc.8) (2020-07-30)
380
+
381
+
382
+ ### Bug Fixes
383
+
384
+ * **tools:** Remove white spaces from hbs parser ([#1613](https://github.com/SAP/ui5-webcomponents/issues/1613)) ([ec5a9cf](https://github.com/SAP/ui5-webcomponents/commit/ec5a9cf))
385
+ * **tools:** Strip whitespaces around < and > ([#1623](https://github.com/SAP/ui5-webcomponents/issues/1623)) ([0fcda38](https://github.com/SAP/ui5-webcomponents/commit/0fcda38))
386
+ * **tools:** Enables 3 or more levels of inheritance with templates ([#1593](https://github.com/SAP/ui5-webcomponents/issues/1593)) ([2a426dd](https://github.com/SAP/ui5-webcomponents/commit/2a426dd))
387
+ * **tools:** Building third-party packages no longer fails ([#1994](https://github.com/SAP/ui5-webcomponents/issues/1994)) ([07aebfa](https://github.com/SAP/ui5-webcomponents/commit/07aebfa))
388
+ * **tools:** Polyfill copied correctly in all scenarios ([#1783](https://github.com/SAP/ui5-webcomponents/issues/1783)) ([a04f483](https://github.com/SAP/ui5-webcomponents/commit/a04f483))
389
+
390
+
391
+ ### Features
392
+
393
+ * **tools:** Add more commands to package.json ([#1908](https://github.com/SAP/ui5-webcomponents/issues/1908)) ([b0551b3](https://github.com/SAP/ui5-webcomponents/commit/b0551b3))
394
+ * **tools:** Templates can be imported from node_modules/ ([#1860](https://github.com/SAP/ui5-webcomponents/issues/1860)) ([6fa5847](https://github.com/SAP/ui5-webcomponents/commit/6fa5847))
395
+
396
+
397
+
398
+
399
+ # [1.0.0-rc.7](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.6...v1.0.0-rc.7) (2020-04-30)
400
+
401
+
402
+ ### Bug Fixes
403
+
404
+ * **build:** escape quotes in translation texts ([#1511](https://github.com/SAP/ui5-webcomponents/issues/1511)) ([ee7f300](https://github.com/SAP/ui5-webcomponents/commit/ee7f300))
405
+
406
+
407
+
408
+
409
+ # [1.0.0-rc.6](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.5...v1.0.0-rc.6) (2020-03-27)
410
+
411
+
412
+ ### Features
413
+
414
+ * **tools:** create an init package script ([#1010](https://github.com/SAP/ui5-webcomponents/issues/1010)) ([d93ab87](https://github.com/SAP/ui5-webcomponents/commit/d93ab87))
415
+
416
+ * **tools:** add docs to create-ui5-script ([#987](https://github.com/SAP/ui5-webcomponents/issues/987)) ([f0f5ec5](https://github.com/SAP/ui5-webcomponents/commit/f0f5ec5))
417
+
418
+
419
+
420
+
421
+
422
+
6
423
  # [1.0.0-rc.5](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.4...v1.0.0-rc.5) (2019-12-02)
7
424
 
8
425
 
9
426
  ### Bug Fixes
10
427
 
11
- * **JS Doc** show correct since version in the playground ([#983](https://github.com/SAP/ui5-webcomponents/issues/983)) ([3051d76](https://github.com/SAP/ui5-webcomponents/commit/3051d76))
428
+ * **JS Doc** show correct since version in the playground ([#983](https://github.com/SAP/ui5-webcomponents/issues/983)) ([3051d76](https://github.com/SAP/ui5-webcomponents/commit/3051d76))
package/README.md CHANGED
@@ -1,24 +1,23 @@
1
- ![UI5 icon](https://raw.githubusercontent.com/SAP/ui5-webcomponents/master/docs/images/UI5_logo_wide.png)
1
+ ![UI5 icon](https://raw.githubusercontent.com/SAP/ui5-webcomponents/main/docs/images/UI5_logo_wide.png)
2
2
 
3
3
  # UI5 Web Components - Tools
4
4
 
5
- [![Travis CI Build Status](https://travis-ci.org/SAP/ui5-webcomponents.svg?branch=master)](https://travis-ci.org/SAP/ui5-webcomponents)
6
5
  [![npm Package Version](https://badge.fury.io/js/%40ui5%2Fwebcomponents.svg)](https://www.npmjs.com/package/@ui5/webcomponents)
7
6
 
8
7
  Provides libraries, configuration files and build artifacts,
9
8
  used by other UI5 Web Components packages, such as `main` and `fiori`.
10
9
 
11
10
  ## Resources
12
- - [UI5 Web Components - README.md](https://github.com/SAP/ui5-webcomponents/blob/master/README.md)
11
+ - [UI5 Web Components - README.md](https://github.com/SAP/ui5-webcomponents/blob/main/README.md)
13
12
  - [UI5 Web Components - Home Page](https://sap.github.io/ui5-webcomponents)
14
13
  - [UI5 Web Components - Playground and API Reference](https://sap.github.io/ui5-webcomponents/playground/)
15
14
 
16
15
  ## Support
17
- We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/SUPPORT.md#-content) on how to report an issue, or chat with us in the `#webcomponents` channel of the [OpenUI5 Community Slack](https://join-ui5-slack.herokuapp.com/).
16
+ We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/main/SUPPORT.md#-content) on how to report an issue, or chat with us in the `#webcomponents` channel of the [OpenUI5 Community Slack](https://join-ui5-slack.herokuapp.com/).
18
17
 
19
18
  ## Contribute
20
- Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/CONTRIBUTING.md).
19
+ Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/main/docs/6-contributing/02-conventions-and-guidelines.md).
21
20
 
22
21
  ## License
23
22
  Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
24
- This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/ui5-webcomponents/blob/master/LICENSE.txt) file.
23
+ This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/ui5-webcomponents/blob/main/LICENSE.txt) file.
package/assets-meta.js ADDED
@@ -0,0 +1,153 @@
1
+ const assetsMeta = {
2
+ "themes": {
3
+ "default": "sap_fiori_3",
4
+ "all": [
5
+ "sap_fiori_3",
6
+ "sap_fiori_3_dark",
7
+ "sap_belize",
8
+ "sap_belize_hcb",
9
+ "sap_belize_hcw",
10
+ "sap_fiori_3_hcb",
11
+ "sap_fiori_3_hcw",
12
+ "sap_horizon",
13
+ "sap_horizon_dark",
14
+ "sap_horizon_hcb",
15
+ "sap_horizon_hcw",
16
+ "sap_horizon_exp"
17
+ ]
18
+ },
19
+ "languages": {
20
+ "default": "en",
21
+ "all": [
22
+ "ar",
23
+ "bg",
24
+ "ca",
25
+ "cs",
26
+ "cy",
27
+ "da",
28
+ "de",
29
+ "el",
30
+ "en",
31
+ "en_GB",
32
+ "en_US_sappsd",
33
+ "en_US_saprigi",
34
+ "en_US_saptrc",
35
+ "es",
36
+ "es_MX",
37
+ "et",
38
+ "fi",
39
+ "fr",
40
+ "fr_CA",
41
+ "hi",
42
+ "hr",
43
+ "hu",
44
+ "in",
45
+ "it",
46
+ "iw",
47
+ "ja",
48
+ "kk",
49
+ "ko",
50
+ "lt",
51
+ "lv",
52
+ "ms",
53
+ "nl",
54
+ "no",
55
+ "pl",
56
+ "pt_PT",
57
+ "pt",
58
+ "ro",
59
+ "ru",
60
+ "sh",
61
+ "sk",
62
+ "sl",
63
+ "sv",
64
+ "th",
65
+ "tr",
66
+ "uk",
67
+ "vi",
68
+ "zh_CN",
69
+ "zh_TW"
70
+ ]
71
+ },
72
+ "locales": {
73
+ "default": "en",
74
+ "all": [
75
+ "ar",
76
+ "ar_EG",
77
+ "ar_SA",
78
+ "bg",
79
+ "ca",
80
+ "cs",
81
+ "da",
82
+ "de",
83
+ "de_AT",
84
+ "de_CH",
85
+ "el",
86
+ "el_CY",
87
+ "en",
88
+ "en_AU",
89
+ "en_GB",
90
+ "en_HK",
91
+ "en_IE",
92
+ "en_IN",
93
+ "en_NZ",
94
+ "en_PG",
95
+ "en_SG",
96
+ "en_ZA",
97
+ "es",
98
+ "es_AR",
99
+ "es_BO",
100
+ "es_CL",
101
+ "es_CO",
102
+ "es_MX",
103
+ "es_PE",
104
+ "es_UY",
105
+ "es_VE",
106
+ "et",
107
+ "fa",
108
+ "fi",
109
+ "fr",
110
+ "fr_BE",
111
+ "fr_CA",
112
+ "fr_CH",
113
+ "fr_LU",
114
+ "he",
115
+ "hi",
116
+ "hr",
117
+ "hu",
118
+ "id",
119
+ "it",
120
+ "it_CH",
121
+ "ja",
122
+ "kk",
123
+ "ko",
124
+ "lt",
125
+ "lv",
126
+ "ms",
127
+ "nb",
128
+ "nl",
129
+ "nl_BE",
130
+ "pl",
131
+ "pt",
132
+ "pt_PT",
133
+ "ro",
134
+ "ru",
135
+ "ru_UA",
136
+ "sk",
137
+ "sl",
138
+ "sr",
139
+ "sr_Latn",
140
+ "sv",
141
+ "th",
142
+ "tr",
143
+ "uk",
144
+ "vi",
145
+ "zh_CN",
146
+ "zh_HK",
147
+ "zh_SG",
148
+ "zh_TW"
149
+ ]
150
+ }
151
+ };
152
+
153
+ module.exports = assetsMeta;
package/bin/dev.js CHANGED
@@ -2,4 +2,15 @@
2
2
 
3
3
  const child_process = require("child_process");
4
4
 
5
- child_process.execSync(`npx nps ${process.argv[2]}`, {stdio: 'inherit'});
5
+ let command = process.argv[2];
6
+ const argument = process.argv[3];
7
+
8
+ if (command === "watch") {
9
+ if (["src", "test", "bundles", "styles", "templates", "samples"].includes(argument)) {
10
+ command = `watch.${argument}`;
11
+ }
12
+ } else if (command === "test") {
13
+ command = `test ${process.argv.slice(3).join(" ")}`;
14
+ }
15
+
16
+ child_process.execSync(`npx nps "${command}"`, {stdio: 'inherit'});
@@ -5,6 +5,34 @@ module.exports = {
5
5
  },
6
6
  "root": true,
7
7
  "extends": "airbnb-base",
8
+ overrides: [{
9
+ files: ["*.ts"],
10
+ parser: "@typescript-eslint/parser",
11
+ plugins: ["@typescript-eslint"],
12
+ extends: [
13
+ "plugin:@typescript-eslint/recommended",
14
+ "plugin:@typescript-eslint/recommended-requiring-type-checking"
15
+ ],
16
+ parserOptions: {
17
+ "project": ["./tsconfig.json", "./packages/*/tsconfig.json"],
18
+ },
19
+ /**
20
+ * Typescript Rules
21
+ */
22
+ rules: {
23
+ "no-shadow": "off",
24
+ "@typescript-eslint/no-shadow": ["error"],
25
+ "@typescript-eslint/no-unsafe-member-access": "off",
26
+ "@typescript-eslint/no-floating-promises": "off",
27
+ "@typescript-eslint/no-explicit-any": "off",
28
+ "@typescript-eslint/no-unsafe-assignment": "off",
29
+ "@typescript-eslint/ban-ts-comment": "off",
30
+ "@typescript-eslint/no-unsafe-call": "off",
31
+ "@typescript-eslint/no-non-null-assertion": "off",
32
+ "@typescript-eslint/no-empty-function": "off",
33
+ "lines-between-class-members": "off",
34
+ }
35
+ }],
8
36
  "parserOptions": {
9
37
  "ecmaVersion": 2018,
10
38
  "sourceType": "module"