Skip to content

Commit

Permalink
chore: update dependencies to better support local development (#1929)
Browse files Browse the repository at this point in the history
* - remove react and react-dom as devDependencies for the block-editor-utils package
- remove react and react-dom as devDependencies for the blocks package
- remove faustwp/cli, faustwp/core, react and react-dom as devDependencies for the experimental-app-router package
- remove next, react and react-dom as devDependencies for the next package
- remove faustjs/core and faustjs/react as dependencies and mark them as peerDependenncies of the next packagee
- remove faustjs/core and mark it as a peerDependency for the react package
- remove react and react-dom as devDependencies of the react package

* - add changeset
  • Loading branch information
jasonbahl authored Aug 14, 2024
1 parent 514481c commit 53bb9a6
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 55 deletions.
9 changes: 9 additions & 0 deletions .changeset/friendly-keys-heal.md
Original file line number Diff line number Diff line change
@@ -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.
56 changes: 21 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions packages/block-editor-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 0 additions & 2 deletions packages/blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
5 changes: 0 additions & 5 deletions packages/experimental-app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 4 additions & 7 deletions packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -103,13 +102,11 @@
"./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",
"fast-xml-parser": "^4.4.1",
"graphql": ">=15.6",
"lodash": "^4.17.21"
}
}
}
6 changes: 2 additions & 4 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -58,16 +59,13 @@
"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",
"typescript": "^4.4.4"
},
"dependencies": {
"@gqty/react": "^2.1.0",
"@faustjs/core": "^0.15.13",
"gqty": "^2.3.0",
"graphql": ">=15.6",
"lodash": "^4.17.21"
Expand Down

0 comments on commit 53bb9a6

Please sign in to comment.