WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 1ae5e04

Browse files
committed
enable knip reports for workspace
Signed-off-by: Karthik <[email protected]>
1 parent a833714 commit 1ae5e04

File tree

7 files changed

+11
-50
lines changed

7 files changed

+11
-50
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@backstage-community/plugin-airbrake-backend': patch
3+
'@backstage-community/plugin-airbrake': patch
4+
---
5+
6+
enable knip reports and remove unused dependancies

workspaces/airbrake/bcp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"autoVersionBump": true,
3-
"knipReports": false
3+
"knipReports": true
44
}
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
11
# Knip report
2-
3-
## Unused dependencies (1)
4-
5-
| Name | Location | Severity |
6-
| :--- | :----------- | :------- |
7-
| yn | package.json | error |

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,13 @@
3939
"@types/express": "*",
4040
"express": "^4.17.1",
4141
"express-promise-router": "^4.1.0",
42-
"http-proxy-middleware": "^2.0.0",
43-
"yn": "^4.0.0"
42+
"http-proxy-middleware": "^2.0.0"
4443
},
4544
"devDependencies": {
4645
"@backstage/backend-test-utils": "backstage:^",
4746
"@backstage/cli": "backstage:^",
4847
"@backstage/plugin-auth-backend": "backstage:^",
4948
"@backstage/plugin-auth-backend-module-guest-provider": "backstage:^",
50-
"@types/http-proxy-middleware": "^1.0.0",
5149
"@types/supertest": "^6.0.0",
5250
"supertest": "^7.0.0"
5351
},
Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
11
# Knip report
2-
3-
## Unused devDependencies (3)
4-
5-
| Name | Location | Severity |
6-
| :---------------------- | :----------- | :------- |
7-
| @backstage/app-defaults | package.json | error |
8-
| @testing-library/dom | package.json | error |
9-
| canvas | package.json | error |

workspaces/airbrake/plugins/airbrake/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,9 @@
4949
"react-use": "^17.2.4"
5050
},
5151
"devDependencies": {
52-
"@backstage/app-defaults": "backstage:^",
5352
"@backstage/cli": "backstage:^",
5453
"@backstage/dev-utils": "backstage:^",
5554
"@backstage/test-utils": "backstage:^",
56-
"@testing-library/dom": "^10.0.0",
5755
"@testing-library/jest-dom": "^6.0.0",
5856
"@testing-library/react": "^15.0.0",
5957
"@types/react-dom": "^18.2.19",

workspaces/airbrake/yarn.lock

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,21 +1559,18 @@ __metadata:
15591559
"@backstage/plugin-auth-backend": "backstage:^"
15601560
"@backstage/plugin-auth-backend-module-guest-provider": "backstage:^"
15611561
"@types/express": "npm:*"
1562-
"@types/http-proxy-middleware": "npm:^1.0.0"
15631562
"@types/supertest": "npm:^6.0.0"
15641563
express: "npm:^4.17.1"
15651564
express-promise-router: "npm:^4.1.0"
15661565
http-proxy-middleware: "npm:^2.0.0"
15671566
supertest: "npm:^7.0.0"
1568-
yn: "npm:^4.0.0"
15691567
languageName: unknown
15701568
linkType: soft
15711569

15721570
"@backstage-community/plugin-airbrake@workspace:plugins/airbrake":
15731571
version: 0.0.0-use.local
15741572
resolution: "@backstage-community/plugin-airbrake@workspace:plugins/airbrake"
15751573
dependencies:
1576-
"@backstage/app-defaults": "backstage:^"
15771574
"@backstage/catalog-model": "backstage:^"
15781575
"@backstage/cli": "backstage:^"
15791576
"@backstage/core-components": "backstage:^"
@@ -1583,7 +1580,6 @@ __metadata:
15831580
"@backstage/test-utils": "backstage:^"
15841581
"@material-ui/core": "npm:^4.12.2"
15851582
"@material-ui/icons": "npm:^4.9.1"
1586-
"@testing-library/dom": "npm:^10.0.0"
15871583
"@testing-library/jest-dom": "npm:^6.0.0"
15881584
"@testing-library/react": "npm:^15.0.0"
15891585
"@types/react": "npm:^16.13.1 || ^17.0.0 || ^18.0.0"
@@ -1600,7 +1596,7 @@ __metadata:
16001596
languageName: unknown
16011597
linkType: soft
16021598

1603-
"@backstage/app-defaults@backstage:^::backstage=1.45.1&npm=1.7.2, @backstage/app-defaults@npm:^1.7.2":
1599+
"@backstage/app-defaults@npm:^1.7.2":
16041600
version: 1.7.2
16051601
resolution: "@backstage/app-defaults@npm:1.7.2"
16061602
dependencies:
@@ -9336,16 +9332,7 @@ __metadata:
93369332
languageName: node
93379333
linkType: hard
93389334

9339-
"@types/http-proxy-middleware@npm:^1.0.0":
9340-
version: 1.0.0
9341-
resolution: "@types/http-proxy-middleware@npm:1.0.0"
9342-
dependencies:
9343-
http-proxy-middleware: "npm:*"
9344-
checksum: 10/643ce3ec3b9f302328eadd8d6487c01dd8702dd17beaa1bcf35c3cdb4c9eaf512ffd3c8aa8c66790900ec60315ecdbbc8895244203c5296fdd24843d451496ae
9345-
languageName: node
9346-
linkType: hard
9347-
9348-
"@types/http-proxy@npm:^1.17.15, @types/http-proxy@npm:^1.17.8":
9335+
"@types/http-proxy@npm:^1.17.8":
93499336
version: 1.17.15
93509337
resolution: "@types/http-proxy@npm:1.17.15"
93519338
dependencies:
@@ -12982,7 +12969,7 @@ __metadata:
1298212969
languageName: node
1298312970
linkType: hard
1298412971

12985-
"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4, debug@npm:^4.3.6":
12972+
"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4":
1298612973
version: 4.3.7
1298712974
resolution: "debug@npm:4.3.7"
1298812975
dependencies:
@@ -16076,20 +16063,6 @@ __metadata:
1607616063
languageName: node
1607716064
linkType: hard
1607816065

16079-
"http-proxy-middleware@npm:*":
16080-
version: 3.0.5
16081-
resolution: "http-proxy-middleware@npm:3.0.5"
16082-
dependencies:
16083-
"@types/http-proxy": "npm:^1.17.15"
16084-
debug: "npm:^4.3.6"
16085-
http-proxy: "npm:^1.18.1"
16086-
is-glob: "npm:^4.0.3"
16087-
is-plain-object: "npm:^5.0.0"
16088-
micromatch: "npm:^4.0.8"
16089-
checksum: 10/83c1956be6451a5f4a2f3c7b3d84085dbd47e1efb5bb684c1ed668a6606c18c7c07be823b0dbba1326955b64cf88de2672492940b0b48d140215fbdb06105c9a
16090-
languageName: node
16091-
linkType: hard
16092-
1609316066
"http-proxy-middleware@npm:^2.0.0, http-proxy-middleware@npm:^2.0.9":
1609416067
version: 2.0.9
1609516068
resolution: "http-proxy-middleware@npm:2.0.9"

0 commit comments

Comments
 (0)