@ui5/cli 3.7.0 → 3.7.2
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 +29 -3
- package/lib/cli/commands/init.js +1 -1
- package/lib/init/init.js +4 -1
- package/npm-shrinkwrap.json +249 -542
- package/package.json +11 -10
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.7.
|
|
5
|
+
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v3.7.2...HEAD).
|
|
6
|
+
|
|
7
|
+
<a name="v3.7.2"></a>
|
|
8
|
+
## [v3.7.2] - 2023-11-20
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
- **ui5 init:** Improve error message ([#661](https://github.com/SAP/ui5-cli/issues/661)) [`07e68b0`](https://github.com/SAP/ui5-cli/commit/07e68b00ff5cd2e80c0b1b52fa644e27752ccecb)
|
|
11
|
+
- **ui5.yaml:** Use double quotes for string values ([#660](https://github.com/SAP/ui5-cli/issues/660)) [`c30e371`](https://github.com/SAP/ui5-cli/commit/c30e371be147d859539afbe9a44cc03202a8c870)
|
|
12
|
+
|
|
13
|
+
### Dependency Updates
|
|
14
|
+
- Bump [@ui5](https://github.com/ui5)/project from 3.7.3 to 3.8.0 [`2566170`](https://github.com/SAP/ui5-cli/commit/25661708c2b84f9c21d326c2d4ccb84464d7d2b5)
|
|
15
|
+
- Bump [@ui5](https://github.com/ui5)/server from 3.1.3 to 3.1.4 [`2c90ff5`](https://github.com/SAP/ui5-cli/commit/2c90ff542dd5862603ebd0cc927ca71cd243cb8c)
|
|
16
|
+
- Bump [@ui5](https://github.com/ui5)/builder from 3.1.0 to 3.1.1 [`7b97356`](https://github.com/SAP/ui5-cli/commit/7b973566aa647ba1e2b271fa1c77b1bd7025c9ca)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
<a name="v3.7.1"></a>
|
|
20
|
+
## [v3.7.1] - 2023-10-20
|
|
21
|
+
### Dependency Updates
|
|
22
|
+
- Bump [@ui5](https://github.com/ui5)/project from 3.7.2 to 3.7.3 [`c59d1fb`](https://github.com/SAP/ui5-cli/commit/c59d1fb7577a17590c55b111fb1bcbd30c3ba425)
|
|
23
|
+
|
|
6
24
|
|
|
7
25
|
<a name="v3.7.0"></a>
|
|
8
26
|
## [v3.7.0] - 2023-10-11
|
|
@@ -30,11 +48,16 @@ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/
|
|
|
30
48
|
|
|
31
49
|
<a name="v3.5.0"></a>
|
|
32
50
|
## [v3.5.0] - 2023-08-22
|
|
51
|
+
### Dependency Updates
|
|
52
|
+
- Bump [@ui5](https://github.com/ui5)/project from 3.5.1 to 3.6.0 [`e5627d8`](https://github.com/SAP/ui5-cli/commit/e5627d81c9e66668bb99d128a304d403df9fd224)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
<a name="v3.4.1"></a>
|
|
56
|
+
## [v3.4.1] - 2023-10-24
|
|
33
57
|
### Bug Fixes
|
|
34
58
|
- **ui5 config:** Allow usage of all Configuration options ([#645](https://github.com/SAP/ui5-cli/issues/645)) [`78e032e`](https://github.com/SAP/ui5-cli/commit/78e032ebd7d71ee59e6f6fd4f21dc0564e108d44)
|
|
35
59
|
|
|
36
60
|
### Dependency Updates
|
|
37
|
-
- Bump [@ui5](https://github.com/ui5)/project from 3.5.1 to 3.6.0 [`e5627d8`](https://github.com/SAP/ui5-cli/commit/e5627d81c9e66668bb99d128a304d403df9fd224)
|
|
38
61
|
- Bump [@ui5](https://github.com/ui5)/project from 3.5.0 to 3.5.1 [`4ca30c3`](https://github.com/SAP/ui5-cli/commit/4ca30c3dc4066919f68af47307b4dc8b0bd898f7)
|
|
39
62
|
|
|
40
63
|
|
|
@@ -1123,10 +1146,13 @@ Only Node.js v10 or higher is supported.
|
|
|
1123
1146
|
|
|
1124
1147
|
<a name="v0.0.1"></a>
|
|
1125
1148
|
## v0.0.1 - 2018-06-06
|
|
1149
|
+
[v3.7.2]: https://github.com/SAP/ui5-cli/compare/v3.7.1...v3.7.2
|
|
1150
|
+
[v3.7.1]: https://github.com/SAP/ui5-cli/compare/v3.7.0...v3.7.1
|
|
1126
1151
|
[v3.7.0]: https://github.com/SAP/ui5-cli/compare/v3.6.1...v3.7.0
|
|
1127
1152
|
[v3.6.1]: https://github.com/SAP/ui5-cli/compare/v3.6.0...v3.6.1
|
|
1128
1153
|
[v3.6.0]: https://github.com/SAP/ui5-cli/compare/v3.5.0...v3.6.0
|
|
1129
|
-
[v3.5.0]: https://github.com/SAP/ui5-cli/compare/v3.4.
|
|
1154
|
+
[v3.5.0]: https://github.com/SAP/ui5-cli/compare/v3.4.1...v3.5.0
|
|
1155
|
+
[v3.4.1]: https://github.com/SAP/ui5-cli/compare/v3.4.0...v3.4.1
|
|
1130
1156
|
[v3.4.0]: https://github.com/SAP/ui5-cli/compare/v3.3.4...v3.4.0
|
|
1131
1157
|
[v3.3.4]: https://github.com/SAP/ui5-cli/compare/v3.3.3...v3.3.4
|
|
1132
1158
|
[v3.3.3]: https://github.com/SAP/ui5-cli/compare/v3.3.2...v3.3.3
|
package/lib/cli/commands/init.js
CHANGED
|
@@ -20,7 +20,7 @@ initCommand.handler = async function() {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
const projectConfig = await init();
|
|
23
|
-
const yaml = jsYaml.dump(projectConfig);
|
|
23
|
+
const yaml = jsYaml.dump(projectConfig, {quotingType: `"`});
|
|
24
24
|
|
|
25
25
|
await writeFile(yamlPath, yaml);
|
|
26
26
|
console.log(`Wrote ui5.yaml to ${yamlPath}:\n`);
|
package/lib/init/init.js
CHANGED
|
@@ -48,7 +48,10 @@ function getProjectType(hasWebapp, hasSrc, hasTest) {
|
|
|
48
48
|
|
|
49
49
|
let message = `Could not detect project type: ${errorReason}`;
|
|
50
50
|
message += "Applications should only have a 'webapp' folder.\n";
|
|
51
|
-
message += "Libraries should only have
|
|
51
|
+
message += "Libraries should only have an 'src' and (optional) 'test' folder.";
|
|
52
|
+
message += "\n\n";
|
|
53
|
+
message += "If you are about to start a new project, please refer to:\n";
|
|
54
|
+
message += "https://sap.github.io/ui5-tooling/v3/pages/GettingStarted/#starting-a-new-project";
|
|
52
55
|
throw new Error(message);
|
|
53
56
|
}
|
|
54
57
|
|