generator-easy-ui5 3.5.0 → 3.5.2
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 +25 -134
- package/README.md +7 -3
- package/generators/app/index.js +676 -628
- package/package.json +27 -20
- package/generators/app/postinstall.js +0 -155
package/CHANGELOG.md
CHANGED
|
@@ -1,271 +1,162 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
## [3.5.1](https://github.com/SAP/generator-easy-ui5/compare/v3.2.0...v3.5.1) (2022-09-10)
|
|
3
2
|
|
|
4
3
|
### Bug Fixes
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
* **postinstall:** avoid non-existing node_modules ([#98](https://github.com/SAP/generator-easy-ui5/issues/98)) ([f93c7c9](https://github.com/SAP/generator-easy-ui5/commit/f93c7c99b9e5df7af801a085afe72be85e462007))
|
|
8
|
-
* usage of proper gh org for logging and download ([#94](https://github.com/SAP/generator-easy-ui5/issues/94)) ([a88d4db](https://github.com/SAP/generator-easy-ui5/commit/a88d4dbb0a1f5ed3cf60f7ed0297c651222a83fb))
|
|
9
|
-
* use the org name of the selected generator for downloading the corresponding repo ([d9ca4dc](https://github.com/SAP/generator-easy-ui5/commit/d9ca4dc3170e0507199799d2e14db327cba4d871))
|
|
5
|
+
- enable for Yeoman UI usage ([03c2e38](https://github.com/SAP/generator-easy-ui5/commit/03c2e38af4eebe108d6076710b74d8aaf7c31d8d))
|
|
10
6
|
|
|
7
|
+
## [3.5.0](https://github.com/SAP/generator-easy-ui5/compare/v3.2.0...v3.5.0) (2022-07-26)
|
|
11
8
|
|
|
12
|
-
###
|
|
9
|
+
### Bug Fixes
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
- **postinstall:** allow usage of NPM config for ghAuthToken to avoid rate limit ([#104](https://github.com/SAP/generator-easy-ui5/issues/104)) ([371d7fb](https://github.com/SAP/generator-easy-ui5/commit/371d7fbc82b8a59cef896197b99239b505b3cd90)), closes [#100](https://github.com/SAP/generator-easy-ui5/issues/100)
|
|
12
|
+
- **postinstall:** avoid non-existing node_modules ([#98](https://github.com/SAP/generator-easy-ui5/issues/98)) ([f93c7c9](https://github.com/SAP/generator-easy-ui5/commit/f93c7c99b9e5df7af801a085afe72be85e462007))
|
|
13
|
+
- usage of proper gh org for logging and download ([#94](https://github.com/SAP/generator-easy-ui5/issues/94)) ([a88d4db](https://github.com/SAP/generator-easy-ui5/commit/a88d4dbb0a1f5ed3cf60f7ed0297c651222a83fb))
|
|
14
|
+
- use the org name of the selected generator for downloading the corresponding repo ([d9ca4dc](https://github.com/SAP/generator-easy-ui5/commit/d9ca4dc3170e0507199799d2e14db327cba4d871))
|
|
16
15
|
|
|
16
|
+
### Features
|
|
17
17
|
|
|
18
|
+
- allow ghAuthToken as NPM configuration ([#103](https://github.com/SAP/generator-easy-ui5/issues/103)) ([5e3d928](https://github.com/SAP/generator-easy-ui5/commit/5e3d92807e881d0ade80251bc8cc1bdde85142be))
|
|
19
|
+
- allow to run easy-ui5 embedded ([#99](https://github.com/SAP/generator-easy-ui5/issues/99)) ([f4952c4](https://github.com/SAP/generator-easy-ui5/commit/f4952c442c9563a51c48b8edc25843f097fce4c4))
|
|
20
|
+
- offline support, generator from repo, bestofui5 test ([#110](https://github.com/SAP/generator-easy-ui5/issues/110)) ([70e9012](https://github.com/SAP/generator-easy-ui5/commit/70e9012d85bee0c2ac2dadfe3ca9cac3d297ce84))
|
|
18
21
|
|
|
19
22
|
# [3.2.0](https://github.com/SAP/generator-easy-ui5/compare/v3.1.5...v3.2.0) (2022-02-03)
|
|
20
23
|
|
|
21
|
-
|
|
22
24
|
### Bug Fixes
|
|
23
25
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
- freeze version of colors.js in package.json ([#85](https://github.com/SAP/generator-easy-ui5/issues/85)) ([6b497b6](https://github.com/SAP/generator-easy-ui5/commit/6b497b6c05748b8f67617c6399a11f8e8d850d48))
|
|
27
|
+
- use homedir for plugin-generators avoid EACCESS ([e326676](https://github.com/SAP/generator-easy-ui5/commit/e326676458f439f9ac01498381059229a897fa61)), closes [#84](https://github.com/SAP/generator-easy-ui5/issues/84)
|
|
27
28
|
|
|
28
29
|
### Features
|
|
29
30
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
- Add support for user repositories ([6b7efa6](https://github.com/SAP/generator-easy-ui5/commit/6b7efa63414c31d76a53ee1b069557c527077f39))
|
|
32
|
+
- support additional GH org via NPM config ([0d33197](https://github.com/SAP/generator-easy-ui5/commit/0d33197098e010858d1ea7a0e4b172d5d6a5aa22))
|
|
34
33
|
|
|
35
34
|
## [3.1.5](https://github.com/SAP/generator-easy-ui5/compare/v3.1.4...v3.1.5) (2022-01-10)
|
|
36
35
|
|
|
37
|
-
|
|
38
36
|
### Bug Fixes
|
|
39
37
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
- re-enable sub-generator update check ([c464bd1](https://github.com/SAP/generator-easy-ui5/commit/c464bd11d2cf32006fd7f42ea8f15a736cb10271))
|
|
43
39
|
|
|
44
40
|
## [3.1.4](https://github.com/SAP/generator-easy-ui5/compare/v3.1.3...v3.1.4) (2021-12-07)
|
|
45
41
|
|
|
46
|
-
|
|
47
42
|
### Bug Fixes
|
|
48
43
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
44
|
+
- disable autoinstall of Yeoman 5.x ([de6fcaf](https://github.com/SAP/generator-easy-ui5/commit/de6fcafd164734a9e3fbbab599b7376a49fffe89))
|
|
52
45
|
|
|
53
46
|
## [3.1.3](https://github.com/SAP/generator-easy-ui5/compare/v3.1.2...v3.1.3) (2021-11-25)
|
|
54
47
|
|
|
55
|
-
|
|
56
|
-
|
|
57
48
|
## [3.1.2](https://github.com/SAP/generator-easy-ui5/compare/v3.1.1...v3.1.2) (2021-11-23)
|
|
58
49
|
|
|
59
|
-
|
|
60
|
-
|
|
61
50
|
## [3.1.1](https://github.com/SAP/generator-easy-ui5/compare/v3.1.0...v3.1.1) (2021-11-23)
|
|
62
51
|
|
|
63
|
-
|
|
64
|
-
|
|
65
52
|
# [3.1.0](https://github.com/SAP/generator-easy-ui5/compare/v3.0.3...v3.1.0) (2021-11-23)
|
|
66
53
|
|
|
67
|
-
|
|
68
|
-
|
|
69
54
|
## [3.0.3](https://github.com/SAP/generator-easy-ui5/compare/v3.0.2...v3.0.3) (2021-11-15)
|
|
70
55
|
|
|
71
|
-
|
|
72
|
-
|
|
73
56
|
## [3.0.2](https://github.com/SAP/generator-easy-ui5/compare/v3.0.1...v3.0.2) (2021-11-15)
|
|
74
57
|
|
|
75
|
-
|
|
76
|
-
|
|
77
58
|
## [3.0.1](https://github.com/SAP/generator-easy-ui5/compare/v2.4.6...v3.0.1) (2021-05-10)
|
|
78
59
|
|
|
79
|
-
|
|
80
|
-
|
|
81
60
|
## [2.4.6](https://github.com/SAP/generator-easy-ui5/compare/2.4.6...v2.4.6) (2021-02-10)
|
|
82
61
|
|
|
83
|
-
|
|
84
62
|
### Bug Fixes
|
|
85
63
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
64
|
+
- uiveri5 reporters ([f2e2d6d](https://github.com/SAP/generator-easy-ui5/commit/f2e2d6dae71dc580ee0d15c42baafe06ae983d4e))
|
|
89
65
|
|
|
90
66
|
## [2.4.5](https://github.com/SAP/generator-easy-ui5/compare/2.4.5...v2.4.5) (2021-01-29)
|
|
91
67
|
|
|
92
|
-
|
|
93
68
|
### Bug Fixes
|
|
94
69
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
70
|
+
- opa test namespace and folder ([fb166b7](https://github.com/SAP/generator-easy-ui5/commit/fb166b7df06b7cd465366726ed484890ad389d96))
|
|
98
71
|
|
|
99
72
|
## [2.4.4](https://github.com/SAP/generator-easy-ui5/compare/2.4.4...v2.4.4) (2021-01-25)
|
|
100
73
|
|
|
101
|
-
|
|
102
|
-
|
|
103
74
|
## [2.4.3](https://github.com/SAP/generator-easy-ui5/compare/2.4.3...v2.4.3) (2021-01-08)
|
|
104
75
|
|
|
105
|
-
|
|
106
|
-
|
|
107
76
|
## [2.4.2](https://github.com/SAP/generator-easy-ui5/compare/2.4.2...v2.4.2) (2020-12-18)
|
|
108
77
|
|
|
109
|
-
|
|
110
|
-
|
|
111
78
|
## [2.4.1](https://github.com/SAP/generator-easy-ui5/compare/v2.4.0...v2.4.1) (2020-12-18)
|
|
112
79
|
|
|
113
|
-
|
|
114
|
-
|
|
115
80
|
# [2.4.0](https://github.com/SAP/generator-easy-ui5/compare/v2.3.0...v2.4.0) (2020-12-10)
|
|
116
81
|
|
|
117
|
-
|
|
118
82
|
### Features
|
|
119
83
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
84
|
+
- add wdi5 as test framework ([e63ce2e](https://github.com/SAP/generator-easy-ui5/commit/e63ce2eb2ed9cc23840cb303d01fc4e7d23f2c11))
|
|
123
85
|
|
|
124
86
|
# [2.3.0](https://github.com/SAP/generator-easy-ui5/compare/v2.2.4...v2.3.0) (2020-11-25)
|
|
125
87
|
|
|
126
|
-
|
|
127
|
-
|
|
128
88
|
## [2.2.4](https://github.com/SAP/generator-easy-ui5/compare/v2.2.3...v2.2.4) (2020-11-10)
|
|
129
89
|
|
|
130
|
-
|
|
131
|
-
|
|
132
90
|
## [2.2.3](https://github.com/SAP/generator-easy-ui5/compare/v2.2.2...v2.2.3) (2020-11-05)
|
|
133
91
|
|
|
134
|
-
|
|
135
|
-
|
|
136
92
|
## [2.2.2](https://github.com/SAP/generator-easy-ui5/compare/v2.2.1...v2.2.2) (2020-10-28)
|
|
137
93
|
|
|
138
|
-
|
|
139
|
-
|
|
140
94
|
## [2.2.1](https://github.com/SAP/generator-easy-ui5/compare/v2.2.0...v2.2.1) (2020-10-23)
|
|
141
95
|
|
|
142
|
-
|
|
143
|
-
|
|
144
96
|
# [2.2.0](https://github.com/SAP/generator-easy-ui5/compare/v2.1.7...v2.2.0) (2020-10-16)
|
|
145
97
|
|
|
146
|
-
|
|
147
|
-
|
|
148
98
|
## [2.1.7](https://github.com/SAP/generator-easy-ui5/compare/v2.1.6...v2.1.7) (2020-09-10)
|
|
149
99
|
|
|
150
|
-
|
|
151
|
-
|
|
152
100
|
## [2.1.6](https://github.com/SAP/generator-easy-ui5/compare/v2.1.5...v2.1.6) (2020-08-24)
|
|
153
101
|
|
|
154
|
-
|
|
155
|
-
|
|
156
102
|
## [2.1.5](https://github.com/SAP/generator-easy-ui5/compare/v2.1.4...v2.1.5) (2020-08-24)
|
|
157
103
|
|
|
158
|
-
|
|
159
|
-
|
|
160
104
|
## [2.1.4](https://github.com/SAP/generator-easy-ui5/compare/v2.1.3...v2.1.4) (2020-08-06)
|
|
161
105
|
|
|
162
|
-
|
|
163
|
-
|
|
164
106
|
## [2.1.3](https://github.com/SAP/generator-easy-ui5/compare/v2.1.2...v2.1.3) (2020-08-03)
|
|
165
107
|
|
|
166
|
-
|
|
167
|
-
|
|
168
108
|
## [2.1.2](https://github.com/SAP/generator-easy-ui5/compare/v2.1.1...v2.1.2) (2020-06-29)
|
|
169
109
|
|
|
170
|
-
|
|
171
|
-
|
|
172
110
|
## [2.1.1](https://github.com/SAP/generator-easy-ui5/compare/v2.1.0...v2.1.1) (2020-06-18)
|
|
173
111
|
|
|
174
|
-
|
|
175
|
-
|
|
176
112
|
# [2.1.0](https://github.com/SAP/generator-easy-ui5/compare/v2.0.1...v2.1.0) (2020-06-15)
|
|
177
113
|
|
|
178
|
-
|
|
179
|
-
|
|
180
114
|
## [2.0.1](https://github.com/SAP/generator-easy-ui5/compare/v2.0.0...v2.0.1) (2020-06-09)
|
|
181
115
|
|
|
182
|
-
|
|
183
|
-
|
|
184
116
|
# [2.0.0](https://github.com/SAP/generator-easy-ui5/compare/v1.3.7...v2.0.0) (2020-06-08)
|
|
185
117
|
|
|
186
|
-
|
|
187
|
-
|
|
188
118
|
## [1.3.7](https://github.com/SAP/generator-easy-ui5/compare/v1.3.6...v1.3.7) (2020-05-06)
|
|
189
119
|
|
|
190
|
-
|
|
191
|
-
|
|
192
120
|
## [1.3.6](https://github.com/SAP/generator-easy-ui5/compare/v1.3.5...v1.3.6) (2020-05-06)
|
|
193
121
|
|
|
194
|
-
|
|
195
|
-
|
|
196
122
|
## [1.3.5](https://github.com/SAP/generator-easy-ui5/compare/v1.3.4...v1.3.5) (2020-04-30)
|
|
197
123
|
|
|
198
|
-
|
|
199
|
-
|
|
200
124
|
## [1.3.4](https://github.com/SAP/generator-easy-ui5/compare/v1.3.3...v1.3.4) (2020-04-29)
|
|
201
125
|
|
|
202
|
-
|
|
203
|
-
|
|
204
126
|
## [1.3.3](https://github.com/SAP/generator-easy-ui5/compare/v1.3.2...v1.3.3) (2020-04-14)
|
|
205
127
|
|
|
206
|
-
|
|
207
|
-
|
|
208
128
|
## [1.3.2](https://github.com/SAP/generator-easy-ui5/compare/v1.3.1...v1.3.2) (2020-04-02)
|
|
209
129
|
|
|
210
|
-
|
|
211
130
|
### Bug Fixes
|
|
212
131
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
132
|
+
- **app:** Fix lint errors ([c4df165](https://github.com/SAP/generator-easy-ui5/commit/c4df165e35b319aedfc932ac37d2593c0fa5e526))
|
|
133
|
+
- **formatter:** Fix formatter ([4f637c8](https://github.com/SAP/generator-easy-ui5/commit/4f637c81e2a916a0067d36f8d214a447a7a62212))
|
|
216
134
|
|
|
217
135
|
### Features
|
|
218
136
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
137
|
+
- **BaseController:** Adding the BaseController and formatter ([e51a66b](https://github.com/SAP/generator-easy-ui5/commit/e51a66bfcd8dea90fd27c7684264e1202bde3e47))
|
|
138
|
+
- **BaseController:** Fix lint and activate install again after creation ([8697b1b](https://github.com/SAP/generator-easy-ui5/commit/8697b1bdbcc3f82bb8eb5f0e9e750b37f0d44d8f))
|
|
223
139
|
|
|
224
140
|
## [1.3.1](https://github.com/SAP/generator-easy-ui5/compare/v1.3.0...v1.3.1) (2020-03-20)
|
|
225
141
|
|
|
226
|
-
|
|
227
|
-
|
|
228
142
|
# [1.3.0](https://github.com/SAP/generator-easy-ui5/compare/v1.2.0...v1.3.0) (2020-03-11)
|
|
229
143
|
|
|
230
|
-
|
|
231
|
-
|
|
232
144
|
# [1.2.0](https://github.com/SAP/generator-easy-ui5/compare/v1.1.1...v1.2.0) (2020-02-13)
|
|
233
145
|
|
|
234
|
-
|
|
235
|
-
|
|
236
146
|
## [1.1.1](https://github.com/SAP/generator-easy-ui5/compare/v1.0.3...v1.1.1) (2019-12-13)
|
|
237
147
|
|
|
238
|
-
|
|
239
|
-
|
|
240
148
|
## [1.0.3](https://github.com/SAP/generator-easy-ui5/compare/v1.0.2...v1.0.3) (2019-12-04)
|
|
241
149
|
|
|
242
|
-
|
|
243
|
-
|
|
244
150
|
## [1.0.2](https://github.com/SAP/generator-easy-ui5/compare/v1.0.1...v1.0.2) (2019-11-08)
|
|
245
151
|
|
|
246
|
-
|
|
247
|
-
|
|
248
152
|
## [1.0.1](https://github.com/SAP/generator-easy-ui5/compare/v1.0.0...v1.0.1) (2019-11-06)
|
|
249
153
|
|
|
250
|
-
|
|
251
|
-
|
|
252
154
|
# [1.0.0](https://github.com/SAP/generator-easy-ui5/compare/v0.3.4...v1.0.0) (2019-10-30)
|
|
253
155
|
|
|
254
|
-
|
|
255
|
-
|
|
256
156
|
## [0.3.4](https://github.com/SAP/generator-easy-ui5/compare/v0.3.3...v0.3.4) (2019-10-24)
|
|
257
157
|
|
|
258
|
-
|
|
259
|
-
|
|
260
158
|
## [0.3.3](https://github.com/SAP/generator-easy-ui5/compare/v0.3.2...v0.3.3) (2019-10-23)
|
|
261
159
|
|
|
262
|
-
|
|
263
|
-
|
|
264
160
|
## [0.3.2](https://github.com/SAP/generator-easy-ui5/compare/v0.3.1...v0.3.2) (2019-10-23)
|
|
265
161
|
|
|
266
|
-
|
|
267
|
-
|
|
268
162
|
## [0.3.1](https://github.com/SAP/generator-easy-ui5/compare/v2.0.2...v0.3.1) (2019-10-23)
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
package/README.md
CHANGED
|
@@ -14,13 +14,13 @@ This generator has been created to simplify the creation of your UI5 prototypes.
|
|
|
14
14
|
|
|
15
15
|
The purpose of this generator is to guide you on your first steps with [SAPUI5](https://sapui5.hana.ondemand.com/) and [SAP BTP](https://www.sap.com/products/business-technology-platform.html) deployments. Once you are familiar with those technologies, you might want to tweak the projects to adapt them for productive use-cases (such as continuous deployment pipelines and full i18n).
|
|
16
16
|
|
|
17
|
-
> Starting with easy-ui5 v3, all templates will be outsource to repositories in the [UI5 Community](https://github.com/ui5-community/). This project is from now on a shell that will offer all generators hosted on that GitHub org. Easy-ui5 will download and install these repositories when needed.
|
|
17
|
+
> :warning: Starting with easy-ui5 v3, all templates will be outsource to repositories in the [UI5 Community](https://github.com/ui5-community/). This project is from now on a shell that will offer all generators hosted on that GitHub org. Easy-ui5 will download and install these repositories when needed.
|
|
18
18
|
>
|
|
19
19
|
> By default, it will download the repository [generator-ui5-project](https://github.com/ui5-community/generator-ui5-project/) which contains the templates that were previously integrated in easy-ui5 < 3.
|
|
20
20
|
|
|
21
21
|
## Requirements
|
|
22
22
|
|
|
23
|
-
- Get [Node.js](https://nodejs.org/en/download/)
|
|
23
|
+
- Get [Node.js](https://nodejs.org/en/download/) (:warning: **version 14 or higher**)
|
|
24
24
|
|
|
25
25
|
## Download and Installation
|
|
26
26
|
|
|
@@ -60,13 +60,13 @@ During the prompting phase, the generator will ask on which target platform your
|
|
|
60
60
|
|
|
61
61
|
> Have a look at [this plugin project](https://github.com/ui5-community/generator-ui5-project/) for more usage instruction and information about the available subcommands.
|
|
62
62
|
|
|
63
|
-
|
|
64
63
|
## More generators
|
|
65
64
|
|
|
66
65
|
And this is just the start!
|
|
67
66
|
We made easy-ui5 extensible, so that the entire [UI5 Community](https://github.com/ui5-community/) can build additional plugins to scaffold any UI5-related development activity.
|
|
68
67
|
|
|
69
68
|
By default, this generator comes with the [project-creation-plugin](https://github.com/ui5-community/generator-ui5-project) but there are many others as well:
|
|
69
|
+
|
|
70
70
|
- Create new UI5 libraries [[ui5-community/generator-ui5-library]](https://github.com/ui5-community/generator-ui5-library)
|
|
71
71
|
- More are coming!
|
|
72
72
|
<!-- - Create new UI5 custom controls
|
|
@@ -75,6 +75,7 @@ By default, this generator comes with the [project-creation-plugin](https://gith
|
|
|
75
75
|
- Create a WDI5 test suite -->
|
|
76
76
|
|
|
77
77
|
To download and use any of the plugins above, run the following command
|
|
78
|
+
|
|
78
79
|
```sh
|
|
79
80
|
yo easy-ui5 [project|library] # this is the name of the repositorty without the "generator-ui5-" prefix
|
|
80
81
|
```
|
|
@@ -84,12 +85,15 @@ yo easy-ui5 [project|library] # this is the name of the repositorty without the
|
|
|
84
85
|
## Calling generators
|
|
85
86
|
|
|
86
87
|
Run the following command to see all subgenerators of a given plugin
|
|
88
|
+
|
|
87
89
|
```sh
|
|
88
90
|
yo easy-ui5 [project|library] --list
|
|
89
91
|
```
|
|
92
|
+
|
|
90
93
|
Once you decided on the subgenerator, run:
|
|
91
94
|
|
|
92
95
|
Run the following command to see all subgenerators of a given plugin
|
|
96
|
+
|
|
93
97
|
```sh
|
|
94
98
|
yo easy-ui5 [project|library] <sub-generator-id>
|
|
95
99
|
```
|