@sap-ux/create 0.8.65 → 0.8.67
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 +5 -5
- package/dist/cli/add/variants-config.js +2 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ Calling `sap-ux add annotations` allows adding an annotation to the OData Source
|
|
|
57
57
|
```sh
|
|
58
58
|
sap-ux add annotations [path]
|
|
59
59
|
```
|
|
60
|
-
- `-c | --config` path to project configuration file in YAML format, e.g.: `-c
|
|
60
|
+
- `-c | --config` path to project configuration file in YAML format, e.g.: `-c ui5Custom.yaml`
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
### cards-editor
|
|
@@ -97,7 +97,7 @@ Calling `sap-ux add html` will add html files for local preview and testing to t
|
|
|
97
97
|
```sh
|
|
98
98
|
sap-ux add html [path]
|
|
99
99
|
```
|
|
100
|
-
- `-c | --config` path to project configuration file in YAML format, e.g.: `-c
|
|
100
|
+
- `-c | --config` path to project configuration file in YAML format, e.g.: `-c ui5Custom.yaml`
|
|
101
101
|
|
|
102
102
|
### model
|
|
103
103
|
Calling `sap-ux add model` allows to add new OData Service and SAPUI5 Model to an existing adaptation project.
|
|
@@ -120,11 +120,11 @@ sap-ux add smartlinks-config [path]
|
|
|
120
120
|
```
|
|
121
121
|
|
|
122
122
|
### variants-config
|
|
123
|
-
Calling `sap-ux add variants-config` will add the necessary configuration to existing yaml
|
|
123
|
+
Calling `sap-ux add variants-config` will add the necessary configuration to an existing yaml file and the script to package.json for variants creation. 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`.
|
|
124
124
|
```sh
|
|
125
125
|
sap-ux add variants-config [path]
|
|
126
126
|
```
|
|
127
|
-
- `-c | --config` path to project configuration file in YAML format, e.g.: `-c
|
|
127
|
+
- `-c | --config` path to project configuration file in YAML format, e.g.: `-c ui5Custom.yaml`
|
|
128
128
|
|
|
129
129
|
## sap-ux change
|
|
130
130
|
Calling `sap-ux change` allows changing a feature of a project.
|
|
@@ -134,7 +134,7 @@ Calling `sap-ux change data-source` allows replacing the OData Source of the bas
|
|
|
134
134
|
```sh
|
|
135
135
|
sap-ux change data-source [path]
|
|
136
136
|
```
|
|
137
|
-
- `-c | --config` path to project configuration file in YAML format, e.g.: `-c
|
|
137
|
+
- `-c | --config` path to project configuration file in YAML format, e.g.: `-c ui5Custom.yaml`
|
|
138
138
|
|
|
139
139
|
### inbound
|
|
140
140
|
Calling `sap-ux change inbound` allows replacing the Inbound FLP configurations of the base application in an adaptation project.
|
|
@@ -24,10 +24,11 @@ function addAddVariantsConfigCommand(cmd) {
|
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Adds a variants config to an app or project.
|
|
27
|
+
* The command will update the package.json file with the ‘start-variant-management’ script and will use the configuration in yaml format passed by cli or default to the ui5.yaml file, if given.
|
|
27
28
|
*
|
|
28
29
|
* @param basePath - the base path where the package.json and ui5.yaml is
|
|
29
30
|
* @param simulate - if true, do not write but just show what would be changed; otherwise write
|
|
30
|
-
* @param yamlPath - path to the ui5*.yaml file
|
|
31
|
+
* @param yamlPath - path to the ui5*.yaml file passed by cli
|
|
31
32
|
*/
|
|
32
33
|
async function addVariantsConfig(basePath, simulate, yamlPath) {
|
|
33
34
|
const logger = (0, tracing_1.getLogger)();
|
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.8.
|
|
4
|
+
"version": "0.8.67",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"mem-fs": "2.1.0",
|
|
31
31
|
"mem-fs-editor": "9.4.0",
|
|
32
32
|
"prompts": "2.4.2",
|
|
33
|
-
"@sap-ux/abap-deploy-config-inquirer": "1.0.
|
|
34
|
-
"@sap-ux/abap-deploy-config-writer": "0.0.
|
|
35
|
-
"@sap-ux/adp-tooling": "0.12.
|
|
36
|
-
"@sap-ux/app-config-writer": "0.4.
|
|
37
|
-
"@sap-ux/cap-config-writer": "0.7.
|
|
33
|
+
"@sap-ux/abap-deploy-config-inquirer": "1.0.17",
|
|
34
|
+
"@sap-ux/abap-deploy-config-writer": "0.0.57",
|
|
35
|
+
"@sap-ux/adp-tooling": "0.12.72",
|
|
36
|
+
"@sap-ux/app-config-writer": "0.4.50",
|
|
37
|
+
"@sap-ux/cap-config-writer": "0.7.55",
|
|
38
38
|
"@sap-ux/cards-editor-config-writer": "0.4.6",
|
|
39
39
|
"@sap-ux/inquirer-common": "0.4.10",
|
|
40
40
|
"@sap-ux/logger": "0.6.0",
|
|
41
41
|
"@sap-ux/mockserver-config-writer": "0.6.6",
|
|
42
|
-
"@sap-ux/preview-middleware": "0.16.
|
|
43
|
-
"@sap-ux/project-access": "1.28.
|
|
42
|
+
"@sap-ux/preview-middleware": "0.16.107",
|
|
43
|
+
"@sap-ux/project-access": "1.28.6",
|
|
44
44
|
"@sap-ux/system-access": "0.5.15",
|
|
45
45
|
"@sap-ux/ui5-config": "0.25.1"
|
|
46
46
|
},
|