generator-easy-ui5 3.6.1 → 3.6.3
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
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
## [3.6.2](https://github.com/SAP/generator-easy-ui5/compare/v3.5.1...v3.6.2) (2023-06-20)
|
|
2
2
|
|
|
3
3
|
### Bug Fixes
|
|
4
4
|
|
|
5
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
|
+
- removal of the outdated templates must not fail ([667673d](https://github.com/SAP/generator-easy-ui5/commit/667673d771649c98af3ac8e9ca71a6e99885ff23))
|
|
6
8
|
- 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)
|
|
7
9
|
|
|
8
10
|
### Features
|
package/generators/app/index.js
CHANGED
|
@@ -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(
|
|
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: {
|
|
@@ -578,7 +576,7 @@ export default class extends Generator {
|
|
|
578
576
|
}
|
|
579
577
|
// remove if the SHA marker doesn't exist => outdated!
|
|
580
578
|
this._showBusy(` Deleting subgenerator ${chalk.yellow(generator.name)}...`);
|
|
581
|
-
|
|
579
|
+
fs.rmSync(generatorPath, { recursive: true });
|
|
582
580
|
}
|
|
583
581
|
}
|
|
584
582
|
|
|
@@ -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
|
|
616
|
+
// run npm install (always for self-healing!)
|
|
619
617
|
if (this.options.verbose) {
|
|
620
618
|
this.log("Installing the subgenerator dependencies...");
|
|
621
619
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-easy-ui5",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.3",
|
|
4
4
|
"description": "Generator for UI5-based project",
|
|
5
5
|
"main": "generators/app/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -56,7 +56,6 @@
|
|
|
56
56
|
"glob": "^10.2.7",
|
|
57
57
|
"libnpmconfig": "^1.2.1",
|
|
58
58
|
"rimraf": "^5.0.1",
|
|
59
|
-
"yarn-or-npm": "^3.0.1",
|
|
60
59
|
"yeoman-environment": "^3.19.3",
|
|
61
60
|
"yeoman-generator": "^5.9.0",
|
|
62
61
|
"yosay": "^2.0.2"
|
|
Binary file
|