@ui5/cli 3.7.3 → 3.8.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/CHANGELOG.md +13 -1
- package/lib/cli/commands/build.js +18 -1
- package/lib/init/init.js +1 -1
- package/npm-shrinkwrap.json +41 -41
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,18 @@
|
|
|
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.8.0...HEAD).
|
|
6
|
+
|
|
7
|
+
<a name="v3.8.0"></a>
|
|
8
|
+
## [v3.8.0] - 2023-12-12
|
|
9
|
+
### Dependency Updates
|
|
10
|
+
- Bump [@ui5](https://github.com/ui5)/project from 3.8.0 to 3.9.0 [`09f1ea9`](https://github.com/SAP/ui5-cli/commit/09f1ea9310d95636a87a6017a5d264594234b798)
|
|
11
|
+
- Bump [@ui5](https://github.com/ui5)/server from 3.1.4 to 3.1.5 [`191b80c`](https://github.com/SAP/ui5-cli/commit/191b80c123840a7556385f08a964bf0f514813a7)
|
|
12
|
+
- Bump [@ui5](https://github.com/ui5)/builder from 3.1.1 to 3.2.0 [`d63a77e`](https://github.com/SAP/ui5-cli/commit/d63a77ec25c98f1f2c2ba3dbbfc69aea95c5ea6a)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
- 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)
|
|
16
|
+
|
|
6
17
|
|
|
7
18
|
<a name="v3.7.3"></a>
|
|
8
19
|
## [v3.7.3] - 2023-12-01
|
|
@@ -1149,6 +1160,7 @@ Only Node.js v10 or higher is supported.
|
|
|
1149
1160
|
|
|
1150
1161
|
<a name="v0.0.1"></a>
|
|
1151
1162
|
## v0.0.1 - 2018-06-06
|
|
1163
|
+
[v3.8.0]: https://github.com/SAP/ui5-cli/compare/v3.7.3...v3.8.0
|
|
1152
1164
|
[v3.7.3]: https://github.com/SAP/ui5-cli/compare/v3.7.2...v3.7.3
|
|
1153
1165
|
[v3.7.2]: https://github.com/SAP/ui5-cli/compare/v3.7.1...v3.7.2
|
|
1154
1166
|
[v3.7.1]: https://github.com/SAP/ui5-cli/compare/v3.7.0...v3.7.1
|
|
@@ -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
|
|
package/lib/init/init.js
CHANGED
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@ui5/cli",
|
|
9
|
-
"version": "3.
|
|
9
|
+
"version": "3.8.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@ui5/builder": "^3.
|
|
12
|
+
"@ui5/builder": "^3.2.0",
|
|
13
13
|
"@ui5/fs": "^3.0.5",
|
|
14
14
|
"@ui5/logger": "^3.0.0",
|
|
15
|
-
"@ui5/project": "^3.
|
|
16
|
-
"@ui5/server": "^3.1.
|
|
15
|
+
"@ui5/project": "^3.9.0",
|
|
16
|
+
"@ui5/server": "^3.1.5",
|
|
17
17
|
"chalk": "^5.3.0",
|
|
18
18
|
"data-with-position": "^0.5.0",
|
|
19
19
|
"import-local": "^3.1.0",
|
|
@@ -274,9 +274,9 @@
|
|
|
274
274
|
}
|
|
275
275
|
},
|
|
276
276
|
"node_modules/@jsdoc/salty": {
|
|
277
|
-
"version": "0.2.
|
|
278
|
-
"resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.
|
|
279
|
-
"integrity": "sha512-
|
|
277
|
+
"version": "0.2.7",
|
|
278
|
+
"resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.7.tgz",
|
|
279
|
+
"integrity": "sha512-mh8LbS9d4Jq84KLw8pzho7XC2q2/IJGiJss3xwRoLD1A+EE16SjN4PfaG4jRCzKegTFLlN0Zd8SdUPE6XdoPFg==",
|
|
280
280
|
"dependencies": {
|
|
281
281
|
"lodash": "^4.17.21"
|
|
282
282
|
},
|
|
@@ -340,9 +340,9 @@
|
|
|
340
340
|
}
|
|
341
341
|
},
|
|
342
342
|
"node_modules/@npmcli/config": {
|
|
343
|
-
"version": "8.0.
|
|
344
|
-
"resolved": "https://registry.npmjs.org/@npmcli/config/-/config-8.0.
|
|
345
|
-
"integrity": "sha512-
|
|
343
|
+
"version": "8.0.3",
|
|
344
|
+
"resolved": "https://registry.npmjs.org/@npmcli/config/-/config-8.0.3.tgz",
|
|
345
|
+
"integrity": "sha512-rqRX7/UORvm2YRImY67kyfwD9rpi5+KXXb1j/cpTUKRcUqvpJ9/PMMc7Vv57JVqmrFj8siBBFEmXI3Gg7/TonQ==",
|
|
346
346
|
"dependencies": {
|
|
347
347
|
"@npmcli/map-workspaces": "^3.0.2",
|
|
348
348
|
"ci-info": "^4.0.0",
|
|
@@ -693,9 +693,9 @@
|
|
|
693
693
|
"integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA=="
|
|
694
694
|
},
|
|
695
695
|
"node_modules/@ui5/builder": {
|
|
696
|
-
"version": "3.
|
|
697
|
-
"resolved": "https://registry.npmjs.org/@ui5/builder/-/builder-3.
|
|
698
|
-
"integrity": "sha512-
|
|
696
|
+
"version": "3.2.0",
|
|
697
|
+
"resolved": "https://registry.npmjs.org/@ui5/builder/-/builder-3.2.0.tgz",
|
|
698
|
+
"integrity": "sha512-n6Z34iandeGPUS2x0OM7AdEvmnLbqqk9mfGuismuWx8gov2cawuJ/42B0BLamXRmlTqFPB7eGnaWry9tDK6h3Q==",
|
|
699
699
|
"dependencies": {
|
|
700
700
|
"@jridgewell/sourcemap-codec": "^1.4.15",
|
|
701
701
|
"@ui5/fs": "^3.0.5",
|
|
@@ -710,7 +710,7 @@
|
|
|
710
710
|
"pretty-data": "^0.40.0",
|
|
711
711
|
"rimraf": "^5.0.5",
|
|
712
712
|
"semver": "^7.5.4",
|
|
713
|
-
"terser": "^5.
|
|
713
|
+
"terser": "^5.26.0",
|
|
714
714
|
"workerpool": "^6.5.1",
|
|
715
715
|
"xml2js": "^0.6.2"
|
|
716
716
|
},
|
|
@@ -754,12 +754,12 @@
|
|
|
754
754
|
}
|
|
755
755
|
},
|
|
756
756
|
"node_modules/@ui5/project": {
|
|
757
|
-
"version": "3.
|
|
758
|
-
"resolved": "https://registry.npmjs.org/@ui5/project/-/project-3.
|
|
759
|
-
"integrity": "sha512-
|
|
757
|
+
"version": "3.9.0",
|
|
758
|
+
"resolved": "https://registry.npmjs.org/@ui5/project/-/project-3.9.0.tgz",
|
|
759
|
+
"integrity": "sha512-pm7FzV8oCaZtLBuoH9bVVpAtRz0pwpAJhJKg731lUHGsMkGG5zaWkmUjajBlQR/+dZtWmTlkwxjpJttjUVi43A==",
|
|
760
760
|
"dependencies": {
|
|
761
|
-
"@npmcli/config": "^8.0.
|
|
762
|
-
"@ui5/builder": "^3.
|
|
761
|
+
"@npmcli/config": "^8.0.3",
|
|
762
|
+
"@ui5/builder": "^3.2.0",
|
|
763
763
|
"@ui5/fs": "^3.0.5",
|
|
764
764
|
"@ui5/logger": "^3.0.0",
|
|
765
765
|
"ajv": "^6.12.6",
|
|
@@ -772,7 +772,7 @@
|
|
|
772
772
|
"lockfile": "^1.0.4",
|
|
773
773
|
"make-fetch-happen": "^13.0.0",
|
|
774
774
|
"node-stream-zip": "^1.15.0",
|
|
775
|
-
"pacote": "^17.0.
|
|
775
|
+
"pacote": "^17.0.5",
|
|
776
776
|
"pretty-hrtime": "^1.0.3",
|
|
777
777
|
"read-pkg": "^8.1.0",
|
|
778
778
|
"read-pkg-up": "^10.1.0",
|
|
@@ -788,11 +788,11 @@
|
|
|
788
788
|
}
|
|
789
789
|
},
|
|
790
790
|
"node_modules/@ui5/server": {
|
|
791
|
-
"version": "3.1.
|
|
792
|
-
"resolved": "https://registry.npmjs.org/@ui5/server/-/server-3.1.
|
|
793
|
-
"integrity": "sha512-
|
|
791
|
+
"version": "3.1.5",
|
|
792
|
+
"resolved": "https://registry.npmjs.org/@ui5/server/-/server-3.1.5.tgz",
|
|
793
|
+
"integrity": "sha512-inVv6DNihzqEZ5MwOIjLJ39eLCgU/msQOjyPt64Fk7BG88MIG4+HiwbPW/07glJ4VQgCrlppZ6+N4ToEc4JFKA==",
|
|
794
794
|
"dependencies": {
|
|
795
|
-
"@ui5/builder": "^3.
|
|
795
|
+
"@ui5/builder": "^3.2.0",
|
|
796
796
|
"@ui5/fs": "^3.0.5",
|
|
797
797
|
"@ui5/logger": "^3.0.0",
|
|
798
798
|
"body-parser": "^1.20.2",
|
|
@@ -3902,11 +3902,11 @@
|
|
|
3902
3902
|
}
|
|
3903
3903
|
},
|
|
3904
3904
|
"node_modules/npm-packlist": {
|
|
3905
|
-
"version": "8.0.
|
|
3906
|
-
"resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-8.0.
|
|
3907
|
-
"integrity": "sha512-
|
|
3905
|
+
"version": "8.0.1",
|
|
3906
|
+
"resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-8.0.1.tgz",
|
|
3907
|
+
"integrity": "sha512-MQpL27ZrsJQ2kiAuQPpZb5LtJwydNRnI15QWXsf3WHERu4rzjRj6Zju/My2fov7tLuu3Gle/uoIX/DDZ3u4O4Q==",
|
|
3908
3908
|
"dependencies": {
|
|
3909
|
-
"ignore-walk": "^6.0.
|
|
3909
|
+
"ignore-walk": "^6.0.4"
|
|
3910
3910
|
},
|
|
3911
3911
|
"engines": {
|
|
3912
3912
|
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
|
@@ -4117,9 +4117,9 @@
|
|
|
4117
4117
|
}
|
|
4118
4118
|
},
|
|
4119
4119
|
"node_modules/pacote": {
|
|
4120
|
-
"version": "17.0.
|
|
4121
|
-
"resolved": "https://registry.npmjs.org/pacote/-/pacote-17.0.
|
|
4122
|
-
"integrity": "sha512-
|
|
4120
|
+
"version": "17.0.5",
|
|
4121
|
+
"resolved": "https://registry.npmjs.org/pacote/-/pacote-17.0.5.tgz",
|
|
4122
|
+
"integrity": "sha512-TAE0m20zSDMnchPja9vtQjri19X3pZIyRpm2TJVeI+yU42leJBBDTRYhOcWFsPhaMxf+3iwQkFiKz16G9AEeeA==",
|
|
4123
4123
|
"dependencies": {
|
|
4124
4124
|
"@npmcli/git": "^5.0.0",
|
|
4125
4125
|
"@npmcli/installed-package-contents": "^2.0.1",
|
|
@@ -4619,9 +4619,9 @@
|
|
|
4619
4619
|
}
|
|
4620
4620
|
},
|
|
4621
4621
|
"node_modules/read-pkg-up/node_modules/type-fest": {
|
|
4622
|
-
"version": "4.8.
|
|
4623
|
-
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.8.
|
|
4624
|
-
"integrity": "sha512
|
|
4622
|
+
"version": "4.8.3",
|
|
4623
|
+
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.8.3.tgz",
|
|
4624
|
+
"integrity": "sha512-//BaTm14Q/gHBn09xlnKNqfI8t6bmdzx2DXYfPBNofN0WUybCEUDcbCWcTa0oF09lzLjZgPphXAsvRiMK0V6Bw==",
|
|
4625
4625
|
"engines": {
|
|
4626
4626
|
"node": ">=16"
|
|
4627
4627
|
},
|
|
@@ -4719,9 +4719,9 @@
|
|
|
4719
4719
|
}
|
|
4720
4720
|
},
|
|
4721
4721
|
"node_modules/read-pkg/node_modules/type-fest": {
|
|
4722
|
-
"version": "4.8.
|
|
4723
|
-
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.8.
|
|
4724
|
-
"integrity": "sha512
|
|
4722
|
+
"version": "4.8.3",
|
|
4723
|
+
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.8.3.tgz",
|
|
4724
|
+
"integrity": "sha512-//BaTm14Q/gHBn09xlnKNqfI8t6bmdzx2DXYfPBNofN0WUybCEUDcbCWcTa0oF09lzLjZgPphXAsvRiMK0V6Bw==",
|
|
4725
4725
|
"engines": {
|
|
4726
4726
|
"node": ">=16"
|
|
4727
4727
|
},
|
|
@@ -5646,9 +5646,9 @@
|
|
|
5646
5646
|
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
|
|
5647
5647
|
},
|
|
5648
5648
|
"node_modules/terser": {
|
|
5649
|
-
"version": "5.
|
|
5650
|
-
"resolved": "https://registry.npmjs.org/terser/-/terser-5.
|
|
5651
|
-
"integrity": "sha512-
|
|
5649
|
+
"version": "5.26.0",
|
|
5650
|
+
"resolved": "https://registry.npmjs.org/terser/-/terser-5.26.0.tgz",
|
|
5651
|
+
"integrity": "sha512-dytTGoE2oHgbNV9nTzgBEPaqAWvcJNl66VZ0BkJqlvp71IjO8CxdBx/ykCNb47cLnCmCvRZ6ZR0tLkqvZCdVBQ==",
|
|
5652
5652
|
"dependencies": {
|
|
5653
5653
|
"@jridgewell/source-map": "^0.3.3",
|
|
5654
5654
|
"acorn": "^8.8.2",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "UI5 Tooling - CLI",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SAP SE",
|
|
@@ -116,11 +116,11 @@
|
|
|
116
116
|
"url": "git@github.com:SAP/ui5-cli.git"
|
|
117
117
|
},
|
|
118
118
|
"dependencies": {
|
|
119
|
-
"@ui5/builder": "^3.
|
|
119
|
+
"@ui5/builder": "^3.2.0",
|
|
120
120
|
"@ui5/fs": "^3.0.5",
|
|
121
121
|
"@ui5/logger": "^3.0.0",
|
|
122
|
-
"@ui5/project": "^3.
|
|
123
|
-
"@ui5/server": "^3.1.
|
|
122
|
+
"@ui5/project": "^3.9.0",
|
|
123
|
+
"@ui5/server": "^3.1.5",
|
|
124
124
|
"chalk": "^5.3.0",
|
|
125
125
|
"data-with-position": "^0.5.0",
|
|
126
126
|
"import-local": "^3.1.0",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"cross-env": "^7.0.3",
|
|
139
139
|
"depcheck": "^1.4.7",
|
|
140
140
|
"docdash": "^2.0.2",
|
|
141
|
-
"eslint": "^8.
|
|
141
|
+
"eslint": "^8.55.0",
|
|
142
142
|
"eslint-config-google": "^0.14.0",
|
|
143
143
|
"eslint-plugin-ava": "^14.0.0",
|
|
144
144
|
"eslint-plugin-jsdoc": "^46.9.0",
|