@sap-ux/fiori-freestyle-writer 1.2.14 → 1.2.15

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.
Files changed (2) hide show
  1. package/dist/utils.js +2 -1
  2. package/package.json +2 -2
package/dist/utils.js CHANGED
@@ -4,6 +4,7 @@ exports.ui5LtsVersion_1_120 = exports.ui5LtsVersion_1_71 = void 0;
4
4
  exports.compareUI5VersionGte = compareUI5VersionGte;
5
5
  exports.getTemplateVersionPath = getTemplateVersionPath;
6
6
  exports.processDestinationPath = processDestinationPath;
7
+ const path_1 = require("path");
7
8
  const types_1 = require("./types");
8
9
  const semver_1 = require("semver");
9
10
  exports.ui5LtsVersion_1_71 = '1.71.0';
@@ -50,6 +51,6 @@ function getTemplateVersionPath(ffApp) {
50
51
  * @returns {string} - The processed file path.
51
52
  */
52
53
  function processDestinationPath(filePath) {
53
- return filePath.replace('/1.120.0', '').replace('/1.71.0', '');
54
+ return filePath.replace(`${path_1.sep}1.120.0`, '').replace(`${path_1.sep}1.71.0`, '');
54
55
  }
55
56
  //# sourceMappingURL=utils.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fiori-freestyle-writer",
3
3
  "description": "SAP Fiori freestyle application writer",
4
- "version": "1.2.14",
4
+ "version": "1.2.15",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -28,8 +28,8 @@
28
28
  "read-pkg-up": "7.0.1",
29
29
  "semver": "7.5.4",
30
30
  "@sap-ux/odata-service-writer": "0.23.1",
31
- "@sap-ux/ui5-application-writer": "1.2.3",
32
31
  "@sap-ux/ui5-config": "0.25.1",
32
+ "@sap-ux/ui5-application-writer": "1.2.3",
33
33
  "@sap-ux/fiori-generator-shared": "0.7.4"
34
34
  },
35
35
  "devDependencies": {