@sap-ux/create 0.13.5 → 0.13.7
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/README.md +3 -2
- package/dist/cli/add/cards-generator.js +0 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -62,11 +62,12 @@ sap-ux add annotations [path]
|
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
### [cards-editor](#add-cards-editor)<a id="add-cards-editor"></a>
|
|
65
|
-
Calling `sap-ux add cards-editor`
|
|
65
|
+
Calling `sap-ux add cards-editor` will add the necessary configuration to an existing yaml file and the script to package.json for cards generation.
|
|
66
|
+
It will use the configuration from the yaml file passed by cli or default to ui5.yaml, as provided by the fiori-tools-preview or preview-middleware.
|
|
66
67
|
```sh
|
|
67
68
|
sap-ux add cards-editor [path]
|
|
68
69
|
```
|
|
69
|
-
- `-
|
|
70
|
+
- `-c | --config` path to project configuration file in YAML format, e.g.: -c ui5Custom.yaml
|
|
70
71
|
|
|
71
72
|
### [component-usages](#add-component-usages)<a id="add-component-usages"></a>
|
|
72
73
|
Calling `sap-ux add component-usages` adds the component usages to an adaptation project.
|
|
@@ -12,7 +12,6 @@ const validation_1 = require("../../validation");
|
|
|
12
12
|
function addCardsEditorConfigCommand(cmd) {
|
|
13
13
|
cmd.command('cards-editor [path]')
|
|
14
14
|
.option('-c, --config <string>', 'Path to project configuration file in YAML format', 'ui5.yaml')
|
|
15
|
-
.option('-n, --skip-install', 'skip npm install step')
|
|
16
15
|
.option('-s, --simulate', 'simulate only do not write config; sets also --verbose')
|
|
17
16
|
.option('-v, --verbose', 'show verbose information')
|
|
18
17
|
.action(async (path, options) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/create",
|
|
3
3
|
"description": "SAP Fiori tools module to add or remove features",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.7",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -32,18 +32,18 @@
|
|
|
32
32
|
"prompts": "2.4.2",
|
|
33
33
|
"@sap-ux/abap-deploy-config-inquirer": "1.4.1",
|
|
34
34
|
"@sap-ux/abap-deploy-config-writer": "0.1.1",
|
|
35
|
-
"@sap-ux/adp-tooling": "0.14.2",
|
|
36
35
|
"@sap-ux/app-config-writer": "0.6.2",
|
|
36
|
+
"@sap-ux/adp-tooling": "0.14.2",
|
|
37
37
|
"@sap-ux/cap-config-writer": "0.10.1",
|
|
38
|
-
"@sap-ux/logger": "0.7.0",
|
|
39
38
|
"@sap-ux/cards-editor-config-writer": "0.5.1",
|
|
40
39
|
"@sap-ux/mockserver-config-writer": "0.9.1",
|
|
41
|
-
"@sap-ux/preview-middleware": "0.20.5",
|
|
42
40
|
"@sap-ux/odata-service-writer": "0.27.1",
|
|
41
|
+
"@sap-ux/preview-middleware": "0.20.6",
|
|
43
42
|
"@sap-ux/project-access": "1.30.1",
|
|
44
43
|
"@sap-ux/system-access": "0.6.0",
|
|
45
44
|
"@sap-ux/ui5-config": "0.28.1",
|
|
46
|
-
"@sap-ux/flp-config-inquirer": "0.3.2"
|
|
45
|
+
"@sap-ux/flp-config-inquirer": "0.3.2",
|
|
46
|
+
"@sap-ux/logger": "0.7.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/diff": "5.0.9",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"@types/mem-fs": "1.1.2",
|
|
52
52
|
"@types/mem-fs-editor": "7.0.1",
|
|
53
53
|
"@types/prompts": "2.4.4",
|
|
54
|
-
"@sap-ux/
|
|
55
|
-
"@sap-ux/
|
|
54
|
+
"@sap-ux/inquirer-common": "0.7.1",
|
|
55
|
+
"@sap-ux/store": "1.1.0"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsc --build",
|