From 15a9154fffd46897dab0a747752af298b46d7e6b Mon Sep 17 00:00:00 2001 From: Noah Allen Date: Mon, 4 Apr 2022 16:00:20 -0700 Subject: [PATCH] Add peer deps for postcss and e2e tests (#39080) * Add peer deps for postcss and e2e tests * Add react peer dependencies to preferences package * Update package-lock --- package-lock.json | 19 +++++++++++++++++++ packages/e2e-tests/package.json | 4 +++- packages/postcss-plugins-preset/package.json | 3 +++ packages/preferences/package.json | 4 ++++ 4 files changed, 29 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 812a67721c9120..ce5c9d6ae844aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24218,6 +24218,25 @@ "find-up": "^4.0.0" } }, + "plist": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/plist/-/plist-3.0.2.tgz", + "integrity": "sha512-MSrkwZBdQ6YapHy87/8hDU8MnIcyxBKjeF+McXnr5A9MtffPewTs7G3hlpodT5TacyfIyFTaJEhh3GGcmasTgQ==", + "dev": true, + "requires": { + "base64-js": "^1.5.1", + "xmlbuilder": "^9.0.7", + "xmldom": "^0.5.0" + }, + "dependencies": { + "xmlbuilder": { + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", + "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=", + "dev": true + } + } + }, "pluralize": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", diff --git a/packages/e2e-tests/package.json b/packages/e2e-tests/package.json index 6847583330d363..0ee14429c9a2d3 100644 --- a/packages/e2e-tests/package.json +++ b/packages/e2e-tests/package.json @@ -39,7 +39,9 @@ }, "peerDependencies": { "jest": ">=27", - "puppeteer-core": ">=11" + "puppeteer-core": ">=11", + "react": "^17.0.0", + "react-dom": "^17.0.0" }, "publishConfig": { "access": "public" diff --git a/packages/postcss-plugins-preset/package.json b/packages/postcss-plugins-preset/package.json index f852ccc3489359..efc65803cc4384 100644 --- a/packages/postcss-plugins-preset/package.json +++ b/packages/postcss-plugins-preset/package.json @@ -32,6 +32,9 @@ "@wordpress/base-styles": "file:../base-styles", "autoprefixer": "^10.2.5" }, + "peerDependencies": { + "postcss": "^8.0.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/preferences/package.json b/packages/preferences/package.json index a603113654412b..1be68a13dff7d2 100644 --- a/packages/preferences/package.json +++ b/packages/preferences/package.json @@ -37,6 +37,10 @@ "@wordpress/icons": "file:../icons", "classnames": "^2.3.1" }, + "peerDependencies": { + "react": "^17.0.0", + "react-dom": "^17.0.0" + }, "publishConfig": { "access": "public" }