Skip to content

Commit fdec0dd

Browse files
authored
Remove unused dependencies and update uuid to v13 (#5945)
1 parent 98b4d0c commit fdec0dd

File tree

6 files changed

+18
-96
lines changed

6 files changed

+18
-96
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@backstage-community/plugin-announcements-backend': minor
3+
---
4+
5+
Remove unused dependencies and update `uuid` to v13.
Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1 @@
11
# Knip report
2-
3-
## Unused dependencies (11)
4-
5-
| Name | Location | Severity |
6-
| :------------------------------------ | :----------- | :------- |
7-
| @backstage/plugin-search-backend-node | package.json | error |
8-
| @backstage/plugin-events-backend | package.json | error |
9-
| @backstage/plugin-search-common | package.json | error |
10-
| @backstage/plugin-auth-node | package.json | error |
11-
| @backstage/core-plugin-api | package.json | error |
12-
| @backstage/catalog-client | package.json | error |
13-
| @backstage/config | package.json | error |
14-
| cross-fetch | package.json | error |
15-
| node-fetch | package.json | error |
16-
| winston | package.json | error |
17-
| yn | package.json | error |
18-
19-
## Unused devDependencies (8)
20-
21-
| Name | Location | Severity |
22-
| :----------------------------------------------------------- | :----------- | :------- |
23-
| @backstage/plugin-permission-backend-module-allow-all-policy | package.json | error |
24-
| @backstage/plugin-auth-backend-module-guest-provider | package.json | error |
25-
| @backstage/plugin-permission-backend | package.json | error |
26-
| @backstage/plugin-signals-backend | package.json | error |
27-
| @backstage/plugin-auth-backend | package.json | error |
28-
| @backstage/test-utils | package.json | error |
29-
| better-sqlite3 | package.json | error |
30-
| msw | package.json | error |

workspaces/announcements/plugins/announcements-backend/package.json

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -42,43 +42,22 @@
4242
"@backstage/backend-defaults": "^0.13.0",
4343
"@backstage/backend-plugin-api": "^1.4.4",
4444
"@backstage/backend-test-utils": "^1.9.1",
45-
"@backstage/catalog-client": "^1.12.0",
46-
"@backstage/config": "^1.3.5",
47-
"@backstage/core-plugin-api": "^1.11.1",
4845
"@backstage/errors": "^1.2.7",
49-
"@backstage/plugin-auth-node": "^0.6.8",
50-
"@backstage/plugin-events-backend": "^0.5.7",
5146
"@backstage/plugin-events-node": "^0.4.16",
5247
"@backstage/plugin-notifications-node": "^0.2.20",
5348
"@backstage/plugin-permission-common": "^0.9.2",
54-
"@backstage/plugin-permission-node": "^0.10.5",
55-
"@backstage/plugin-search-backend-node": "^1.3.16",
56-
"@backstage/plugin-search-common": "^1.2.20",
5749
"@backstage/plugin-signals-node": "^0.1.25",
58-
"cross-fetch": "^3.1.5",
5950
"express": "^4.17.1",
6051
"express-promise-router": "^4.1.0",
6152
"knex": "^3.0.1",
6253
"luxon": "^3.2.0",
63-
"node-fetch": "^2.6.7",
6454
"slugify": "^1.6.6",
65-
"uuid": "^9.0.0",
66-
"winston": "^3.2.1",
67-
"yn": "^4.0.0"
55+
"uuid": "^13.0.0"
6856
},
6957
"devDependencies": {
7058
"@backstage/cli": "^0.34.4",
71-
"@backstage/plugin-auth-backend": "^0.25.5",
72-
"@backstage/plugin-auth-backend-module-guest-provider": "^0.2.13",
7359
"@backstage/plugin-catalog-node": "^1.19.1",
74-
"@backstage/plugin-permission-backend": "^0.7.5",
75-
"@backstage/plugin-permission-backend-module-allow-all-policy": "^0.2.13",
76-
"@backstage/plugin-signals-backend": "^0.3.9",
77-
"@backstage/test-utils": "^1.7.12",
7860
"@types/supertest": "^2.0.15",
79-
"@types/uuid": "^10.0.0",
80-
"better-sqlite3": "^11.3.0",
81-
"msw": "^1.3.2",
8261
"supertest": "^6.3.3"
8362
},
8463
"files": [

workspaces/announcements/plugins/announcements-backend/src/service/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,4 @@
1515
*/
1616
export { buildAnnouncementsContext } from './announcementsContextBuilder';
1717

18-
export type {
19-
AnnouncementsContext,
20-
AnnouncementsContextOptions,
21-
} from './announcementsContextBuilder';
18+
export type { AnnouncementsContext } from './announcementsContextBuilder';

workspaces/announcements/plugins/announcements-backend/src/service/persistence/TagsDatabase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
import { Knex } from 'knex';
1717

18-
export interface Tag {
18+
interface Tag {
1919
slug: string;
2020
title: string;
2121
}

workspaces/announcements/yarn.lock

Lines changed: 10 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1635,42 +1635,21 @@ __metadata:
16351635
"@backstage/backend-defaults": "npm:^0.13.0"
16361636
"@backstage/backend-plugin-api": "npm:^1.4.4"
16371637
"@backstage/backend-test-utils": "npm:^1.9.1"
1638-
"@backstage/catalog-client": "npm:^1.12.0"
16391638
"@backstage/cli": "npm:^0.34.4"
1640-
"@backstage/config": "npm:^1.3.5"
1641-
"@backstage/core-plugin-api": "npm:^1.11.1"
16421639
"@backstage/errors": "npm:^1.2.7"
1643-
"@backstage/plugin-auth-backend": "npm:^0.25.5"
1644-
"@backstage/plugin-auth-backend-module-guest-provider": "npm:^0.2.13"
1645-
"@backstage/plugin-auth-node": "npm:^0.6.8"
16461640
"@backstage/plugin-catalog-node": "npm:^1.19.1"
1647-
"@backstage/plugin-events-backend": "npm:^0.5.7"
16481641
"@backstage/plugin-events-node": "npm:^0.4.16"
16491642
"@backstage/plugin-notifications-node": "npm:^0.2.20"
1650-
"@backstage/plugin-permission-backend": "npm:^0.7.5"
1651-
"@backstage/plugin-permission-backend-module-allow-all-policy": "npm:^0.2.13"
16521643
"@backstage/plugin-permission-common": "npm:^0.9.2"
1653-
"@backstage/plugin-permission-node": "npm:^0.10.5"
1654-
"@backstage/plugin-search-backend-node": "npm:^1.3.16"
1655-
"@backstage/plugin-search-common": "npm:^1.2.20"
1656-
"@backstage/plugin-signals-backend": "npm:^0.3.9"
16571644
"@backstage/plugin-signals-node": "npm:^0.1.25"
1658-
"@backstage/test-utils": "npm:^1.7.12"
16591645
"@types/supertest": "npm:^2.0.15"
1660-
"@types/uuid": "npm:^10.0.0"
1661-
better-sqlite3: "npm:^11.3.0"
1662-
cross-fetch: "npm:^3.1.5"
16631646
express: "npm:^4.17.1"
16641647
express-promise-router: "npm:^4.1.0"
16651648
knex: "npm:^3.0.1"
16661649
luxon: "npm:^3.2.0"
1667-
msw: "npm:^1.3.2"
1668-
node-fetch: "npm:^2.6.7"
16691650
slugify: "npm:^1.6.6"
16701651
supertest: "npm:^6.3.3"
1671-
uuid: "npm:^9.0.0"
1672-
winston: "npm:^3.2.1"
1673-
yn: "npm:^4.0.0"
1652+
uuid: "npm:^13.0.0"
16741653
languageName: unknown
16751654
linkType: soft
16761655

@@ -13168,13 +13147,6 @@ __metadata:
1316813147
languageName: node
1316913148
linkType: hard
1317013149

13171-
"@types/uuid@npm:^10.0.0":
13172-
version: 10.0.0
13173-
resolution: "@types/uuid@npm:10.0.0"
13174-
checksum: 10/e3958f8b0fe551c86c14431f5940c3470127293280830684154b91dc7eb3514aeb79fe3216968833cf79d4d1c67f580f054b5be2cd562bebf4f728913e73e944
13175-
languageName: node
13176-
linkType: hard
13177-
1317813150
"@types/uuid@npm:^9.0.1":
1317913151
version: 9.0.8
1318013152
resolution: "@types/uuid@npm:9.0.8"
@@ -14693,17 +14665,6 @@ __metadata:
1469314665
languageName: node
1469414666
linkType: hard
1469514667

14696-
"better-sqlite3@npm:^11.3.0":
14697-
version: 11.7.0
14698-
resolution: "better-sqlite3@npm:11.7.0"
14699-
dependencies:
14700-
bindings: "npm:^1.5.0"
14701-
node-gyp: "npm:latest"
14702-
prebuild-install: "npm:^7.1.1"
14703-
checksum: 10/a09bb28c0292bb7c037896ee99197815841275bca2d14f63b58994188239f292642c8c7ea3e0206d8ea6c7530d7b03d7343138ebeb9a4cc855c0b3663e00c812
14704-
languageName: node
14705-
linkType: hard
14706-
1470714668
"better-sqlite3@npm:^12.0.0":
1470814669
version: 12.2.0
1470914670
resolution: "better-sqlite3@npm:12.2.0"
@@ -32655,6 +32616,15 @@ __metadata:
3265532616
languageName: node
3265632617
linkType: hard
3265732618

32619+
"uuid@npm:^13.0.0":
32620+
version: 13.0.0
32621+
resolution: "uuid@npm:13.0.0"
32622+
bin:
32623+
uuid: dist-node/bin/uuid
32624+
checksum: 10/2742b24d1e00257e60612572e4d28679423469998cafbaf1fe9f1482e3edf9c40754b31bfdb3d08d71b29239f227a304588f75210b3b48f2609f0673f1feccef
32625+
languageName: node
32626+
linkType: hard
32627+
3265832628
"uuid@npm:^3.4.0":
3265932629
version: 3.4.0
3266032630
resolution: "uuid@npm:3.4.0"

0 commit comments

Comments
 (0)