@ui5/cli 4.0.12 → 4.0.14
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 +12 -1
- package/bin/ui5.cjs +7 -3
- package/npm-shrinkwrap.json +355 -330
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,16 @@
|
|
|
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/v4.0.
|
|
5
|
+
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v4.0.14...HEAD).
|
|
6
|
+
|
|
7
|
+
<a name="v4.0.14"></a>
|
|
8
|
+
## [v4.0.14] - 2025-03-20
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
- Invocation of local CLI on Windows [`3bd6e83`](https://github.com/SAP/ui5-cli/commit/3bd6e83b09489d9d13499c6381808d79e8f21f4d)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
<a name="v4.0.13"></a>
|
|
14
|
+
## [v4.0.13] - 2025-01-22
|
|
6
15
|
|
|
7
16
|
<a name="v4.0.12"></a>
|
|
8
17
|
## [v4.0.12] - 2024-12-10
|
|
@@ -1303,6 +1312,8 @@ Only Node.js v10 or higher is supported.
|
|
|
1303
1312
|
|
|
1304
1313
|
<a name="v0.0.1"></a>
|
|
1305
1314
|
## v0.0.1 - 2018-06-06
|
|
1315
|
+
[v4.0.14]: https://github.com/SAP/ui5-cli/compare/v4.0.13...v4.0.14
|
|
1316
|
+
[v4.0.13]: https://github.com/SAP/ui5-cli/compare/v4.0.12...v4.0.13
|
|
1306
1317
|
[v4.0.12]: https://github.com/SAP/ui5-cli/compare/v4.0.11...v4.0.12
|
|
1307
1318
|
[v4.0.11]: https://github.com/SAP/ui5-cli/compare/v4.0.10...v4.0.11
|
|
1308
1319
|
[v4.0.10]: https://github.com/SAP/ui5-cli/compare/v4.0.9...v4.0.10
|
package/bin/ui5.cjs
CHANGED
|
@@ -67,10 +67,14 @@ const ui5 = {
|
|
|
67
67
|
}
|
|
68
68
|
// Prefer a local installation of @ui5/cli.
|
|
69
69
|
// This will invoke the local CLI, so no further action required
|
|
70
|
-
// NOTE: Using ui5.js, NOT ui5.cjs to also support CLI versions < v3.
|
|
71
|
-
// Starting with v3, both extensions can be used (see package.json "exports").
|
|
72
70
|
const {default: importLocal} = await import("import-local");
|
|
73
|
-
|
|
71
|
+
let ui5Local = importLocal(path.join(__dirname, "ui5.cjs"));
|
|
72
|
+
if (!ui5Local) {
|
|
73
|
+
// Fallback to ui5.js (CLI version < v3)
|
|
74
|
+
// NOTE: Entries within package.json "exports" are not respected on Windows,
|
|
75
|
+
// so only checking for ui5.js does not work.
|
|
76
|
+
ui5Local = importLocal(path.join(__dirname, "ui5.js"));
|
|
77
|
+
}
|
|
74
78
|
if (!ui5Local || ui5Local === module.exports) {
|
|
75
79
|
// Either no local installation found or this script is the local installation
|
|
76
80
|
// (invocation within ui5-cli repo)
|