generator-easy-ui5 3.6.0 → 3.6.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
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
## [3.
|
|
1
|
+
## [3.6.1](https://github.com/SAP/generator-easy-ui5/compare/v3.5.1...v3.6.1) (2023-06-13)
|
|
2
2
|
|
|
3
3
|
### Bug Fixes
|
|
4
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))
|
|
5
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)
|
|
6
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
|
+
|
|
7
13
|
## [3.5.1](https://github.com/SAP/generator-easy-ui5/compare/v3.2.0...v3.5.1) (2022-09-10)
|
|
8
14
|
|
|
9
15
|
### Bug Fixes
|
package/generators/app/index.js
CHANGED
|
@@ -54,6 +54,11 @@ const generatorOptions = {
|
|
|
54
54
|
alias: "p",
|
|
55
55
|
description: "List detailed information about installed plugin generators",
|
|
56
56
|
},
|
|
57
|
+
pluginsWithDevDeps: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
alias: "dev",
|
|
60
|
+
description: "Installs the plugin generators with dev dependencies (compat mode)",
|
|
61
|
+
},
|
|
57
62
|
ghBaseUrl: {
|
|
58
63
|
type: String,
|
|
59
64
|
description: "Base URL for the Octokit API (defaults to https://api.github.com if undefined)",
|
|
@@ -193,7 +198,7 @@ export default class extends Generator {
|
|
|
193
198
|
}
|
|
194
199
|
}
|
|
195
200
|
|
|
196
|
-
async _npmInstall(dir) {
|
|
201
|
+
async _npmInstall(dir, withDevDeps) {
|
|
197
202
|
return new Promise(
|
|
198
203
|
function (resolve, reject) {
|
|
199
204
|
spawn(hasYarn() ? "yarn" : "npm", ["install", "--no-progress", "--ignore-engines"], {
|
|
@@ -202,6 +207,7 @@ export default class extends Generator {
|
|
|
202
207
|
env: {
|
|
203
208
|
...process.env,
|
|
204
209
|
NO_UPDATE_NOTIFIER: true,
|
|
210
|
+
NODE_ENV: withDevDeps ? undefined : "production", // do not install devDependencies!
|
|
205
211
|
},
|
|
206
212
|
})
|
|
207
213
|
.on("exit", function (code) {
|
|
@@ -572,7 +578,7 @@ export default class extends Generator {
|
|
|
572
578
|
}
|
|
573
579
|
// remove if the SHA marker doesn't exist => outdated!
|
|
574
580
|
this._showBusy(` Deleting subgenerator ${chalk.yellow(generator.name)}...`);
|
|
575
|
-
|
|
581
|
+
fs.rmSync(generatorPath, { recursive: true });
|
|
576
582
|
}
|
|
577
583
|
}
|
|
578
584
|
|
|
@@ -614,7 +620,7 @@ export default class extends Generator {
|
|
|
614
620
|
this.log("Installing the subgenerator dependencies...");
|
|
615
621
|
}
|
|
616
622
|
this._showBusy(` Preparing ${chalk.yellow(generator.name)}...`);
|
|
617
|
-
await this._npmInstall(generatorPath);
|
|
623
|
+
await this._npmInstall(generatorPath, this.options.pluginsWithDevDeps);
|
|
618
624
|
this._clearBusy(true);
|
|
619
625
|
|
|
620
626
|
// create the env for the plugin generator
|
package/package.json
CHANGED
|
Binary file
|