@sap-ux/ui5-application-writer 0.17.13 → 0.18.0
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/data/defaults.js
CHANGED
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.getSpecTagVersion = exports.getEsmTypesVersion = exports.getTypesVersion = exports.mergeUi5 = exports.defaultUI5Libs = exports.mergeApp = exports.mergeObjects = exports.packageDefaults = void 0;
|
|
7
|
-
const
|
|
7
|
+
const mapping_json_1 = __importDefault(require("@ui5/manifest/mapping.json")); // from https://github.com/SAP/ui5-manifest/blob/master/mapping.json
|
|
8
8
|
const ui5Libs_1 = require("./ui5Libs");
|
|
9
9
|
const semver_1 = __importDefault(require("semver"));
|
|
10
10
|
const i18n_1 = require("../i18n");
|
|
@@ -184,7 +184,7 @@ function getManifestVersion(ui5Version, manifestVersion) {
|
|
|
184
184
|
* @returns closest matching manifest version or undefined, if none found (below lowest value)
|
|
185
185
|
*/
|
|
186
186
|
const getClosestManifestVersion = (version) => {
|
|
187
|
-
const verToManifestVer =
|
|
187
|
+
const verToManifestVer = mapping_json_1.default;
|
|
188
188
|
let matchVersion = verToManifestVer[`${semver_1.default.major(version)}.${semver_1.default.minor(version)}`];
|
|
189
189
|
if (!matchVersion) {
|
|
190
190
|
const sortedSemVers = Object.keys(verToManifestVer)
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"bugs": {
|
|
10
10
|
"url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Aui5-application-writer"
|
|
11
11
|
},
|
|
12
|
-
"version": "0.
|
|
12
|
+
"version": "0.18.0",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"main": "dist/index.js",
|
|
15
15
|
"files": [
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"!dist/**/*.map"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@sap-ux/ui5-config": "0.16.
|
|
23
|
+
"@sap-ux/ui5-config": "0.16.1",
|
|
24
|
+
"@ui5/manifest": "1.49.2",
|
|
24
25
|
"ejs": "3.1.7",
|
|
25
26
|
"i18next": "21.6.11",
|
|
26
27
|
"lodash": "4.17.21",
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
"semver": "7.3.5"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
32
|
-
"@sap-ux/project-access": "1.0.
|
|
33
|
+
"@sap-ux/project-access": "1.0.4",
|
|
33
34
|
"@types/ejs": "3.1.0",
|
|
34
35
|
"@types/fs-extra": "9.0.13",
|
|
35
36
|
"@types/lodash": "4.14.176",
|
|
@@ -43,14 +44,14 @@
|
|
|
43
44
|
"node": ">= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0"
|
|
44
45
|
},
|
|
45
46
|
"scripts": {
|
|
46
|
-
"build": "
|
|
47
|
-
"
|
|
47
|
+
"build": "tsc --build",
|
|
48
|
+
"watch": "tsc --watch",
|
|
49
|
+
"clean": "rimraf dist test/test-output coverage *.tsbuildinfo",
|
|
48
50
|
"format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
|
|
49
51
|
"lint": "eslint . --ext .ts",
|
|
50
52
|
"lint:fix": "eslint . --ext .ts --fix",
|
|
51
53
|
"test": "jest --ci --forceExit --detectOpenHandles --colors",
|
|
52
54
|
"test-u": "jest --ci --forceExit --detectOpenHandles --colors -u",
|
|
53
|
-
"watch": "tsc --watch",
|
|
54
55
|
"link": "pnpm link --global",
|
|
55
56
|
"unlink": "pnpm unlink --global"
|
|
56
57
|
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"latest": "1.48.0",
|
|
3
|
-
"1.108": "1.48.0",
|
|
4
|
-
"1.107": "1.47.0",
|
|
5
|
-
"1.106": "1.46.0",
|
|
6
|
-
"1.105": "1.45.0",
|
|
7
|
-
"1.104": "1.44.0",
|
|
8
|
-
"1.103": "1.43.0",
|
|
9
|
-
"1.102": "1.42.0",
|
|
10
|
-
"1.101": "1.41.0",
|
|
11
|
-
"1.100": "1.40.0",
|
|
12
|
-
"1.99": "1.39.0",
|
|
13
|
-
"1.98": "1.38.0",
|
|
14
|
-
"1.96": "1.37.0",
|
|
15
|
-
"1.95": "1.36.0",
|
|
16
|
-
"1.93": "1.35.0",
|
|
17
|
-
"1.92": "1.34.0",
|
|
18
|
-
"1.90": "1.33.0",
|
|
19
|
-
"1.88": "1.32.0",
|
|
20
|
-
"1.87": "1.31.0",
|
|
21
|
-
"1.86": "1.30.0",
|
|
22
|
-
"1.85": "1.29.0",
|
|
23
|
-
"1.84": "1.28.0",
|
|
24
|
-
"1.83": "1.27.0",
|
|
25
|
-
"1.82": "1.26.0",
|
|
26
|
-
"1.81": "1.25.0",
|
|
27
|
-
"1.80": "1.24.0",
|
|
28
|
-
"1.79": "1.23.0",
|
|
29
|
-
"1.78": "1.22.0",
|
|
30
|
-
"1.77": "1.21.0",
|
|
31
|
-
"1.76": "1.20.0",
|
|
32
|
-
"1.75": "1.19.0",
|
|
33
|
-
"1.74": "1.18.0",
|
|
34
|
-
"1.73": "1.17.0",
|
|
35
|
-
"1.72": "1.17.0",
|
|
36
|
-
"1.71": "1.17.0",
|
|
37
|
-
"1.70": "1.16.0",
|
|
38
|
-
"1.69": "1.15.0",
|
|
39
|
-
"1.68": "1.15.0",
|
|
40
|
-
"1.67": "1.15.0",
|
|
41
|
-
"1.66": "1.15.0",
|
|
42
|
-
"1.65": "1.14.0",
|
|
43
|
-
"1.64": "1.14.0",
|
|
44
|
-
"1.63": "1.14.0",
|
|
45
|
-
"1.62": "1.14.0",
|
|
46
|
-
"1.61": "1.13.0",
|
|
47
|
-
"1.60": "1.12.0",
|
|
48
|
-
"1.59": "1.12.0",
|
|
49
|
-
"1.58": "1.12.0",
|
|
50
|
-
"1.57": "1.11.0",
|
|
51
|
-
"1.56": "1.11.0",
|
|
52
|
-
"1.55": "1.10.0",
|
|
53
|
-
"1.54": "1.10.0",
|
|
54
|
-
"1.53": "1.9.0",
|
|
55
|
-
"1.52": "1.9.0",
|
|
56
|
-
"1.51": "1.8.0",
|
|
57
|
-
"1.50": "1.8.0",
|
|
58
|
-
"1.49": "1.7.0",
|
|
59
|
-
"1.48": "1.7.0",
|
|
60
|
-
"1.47": "1.6.0",
|
|
61
|
-
"1.46": "1.6.0",
|
|
62
|
-
"1.45": "1.5.0",
|
|
63
|
-
"1.44": "1.5.0",
|
|
64
|
-
"1.43": "1.5.0",
|
|
65
|
-
"1.42": "1.5.0",
|
|
66
|
-
"1.41": "1.4.0",
|
|
67
|
-
"1.40": "1.4.0",
|
|
68
|
-
"1.39": "1.4.0",
|
|
69
|
-
"1.38": "1.4.0",
|
|
70
|
-
"1.37": "1.3.0",
|
|
71
|
-
"1.36": "1.3.0",
|
|
72
|
-
"1.35": "1.3.0",
|
|
73
|
-
"1.34": "1.3.0",
|
|
74
|
-
"1.33": "1.2.0",
|
|
75
|
-
"1.32": "1.2.0",
|
|
76
|
-
"1.31": "1.1.0",
|
|
77
|
-
"1.30": "1.1.0"
|
|
78
|
-
}
|