generator-easy-ui5 3.3.0 → 3.5.1
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 +27 -128
- package/README.md +7 -3
- package/generators/app/index.js +597 -512
- package/generators/app/postinstall.js +120 -98
- package/package.json +32 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,263 +1,162 @@
|
|
|
1
|
-
## [3.
|
|
1
|
+
## [3.5.1](https://github.com/SAP/generator-easy-ui5/compare/v3.2.0...v3.5.1) (2022-09-10)
|
|
2
2
|
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- enable for Yeoman UI usage ([03c2e38](https://github.com/SAP/generator-easy-ui5/commit/03c2e38af4eebe108d6076710b74d8aaf7c31d8d))
|
|
6
|
+
|
|
7
|
+
## [3.5.0](https://github.com/SAP/generator-easy-ui5/compare/v3.2.0...v3.5.0) (2022-07-26)
|
|
3
8
|
|
|
4
9
|
### Bug Fixes
|
|
5
10
|
|
|
6
|
-
|
|
7
|
-
|
|
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))
|
|
8
15
|
|
|
16
|
+
### Features
|
|
9
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))
|
|
10
21
|
|
|
11
22
|
# [3.2.0](https://github.com/SAP/generator-easy-ui5/compare/v3.1.5...v3.2.0) (2022-02-03)
|
|
12
23
|
|
|
13
|
-
|
|
14
24
|
### Bug Fixes
|
|
15
25
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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)
|
|
19
28
|
|
|
20
29
|
### Features
|
|
21
30
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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))
|
|
26
33
|
|
|
27
34
|
## [3.1.5](https://github.com/SAP/generator-easy-ui5/compare/v3.1.4...v3.1.5) (2022-01-10)
|
|
28
35
|
|
|
29
|
-
|
|
30
36
|
### Bug Fixes
|
|
31
37
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
38
|
+
- re-enable sub-generator update check ([c464bd1](https://github.com/SAP/generator-easy-ui5/commit/c464bd11d2cf32006fd7f42ea8f15a736cb10271))
|
|
35
39
|
|
|
36
40
|
## [3.1.4](https://github.com/SAP/generator-easy-ui5/compare/v3.1.3...v3.1.4) (2021-12-07)
|
|
37
41
|
|
|
38
|
-
|
|
39
42
|
### Bug Fixes
|
|
40
43
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
- disable autoinstall of Yeoman 5.x ([de6fcaf](https://github.com/SAP/generator-easy-ui5/commit/de6fcafd164734a9e3fbbab599b7376a49fffe89))
|
|
44
45
|
|
|
45
46
|
## [3.1.3](https://github.com/SAP/generator-easy-ui5/compare/v3.1.2...v3.1.3) (2021-11-25)
|
|
46
47
|
|
|
47
|
-
|
|
48
|
-
|
|
49
48
|
## [3.1.2](https://github.com/SAP/generator-easy-ui5/compare/v3.1.1...v3.1.2) (2021-11-23)
|
|
50
49
|
|
|
51
|
-
|
|
52
|
-
|
|
53
50
|
## [3.1.1](https://github.com/SAP/generator-easy-ui5/compare/v3.1.0...v3.1.1) (2021-11-23)
|
|
54
51
|
|
|
55
|
-
|
|
56
|
-
|
|
57
52
|
# [3.1.0](https://github.com/SAP/generator-easy-ui5/compare/v3.0.3...v3.1.0) (2021-11-23)
|
|
58
53
|
|
|
59
|
-
|
|
60
|
-
|
|
61
54
|
## [3.0.3](https://github.com/SAP/generator-easy-ui5/compare/v3.0.2...v3.0.3) (2021-11-15)
|
|
62
55
|
|
|
63
|
-
|
|
64
|
-
|
|
65
56
|
## [3.0.2](https://github.com/SAP/generator-easy-ui5/compare/v3.0.1...v3.0.2) (2021-11-15)
|
|
66
57
|
|
|
67
|
-
|
|
68
|
-
|
|
69
58
|
## [3.0.1](https://github.com/SAP/generator-easy-ui5/compare/v2.4.6...v3.0.1) (2021-05-10)
|
|
70
59
|
|
|
71
|
-
|
|
72
|
-
|
|
73
60
|
## [2.4.6](https://github.com/SAP/generator-easy-ui5/compare/2.4.6...v2.4.6) (2021-02-10)
|
|
74
61
|
|
|
75
|
-
|
|
76
62
|
### Bug Fixes
|
|
77
63
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
64
|
+
- uiveri5 reporters ([f2e2d6d](https://github.com/SAP/generator-easy-ui5/commit/f2e2d6dae71dc580ee0d15c42baafe06ae983d4e))
|
|
81
65
|
|
|
82
66
|
## [2.4.5](https://github.com/SAP/generator-easy-ui5/compare/2.4.5...v2.4.5) (2021-01-29)
|
|
83
67
|
|
|
84
|
-
|
|
85
68
|
### Bug Fixes
|
|
86
69
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
70
|
+
- opa test namespace and folder ([fb166b7](https://github.com/SAP/generator-easy-ui5/commit/fb166b7df06b7cd465366726ed484890ad389d96))
|
|
90
71
|
|
|
91
72
|
## [2.4.4](https://github.com/SAP/generator-easy-ui5/compare/2.4.4...v2.4.4) (2021-01-25)
|
|
92
73
|
|
|
93
|
-
|
|
94
|
-
|
|
95
74
|
## [2.4.3](https://github.com/SAP/generator-easy-ui5/compare/2.4.3...v2.4.3) (2021-01-08)
|
|
96
75
|
|
|
97
|
-
|
|
98
|
-
|
|
99
76
|
## [2.4.2](https://github.com/SAP/generator-easy-ui5/compare/2.4.2...v2.4.2) (2020-12-18)
|
|
100
77
|
|
|
101
|
-
|
|
102
|
-
|
|
103
78
|
## [2.4.1](https://github.com/SAP/generator-easy-ui5/compare/v2.4.0...v2.4.1) (2020-12-18)
|
|
104
79
|
|
|
105
|
-
|
|
106
|
-
|
|
107
80
|
# [2.4.0](https://github.com/SAP/generator-easy-ui5/compare/v2.3.0...v2.4.0) (2020-12-10)
|
|
108
81
|
|
|
109
|
-
|
|
110
82
|
### Features
|
|
111
83
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
84
|
+
- add wdi5 as test framework ([e63ce2e](https://github.com/SAP/generator-easy-ui5/commit/e63ce2eb2ed9cc23840cb303d01fc4e7d23f2c11))
|
|
115
85
|
|
|
116
86
|
# [2.3.0](https://github.com/SAP/generator-easy-ui5/compare/v2.2.4...v2.3.0) (2020-11-25)
|
|
117
87
|
|
|
118
|
-
|
|
119
|
-
|
|
120
88
|
## [2.2.4](https://github.com/SAP/generator-easy-ui5/compare/v2.2.3...v2.2.4) (2020-11-10)
|
|
121
89
|
|
|
122
|
-
|
|
123
|
-
|
|
124
90
|
## [2.2.3](https://github.com/SAP/generator-easy-ui5/compare/v2.2.2...v2.2.3) (2020-11-05)
|
|
125
91
|
|
|
126
|
-
|
|
127
|
-
|
|
128
92
|
## [2.2.2](https://github.com/SAP/generator-easy-ui5/compare/v2.2.1...v2.2.2) (2020-10-28)
|
|
129
93
|
|
|
130
|
-
|
|
131
|
-
|
|
132
94
|
## [2.2.1](https://github.com/SAP/generator-easy-ui5/compare/v2.2.0...v2.2.1) (2020-10-23)
|
|
133
95
|
|
|
134
|
-
|
|
135
|
-
|
|
136
96
|
# [2.2.0](https://github.com/SAP/generator-easy-ui5/compare/v2.1.7...v2.2.0) (2020-10-16)
|
|
137
97
|
|
|
138
|
-
|
|
139
|
-
|
|
140
98
|
## [2.1.7](https://github.com/SAP/generator-easy-ui5/compare/v2.1.6...v2.1.7) (2020-09-10)
|
|
141
99
|
|
|
142
|
-
|
|
143
|
-
|
|
144
100
|
## [2.1.6](https://github.com/SAP/generator-easy-ui5/compare/v2.1.5...v2.1.6) (2020-08-24)
|
|
145
101
|
|
|
146
|
-
|
|
147
|
-
|
|
148
102
|
## [2.1.5](https://github.com/SAP/generator-easy-ui5/compare/v2.1.4...v2.1.5) (2020-08-24)
|
|
149
103
|
|
|
150
|
-
|
|
151
|
-
|
|
152
104
|
## [2.1.4](https://github.com/SAP/generator-easy-ui5/compare/v2.1.3...v2.1.4) (2020-08-06)
|
|
153
105
|
|
|
154
|
-
|
|
155
|
-
|
|
156
106
|
## [2.1.3](https://github.com/SAP/generator-easy-ui5/compare/v2.1.2...v2.1.3) (2020-08-03)
|
|
157
107
|
|
|
158
|
-
|
|
159
|
-
|
|
160
108
|
## [2.1.2](https://github.com/SAP/generator-easy-ui5/compare/v2.1.1...v2.1.2) (2020-06-29)
|
|
161
109
|
|
|
162
|
-
|
|
163
|
-
|
|
164
110
|
## [2.1.1](https://github.com/SAP/generator-easy-ui5/compare/v2.1.0...v2.1.1) (2020-06-18)
|
|
165
111
|
|
|
166
|
-
|
|
167
|
-
|
|
168
112
|
# [2.1.0](https://github.com/SAP/generator-easy-ui5/compare/v2.0.1...v2.1.0) (2020-06-15)
|
|
169
113
|
|
|
170
|
-
|
|
171
|
-
|
|
172
114
|
## [2.0.1](https://github.com/SAP/generator-easy-ui5/compare/v2.0.0...v2.0.1) (2020-06-09)
|
|
173
115
|
|
|
174
|
-
|
|
175
|
-
|
|
176
116
|
# [2.0.0](https://github.com/SAP/generator-easy-ui5/compare/v1.3.7...v2.0.0) (2020-06-08)
|
|
177
117
|
|
|
178
|
-
|
|
179
|
-
|
|
180
118
|
## [1.3.7](https://github.com/SAP/generator-easy-ui5/compare/v1.3.6...v1.3.7) (2020-05-06)
|
|
181
119
|
|
|
182
|
-
|
|
183
|
-
|
|
184
120
|
## [1.3.6](https://github.com/SAP/generator-easy-ui5/compare/v1.3.5...v1.3.6) (2020-05-06)
|
|
185
121
|
|
|
186
|
-
|
|
187
|
-
|
|
188
122
|
## [1.3.5](https://github.com/SAP/generator-easy-ui5/compare/v1.3.4...v1.3.5) (2020-04-30)
|
|
189
123
|
|
|
190
|
-
|
|
191
|
-
|
|
192
124
|
## [1.3.4](https://github.com/SAP/generator-easy-ui5/compare/v1.3.3...v1.3.4) (2020-04-29)
|
|
193
125
|
|
|
194
|
-
|
|
195
|
-
|
|
196
126
|
## [1.3.3](https://github.com/SAP/generator-easy-ui5/compare/v1.3.2...v1.3.3) (2020-04-14)
|
|
197
127
|
|
|
198
|
-
|
|
199
|
-
|
|
200
128
|
## [1.3.2](https://github.com/SAP/generator-easy-ui5/compare/v1.3.1...v1.3.2) (2020-04-02)
|
|
201
129
|
|
|
202
|
-
|
|
203
130
|
### Bug Fixes
|
|
204
131
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
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))
|
|
208
134
|
|
|
209
135
|
### Features
|
|
210
136
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
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))
|
|
215
139
|
|
|
216
140
|
## [1.3.1](https://github.com/SAP/generator-easy-ui5/compare/v1.3.0...v1.3.1) (2020-03-20)
|
|
217
141
|
|
|
218
|
-
|
|
219
|
-
|
|
220
142
|
# [1.3.0](https://github.com/SAP/generator-easy-ui5/compare/v1.2.0...v1.3.0) (2020-03-11)
|
|
221
143
|
|
|
222
|
-
|
|
223
|
-
|
|
224
144
|
# [1.2.0](https://github.com/SAP/generator-easy-ui5/compare/v1.1.1...v1.2.0) (2020-02-13)
|
|
225
145
|
|
|
226
|
-
|
|
227
|
-
|
|
228
146
|
## [1.1.1](https://github.com/SAP/generator-easy-ui5/compare/v1.0.3...v1.1.1) (2019-12-13)
|
|
229
147
|
|
|
230
|
-
|
|
231
|
-
|
|
232
148
|
## [1.0.3](https://github.com/SAP/generator-easy-ui5/compare/v1.0.2...v1.0.3) (2019-12-04)
|
|
233
149
|
|
|
234
|
-
|
|
235
|
-
|
|
236
150
|
## [1.0.2](https://github.com/SAP/generator-easy-ui5/compare/v1.0.1...v1.0.2) (2019-11-08)
|
|
237
151
|
|
|
238
|
-
|
|
239
|
-
|
|
240
152
|
## [1.0.1](https://github.com/SAP/generator-easy-ui5/compare/v1.0.0...v1.0.1) (2019-11-06)
|
|
241
153
|
|
|
242
|
-
|
|
243
|
-
|
|
244
154
|
# [1.0.0](https://github.com/SAP/generator-easy-ui5/compare/v0.3.4...v1.0.0) (2019-10-30)
|
|
245
155
|
|
|
246
|
-
|
|
247
|
-
|
|
248
156
|
## [0.3.4](https://github.com/SAP/generator-easy-ui5/compare/v0.3.3...v0.3.4) (2019-10-24)
|
|
249
157
|
|
|
250
|
-
|
|
251
|
-
|
|
252
158
|
## [0.3.3](https://github.com/SAP/generator-easy-ui5/compare/v0.3.2...v0.3.3) (2019-10-23)
|
|
253
159
|
|
|
254
|
-
|
|
255
|
-
|
|
256
160
|
## [0.3.2](https://github.com/SAP/generator-easy-ui5/compare/v0.3.1...v0.3.2) (2019-10-23)
|
|
257
161
|
|
|
258
|
-
|
|
259
|
-
|
|
260
162
|
## [0.3.1](https://github.com/SAP/generator-easy-ui5/compare/v2.0.2...v0.3.1) (2019-10-23)
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
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
|
```
|