@ui5/cli 3.7.3 → 3.9.0
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 +1 -1
- package/CHANGELOG.md +20 -1
- package/LICENSE.txt +1 -1
- package/lib/cli/commands/build.js +18 -1
- package/lib/init/init.js +1 -1
- package/npm-shrinkwrap.json +478 -459
- package/package.json +11 -9
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-
|
|
28
|
+
Copyright: 2018-2024 SAP SE or an SAP affiliate company and UI5 Tooling contributors
|
|
29
29
|
License: Apache-2.0
|
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,24 @@
|
|
|
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.
|
|
5
|
+
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v3.9.0...HEAD).
|
|
6
|
+
|
|
7
|
+
<a name="v3.9.0"></a>
|
|
8
|
+
## [v3.9.0] - 2024-01-18
|
|
9
|
+
### Dependency Updates
|
|
10
|
+
- Bump [@ui5](https://github.com/ui5)/builder from 3.2.0 to 3.3.0 [`9b3f5fd`](https://github.com/SAP/ui5-cli/commit/9b3f5fdfb636a45bd78472ade475b5ac9343dd92)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
<a name="v3.8.0"></a>
|
|
14
|
+
## [v3.8.0] - 2023-12-12
|
|
15
|
+
### Dependency Updates
|
|
16
|
+
- Bump [@ui5](https://github.com/ui5)/project from 3.8.0 to 3.9.0 [`09f1ea9`](https://github.com/SAP/ui5-cli/commit/09f1ea9310d95636a87a6017a5d264594234b798)
|
|
17
|
+
- Bump [@ui5](https://github.com/ui5)/server from 3.1.4 to 3.1.5 [`191b80c`](https://github.com/SAP/ui5-cli/commit/191b80c123840a7556385f08a964bf0f514813a7)
|
|
18
|
+
- Bump [@ui5](https://github.com/ui5)/builder from 3.1.1 to 3.2.0 [`d63a77e`](https://github.com/SAP/ui5-cli/commit/d63a77ec25c98f1f2c2ba3dbbfc69aea95c5ea6a)
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
- Add option to redefine output directory structure ([#665](https://github.com/SAP/ui5-cli/issues/665)) [`388dc79`](https://github.com/SAP/ui5-cli/commit/388dc793fe2344f1f59717f3a9d1ea230b0337dd)
|
|
22
|
+
|
|
6
23
|
|
|
7
24
|
<a name="v3.7.3"></a>
|
|
8
25
|
## [v3.7.3] - 2023-12-01
|
|
@@ -1149,6 +1166,8 @@ Only Node.js v10 or higher is supported.
|
|
|
1149
1166
|
|
|
1150
1167
|
<a name="v0.0.1"></a>
|
|
1151
1168
|
## v0.0.1 - 2018-06-06
|
|
1169
|
+
[v3.9.0]: https://github.com/SAP/ui5-cli/compare/v3.8.0...v3.9.0
|
|
1170
|
+
[v3.8.0]: https://github.com/SAP/ui5-cli/compare/v3.7.3...v3.8.0
|
|
1152
1171
|
[v3.7.3]: https://github.com/SAP/ui5-cli/compare/v3.7.2...v3.7.3
|
|
1153
1172
|
[v3.7.2]: https://github.com/SAP/ui5-cli/compare/v3.7.1...v3.7.2
|
|
1154
1173
|
[v3.7.1]: https://github.com/SAP/ui5-cli/compare/v3.7.0...v3.7.1
|
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-
|
|
189
|
+
Copyright 2018-2024 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.
|
|
@@ -121,6 +121,22 @@ build.builder = function(cli) {
|
|
|
121
121
|
default: false,
|
|
122
122
|
type: "boolean"
|
|
123
123
|
})
|
|
124
|
+
.option("output-style", {
|
|
125
|
+
describe:
|
|
126
|
+
"Processes build results into a specific directory structure. \r\n\r\n" +
|
|
127
|
+
"- Flat: Omits the project namespace and the \"resources\" directory.\r\n" +
|
|
128
|
+
"- Namespace: Respects the project namespace and the \"resources\" directory, " +
|
|
129
|
+
"maintaining the original structure.\r\n" +
|
|
130
|
+
"- Default: The default directory structure for every project type. For applications, " +
|
|
131
|
+
"this is identical to \"Flat\", and for libraries, it is \"Namespace\". Other types have a " +
|
|
132
|
+
"more distinct default output style.",
|
|
133
|
+
type: "string",
|
|
134
|
+
default: "Default",
|
|
135
|
+
choices: ["Default", "Flat", "Namespace"],
|
|
136
|
+
})
|
|
137
|
+
.coerce("output-style", (opt) => {
|
|
138
|
+
return opt.charAt(0).toUpperCase() + opt.slice(1).toLowerCase();
|
|
139
|
+
})
|
|
124
140
|
.example("ui5 build", "Preload build for project without dependencies")
|
|
125
141
|
.example("ui5 build self-contained", "Self-contained build for project")
|
|
126
142
|
.example("ui5 build --exclude-task=* --include-task=minify generateComponentPreload",
|
|
@@ -176,7 +192,8 @@ async function handleBuild(argv) {
|
|
|
176
192
|
jsdoc: command === "jsdoc",
|
|
177
193
|
includedTasks: argv["include-task"],
|
|
178
194
|
excludedTasks: argv["exclude-task"],
|
|
179
|
-
cssVariables: argv["experimental-css-variables"]
|
|
195
|
+
cssVariables: argv["experimental-css-variables"],
|
|
196
|
+
outputStyle: argv["output-style"],
|
|
180
197
|
});
|
|
181
198
|
}
|
|
182
199
|
|