generator-easy-ui5 3.6.2 → 3.7.0

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/README.md CHANGED
@@ -20,7 +20,7 @@ The purpose of the `project` subgenerator is to guide you on your first steps wi
20
20
 
21
21
  ## Requirements
22
22
 
23
- - Get [Node.js](https://nodejs.org/en/download/) (:warning: **version 14 or higher**)
23
+ - Get [Node.js](https://nodejs.org/en/download/) (:warning: **version 18 or higher**)
24
24
 
25
25
  ## Download and Installation
26
26
 
@@ -9,8 +9,6 @@ import { glob } from "glob";
9
9
  import chalk from "chalk";
10
10
  import yosay from "yosay";
11
11
  import libnpmconfig from "libnpmconfig";
12
- import yarnOrNpm from "yarn-or-npm";
13
- const { hasYarn } = yarnOrNpm;
14
12
  import AdmZip from "adm-zip";
15
13
  import { request } from "@octokit/request";
16
14
  import { Octokit } from "@octokit/rest";
@@ -201,7 +199,7 @@ export default class extends Generator {
201
199
  async _npmInstall(dir, withDevDeps) {
202
200
  return new Promise(
203
201
  function (resolve, reject) {
204
- spawn(hasYarn() ? "yarn" : "npm", ["install", "--no-progress", "--ignore-engines"], {
202
+ spawn("npm", ["install", "--no-progress", "--ignore-engines", "--ignore-scripts"], {
205
203
  stdio: this.config.verbose ? "inherit" : "ignore",
206
204
  cwd: dir,
207
205
  env: {
@@ -615,7 +613,7 @@ export default class extends Generator {
615
613
  // filter the local options and the help command
616
614
  const opts = Object.keys(this._options).filter((optionName) => !(generatorOptions.hasOwnProperty(optionName) || optionName === "help"));
617
615
 
618
- // run yarn/npm install (always for self-healing!)
616
+ // run npm install (always for self-healing!)
619
617
  if (this.options.verbose) {
620
618
  this.log("Installing the subgenerator dependencies...");
621
619
  }
@@ -638,7 +636,8 @@ export default class extends Generator {
638
636
 
639
637
  // filter the hidden subgenerators already
640
638
  // -> subgenerators must be found in env as they are returned by lookup!
641
- let subGenerators = env.lookup({ localOnly: true, packagePaths: generatorPath }).filter((sub) => {
639
+ const lookupGeneratorMeta = await env.lookup({ localOnly: true, packagePaths: generatorPath });
640
+ let subGenerators = lookupGeneratorMeta.filter((sub) => {
642
641
  const subGenerator = env.get(sub.namespace);
643
642
  return !subGenerator.hidden;
644
643
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-easy-ui5",
3
- "version": "3.6.2",
3
+ "version": "3.7.0",
4
4
  "description": "Generator for UI5-based project",
5
5
  "main": "generators/app/index.js",
6
6
  "type": "module",
@@ -9,10 +9,10 @@
9
9
  "plugins"
10
10
  ],
11
11
  "engines": {
12
- "node": ">=14.0.0"
12
+ "node": ">=18"
13
13
  },
14
14
  "scripts": {
15
- "prepublishOnly": "npx yo ./ project --embed",
15
+ "prepublishOnly": "npx yo@4.3.1 ./ project --embed",
16
16
  "start": "yo easy-ui5 project",
17
17
  "test": "mocha",
18
18
  "test:subgen:list": "yo easy-ui5 project --list",
@@ -48,27 +48,26 @@
48
48
  },
49
49
  "homepage": "https://github.com/SAP/generator-easy-ui5#readme",
50
50
  "dependencies": {
51
- "@octokit/plugin-throttling": "^5.2.3",
52
- "@octokit/rest": "^19.0.11",
51
+ "@octokit/plugin-throttling": "^8.1.3",
52
+ "@octokit/rest": "^20.0.2",
53
53
  "adm-zip": "^0.5.10",
54
- "chalk": "^5.2.0",
54
+ "chalk": "^5.3.0",
55
55
  "colors": "^1.4.0",
56
- "glob": "^10.2.7",
56
+ "glob": "^10.3.10",
57
57
  "libnpmconfig": "^1.2.1",
58
- "rimraf": "^5.0.1",
59
- "yarn-or-npm": "^3.0.1",
58
+ "rimraf": "^5.0.5",
60
59
  "yeoman-environment": "^3.19.3",
61
- "yeoman-generator": "^5.9.0",
60
+ "yeoman-generator": "^5.10.0",
62
61
  "yosay": "^2.0.2"
63
62
  },
64
63
  "devDependencies": {
65
- "@commitlint/cli": "^17.6.5",
66
- "@commitlint/config-conventional": "^17.6.5",
67
- "conventional-changelog-cli": "^3.0.0",
64
+ "@commitlint/cli": "^18.4.3",
65
+ "@commitlint/config-conventional": "^18.4.3",
66
+ "conventional-changelog-cli": "^4.1.0",
68
67
  "cz-conventional-changelog": "^3.3.0",
69
- "eslint": "^8.42.0",
68
+ "eslint": "^8.54.0",
70
69
  "husky": "^8.0.3",
71
- "lint-staged": "^13.2.2",
70
+ "lint-staged": "^15.1.0",
72
71
  "mocha": "^10.2.0",
73
72
  "npm-run-all": "^4.1.5",
74
73
  "prettier": "^2.8.8",
@@ -85,9 +84,5 @@
85
84
  "extends": [
86
85
  "@commitlint/config-conventional"
87
86
  ]
88
- },
89
- "overrides": {
90
- "http-cache-semantics": "^4.1.1",
91
- "minimist": "^1.2.6"
92
87
  }
93
88
  }
Binary file
package/CHANGELOG.md DELETED
@@ -1,169 +0,0 @@
1
- ## [3.6.1](https://github.com/SAP/generator-easy-ui5/compare/v3.5.1...v3.6.1) (2023-06-13)
2
-
3
- ### Bug Fixes
4
-
5
- - also include embedded subgens ([86912a8](https://github.com/SAP/generator-easy-ui5/commit/86912a8cb4736ea8950696de14ce20e87056246f))
6
- - omit devDependencies for plugin generators ([#125](https://github.com/SAP/generator-easy-ui5/issues/125)) ([ffda0c5](https://github.com/SAP/generator-easy-ui5/commit/ffda0c5048543bdb29956bdde01730af4fee74fb))
7
- - sort subgen list, remove threshold, fix permission issues ([#123](https://github.com/SAP/generator-easy-ui5/issues/123)) ([c5dd321](https://github.com/SAP/generator-easy-ui5/commit/c5dd3218a26870a61722a9675a81831cc8af50e5)), closes [#122](https://github.com/SAP/generator-easy-ui5/issues/122) [#118](https://github.com/SAP/generator-easy-ui5/issues/118) [#117](https://github.com/SAP/generator-easy-ui5/issues/117) [#111](https://github.com/SAP/generator-easy-ui5/issues/111)
8
-
9
- ### Features
10
-
11
- - support for coporate proxy / switch to esm / update deps ([#124](https://github.com/SAP/generator-easy-ui5/issues/124)) ([bf95254](https://github.com/SAP/generator-easy-ui5/commit/bf95254694025f3d22e5af37bb610ba7d2a0e215)), closes [#79](https://github.com/SAP/generator-easy-ui5/issues/79)
12
-
13
- ## [3.5.1](https://github.com/SAP/generator-easy-ui5/compare/v3.2.0...v3.5.1) (2022-09-10)
14
-
15
- ### Bug Fixes
16
-
17
- - enable for Yeoman UI usage ([03c2e38](https://github.com/SAP/generator-easy-ui5/commit/03c2e38af4eebe108d6076710b74d8aaf7c31d8d))
18
- - **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)
19
- - **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))
20
- - 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))
21
- - use the org name of the selected generator for downloading the corresponding repo ([d9ca4dc](https://github.com/SAP/generator-easy-ui5/commit/d9ca4dc3170e0507199799d2e14db327cba4d871))
22
-
23
- ### Features
24
-
25
- - 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))
26
- - 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))
27
- - 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))
28
-
29
- # [3.2.0](https://github.com/SAP/generator-easy-ui5/compare/v3.1.5...v3.2.0) (2022-02-03)
30
-
31
- ### Bug Fixes
32
-
33
- - 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))
34
- - 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)
35
-
36
- ### Features
37
-
38
- - Add support for user repositories ([6b7efa6](https://github.com/SAP/generator-easy-ui5/commit/6b7efa63414c31d76a53ee1b069557c527077f39))
39
- - support additional GH org via NPM config ([0d33197](https://github.com/SAP/generator-easy-ui5/commit/0d33197098e010858d1ea7a0e4b172d5d6a5aa22))
40
-
41
- ## [3.1.5](https://github.com/SAP/generator-easy-ui5/compare/v3.1.4...v3.1.5) (2022-01-10)
42
-
43
- ### Bug Fixes
44
-
45
- - re-enable sub-generator update check ([c464bd1](https://github.com/SAP/generator-easy-ui5/commit/c464bd11d2cf32006fd7f42ea8f15a736cb10271))
46
-
47
- ## [3.1.4](https://github.com/SAP/generator-easy-ui5/compare/v3.1.3...v3.1.4) (2021-12-07)
48
-
49
- ### Bug Fixes
50
-
51
- - disable autoinstall of Yeoman 5.x ([de6fcaf](https://github.com/SAP/generator-easy-ui5/commit/de6fcafd164734a9e3fbbab599b7376a49fffe89))
52
-
53
- ## [3.1.3](https://github.com/SAP/generator-easy-ui5/compare/v3.1.2...v3.1.3) (2021-11-25)
54
-
55
- ## [3.1.2](https://github.com/SAP/generator-easy-ui5/compare/v3.1.1...v3.1.2) (2021-11-23)
56
-
57
- ## [3.1.1](https://github.com/SAP/generator-easy-ui5/compare/v3.1.0...v3.1.1) (2021-11-23)
58
-
59
- # [3.1.0](https://github.com/SAP/generator-easy-ui5/compare/v3.0.3...v3.1.0) (2021-11-23)
60
-
61
- ## [3.0.3](https://github.com/SAP/generator-easy-ui5/compare/v3.0.2...v3.0.3) (2021-11-15)
62
-
63
- ## [3.0.2](https://github.com/SAP/generator-easy-ui5/compare/v3.0.1...v3.0.2) (2021-11-15)
64
-
65
- ## [3.0.1](https://github.com/SAP/generator-easy-ui5/compare/v2.4.6...v3.0.1) (2021-05-10)
66
-
67
- ## [2.4.6](https://github.com/SAP/generator-easy-ui5/compare/2.4.6...v2.4.6) (2021-02-10)
68
-
69
- ### Bug Fixes
70
-
71
- - uiveri5 reporters ([f2e2d6d](https://github.com/SAP/generator-easy-ui5/commit/f2e2d6dae71dc580ee0d15c42baafe06ae983d4e))
72
-
73
- ## [2.4.5](https://github.com/SAP/generator-easy-ui5/compare/2.4.5...v2.4.5) (2021-01-29)
74
-
75
- ### Bug Fixes
76
-
77
- - opa test namespace and folder ([fb166b7](https://github.com/SAP/generator-easy-ui5/commit/fb166b7df06b7cd465366726ed484890ad389d96))
78
-
79
- ## [2.4.4](https://github.com/SAP/generator-easy-ui5/compare/2.4.4...v2.4.4) (2021-01-25)
80
-
81
- ## [2.4.3](https://github.com/SAP/generator-easy-ui5/compare/2.4.3...v2.4.3) (2021-01-08)
82
-
83
- ## [2.4.2](https://github.com/SAP/generator-easy-ui5/compare/2.4.2...v2.4.2) (2020-12-18)
84
-
85
- ## [2.4.1](https://github.com/SAP/generator-easy-ui5/compare/v2.4.0...v2.4.1) (2020-12-18)
86
-
87
- # [2.4.0](https://github.com/SAP/generator-easy-ui5/compare/v2.3.0...v2.4.0) (2020-12-10)
88
-
89
- ### Features
90
-
91
- - add wdi5 as test framework ([e63ce2e](https://github.com/SAP/generator-easy-ui5/commit/e63ce2eb2ed9cc23840cb303d01fc4e7d23f2c11))
92
-
93
- # [2.3.0](https://github.com/SAP/generator-easy-ui5/compare/v2.2.4...v2.3.0) (2020-11-25)
94
-
95
- ## [2.2.4](https://github.com/SAP/generator-easy-ui5/compare/v2.2.3...v2.2.4) (2020-11-10)
96
-
97
- ## [2.2.3](https://github.com/SAP/generator-easy-ui5/compare/v2.2.2...v2.2.3) (2020-11-05)
98
-
99
- ## [2.2.2](https://github.com/SAP/generator-easy-ui5/compare/v2.2.1...v2.2.2) (2020-10-28)
100
-
101
- ## [2.2.1](https://github.com/SAP/generator-easy-ui5/compare/v2.2.0...v2.2.1) (2020-10-23)
102
-
103
- # [2.2.0](https://github.com/SAP/generator-easy-ui5/compare/v2.1.7...v2.2.0) (2020-10-16)
104
-
105
- ## [2.1.7](https://github.com/SAP/generator-easy-ui5/compare/v2.1.6...v2.1.7) (2020-09-10)
106
-
107
- ## [2.1.6](https://github.com/SAP/generator-easy-ui5/compare/v2.1.5...v2.1.6) (2020-08-24)
108
-
109
- ## [2.1.5](https://github.com/SAP/generator-easy-ui5/compare/v2.1.4...v2.1.5) (2020-08-24)
110
-
111
- ## [2.1.4](https://github.com/SAP/generator-easy-ui5/compare/v2.1.3...v2.1.4) (2020-08-06)
112
-
113
- ## [2.1.3](https://github.com/SAP/generator-easy-ui5/compare/v2.1.2...v2.1.3) (2020-08-03)
114
-
115
- ## [2.1.2](https://github.com/SAP/generator-easy-ui5/compare/v2.1.1...v2.1.2) (2020-06-29)
116
-
117
- ## [2.1.1](https://github.com/SAP/generator-easy-ui5/compare/v2.1.0...v2.1.1) (2020-06-18)
118
-
119
- # [2.1.0](https://github.com/SAP/generator-easy-ui5/compare/v2.0.1...v2.1.0) (2020-06-15)
120
-
121
- ## [2.0.1](https://github.com/SAP/generator-easy-ui5/compare/v2.0.0...v2.0.1) (2020-06-09)
122
-
123
- # [2.0.0](https://github.com/SAP/generator-easy-ui5/compare/v1.3.7...v2.0.0) (2020-06-08)
124
-
125
- ## [1.3.7](https://github.com/SAP/generator-easy-ui5/compare/v1.3.6...v1.3.7) (2020-05-06)
126
-
127
- ## [1.3.6](https://github.com/SAP/generator-easy-ui5/compare/v1.3.5...v1.3.6) (2020-05-06)
128
-
129
- ## [1.3.5](https://github.com/SAP/generator-easy-ui5/compare/v1.3.4...v1.3.5) (2020-04-30)
130
-
131
- ## [1.3.4](https://github.com/SAP/generator-easy-ui5/compare/v1.3.3...v1.3.4) (2020-04-29)
132
-
133
- ## [1.3.3](https://github.com/SAP/generator-easy-ui5/compare/v1.3.2...v1.3.3) (2020-04-14)
134
-
135
- ## [1.3.2](https://github.com/SAP/generator-easy-ui5/compare/v1.3.1...v1.3.2) (2020-04-02)
136
-
137
- ### Bug Fixes
138
-
139
- - **app:** Fix lint errors ([c4df165](https://github.com/SAP/generator-easy-ui5/commit/c4df165e35b319aedfc932ac37d2593c0fa5e526))
140
- - **formatter:** Fix formatter ([4f637c8](https://github.com/SAP/generator-easy-ui5/commit/4f637c81e2a916a0067d36f8d214a447a7a62212))
141
-
142
- ### Features
143
-
144
- - **BaseController:** Adding the BaseController and formatter ([e51a66b](https://github.com/SAP/generator-easy-ui5/commit/e51a66bfcd8dea90fd27c7684264e1202bde3e47))
145
- - **BaseController:** Fix lint and activate install again after creation ([8697b1b](https://github.com/SAP/generator-easy-ui5/commit/8697b1bdbcc3f82bb8eb5f0e9e750b37f0d44d8f))
146
-
147
- ## [1.3.1](https://github.com/SAP/generator-easy-ui5/compare/v1.3.0...v1.3.1) (2020-03-20)
148
-
149
- # [1.3.0](https://github.com/SAP/generator-easy-ui5/compare/v1.2.0...v1.3.0) (2020-03-11)
150
-
151
- # [1.2.0](https://github.com/SAP/generator-easy-ui5/compare/v1.1.1...v1.2.0) (2020-02-13)
152
-
153
- ## [1.1.1](https://github.com/SAP/generator-easy-ui5/compare/v1.0.3...v1.1.1) (2019-12-13)
154
-
155
- ## [1.0.3](https://github.com/SAP/generator-easy-ui5/compare/v1.0.2...v1.0.3) (2019-12-04)
156
-
157
- ## [1.0.2](https://github.com/SAP/generator-easy-ui5/compare/v1.0.1...v1.0.2) (2019-11-08)
158
-
159
- ## [1.0.1](https://github.com/SAP/generator-easy-ui5/compare/v1.0.0...v1.0.1) (2019-11-06)
160
-
161
- # [1.0.0](https://github.com/SAP/generator-easy-ui5/compare/v0.3.4...v1.0.0) (2019-10-30)
162
-
163
- ## [0.3.4](https://github.com/SAP/generator-easy-ui5/compare/v0.3.3...v0.3.4) (2019-10-24)
164
-
165
- ## [0.3.3](https://github.com/SAP/generator-easy-ui5/compare/v0.3.2...v0.3.3) (2019-10-23)
166
-
167
- ## [0.3.2](https://github.com/SAP/generator-easy-ui5/compare/v0.3.1...v0.3.2) (2019-10-23)
168
-
169
- ## [0.3.1](https://github.com/SAP/generator-easy-ui5/compare/v2.0.2...v0.3.1) (2019-10-23)