Skip to content

Commit 43a2446

Browse files
heimwegedevinea
andauthored
chore:fix sonar issues (#3685)
* fix sonar issues * fix snapshots * fix js occurrences * undo change for telemetry * add cset * fix --------- Co-authored-by: Austin Devine <[email protected]>
1 parent ce28234 commit 43a2446

File tree

635 files changed

+1026
-947
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

635 files changed

+1026
-947
lines changed

.changeset/cool-crabs-type.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
'@sap-ux/ui5-library-reference-sub-generator': patch
3+
'@sap-ux/abap-deploy-config-sub-generator': patch
4+
'@sap-ux/cds-odata-annotation-converter': patch
5+
'@sap-ux/cf-deploy-config-sub-generator': patch
6+
'@sap-ux/ui5-library-reference-inquirer': patch
7+
'@sap-ux/xml-odata-annotation-converter': patch
8+
'@sap-ux/repo-app-import-sub-generator': patch
9+
'@sap-ux/adp-flp-config-sub-generator': patch
10+
'@sap-ux/ui5-library-reference-writer': patch
11+
'@sap-ux/deploy-config-sub-generator': patch
12+
'@sap-ux-private/adaptation-editor-tests': patch
13+
'@sap-ux/abap-deploy-config-writer': patch
14+
'@sap-ux/cf-deploy-config-inquirer': patch
15+
'@sap-ux/eslint-plugin-fiori-tools': patch
16+
'@sap-ux-private/preview-middleware-client': patch
17+
'@sap-ux/ui5-library-sub-generator': patch
18+
'@sap-ux/backend-proxy-middleware': patch
19+
'@sap-ux/flp-config-sub-generator': patch
20+
'@sap-ux/mockserver-config-writer': patch
21+
'@sap-ux/ui-service-sub-generator': patch
22+
'@sap-ux/ui5-application-inquirer': patch
23+
'@sap-ux/cf-deploy-config-writer': patch
24+
'@sap-ux/fiori-app-sub-generator': patch
25+
'@sap-ux/project-input-validator': patch
26+
'@sap-ux/serve-static-middleware': patch
27+
'@sap-ux/fiori-freestyle-writer': patch
28+
'@sap-ux/fiori-generator-shared': patch
29+
'@sap-ux/odata-service-inquirer': patch
30+
'@sap-ux/ui5-application-writer': patch
31+
'@sap-ux-private/ui-prompting-examples': patch
32+
'@sap-ux/cds-annotation-parser': patch
33+
'@sap-ux/fiori-docs-embeddings': patch
34+
'@sap-ux/fiori-elements-writer': patch
35+
'@sap-ux/jest-runner-puppeteer': patch
36+
'@sap-ux/odata-annotation-core': patch
37+
'@sap-ux/annotation-generator': patch
38+
'@sap-ux/fiori-annotation-api': patch
39+
'@sap-ux/fiori-tools-settings': patch
40+
'@sap-ux/odata-service-writer': patch
41+
'@sap-ux/ui5-library-inquirer': patch
42+
'@sap-ux/ui5-proxy-middleware': patch
43+
'@sap-ux/jest-file-matchers': patch
44+
'@sap-ux/odata-vocabularies': patch
45+
'@sap-ux/preview-middleware': patch
46+
'@sap-ux/ui5-library-writer': patch
47+
'@sap-ux/app-config-writer': patch
48+
'@sap-ux/cap-config-writer': patch
49+
'@sap-ux/environment-check': patch
50+
'@sap-ux/project-integrity': patch
51+
'@sap-ux/reload-middleware': patch
52+
'@sap-ux/generator-simple-fe': patch
53+
'@sap-ux/fiori-mcp-server': patch
54+
'@sap-ux/axios-extension': patch
55+
'@sap-ux/inquirer-common': patch
56+
'@sap-ux/ui5-test-writer': patch
57+
'@sap-ux/deploy-tooling': patch
58+
'@sap-ux/project-access': patch
59+
'@sap-ux/fe-fpm-writer': patch
60+
'@sap-ux/generator-adp': patch
61+
'@sap-ux/launch-config': patch
62+
'@sap-ux/system-access': patch
63+
'@sap-ux/nodejs-utils': patch
64+
'@sap-ux/ui-prompting': patch
65+
'@sap-ux/adp-tooling': patch
66+
'@sap-ux/fe-fpm-cli': patch
67+
'@sap-ux-private/playwright': patch
68+
'@sap-ux/ui5-config': patch
69+
'@sap-ux/odata-cli': patch
70+
'@sap-ux/btp-utils': patch
71+
'@sap-ux/telemetry': patch
72+
'@sap-ux/ui5-info': patch
73+
'@sap-ux/create': patch
74+
'@sap-ux/store': patch
75+
'@sap-ux/i18n': patch
76+
'@sap-ux/yaml': patch
77+
---
78+
79+
chore: fix Sonar issues

examples/fe-fpm-cli/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import inquirer from 'inquirer';
99
import { create as createStorage } from 'mem-fs';
1010
import type { Editor } from 'mem-fs-editor';
1111
import { create } from 'mem-fs-editor';
12-
import { join } from 'path';
12+
import { join } from 'node:path';
1313
import { promisify } from 'util';
1414

1515
const sampleAppPath = join(__dirname, '../sample/fe-app');

examples/odata-cli/src/activities.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { writeFileSync } from 'fs';
2-
import { join } from 'path';
1+
import { writeFileSync } from 'node:fs';
2+
import { join } from 'node:path';
33
import type { AbapServiceProvider, ArchiveFileNode } from '@sap-ux/axios-extension';
44
import {
55
ODataVersion,

examples/odata-cli/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { isAppStudio } from '@sap-ux/btp-utils';
2-
import { existsSync, mkdirSync } from 'fs';
3-
import { join } from 'path';
2+
import { existsSync, mkdirSync } from 'node:fs';
3+
import { join } from 'node:path';
44
import type { TestActivity, TestTarget } from './types';
55
import { logger } from './types';
66
import { testWithAbapSystem, testWithDestination, testWithAbapBtpSystem, testWithCloudAbapSystem } from './targets';

examples/odata-cli/src/targets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
createForDestination
77
} from '@sap-ux/axios-extension';
88
import { isAbapSystem, listDestinations } from '@sap-ux/btp-utils';
9-
import { readFileSync } from 'fs';
9+
import { readFileSync } from 'node:fs';
1010
import type { TestActivity } from './types';
1111
import { logger } from './types';
1212

examples/simple-generator/src/app/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { join } from 'path';
1+
import { join } from 'node:path';
22
import Generator from 'yeoman-generator';
33

44
import type { Template, LROPSettings, OVPSettings, FPMSettings } from '@sap-ux/fiori-elements-writer';

examples/ui-prompting-examples/.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { resolve } from 'path';
1+
import { resolve } from 'node:path';
22
import { createWebSocketConnection } from '../src/backend';
33

44
module.exports = {

examples/ui-prompting-examples/src/addons/project/actions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { join } from 'path';
2-
import { existsSync } from 'fs';
1+
import { join } from 'node:path';
2+
import { existsSync } from 'node:fs';
33
import { GET_PROJECT_PATH, UPDATE_PROJECT_PATH, UPDATE_PROJECT_PATH_RESULT, SET_PROJECT_PATH } from './types';
44
import type { ProjectActions } from './types';
55
import { getApplication, setApplication, testAppPath } from './project';

examples/ui-prompting-examples/src/addons/project/project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { join } from 'path';
1+
import { join } from 'node:path';
22
import type { ApplicationInformation } from './types';
33

44
export const testAppPath = join(__dirname, `../../../test-output/fe-app-${Date.now()}`);

examples/ui-prompting-examples/src/backend/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { PromptsAPI } from '@sap-ux/fe-fpm-writer';
2-
import { join } from 'path';
2+
import { join } from 'node:path';
33
import type { Editor } from 'mem-fs-editor';
44
import { PromptsType } from '../utils';
55
import type { ApplicationInformation } from '../addons/project';

0 commit comments

Comments
 (0)