diff --git a/.changeset/friendly-keys-heal.md b/.changeset/friendly-keys-heal.md new file mode 100644 index 000000000..2cc31bb0e --- /dev/null +++ b/.changeset/friendly-keys-heal.md @@ -0,0 +1,9 @@ +--- +'@faustwp/experimental-app-router': minor +'@faustwp/block-editor-utils': minor +'@faustwp/blocks': minor +'@faustjs/react': minor +'@faustjs/next': minor +--- + +Updated dependencies, peerDependencies and devDependencies to better support local development and debugging. diff --git a/package-lock.json b/package-lock.json index 362a9e46b..4afae33eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28866,8 +28866,6 @@ "@wordpress/jest-preset-default": "^11.14.0", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", "rimraf": "^4.4.0", "ts-jest": "29.1.1" }, @@ -29659,8 +29657,6 @@ "@testing-library/jest-dom": "^5.16.5", "@types/node": "^18.0.6", "@types/react": "^17.0.34", - "react": "^17.0.2", - "react-dom": "^17.0.2", "rimraf": "^4.4.0" }, "engines": { @@ -31180,16 +31176,11 @@ "devDependencies": { "@apollo/client": "^3.8.0", "@apollo/experimental-nextjs-app-support": "^0.8.0", - "@faustwp/cli": "^3.0.1", - "@faustwp/core": "^3.0.1", "@testing-library/jest-dom": "^5.17.0", "@types/node": "^20.4.6", "concurrently": "^8.2.0", "jest": "^29.6.2", "jest-environment-jsdom": "^29.6.2", - "next": "^14.1.2", - "react": "^18.2.0", - "react-dom": "^18.2.0", "rimraf": "^5.0.1", "ts-jest": "^29.1.1", "ts-loader": "^9.4.4", @@ -31272,7 +31263,7 @@ "version": "14.1.3", "resolved": "https://registry.npmjs.org/@next/env/-/env-14.1.3.tgz", "integrity": "sha512-VhgXTvrgeBRxNPjyfBsDIMvgsKDxjlpw4IAUsHCX8Gjl1vtHUYRT3+xfQ/wwvLPDd/6kqfLqk9Pt4+7gysuCKQ==", - "dev": true + "peer": true }, "packages/experimental-app-router/node_modules/@next/swc-darwin-arm64": { "version": "14.1.3", @@ -31281,11 +31272,11 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "darwin" ], + "peer": true, "engines": { "node": ">= 10" } @@ -31297,11 +31288,11 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "darwin" ], + "peer": true, "engines": { "node": ">= 10" } @@ -31313,11 +31304,11 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10" } @@ -31329,11 +31320,11 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10" } @@ -31345,11 +31336,11 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10" } @@ -31361,11 +31352,11 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10" } @@ -31377,11 +31368,11 @@ "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "win32" ], + "peer": true, "engines": { "node": ">= 10" } @@ -31393,11 +31384,11 @@ "cpu": [ "ia32" ], - "dev": true, "optional": true, "os": [ "win32" ], + "peer": true, "engines": { "node": ">= 10" } @@ -31409,19 +31400,19 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "win32" ], + "peer": true, "engines": { "node": ">= 10" } }, "packages/experimental-app-router/node_modules/@swc/helpers": { "version": "0.5.2", - "dev": true, "license": "Apache-2.0", + "peer": true, "dependencies": { "tslib": "^2.4.0" } @@ -31469,7 +31460,6 @@ "version": "1.0.30001596", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001596.tgz", "integrity": "sha512-zpkZ+kEr6We7w63ORkoJ2pOfBwBkY/bJrG/UZ90qNb45Isblu8wzDgevEOrRL1r9dWayHjYiiyCMEXPn4DweGQ==", - "dev": true, "funding": [ { "type": "opencollective", @@ -31483,7 +31473,8 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ] + ], + "peer": true }, "packages/experimental-app-router/node_modules/chalk": { "version": "4.1.2", @@ -31579,7 +31570,7 @@ "version": "14.1.3", "resolved": "https://registry.npmjs.org/next/-/next-14.1.3.tgz", "integrity": "sha512-oexgMV2MapI0UIWiXKkixF8J8ORxpy64OuJ/J9oVUmIthXOUCcuVEZX+dtpgq7wIfIqtBwQsKEDXejcjTsan9g==", - "dev": true, + "peer": true, "dependencies": { "@next/env": "14.1.3", "@swc/helpers": "0.5.2", @@ -31647,8 +31638,8 @@ }, "packages/experimental-app-router/node_modules/react": { "version": "18.2.0", - "dev": true, "license": "MIT", + "peer": true, "dependencies": { "loose-envify": "^1.1.0" }, @@ -31658,8 +31649,8 @@ }, "packages/experimental-app-router/node_modules/react-dom": { "version": "18.2.0", - "dev": true, "license": "MIT", + "peer": true, "dependencies": { "loose-envify": "^1.1.0", "scheduler": "^0.23.0" @@ -31708,8 +31699,8 @@ }, "packages/experimental-app-router/node_modules/scheduler": { "version": "0.23.0", - "dev": true, "license": "MIT", + "peer": true, "dependencies": { "loose-envify": "^1.1.0" } @@ -31720,8 +31711,8 @@ }, "packages/experimental-app-router/node_modules/styled-jsx": { "version": "5.1.1", - "dev": true, "license": "MIT", + "peer": true, "dependencies": { "client-only": "0.0.1" }, @@ -33370,8 +33361,6 @@ "version": "0.15.14", "license": "MIT", "dependencies": { - "@faustjs/core": "^0.15.13", - "@faustjs/react": "^0.15.13", "@gqty/logger": "^2.0.1", "@gqty/react": "^2.1.0", "common-tags": "^1.8.2", @@ -33391,15 +33380,14 @@ "gqty": "^2.3.0", "jest": "^27.3.1", "make-error": "^1.3.6", - "next": "^12.3.4", - "react": "^17.0.2", - "react-dom": "^17.0.2", "rimraf": "^3.0.2", "ts-jest": "^27.0.7", "ts-loader": "^9.2.6", "typescript": "^4.4.4" }, "peerDependencies": { + "@faustjs/core": ">=0.15.13", + "@faustjs/react": ">=0.15.13", "next": ">=11.1.2", "react": ">=17.0.2", "react-dom": ">=17.0.2" @@ -34797,7 +34785,6 @@ "version": "0.15.13", "license": "MIT", "dependencies": { - "@faustjs/core": "^0.15.13", "@gqty/react": "^2.1.0", "gqty": "^2.3.0", "graphql": ">=15.6", @@ -34814,14 +34801,13 @@ "bs-logger": "^0.2.6", "jest": "^27.3.1", "make-error": "^1.3.6", - "react": "^17.0.2", - "react-dom": "^17.0.2", "rimraf": "^3.0.2", "ts-jest": "^27.0.7", "ts-loader": "^9.2.6", "typescript": "^4.4.4" }, "peerDependencies": { + "@faustjs/core": ">=0.15.13", "react": ">=17.0.2", "react-dom": ">=17.0.2" } diff --git a/packages/block-editor-utils/package.json b/packages/block-editor-utils/package.json index e8674bf7d..6b6dee417 100644 --- a/packages/block-editor-utils/package.json +++ b/packages/block-editor-utils/package.json @@ -30,8 +30,6 @@ "@types/wordpress__block-editor": "11.5.5", "ts-jest": "29.1.1", "jest": "29.7.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", "@react-spring/web": "9.7.3" }, "scripts": { diff --git a/packages/blocks/package.json b/packages/blocks/package.json index a4a02dfc1..058e9ad98 100644 --- a/packages/blocks/package.json +++ b/packages/blocks/package.json @@ -17,8 +17,6 @@ "@testing-library/jest-dom": "^5.16.5", "@types/node": "^18.0.6", "@types/react": "^17.0.34", - "react": "^17.0.2", - "react-dom": "^17.0.2", "rimraf": "^4.4.0" }, "scripts": { diff --git a/packages/experimental-app-router/package.json b/packages/experimental-app-router/package.json index 0705510e7..bf052931e 100644 --- a/packages/experimental-app-router/package.json +++ b/packages/experimental-app-router/package.json @@ -58,16 +58,11 @@ "devDependencies": { "@apollo/client": "^3.8.0", "@apollo/experimental-nextjs-app-support": "^0.8.0", - "@faustwp/cli": "^3.0.1", - "@faustwp/core": "^3.0.1", "@testing-library/jest-dom": "^5.17.0", "@types/node": "^20.4.6", "concurrently": "^8.2.0", "jest": "^29.6.2", "jest-environment-jsdom": "^29.6.2", - "next": "^14.1.2", - "react": "^18.2.0", - "react-dom": "^18.2.0", "rimraf": "^5.0.1", "ts-jest": "^29.1.1", "ts-loader": "^9.4.4", diff --git a/packages/next/package.json b/packages/next/package.json index 4787c719f..183f7fc4d 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -76,7 +76,9 @@ "peerDependencies": { "next": ">=11.1.2", "react": ">=17.0.2", - "react-dom": ">=17.0.2" + "react-dom": ">=17.0.2", + "@faustjs/core": ">=0.15.13", + "@faustjs/react": ">=0.15.13" }, "devDependencies": { "@testing-library/jest-dom": "^5.15.0", @@ -90,9 +92,6 @@ "gqty": "^2.3.0", "jest": "^27.3.1", "make-error": "^1.3.6", - "next": "^12.3.4", - "react": "^17.0.2", - "react-dom": "^17.0.2", "rimraf": "^3.0.2", "ts-jest": "^27.0.7", "ts-loader": "^9.2.6", @@ -103,8 +102,6 @@ "./dist/cjs/export/log.js" ], "dependencies": { - "@faustjs/core": "^0.15.13", - "@faustjs/react": "^0.15.13", "@gqty/logger": "^2.0.1", "@gqty/react": "^2.1.0", "common-tags": "^1.8.2", @@ -112,4 +109,4 @@ "graphql": ">=15.6", "lodash": "^4.17.21" } -} \ No newline at end of file +} diff --git a/packages/react/package.json b/packages/react/package.json index 3f8fcb880..1ada7b4b2 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -45,7 +45,8 @@ "license": "MIT", "peerDependencies": { "react": ">=17.0.2", - "react-dom": ">=17.0.2" + "react-dom": ">=17.0.2", + "@faustjs/core": ">=0.15.13" }, "devDependencies": { "@testing-library/jest-dom": "^5.15.0", @@ -58,8 +59,6 @@ "jest": "^27.3.1", "bs-logger": "^0.2.6", "make-error": "^1.3.6", - "react": "^17.0.2", - "react-dom": "^17.0.2", "rimraf": "^3.0.2", "ts-jest": "^27.0.7", "ts-loader": "^9.2.6", @@ -67,7 +66,6 @@ }, "dependencies": { "@gqty/react": "^2.1.0", - "@faustjs/core": "^0.15.13", "gqty": "^2.3.0", "graphql": ">=15.6", "lodash": "^4.17.21"