From a0604474c1b0b8af94e60e05b3f9622f1875409c Mon Sep 17 00:00:00 2001 From: blam Date: Fri, 9 Oct 2020 13:49:10 +0200 Subject: [PATCH] chore: removing the last of the deps in the plugins --- plugins/scaffolder/package.json | 2 -- plugins/scaffolder/src/setupTests.ts | 2 -- plugins/sentry-backend/package.json | 3 +-- plugins/sentry/package.json | 2 -- plugins/sentry/src/setupTests.ts | 2 -- plugins/tech-radar/package.json | 2 -- plugins/tech-radar/src/setupTests.ts | 2 -- plugins/techdocs-backend/package.json | 2 -- plugins/techdocs/package.json | 2 -- plugins/techdocs/src/setupTests.ts | 2 -- plugins/welcome/package.json | 3 --- 11 files changed, 1 insertion(+), 23 deletions(-) diff --git a/plugins/scaffolder/package.json b/plugins/scaffolder/package.json index 6bb0e88fb0..b2518d27bf 100644 --- a/plugins/scaffolder/package.json +++ b/plugins/scaffolder/package.json @@ -49,9 +49,7 @@ "@testing-library/user-event": "^12.0.7", "@types/jest": "^26.0.7", "@types/node": "^12.0.0", - "jest-fetch-mock": "^3.0.3", "msw": "^0.21.2", - "node-fetch": "^2.6.1", "cross-fetch": "^3.0.6" }, "files": [ diff --git a/plugins/scaffolder/src/setupTests.ts b/plugins/scaffolder/src/setupTests.ts index 8553642152..825bcd4115 100644 --- a/plugins/scaffolder/src/setupTests.ts +++ b/plugins/scaffolder/src/setupTests.ts @@ -15,5 +15,3 @@ */ import '@testing-library/jest-dom'; - -require('jest-fetch-mock').enableMocks(); diff --git a/plugins/sentry-backend/package.json b/plugins/sentry-backend/package.json index c52f7176e3..91b94696ed 100644 --- a/plugins/sentry-backend/package.json +++ b/plugins/sentry-backend/package.json @@ -34,8 +34,7 @@ "yn": "^4.0.0" }, "devDependencies": { - "@backstage/cli": "^0.1.1-alpha.24", - "jest-fetch-mock": "^3.0.3" + "@backstage/cli": "^0.1.1-alpha.24" }, "files": [ "dist" diff --git a/plugins/sentry/package.json b/plugins/sentry/package.json index 14c583f4db..126c7d0c45 100644 --- a/plugins/sentry/package.json +++ b/plugins/sentry/package.json @@ -43,9 +43,7 @@ "@testing-library/user-event": "^12.0.7", "@types/jest": "^26.0.7", "@types/node": "^12.0.0", - "jest-fetch-mock": "^3.0.3", "msw": "^0.21.2", - "node-fetch": "^2.6.1", "cross-fetch": "^3.0.6" }, "files": [ diff --git a/plugins/sentry/src/setupTests.ts b/plugins/sentry/src/setupTests.ts index 8553642152..825bcd4115 100644 --- a/plugins/sentry/src/setupTests.ts +++ b/plugins/sentry/src/setupTests.ts @@ -15,5 +15,3 @@ */ import '@testing-library/jest-dom'; - -require('jest-fetch-mock').enableMocks(); diff --git a/plugins/tech-radar/package.json b/plugins/tech-radar/package.json index a49bb805eb..805946c4e3 100644 --- a/plugins/tech-radar/package.json +++ b/plugins/tech-radar/package.json @@ -45,9 +45,7 @@ "@types/jest": "^26.0.7", "@types/node": "^12.0.0", "@types/react": "^16.9", - "jest-fetch-mock": "^3.0.3", "msw": "^0.21.2", - "node-fetch": "^2.6.1", "cross-fetch": "^3.0.6" }, "files": [ diff --git a/plugins/tech-radar/src/setupTests.ts b/plugins/tech-radar/src/setupTests.ts index 8553642152..825bcd4115 100644 --- a/plugins/tech-radar/src/setupTests.ts +++ b/plugins/tech-radar/src/setupTests.ts @@ -15,5 +15,3 @@ */ import '@testing-library/jest-dom'; - -require('jest-fetch-mock').enableMocks(); diff --git a/plugins/techdocs-backend/package.json b/plugins/techdocs-backend/package.json index 75f6071464..de50bea910 100644 --- a/plugins/techdocs-backend/package.json +++ b/plugins/techdocs-backend/package.json @@ -33,13 +33,11 @@ "fs-extra": "^9.0.1", "git-url-parse": "^11.2.0", "knex": "^0.21.1", - "node-fetch": "^2.6.0", "nodegit": "^0.27.0", "winston": "^3.2.1" }, "devDependencies": { "@backstage/cli": "^0.1.1-alpha.24", - "@types/node-fetch": "^2.5.7", "supertest": "^4.0.2" }, "files": [ diff --git a/plugins/techdocs/package.json b/plugins/techdocs/package.json index 79eeb8ed5f..70a3535a89 100644 --- a/plugins/techdocs/package.json +++ b/plugins/techdocs/package.json @@ -48,9 +48,7 @@ "@types/jest": "^26.0.7", "@types/node": "^12.0.0", "canvas": "^2.6.1", - "jest-fetch-mock": "^3.0.3", "msw": "^0.21.2", - "node-fetch": "^2.6.1", "cross-fetch": "^3.0.6" }, "files": [ diff --git a/plugins/techdocs/src/setupTests.ts b/plugins/techdocs/src/setupTests.ts index 8553642152..825bcd4115 100644 --- a/plugins/techdocs/src/setupTests.ts +++ b/plugins/techdocs/src/setupTests.ts @@ -15,5 +15,3 @@ */ import '@testing-library/jest-dom'; - -require('jest-fetch-mock').enableMocks(); diff --git a/plugins/welcome/package.json b/plugins/welcome/package.json index 7c50b200e6..ed99e1ee19 100644 --- a/plugins/welcome/package.json +++ b/plugins/welcome/package.json @@ -38,10 +38,7 @@ "@testing-library/react": "^10.4.1", "@testing-library/user-event": "^12.0.7", "@types/jest": "^26.0.7", - "@types/node": "^12.0.0", - "jest-fetch-mock": "^3.0.3", "msw": "^0.21.2", - "node-fetch": "^2.6.1", "cross-fetch": "^3.0.6" }, "files": [