@sap-ux/ui5-application-writer 0.22.2 → 0.22.3
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/ui5Libs.d.ts +0 -5
- package/dist/data/ui5Libs.js +1 -6
- package/package.json +2 -2
- package/templates/optional/codeAssist/.eslintrc +8 -8
- package/templates/optional/codeAssist/tsconfig.json +9 -9
- package/templates/optional/typescript/.babelrc.json +15 -2
- package/templates/optional/typescript/package.json +1 -1
- package/templates/optional/typescript/tsconfig.json +21 -23
package/dist/data/ui5Libs.d.ts
CHANGED
|
@@ -14,9 +14,6 @@ export declare const ui5TSSupport: {
|
|
|
14
14
|
afterTask: string;
|
|
15
15
|
configuration: {
|
|
16
16
|
debug: boolean;
|
|
17
|
-
removeConsoleStatements: boolean;
|
|
18
|
-
transpileAsync: boolean;
|
|
19
|
-
transpileTypeScript: boolean;
|
|
20
17
|
};
|
|
21
18
|
};
|
|
22
19
|
middleware: {
|
|
@@ -24,8 +21,6 @@ export declare const ui5TSSupport: {
|
|
|
24
21
|
afterMiddleware: string;
|
|
25
22
|
configuration: {
|
|
26
23
|
debug: boolean;
|
|
27
|
-
transpileAsync: boolean;
|
|
28
|
-
transpileTypeScript: boolean;
|
|
29
24
|
excludePatterns: string[];
|
|
30
25
|
};
|
|
31
26
|
};
|
package/dist/data/ui5Libs.js
CHANGED
|
@@ -23,10 +23,7 @@ exports.ui5TSSupport = {
|
|
|
23
23
|
name: 'ui5-tooling-transpile-task',
|
|
24
24
|
afterTask: 'replaceVersion',
|
|
25
25
|
configuration: {
|
|
26
|
-
debug: true
|
|
27
|
-
removeConsoleStatements: true,
|
|
28
|
-
transpileAsync: true,
|
|
29
|
-
transpileTypeScript: true
|
|
26
|
+
debug: true
|
|
30
27
|
}
|
|
31
28
|
},
|
|
32
29
|
middleware: {
|
|
@@ -34,8 +31,6 @@ exports.ui5TSSupport = {
|
|
|
34
31
|
afterMiddleware: 'compression',
|
|
35
32
|
configuration: {
|
|
36
33
|
debug: true,
|
|
37
|
-
transpileAsync: true,
|
|
38
|
-
transpileTypeScript: true,
|
|
39
34
|
excludePatterns: ['/Component-preload.js']
|
|
40
35
|
}
|
|
41
36
|
}
|
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.22.
|
|
12
|
+
"version": "0.22.3",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"main": "dist/index.js",
|
|
15
15
|
"files": [
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"semver": "7.3.5"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@sap-ux/eslint-plugin-fiori-tools": "0.1.
|
|
33
|
+
"@sap-ux/eslint-plugin-fiori-tools": "0.1.5",
|
|
34
34
|
"@sap-ux/project-access": "1.5.0",
|
|
35
35
|
"@types/ejs": "3.1.0",
|
|
36
36
|
"@types/fs-extra": "9.0.13",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
"root": true,
|
|
3
|
+
"plugins": [
|
|
4
|
+
"@sap/ui5-jsdocs"
|
|
5
|
+
],
|
|
6
|
+
"extends": [
|
|
7
|
+
"plugin:@sap/ui5-jsdocs/recommended",
|
|
8
|
+
"eslint:recommended"
|
|
9
|
+
]
|
|
10
10
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "none",
|
|
4
|
+
"noEmit": true,
|
|
5
|
+
"checkJs": true,
|
|
6
|
+
"allowJs": true,
|
|
7
|
+
"types": [
|
|
8
|
+
"@sapui5/ts-types"
|
|
9
|
+
]
|
|
10
|
+
}
|
|
11
11
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"ignore": [
|
|
2
|
+
"ignore": [
|
|
3
|
+
"**/*.d.ts"
|
|
4
|
+
],
|
|
3
5
|
"presets": [
|
|
6
|
+
"@babel/preset-env",
|
|
4
7
|
[
|
|
5
8
|
"transform-ui5",
|
|
6
9
|
{
|
|
@@ -8,5 +11,15 @@
|
|
|
8
11
|
}
|
|
9
12
|
],
|
|
10
13
|
"@babel/preset-typescript"
|
|
11
|
-
]
|
|
14
|
+
],
|
|
15
|
+
"plugins": [
|
|
16
|
+
"transform-remove-console",
|
|
17
|
+
[
|
|
18
|
+
"transform-async-to-promises",
|
|
19
|
+
{
|
|
20
|
+
"inlineHelpers": true
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
],
|
|
24
|
+
"sourceMaps": true
|
|
12
25
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"@sapui5/ts-types-esm": "<%- ui5.typesVersion %>",
|
|
10
|
-
"ui5-tooling-transpile": "^0.7.
|
|
10
|
+
"ui5-tooling-transpile": "^0.7.10",
|
|
11
11
|
"typescript": "^4.6.3",
|
|
12
12
|
"@typescript-eslint/eslint-plugin": "^5.59.0",
|
|
13
13
|
"@typescript-eslint/parser": "^5.59.0",
|
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es2022",
|
|
4
|
+
"module": "es2022",
|
|
5
|
+
"skipLibCheck": true,
|
|
6
|
+
"allowJs": true,
|
|
7
|
+
"strict": true,
|
|
8
|
+
"strictPropertyInitialization": false,
|
|
9
|
+
"moduleResolution": "node",
|
|
10
|
+
"rootDir": "./webapp",
|
|
11
|
+
"baseUrl": "./",
|
|
12
|
+
"paths": {
|
|
13
|
+
"<%-app.id.replace(/\./g, '/') %>/*": [
|
|
14
|
+
"./webapp/*"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"types": [
|
|
18
|
+
"@sapui5/ts-types-esm"
|
|
19
|
+
]
|
|
20
20
|
},
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"webapp/**/*"
|
|
25
|
-
]
|
|
21
|
+
"include": [
|
|
22
|
+
"./webapp/**/*"
|
|
23
|
+
]
|
|
26
24
|
}
|