@ui5/cli 3.0.5 → 3.0.7

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
@@ -2,7 +2,26 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
4
4
 
5
- A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v3.0.5...HEAD).
5
+ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v3.0.7...HEAD).
6
+
7
+ <a name="v3.0.7"></a>
8
+ ## [v3.0.7] - 2023-04-12
9
+ ### Bug Fixes
10
+ - Exit with code 1 when using unsupported Node.js version [`b232f83`](https://github.com/SAP/ui5-cli/commit/b232f8369a64bac2a1a599fe22d3d1ef03ff6eb0)
11
+ - **init:** Use specVersion 3.0 [`45d0422`](https://github.com/SAP/ui5-cli/commit/45d04228052d2170c3b3c80f096c35d4c1fe0906)
12
+
13
+ ### Dependency Updates
14
+ - Bump [@ui5](https://github.com/ui5)/project from 3.1.0 to 3.1.1 [`9f995f9`](https://github.com/SAP/ui5-cli/commit/9f995f980c3bef402771bfa3f321422949540e82)
15
+ - Bump [@ui5](https://github.com/ui5)/server from 3.1.1 to 3.1.2 [`145a88c`](https://github.com/SAP/ui5-cli/commit/145a88c90e0fda450d7fa6c44b724220736adede)
16
+ - Bump [@ui5](https://github.com/ui5)/builder from 3.0.1 to 3.0.2 [`caaa457`](https://github.com/SAP/ui5-cli/commit/caaa457f58ba45a79de4fa9ca3c7f594c9eb7f1e)
17
+ - Bump open from 8.4.2 to 9.1.0 [`978c0b4`](https://github.com/SAP/ui5-cli/commit/978c0b432c4c6d1b21ef59b3e10ac0920ce3c934)
18
+
19
+
20
+ <a name="v3.0.6"></a>
21
+ ## [v3.0.6] - 2023-03-31
22
+ ### Dependency Updates
23
+ - Bump [@ui5](https://github.com/ui5)/project from 3.0.4 to 3.1.0 [`676cabf`](https://github.com/SAP/ui5-cli/commit/676cabfec7416bcb023efbedef9821ee860094c6)
24
+
6
25
 
7
26
  <a name="v3.0.5"></a>
8
27
  ## [v3.0.5] - 2023-03-16
@@ -988,6 +1007,8 @@ Only Node.js v10 or higher is supported.
988
1007
 
989
1008
  <a name="v0.0.1"></a>
990
1009
  ## v0.0.1 - 2018-06-06
1010
+ [v3.0.7]: https://github.com/SAP/ui5-cli/compare/v3.0.6...v3.0.7
1011
+ [v3.0.6]: https://github.com/SAP/ui5-cli/compare/v3.0.5...v3.0.6
991
1012
  [v3.0.5]: https://github.com/SAP/ui5-cli/compare/v3.0.4...v3.0.5
992
1013
  [v3.0.4]: https://github.com/SAP/ui5-cli/compare/v3.0.3...v3.0.4
993
1014
  [v3.0.3]: https://github.com/SAP/ui5-cli/compare/v3.0.2...v3.0.3
package/bin/ui5.cjs CHANGED
@@ -84,11 +84,12 @@ const ui5 = {
84
84
  async main() {
85
85
  const pkg = ui5.getPackageJson();
86
86
  if (!ui5.checkRequirements({pkg, nodeVersion: process.version})) {
87
- return;
88
- }
89
- const localInstallationInvoked = await ui5.invokeLocalInstallation(pkg);
90
- if (!localInstallationInvoked) {
91
- await ui5.invokeCLI(pkg);
87
+ process.exit(1);
88
+ } else {
89
+ const localInstallationInvoked = await ui5.invokeLocalInstallation(pkg);
90
+ if (!localInstallationInvoked) {
91
+ await ui5.invokeCLI(pkg);
92
+ }
92
93
  }
93
94
  }
94
95
  };
package/lib/init/init.js CHANGED
@@ -69,7 +69,7 @@ function getProjectType(hasWebapp, hasSrc, hasTest) {
69
69
  */
70
70
  async function init({cwd = "./"} = {}) {
71
71
  const projectConfig = {
72
- specVersion: "2.6",
72
+ specVersion: "3.0",
73
73
  metadata: {}
74
74
  };
75
75
  let pkg;