From fa9002655c2a0fea1d11fc5496ef5b9bd054d4e6 Mon Sep 17 00:00:00 2001 From: Hoishin Date: Tue, 26 Mar 2019 19:44:48 +0900 Subject: [PATCH] chore(dependencies): move internal dependencies from peer to dependencies --- packages/jest-resolve-dependencies/package.json | 8 ++------ packages/jest-resolve/package.json | 7 ++----- packages/jest-snapshot/package.json | 5 +---- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/packages/jest-resolve-dependencies/package.json b/packages/jest-resolve-dependencies/package.json index 75bfe8374613..25f44591e534 100644 --- a/packages/jest-resolve-dependencies/package.json +++ b/packages/jest-resolve-dependencies/package.json @@ -11,18 +11,14 @@ "types": "build/index.d.ts", "dependencies": { "@jest/types": "^24.5.0", + "jest-haste-map": "^24.5.0", "jest-regex-util": "^24.3.0", + "jest-resolve": "^24.5.0", "jest-snapshot": "^24.5.0" }, "devDependencies": { - "jest-haste-map": "^24.5.0", - "jest-resolve": "^24.5.0", "jest-runtime": "^24.5.0" }, - "peerDependencies": { - "jest-haste-map": "^24.0.0", - "jest-resolve": "^24.1.0" - }, "engines": { "node": ">= 6" }, diff --git a/packages/jest-resolve/package.json b/packages/jest-resolve/package.json index 0ba9af0062f4..455f90300e8f 100644 --- a/packages/jest-resolve/package.json +++ b/packages/jest-resolve/package.json @@ -13,15 +13,12 @@ "@jest/types": "^24.5.0", "browser-resolve": "^1.11.3", "chalk": "^2.0.1", + "jest-haste-map": "^24.5.0", "jest-pnp-resolver": "^1.2.1", "realpath-native": "^1.1.0" }, "devDependencies": { - "@types/browser-resolve": "^0.0.5", - "jest-haste-map": "^24.5.0" - }, - "peerDependencies": { - "jest-haste-map": "^24.0.0" + "@types/browser-resolve": "^0.0.5" }, "engines": { "node": ">= 6" diff --git a/packages/jest-snapshot/package.json b/packages/jest-snapshot/package.json index c6c28de213a2..261980d3c8f6 100644 --- a/packages/jest-snapshot/package.json +++ b/packages/jest-snapshot/package.json @@ -15,6 +15,7 @@ "chalk": "^2.0.1", "expect": "^24.5.0", "jest-diff": "^24.5.0", + "jest-haste-map": "^24.5.0", "jest-matcher-utils": "^24.5.0", "jest-message-util": "^24.5.0", "jest-resolve": "^24.5.0", @@ -23,15 +24,11 @@ "pretty-format": "^24.5.0", "semver": "^5.5.0" }, - "peerDependencies": { - "jest-haste-map": "^24.0.0" - }, "devDependencies": { "@types/mkdirp": "^0.5.2", "@types/natural-compare": "^1.4.0", "@types/prettier": "^1.16.1", "@types/semver": "^5.5.0", - "jest-haste-map": "^24.5.0", "prettier": "^1.13.4" }, "engines": {