@ui5/cli 3.0.0-alpha.2 → 3.0.0-alpha.5

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,10 +2,31 @@
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-alpha.2...HEAD).
5
+ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v3.0.0-alpha.5...HEAD).
6
+
7
+ <a name="v3.0.0-alpha.5"></a>
8
+ ## [v3.0.0-alpha.5] - 2022-04-05
9
+ ### Dependency Updates
10
+ - Bump [@ui5](https://github.com/ui5)/builder from 3.0.0-alpha.3 to 3.0.0-alpha.4 [`91d3bbd`](https://github.com/SAP/ui5-cli/commit/91d3bbdd01ec1cc80f21094434fa0f7da37ca242)
11
+
12
+ ### Features
13
+ - Add build flag "--experimental-css-variables" ([#501](https://github.com/SAP/ui5-cli/issues/501)) [`0b099db`](https://github.com/SAP/ui5-cli/commit/0b099db193ee94aa0bde8373e883fbc54098cd89)
14
+
15
+
16
+ <a name="v3.0.0-alpha.4"></a>
17
+ ## [v3.0.0-alpha.4] - 2022-03-10
18
+ ### Dependency Updates
19
+ - Bump [@ui5](https://github.com/ui5)/builder from 3.0.0-alpha.2 to 3.0.0-alpha.3 [`7f836aa`](https://github.com/SAP/ui5-cli/commit/7f836aad558b16eaf05dde2c2a5aa409b1ba7111)
20
+
21
+
22
+ <a name="v3.0.0-alpha.3"></a>
23
+ ## [v3.0.0-alpha.3] - 2022-02-25
24
+ ### Dependency Updates
25
+ - Bump [@ui5](https://github.com/ui5)/builder from 3.0.0-alpha.1 to 3.0.0-alpha.2 [`617f0f0`](https://github.com/SAP/ui5-cli/commit/617f0f06b29e81f384186c88c07da85be55d2970)
26
+
6
27
 
7
28
  <a name="v3.0.0-alpha.2"></a>
8
- ## [v3.0.0-alpha.2] - 2022-01-28
29
+ ## [v3.0.0-alpha.2] - 2022-01-31
9
30
 
10
31
  <a name="v3.0.0-alpha.1"></a>
11
32
  ## [v3.0.0-alpha.1] - 2022-01-25
@@ -736,6 +757,9 @@ Only Node.js v10 or higher is supported.
736
757
  <a name="v0.0.1"></a>
737
758
  ## v0.0.1 - 2018-06-06
738
759
 
760
+ [v3.0.0-alpha.5]: https://github.com/SAP/ui5-cli/compare/v3.0.0-alpha.4...v3.0.0-alpha.5
761
+ [v3.0.0-alpha.4]: https://github.com/SAP/ui5-cli/compare/v3.0.0-alpha.3...v3.0.0-alpha.4
762
+ [v3.0.0-alpha.3]: https://github.com/SAP/ui5-cli/compare/v3.0.0-alpha.2...v3.0.0-alpha.3
739
763
  [v3.0.0-alpha.2]: https://github.com/SAP/ui5-cli/compare/v3.0.0-alpha.1...v3.0.0-alpha.2
740
764
  [v3.0.0-alpha.1]: https://github.com/SAP/ui5-cli/compare/v3.0.0-alpha.0...v3.0.0-alpha.1
741
765
  [v3.0.0-alpha.0]: https://github.com/SAP/ui5-cli/compare/v2.14.1...v3.0.0-alpha.0
@@ -100,6 +100,13 @@ build.builder = function(cli) {
100
100
  describe: "Overrides the framework version defined by the project",
101
101
  type: "string"
102
102
  })
103
+ .option("experimental-css-variables", {
104
+ describe:
105
+ "If present, the CSS variables (css-variables.css, css-variables.source.less) " +
106
+ "and the skeleton for a theme (library-skeleton.css, [library-skeleton-RTL.css]) are generated",
107
+ default: false,
108
+ type: "boolean"
109
+ })
103
110
  .example("ui5 build", "Preload build for project without dependencies")
104
111
  .example("ui5 build self-contained --all", "Self-contained build for project including dependencies")
105
112
  .example("ui5 build --all --exclude-task=* --include-task=createDebugFiles generateAppPreload",
@@ -111,7 +118,9 @@ build.builder = function(cli) {
111
118
  "Build project and dependencies in dev mode, except \"sap.ui.core\" and \"sap.m\" " +
112
119
  "(useful in combination with --include-task)")
113
120
  .example("ui5 build dev",
114
- "Build project and dependencies in dev mode. Only a set of essential tasks is executed.");
121
+ "Build project and dependencies in dev mode. Only a set of essential tasks is executed.")
122
+ .example("ui5 build --experimental-css-variables",
123
+ "Preload build for project without dependencies but with CSS variable artefacts");
115
124
  };
116
125
 
117
126
  async function handleBuild(argv) {
@@ -162,7 +171,8 @@ async function handleBuild(argv) {
162
171
  jsdoc: command === "jsdoc",
163
172
  devExcludeProject: argv["dev-exclude-project"],
164
173
  includedTasks: argv["include-task"],
165
- excludedTasks: argv["exclude-task"]
174
+ excludedTasks: argv["exclude-task"],
175
+ cssVariables: argv["experimental-css-variables"]
166
176
  });
167
177
  }
168
178