@sap-ux/mockserver-config-writer 0.1.6 → 0.1.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.
|
@@ -60,6 +60,7 @@ exports.enhanceYaml = enhanceYaml;
|
|
|
60
60
|
* @param fs - Editor instance to read existing information
|
|
61
61
|
* @param ui5MockYamlPath - path to ui5-mock.yaml file
|
|
62
62
|
* @param [path] - optional url path the mockserver listens to
|
|
63
|
+
* @returns {*} {Promise<UI5Config>} - Update Yaml Doc
|
|
63
64
|
*/
|
|
64
65
|
function updateUi5MockYamlConfig(fs, ui5MockYamlPath, path) {
|
|
65
66
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -74,6 +75,7 @@ function updateUi5MockYamlConfig(fs, ui5MockYamlPath, path) {
|
|
|
74
75
|
* @param fs - Editor instance to read existing information
|
|
75
76
|
* @param basePath -
|
|
76
77
|
* @param [path] - optional path for mockserver config
|
|
78
|
+
* @returns {*} {Promise<UI5Config>} - Update Yaml Doc
|
|
77
79
|
*/
|
|
78
80
|
function generateUi5MockYamlBasedOnUi5Yaml(fs, basePath, path) {
|
|
79
81
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -87,6 +89,7 @@ function generateUi5MockYamlBasedOnUi5Yaml(fs, basePath, path) {
|
|
|
87
89
|
*
|
|
88
90
|
* @param appId - application id
|
|
89
91
|
* @param [path] - optional url path the mockserver listens to
|
|
92
|
+
* @returns {*} {Promise<UI5Config>} - Update Yaml Doc
|
|
90
93
|
*/
|
|
91
94
|
function generateNewUi5MockYamlConfig(appId, path) {
|
|
92
95
|
return __awaiter(this, void 0, void 0, function* () {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/mockserver-config-writer",
|
|
3
3
|
"description": "Add or update configuration for SAP Fiori tools mockserver",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.7",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"i18next": "20.3.2",
|
|
23
23
|
"mem-fs": "2.1.0",
|
|
24
24
|
"mem-fs-editor": "9.4.0",
|
|
25
|
-
"@sap-ux/ui5-config": "0.18.
|
|
25
|
+
"@sap-ux/ui5-config": "0.18.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/mem-fs": "1.1.2",
|
|
29
29
|
"@types/mem-fs-editor": "7.0.1",
|
|
30
30
|
"@types/prompts": "2.0.14",
|
|
31
31
|
"prompts": "2.4.2",
|
|
32
|
-
"@sap-ux/project-access": "1.8.
|
|
32
|
+
"@sap-ux/project-access": "1.8.4"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
35
35
|
"pnpm": ">=6.26.1 < 7.0.0 || >=7.1.0",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "tsc --build",
|
|
40
|
-
"clean": "rimraf dist coverage *.tsbuildinfo",
|
|
40
|
+
"clean": "rimraf --glob dist coverage *.tsbuildinfo",
|
|
41
41
|
"format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
|
|
42
42
|
"lint": "eslint . --ext .ts",
|
|
43
43
|
"lint:fix": "eslint . --ext .ts --fix",
|