@sap-ux/ui5-library-reference-writer 0.1.26 → 0.1.27
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/dist/helpers.js +2 -3
- package/dist/index.js +1 -2
- package/package.json +2 -2
package/dist/helpers.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.updateManifest = updateManifest;
|
|
4
|
+
exports.updateYaml = updateYaml;
|
|
4
5
|
const ui5_config_1 = require("@sap-ux/ui5-config");
|
|
5
6
|
const project_access_1 = require("@sap-ux/project-access");
|
|
6
7
|
const path_1 = require("path");
|
|
@@ -27,7 +28,6 @@ async function updateManifest(projectPath, reuseLibs, fs) {
|
|
|
27
28
|
});
|
|
28
29
|
fs.writeJSON(manifestPath, manifest);
|
|
29
30
|
}
|
|
30
|
-
exports.updateManifest = updateManifest;
|
|
31
31
|
/**
|
|
32
32
|
* Updates yaml files with references for the chosen reuse libs.
|
|
33
33
|
*
|
|
@@ -46,7 +46,6 @@ function updateYaml(projectPath, reuseLibs, fs) {
|
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
-
exports.updateYaml = updateYaml;
|
|
50
49
|
/**
|
|
51
50
|
* Returns the serve static paths for the reuse libraries.
|
|
52
51
|
*
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.generate =
|
|
3
|
+
exports.generate = generate;
|
|
4
4
|
const mem_fs_1 = require("mem-fs");
|
|
5
5
|
const mem_fs_editor_1 = require("mem-fs-editor");
|
|
6
6
|
const helpers_1 = require("./helpers");
|
|
@@ -20,5 +20,4 @@ async function generate(basePath, referenceLibraries, fs) {
|
|
|
20
20
|
await (0, helpers_1.updateManifest)(basePath, referenceLibraries, fs);
|
|
21
21
|
return fs;
|
|
22
22
|
}
|
|
23
|
-
exports.generate = generate;
|
|
24
23
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
7
7
|
"directory": "packages/ui5-library-reference-writer"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.27",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "dist/index.js",
|
|
12
12
|
"files": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"mem-fs": "2.1.0",
|
|
23
23
|
"mem-fs-editor": "9.4.0",
|
|
24
|
-
"@sap-ux/project-access": "1.27.
|
|
24
|
+
"@sap-ux/project-access": "1.27.6",
|
|
25
25
|
"@sap-ux/ui5-config": "0.25.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|