generator-easy-ui5 3.6.0 → 3.6.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 CHANGED
@@ -1,9 +1,14 @@
1
- ## [3.5.2](https://github.com/SAP/generator-easy-ui5/compare/v3.5.1...v3.5.2) (2023-06-09)
1
+ # [3.6.0](https://github.com/SAP/generator-easy-ui5/compare/v3.5.1...v3.6.0) (2023-06-11)
2
2
 
3
3
  ### Bug Fixes
4
4
 
5
+ - also include embedded subgens ([86912a8](https://github.com/SAP/generator-easy-ui5/commit/86912a8cb4736ea8950696de14ce20e87056246f))
5
6
  - 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
7
 
8
+ ### Features
9
+
10
+ - 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)
11
+
7
12
  ## [3.5.1](https://github.com/SAP/generator-easy-ui5/compare/v3.2.0...v3.5.1) (2022-09-10)
8
13
 
9
14
  ### Bug Fixes
@@ -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) {
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-easy-ui5",
3
- "version": "3.6.0",
3
+ "version": "3.6.1",
4
4
  "description": "Generator for UI5-based project",
5
5
  "main": "generators/app/index.js",
6
6
  "type": "module",
Binary file