@ui5/cli 3.0.0-rc.1 → 3.0.0-rc.3

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/.reuse/dep5 CHANGED
@@ -25,5 +25,5 @@ Disclaimer: The code in this project may include calls to APIs (“API Calls”)
25
25
  parties the right to use of access any SAP External Product, through API Calls.
26
26
 
27
27
  Files: *
28
- Copyright: 2018-2022 SAP SE or an SAP affiliate company and UI5 Tooling contributors
28
+ Copyright: 2018-2023 SAP SE or an SAP affiliate company and UI5 Tooling contributors
29
29
  License: Apache-2.0
package/CHANGELOG.md CHANGED
@@ -2,7 +2,25 @@
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.0-rc.1...HEAD).
5
+ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v3.0.0-rc.3...HEAD).
6
+
7
+ <a name="v3.0.0-rc.3"></a>
8
+ ## [v3.0.0-rc.3] - 2023-01-23
9
+ ### Dependency Updates
10
+ - Bump [@ui5](https://github.com/ui5)/project from 3.0.0-rc.3 to 3.0.0-rc.4 [`c6a817e`](https://github.com/SAP/ui5-cli/commit/c6a817e044fbf10520c255ead490030cf7ffdf21)
11
+ - Bump [@ui5](https://github.com/ui5)/server from 3.0.0-rc.0 to 3.0.0-rc.1 [`325731d`](https://github.com/SAP/ui5-cli/commit/325731d4f65171d1fa8a7765f5ce670491ba56ba)
12
+ - Bump [@ui5](https://github.com/ui5)/builder from 3.0.0-rc.1 to 3.0.0-rc.2 [`bb2a9ba`](https://github.com/SAP/ui5-cli/commit/bb2a9babfff14080f41d5e88e8613d8b62200c24)
13
+ - Bump [@ui5](https://github.com/ui5)/fs from 3.0.0-rc.2 to 3.0.0-rc.3 [`b2ac460`](https://github.com/SAP/ui5-cli/commit/b2ac46064cd6a7278441599fa057625a8604ab4f)
14
+ - Bump [@ui5](https://github.com/ui5)/fs from 3.0.0-rc.1 to 3.0.0-rc.2 [`896ce1b`](https://github.com/SAP/ui5-cli/commit/896ce1bc791474f853835a2445ce9affba2a36ea)
15
+ - Bump [@ui5](https://github.com/ui5)/logger from 3.0.1-rc.0 to 3.0.1-rc.1 [`939745f`](https://github.com/SAP/ui5-cli/commit/939745fe83ed04837758bd33d141f124ce093f4c)
16
+
17
+
18
+ <a name="v3.0.0-rc.2"></a>
19
+ ## [v3.0.0-rc.2] - 2023-01-11
20
+ ### Dependency Updates
21
+ - Bump [@ui5](https://github.com/ui5)/project from 3.0.0-rc.1 to 3.0.0-rc.2 [`acff336`](https://github.com/SAP/ui5-cli/commit/acff33681e31e6b51d0116307f26d905ab188620)
22
+ - Bump [@ui5](https://github.com/ui5)/builder from 3.0.0-rc.0 to 3.0.0-rc.1 [`40598fd`](https://github.com/SAP/ui5-cli/commit/40598fdef9d496f23d5c674baa28dafa77d9c2a4)
23
+
6
24
 
7
25
  <a name="v3.0.0-rc.1"></a>
8
26
  ## [v3.0.0-rc.1] - 2023-01-04
@@ -904,6 +922,8 @@ Only Node.js v10 or higher is supported.
904
922
  <a name="v0.0.1"></a>
905
923
  ## v0.0.1 - 2018-06-06
906
924
 
925
+ [v3.0.0-rc.3]: https://github.com/SAP/ui5-cli/compare/v3.0.0-rc.2...v3.0.0-rc.3
926
+ [v3.0.0-rc.2]: https://github.com/SAP/ui5-cli/compare/v3.0.0-rc.1...v3.0.0-rc.2
907
927
  [v3.0.0-rc.1]: https://github.com/SAP/ui5-cli/compare/v3.0.0-rc.0...v3.0.0-rc.1
908
928
  [v3.0.0-rc.0]: https://github.com/SAP/ui5-cli/compare/v3.0.0-beta.5...v3.0.0-rc.0
909
929
  [v3.0.0-beta.5]: https://github.com/SAP/ui5-cli/compare/v3.0.0-beta.4...v3.0.0-beta.5
package/LICENSE.txt CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2018-2021 SAP SE or an SAP affiliate company and UI5 Tooling contributors
189
+ Copyright 2018-2023 SAP SE or an SAP affiliate company and UI5 Tooling contributors
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -1,8 +1,7 @@
1
1
  ![UI5 icon](https://raw.githubusercontent.com/SAP/ui5-tooling/main/docs/images/UI5_logo_wide.png)
2
2
 
3
3
  # ui5-cli
4
-
5
- > UI5 Command Line Interface
4
+ > `ui5` Command Line Interface
6
5
  > Part of the [UI5 Tooling](https://github.com/SAP/ui5-tooling)
7
6
 
8
7
  [![REUSE status](https://api.reuse.software/badge/github.com/SAP/ui5-cli)](https://api.reuse.software/info/github.com/SAP/ui5-cli)
@@ -11,7 +10,7 @@
11
10
  [![Coverage Status](https://coveralls.io/repos/github/SAP/ui5-cli/badge.svg)](https://coveralls.io/github/SAP/ui5-cli)
12
11
 
13
12
  ## Documentation
14
- Can be found here: [sap.github.io/ui5-tooling](https://sap.github.io/ui5-tooling/pages/CLI/)
13
+ UI5 CLI documentation can be found here: [sap.github.io/ui5-tooling](https://sap.github.io/ui5-tooling/pages/CLI/)
15
14
 
16
15
  ## Contributing
17
16
 
@@ -1,22 +1,21 @@
1
-
1
+ import logger from "@ui5/logger";
2
+ import ConsoleWriter from "@ui5/logger/writers/Console";
2
3
  import {getVersion} from "../version.js";
3
4
  /**
4
- * Logger middleware used as one of default middlewares by tooling
5
+ * Logger middleware to enable logging capabilities
5
6
  *
6
7
  * @param {object} argv logger arguments
7
- * @returns {object} logger instance or null
8
8
  */
9
9
  export async function initLogger(argv) {
10
- if (!argv.verbose && !argv.loglevel) return null;
10
+ ConsoleWriter.init();
11
11
 
12
- const {default: logger} = await import("@ui5/logger");
13
12
  if (argv.loglevel) {
14
13
  logger.setLevel(argv.loglevel);
15
14
  }
16
15
  if (argv.verbose) {
17
16
  logger.setLevel("verbose");
18
- logger.getLogger("cli:middlewares:base").verbose(`using @ui5/cli version ${getVersion()}`);
19
- logger.getLogger("cli:middlewares:base").verbose(`using node version ${process.version}`);
17
+ const log = logger.getLogger("cli:middlewares:base");
18
+ log.verbose(`using @ui5/cli version ${getVersion()}`);
19
+ log.verbose(`using node version ${process.version}`);
20
20
  }
21
- return logger;
22
21
  }