@ui5/cli 3.0.6 → 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 +15 -1
- package/bin/ui5.cjs +6 -5
- package/lib/init/init.js +1 -1
- package/npm-shrinkwrap.json +685 -147
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,20 @@
|
|
|
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
|
+
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
|
+
|
|
6
19
|
|
|
7
20
|
<a name="v3.0.6"></a>
|
|
8
21
|
## [v3.0.6] - 2023-03-31
|
|
@@ -994,6 +1007,7 @@ Only Node.js v10 or higher is supported.
|
|
|
994
1007
|
|
|
995
1008
|
<a name="v0.0.1"></a>
|
|
996
1009
|
## v0.0.1 - 2018-06-06
|
|
1010
|
+
[v3.0.7]: https://github.com/SAP/ui5-cli/compare/v3.0.6...v3.0.7
|
|
997
1011
|
[v3.0.6]: https://github.com/SAP/ui5-cli/compare/v3.0.5...v3.0.6
|
|
998
1012
|
[v3.0.5]: https://github.com/SAP/ui5-cli/compare/v3.0.4...v3.0.5
|
|
999
1013
|
[v3.0.4]: https://github.com/SAP/ui5-cli/compare/v3.0.3...v3.0.4
|
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
|
-
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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
|
};
|