Skip to content

Commit c758bf6

Browse files
committed
chore: bulk-import: update dependency prettier to v3.7.4
Signed-off-by: Kim Tsao <ktsao@redhat.com>
1 parent 95d2eda commit c758bf6

File tree

13 files changed

+33
-41
lines changed

13 files changed

+33
-41
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@red-hat-developer-hub/backstage-plugin-bulk-import-backend': patch
3+
'@red-hat-developer-hub/backstage-plugin-bulk-import-common': patch
4+
'@red-hat-developer-hub/backstage-plugin-bulk-import': patch
5+
---
6+
7+
Updated dependency `prettier` to `3.7.4`.

workspaces/bulk-import/plugins/bulk-import-backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"js-yaml-cli": "0.6.0",
8484
"msw": "1.3.5",
8585
"openapicmd": "2.7.0",
86-
"prettier": "3.6.2",
86+
"prettier": "3.7.4",
8787
"supertest": "6.3.4"
8888
},
8989
"peerDependencies": {

workspaces/bulk-import/plugins/bulk-import-backend/src/generated/openapi.d.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ declare namespace Components {
4646
export interface Import {
4747
id?: string;
4848
status?: /* Import Job status */
49-
ImportStatus | /* Import Job status */ TaskImportStatus;
49+
ImportStatus | /* Import Job status */ TaskImportStatus;
5050
task?: {
5151
taskId?: string;
5252
};
@@ -216,7 +216,7 @@ declare namespace Components {
216216
*/
217217
organization?: string;
218218
importStatus?: /* Import Job status */
219-
ImportStatus | /* Import Job status */ TaskImportStatus;
219+
ImportStatus | /* Import Job status */ TaskImportStatus;
220220
/**
221221
* default branch
222222
*/
@@ -257,7 +257,7 @@ declare namespace Components {
257257
export interface SourceImport {
258258
id?: string;
259259
status?: /* Import Job status */
260-
ImportStatus | /* Import Job status */ TaskImportStatus;
260+
ImportStatus | /* Import Job status */ TaskImportStatus;
261261
task?: {
262262
taskId?: string;
263263
};
@@ -284,15 +284,14 @@ declare namespace Components {
284284
github?: {
285285
pullRequest?: PullRequest;
286286
};
287-
source?: /**
287+
source /**
288288
* Import Source:
289289
* * 'config' - Import from static catalog location configuration in 'app-config'
290290
* * 'location' - Import of user registered entities using locations endpoint
291291
* * 'integration' - Import using a GitHub integration
292292
* * null - Import source is unknown
293293
*
294-
*/
295-
Source;
294+
*/?: Source;
296295
}
297296
/**
298297
* Import Job status

workspaces/bulk-import/plugins/bulk-import-backend/src/github/GithubAppManager.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,7 @@ export class GithubAppsCredentialManager {
325325
}
326326
}
327327

328-
export class CustomSingleInstanceGithubCredentialsProvider
329-
implements ExtendedGithubCredentialsProvider
330-
{
328+
export class CustomSingleInstanceGithubCredentialsProvider implements ExtendedGithubCredentialsProvider {
331329
static readonly create: (
332330
config: GithubIntegrationConfig,
333331
) => ExtendedGithubCredentialsProvider = config => {
@@ -456,9 +454,7 @@ export class CustomSingleInstanceGithubCredentialsProvider
456454
}
457455
}
458456

459-
export class CustomGithubCredentialsProvider
460-
implements ExtendedGithubCredentialsProvider
461-
{
457+
export class CustomGithubCredentialsProvider implements ExtendedGithubCredentialsProvider {
462458
static fromIntegrations(integrations: ScmIntegrationRegistry) {
463459
const credentialsProviders: Map<string, ExtendedGithubCredentialsProvider> =
464460
new Map<string, ExtendedGithubCredentialsProvider>();

workspaces/bulk-import/plugins/bulk-import-backend/src/github/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ export function isGithubAppCredential(
127127
return 'appId' in credential && credential.type === 'app';
128128
}
129129

130-
export interface ExtendedGithubCredentialsProvider
131-
extends GithubCredentialsProvider {
130+
export interface ExtendedGithubCredentialsProvider extends GithubCredentialsProvider {
132131
getAllCredentials: (options: {
133132
host: string;
134133
}) => Promise<ExtendedGithubCredentials[]>;

workspaces/bulk-import/plugins/bulk-import-backend/src/gitlab/GitlabAppManager.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ import {
2727
// For reference
2828
// https://github.com/backstage/backstage/blob/master/packages/integration/src/gitlab/SingleInstanceGitlabCredentialsProvider.ts
2929

30-
export class CustomSingleInstanceGitlabCredentialsProvider
31-
implements ExtendedGitlabCredentialsProvider
32-
{
30+
export class CustomSingleInstanceGitlabCredentialsProvider implements ExtendedGitlabCredentialsProvider {
3331
static readonly create: (
3432
config: GitLabIntegrationConfig,
3533
) => ExtendedGitlabCredentialsProvider = config => {
@@ -54,9 +52,7 @@ export class CustomSingleInstanceGitlabCredentialsProvider
5452
}
5553
}
5654

57-
export class CustomGitlabCredentialsProvider
58-
implements ExtendedGitlabCredentialsProvider
59-
{
55+
export class CustomGitlabCredentialsProvider implements ExtendedGitlabCredentialsProvider {
6056
static fromIntegrations(integrations: ScmIntegrationRegistry) {
6157
const credentialsProviders: Map<string, ExtendedGitlabCredentialsProvider> =
6258
new Map<string, ExtendedGitlabCredentialsProvider>();

workspaces/bulk-import/plugins/bulk-import-backend/src/gitlab/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ export type GitlabRepositoryResponse = {
8686

8787
export type ExtendedGitlabCredentials = GitlabCredentials;
8888

89-
export interface ExtendedGitlabCredentialsProvider
90-
extends GitlabCredentialsProvider {
89+
export interface ExtendedGitlabCredentialsProvider extends GitlabCredentialsProvider {
9190
getAllCredentials: (options: {
9291
host: string;
9392
}) => Promise<ExtendedGitlabCredentials[]>;

workspaces/bulk-import/plugins/bulk-import-common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@backstage/cli": "^0.34.5",
3939
"@backstage/plugin-permission-common": "^0.9.3",
4040
"@spotify/prettier-config": "^15.0.0",
41-
"prettier": "3.6.2"
41+
"prettier": "3.7.4"
4242
},
4343
"peerDependencies": {
4444
"@backstage/plugin-permission-common": "^0.9.3"

workspaces/bulk-import/plugins/bulk-import/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"@types/lodash": "^4.14.151",
8787
"@types/react": "^18.2.58",
8888
"msw": "1.3.5",
89-
"prettier": "3.6.2",
89+
"prettier": "3.7.4",
9090
"react": "16.13.1 || ^17.0.0 || ^18.0.0"
9191
},
9292
"configSchema": "config.d.ts",

workspaces/bulk-import/plugins/bulk-import/src/api/PRBulkImportBackendClientPathProvider.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
import { AddedRepositoryColumnNameEnum, SortingOrderEnum } from '../types';
1818
import { IBulkImportRESTPathProvider } from './BulkImportBackendClient';
1919

20-
export class PRBulkImportBackendClientPathProvider
21-
implements IBulkImportRESTPathProvider
22-
{
20+
export class PRBulkImportBackendClientPathProvider implements IBulkImportRESTPathProvider {
2321
getCreateImportJobsPath(dryRun?: boolean): string {
2422
return dryRun
2523
? `/api/bulk-import/imports?dryRun=true`

0 commit comments

Comments
 (0)