Skip to content

Commit f0ca34d

Browse files
committed
lint error cleanup
1 parent e2712e9 commit f0ca34d

5 files changed

Lines changed: 47 additions & 4 deletions

File tree

src/plugins/plugin-catalog-backend-module-google/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
},
2626
"dependencies": {
2727
"@backstage/backend-plugin-api": "^1.0.0",
28+
"@backstage/catalog-model": "^1.7.2",
29+
"@backstage/config": "^1.3.1",
30+
"@backstage/plugin-catalog-node": "^1.15.0",
2831
"google-auth-library": "^9.15.0",
2932
"googleapis": "^144.0.0"
3033
},

src/plugins/plugin-catalog-backend-module-google/src/provider/GoogleBaseProvider.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { mockServices } from '@backstage/backend-test-utils'
22
import { GoogleBaseProvider } from './GoogleBaseProvider'
3-
import * as creds from '../../../../app-config.d/credentials/google-jwt.keys.json'
3+
import * as creds from '../../../../app-config.d/credentials/google-jwt.keys.json' /* eslint @backstage/no-relative-monorepo-imports: off */
44

55
describe('GoogleUserProvider', () => {
66
let mockConfig: any
@@ -71,7 +71,7 @@ describe('GoogleUserProvider', () => {
7171
describe('should succeed when', () => {
7272
test('runs successfully', async () => {
7373
await provider.connect(mockConnection)
74-
await provider.run()
74+
expect( async () => await provider.run()).not.toThrow()
7575
}, 10 * 1000)
7676
})
7777
})

src/plugins/plugin-catalog-backend-module-google/src/provider/GoogleGroupProvider.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { mockServices } from '@backstage/backend-test-utils'
22
import { GoogleGroupProvider, SCOPES } from './GoogleGroupProvider'
33
import { admin_directory_v1 } from 'googleapis'
4-
import * as creds from '../../../../app-config.d/credentials/google-jwt.keys.json'
4+
import * as creds from '../../../../app-config.d/credentials/google-jwt.keys.json' /* eslint @backstage/no-relative-monorepo-imports: off */
55

66

77
jest.mock('googleapis', () => {

src/plugins/plugin-catalog-backend-module-google/src/provider/GoogleUserProvider.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { mockServices } from '@backstage/backend-test-utils'
22
import { GoogleUserProvider, SCOPES } from './GoogleUserProvider'
33
import { admin_directory_v1 } from 'googleapis'
4-
import * as creds from '../../../../app-config.d/credentials/google-jwt.keys.json'
4+
import * as creds from '../../../../app-config.d/credentials/google-jwt.keys.json' /* eslint @backstage/no-relative-monorepo-imports: off */
55

66
jest.mock('googleapis', () => {
77
return {

src/yarn.lock

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5346,6 +5346,17 @@ __metadata:
53465346
languageName: node
53475347
linkType: hard
53485348

5349+
"@backstage/plugin-catalog-common@npm:^1.1.2":
5350+
version: 1.1.2
5351+
resolution: "@backstage/plugin-catalog-common@npm:1.1.2"
5352+
dependencies:
5353+
"@backstage/catalog-model": "npm:^1.7.2"
5354+
"@backstage/plugin-permission-common": "npm:^0.8.3"
5355+
"@backstage/plugin-search-common": "npm:^1.2.16"
5356+
checksum: 10c0/448b1bb587ddb76e8ab2c6066bf9658efb6bf6262ffd95e2fee3defcb2939480a30b2f0585c01c3c03e3ec80160a436ee77cf429316d57db959f4a7dd2841119
5357+
languageName: node
5358+
linkType: hard
5359+
53495360
"@backstage/plugin-catalog-graph@npm:^0.4.13":
53505361
version: 0.4.13
53515362
resolution: "@backstage/plugin-catalog-graph@npm:0.4.13"
@@ -5474,6 +5485,22 @@ __metadata:
54745485
languageName: node
54755486
linkType: hard
54765487

5488+
"@backstage/plugin-catalog-node@npm:^1.15.0":
5489+
version: 1.15.0
5490+
resolution: "@backstage/plugin-catalog-node@npm:1.15.0"
5491+
dependencies:
5492+
"@backstage/backend-plugin-api": "npm:^1.1.0"
5493+
"@backstage/catalog-client": "npm:^1.9.0"
5494+
"@backstage/catalog-model": "npm:^1.7.2"
5495+
"@backstage/errors": "npm:^1.2.6"
5496+
"@backstage/plugin-catalog-common": "npm:^1.1.2"
5497+
"@backstage/plugin-permission-common": "npm:^0.8.3"
5498+
"@backstage/plugin-permission-node": "npm:^0.8.6"
5499+
"@backstage/types": "npm:^1.2.0"
5500+
checksum: 10c0/cf9725e97fd35d021d4c2f87eaf819535a6bc31cb118d13746489588b6d74fa601cb669a19e60577bfa073c8b08d58c1ffeeb76d57d36b2aa806cb2359880236
5501+
languageName: node
5502+
linkType: hard
5503+
54775504
"@backstage/plugin-catalog-react@npm:^1.13.0, @backstage/plugin-catalog-react@npm:^1.13.1":
54785505
version: 1.13.1
54795506
resolution: "@backstage/plugin-catalog-react@npm:1.13.1"
@@ -6703,6 +6730,16 @@ __metadata:
67036730
languageName: node
67046731
linkType: hard
67056732

6733+
"@backstage/plugin-search-common@npm:^1.2.16":
6734+
version: 1.2.16
6735+
resolution: "@backstage/plugin-search-common@npm:1.2.16"
6736+
dependencies:
6737+
"@backstage/plugin-permission-common": "npm:^0.8.3"
6738+
"@backstage/types": "npm:^1.2.0"
6739+
checksum: 10c0/e47bbf56922a3422c1768bc200df4b2030438ed7178208fafb514ece28967953f22789d4e29750ba3663a49fd4101d17aebd7b1f49e28e35df7e5d9fbc7c6039
6740+
languageName: node
6741+
linkType: hard
6742+
67066743
"@backstage/plugin-search-react@npm:^1.8.0":
67076744
version: 1.8.0
67086745
resolution: "@backstage/plugin-search-react@npm:1.8.0"
@@ -8684,7 +8721,10 @@ __metadata:
86848721
dependencies:
86858722
"@backstage/backend-plugin-api": "npm:^1.0.0"
86868723
"@backstage/backend-test-utils": "npm:^1.0.0"
8724+
"@backstage/catalog-model": "npm:^1.7.2"
86878725
"@backstage/cli": "npm:^0.27.1"
8726+
"@backstage/config": "npm:^1.3.1"
8727+
"@backstage/plugin-catalog-node": "npm:^1.15.0"
86888728
google-auth-library: "npm:^9.15.0"
86898729
googleapis: "npm:^144.0.0"
86908730
languageName: unknown

0 commit comments

Comments
 (0)