@sap-ux/ui5-application-writer 0.22.1 → 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.
@@ -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
  };
@@ -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.1",
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.0",
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
- "root": true,
3
- "plugins": [
4
- "@sap/ui5-jsdocs"
5
- ],
6
- "extends": [
7
- "plugin:@sap/ui5-jsdocs/recommended",
8
- "eslint:recommended"
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
- "compilerOptions": {
3
- "module": "none",
4
- "noEmit": true,
5
- "checkJs": true,
6
- "allowJs": true,
7
- "types": [
8
- "@sapui5/ts-types"
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,41 +1,4 @@
1
- {
2
- "root": true,
3
- "plugins": [
4
- "fiori-custom"
5
- ],
6
- "overrides": [
7
- {
8
- "files": [
9
- "**/*.*"
10
- ],
11
- "excludedFiles": [
12
- "test/**",
13
- "target/**",
14
- "webapp/test/**",
15
- "webapp/localservice/**",
16
- "backup/**",
17
- "Gruntfile.js",
18
- "changes_preview.js",
19
- "gulpfile.js"
20
- ],
21
- "plugins": [
22
- "fiori-custom"
23
- ],
24
- "extends": [
25
- "eslint:recommended",
26
- "plugin:fiori-custom/fioriToolsDefault"
27
- ]
28
- },
29
- {
30
- "files": [
31
- "webapp/test/**"
32
- ],
33
- "plugins": [
34
- "fiori-custom"
35
- ],
36
- "extends": [
37
- "plugin:fiori-custom/fioriToolsTestcode"
38
- ]
39
- }
40
- ]
41
- }
1
+ {
2
+ "extends": "plugin:@sap-ux/eslint-plugin-fiori-tools/defaultJS",
3
+ "root": true
4
+ }
@@ -3,6 +3,7 @@
3
3
  "lint": "eslint ./"
4
4
  },
5
5
  "devDependencies": {
6
+ "@sap-ux/eslint-plugin-fiori-tools": "^0.1.0",
6
7
  "eslint": "7.32.0",
7
8
  "eslint-plugin-fiori-custom": "2.6.7",
8
9
  "@babel/eslint-parser": "7.14.7"
@@ -1,6 +1,9 @@
1
1
  {
2
- "ignore": ["**/*.d.ts"],
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.8",
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
- "compilerOptions": {
3
- "target": "es2015",
4
- "module": "es2015",
5
- "skipLibCheck": true,
6
- "preserveConstEnums": true,
7
- "inlineSourceMap": true,
8
- "allowJs": true,
9
- "strict": true,
10
- "strictNullChecks": true,
11
- "strictPropertyInitialization": false,
12
- "moduleResolution": "node",
13
- "rootDir": "webapp",
14
- "outDir": "./dist",
15
- "baseUrl": "./",
16
- "paths": {
17
- "<%-app.id.replace(/\./g, '/') %>/*": [
18
- "webapp/*"
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
- "types": [ "@sapui5/ts-types-esm" ]
22
- },
23
- "include": [
24
- "webapp/**/*"
25
- ]
21
+ "include": [
22
+ "./webapp/**/*"
23
+ ]
26
24
  }