@sap-ux/ui5-application-writer 0.17.12 → 0.17.14
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/index.js +4 -0
- package/dist/types.d.ts +1 -0
- package/package.json +6 -6
package/dist/data/index.js
CHANGED
|
@@ -14,6 +14,10 @@ function mergeWithDefaults(ui5App) {
|
|
|
14
14
|
validators_1.validate(ui5App);
|
|
15
15
|
ui5App.app = defaults_1.mergeApp(ui5App.app);
|
|
16
16
|
ui5App.appOptions = ui5App.appOptions || {};
|
|
17
|
+
// if typescript and codeAssist is enabled disable codeAssist
|
|
18
|
+
if (ui5App.appOptions.typescript && ui5App.appOptions.codeAssist) {
|
|
19
|
+
ui5App.appOptions.codeAssist = false;
|
|
20
|
+
}
|
|
17
21
|
ui5App.ui5 = defaults_1.mergeUi5(ui5App.ui5 || {}, ui5App.appOptions);
|
|
18
22
|
ui5App.package = defaults_1.mergeObjects(defaults_1.packageDefaults(ui5App.package.version, ui5App.app.description), ui5App.package);
|
|
19
23
|
if (ui5App.appOptions.sapux) {
|
package/dist/types.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export interface AppOptions {
|
|
|
57
57
|
loadReuseLibs: boolean;
|
|
58
58
|
/**
|
|
59
59
|
* Enable Typescript support and generate all files in Typescript instead of Javascript
|
|
60
|
+
* Enabling Typescript will disable JavaScript codeAssist if also enabled. Typescript code assist will be used instead
|
|
60
61
|
*/
|
|
61
62
|
typescript: boolean;
|
|
62
63
|
/**
|
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.17.
|
|
12
|
+
"version": "0.17.14",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"main": "dist/index.js",
|
|
15
15
|
"files": [
|
|
@@ -20,7 +20,7 @@
|
|
|
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
24
|
"ejs": "3.1.7",
|
|
25
25
|
"i18next": "21.6.11",
|
|
26
26
|
"lodash": "4.17.21",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"semver": "7.3.5"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@sap-ux/project-access": "1.0.
|
|
32
|
+
"@sap-ux/project-access": "1.0.3",
|
|
33
33
|
"@types/ejs": "3.1.0",
|
|
34
34
|
"@types/fs-extra": "9.0.13",
|
|
35
35
|
"@types/lodash": "4.14.176",
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"node": ">= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
|
-
"build": "
|
|
47
|
-
"
|
|
46
|
+
"build": "tsc --build",
|
|
47
|
+
"watch": "tsc --watch",
|
|
48
|
+
"clean": "rimraf dist test/test-output coverage *.tsbuildinfo",
|
|
48
49
|
"format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
|
|
49
50
|
"lint": "eslint . --ext .ts",
|
|
50
51
|
"lint:fix": "eslint . --ext .ts --fix",
|
|
51
52
|
"test": "jest --ci --forceExit --detectOpenHandles --colors",
|
|
52
53
|
"test-u": "jest --ci --forceExit --detectOpenHandles --colors -u",
|
|
53
|
-
"watch": "tsc --watch",
|
|
54
54
|
"link": "pnpm link --global",
|
|
55
55
|
"unlink": "pnpm unlink --global"
|
|
56
56
|
}
|