Skip to content

Commit

Permalink
Adopt pnpm catalogs for React deps
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongarciah committed Aug 26, 2024
1 parent 3226205 commit 42e02c1
Show file tree
Hide file tree
Showing 25 changed files with 457 additions and 434 deletions.
8 changes: 4 additions & 4 deletions apps/pigment-css-next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"@mui/system": "workspace:^",
"@emotion/cache": "latest",
"next": "latest",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"react": "catalog:",
"react-dom": "catalog:"
},
"devDependencies": {
"@pigment-css/nextjs-plugin": "0.0.20",
"@types/node": "^20.5.7",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"eslint": "^8.57.0",
"typescript": "^5.5.4"
},
Expand Down
8 changes: 4 additions & 4 deletions apps/pigment-css-vite-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
"@mui/material": "workspace:^",
"@mui/system": "workspace:^",
"clsx": "^2.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "catalog:",
"react-dom": "catalog:",
"react-error-boundary": "^4.0.13",
"react-router-dom": "^6.26.1"
},
"devDependencies": {
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@pigment-css/vite-plugin": "0.0.20",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@vitejs/plugin-react": "^4.3.1",
"postcss": "^8.4.41",
"postcss-combine-media-query": "^1.0.1",
Expand Down
6 changes: 3 additions & 3 deletions benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"jss": "^10.10.0",
"playwright": "^1.46.1",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-is": "^18.3.1",
"react": "catalog:",
"react-dom": "catalog:",
"react-is": "catalog:",
"react-jss": "^10.10.0",
"react-redux": "^8.1.3",
"redux": "^4.2.1",
Expand Down
12 changes: 6 additions & 6 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@
"postcss": "^8.4.41",
"postcss-import": "^16.1.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "catalog:",
"react-dom": "catalog:",
"react-draggable": "^4.4.6",
"react-final-form": "^6.5.9",
"react-imask": "^7.6.1",
"react-intersection-observer": "^9.13.0",
"react-is": "^18.3.1",
"react-is": "catalog:",
"react-number-format": "^5.4.0",
"react-router-dom": "^6.26.1",
"react-runner": "^1.0.5",
Expand All @@ -115,19 +115,19 @@
"devDependencies": {
"@babel/plugin-transform-react-constant-elements": "^7.25.1",
"@babel/preset-typescript": "^7.24.7",
"@mui-internal/api-docs-builder": "workspace:^",
"@mui/internal-docs-utils": "workspace:^",
"@mui/internal-scripts": "workspace:^",
"@mui/internal-test-utils": "workspace:^",
"@mui-internal/api-docs-builder": "workspace:^",
"@types/autosuggest-highlight": "^3.2.3",
"@types/chai": "^4.3.17",
"@types/css-mediaquery": "^0.1.4",
"@types/gtag.js": "^0.0.20",
"@types/json2mq": "^0.2.2",
"@types/node": "^18.19.44",
"@types/prop-types": "^15.7.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@types/react-swipeable-views": "^0.13.5",
"@types/react-transition-group": "^4.4.11",
"@types/react-window": "^1.8.8",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
"@types/lodash": "^4.17.7",
"@types/mocha": "^10.0.7",
"@types/node": "^18.19.44",
"@types/react": "^18.3.3",
"@types/react": "catalog:",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
Expand Down Expand Up @@ -210,8 +210,8 @@
"@definitelytyped/typescript-versions": "^0.1.4",
"@definitelytyped/utils": "^0.1.7",
"@types/node": "^18.19.44",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"cross-fetch": "^4.0.0",
"@pigment-css/react": "0.0.20",
"@pigment-css/unplugin": "0.0.20",
Expand Down
2 changes: 1 addition & 1 deletion packages-internal/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@types/doctrine": "^0.0.9",
"@types/lodash": "^4.17.7",
"@types/node": "^18.19.44",
"@types/react": "^18.3.3",
"@types/react": "catalog:",
"@types/uuid": "^9.0.8",
"chai": "^4.5.0",
"fast-glob": "^3.3.2",
Expand Down
8 changes: 4 additions & 4 deletions packages-internal/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@
"@types/chai-dom": "^1.11.3",
"@types/format-util": "^1.0.4",
"@types/prop-types": "^15.7.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@types/sinon": "^17.0.3",
"typescript": "^5.5.4"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "catalog:",
"react-dom": "catalog:"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 4 additions & 4 deletions packages/mui-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@
"@testing-library/user-event": "^14.5.2",
"@types/chai": "^4.3.17",
"@types/prop-types": "^15.7.12",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@types/sinon": "^17.0.3",
"chai": "^4.5.0",
"fast-glob": "^3.3.2",
"lodash": "^4.17.21",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "catalog:",
"react-dom": "catalog:",
"sinon": "^16.1.3"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/mui-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
"@types/gtag.js": "^0.0.20",
"@types/node": "^18.19.44",
"@types/prop-types": "^15.7.12",
"@types/react": "^18.3.3",
"@types/react": "catalog:",
"next": "^14.2.5",
"react": "^18.3.1"
"react": "catalog:"
},
"peerDependencies": {
"@mui/base": "*",
Expand Down
6 changes: 3 additions & 3 deletions packages/mui-envinfo/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"@mui/base": "5.0.0-beta.30",
"@mui/joy": "5.0.0-beta.22",
"@mui/material": "5.15.4",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"react": "catalog:",
"react-dom": "catalog:"
},
"devDependencies": {
"@types/react": "^18.3.3"
"@types/react": "catalog:"
}
}
4 changes: 2 additions & 2 deletions packages/mui-icons-material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@
"@mui/internal-waterfall": "workspace:^",
"@mui/material": "workspace:^",
"@types/chai": "^4.3.17",
"@types/react": "^18.3.3",
"@types/react": "catalog:",
"chai": "^4.5.0",
"chalk": "^5.3.0",
"cross-fetch": "^4.0.0",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
"lodash": "^4.17.21",
"mustache": "^4.2.0",
"react": "^18.3.1",
"react": "catalog:",
"rimraf": "^5.0.10",
"shx": "^0.3.4",
"svgo": "^3.3.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/mui-joy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@
"@mui/material": "workspace:^",
"@types/chai": "^4.3.17",
"@types/prop-types": "^15.7.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@types/sinon": "^17.0.3",
"chai": "^4.5.0",
"fast-glob": "^3.3.2",
"lodash": "^4.17.21",
"next": "^14.2.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "catalog:",
"react-dom": "catalog:",
"sinon": "^16.1.3"
},
"peerDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/mui-lab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@
"@mui/material": "workspace:*",
"@types/chai": "^4.3.17",
"@types/prop-types": "^15.7.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@types/sinon": "^17.0.3",
"chai": "^4.5.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "catalog:",
"react-dom": "catalog:",
"sinon": "^16.1.3"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/mui-material-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
"@emotion/cache": "^11.13.1",
"@emotion/react": "^11.13.3",
"@emotion/server": "^11.11.0",
"@types/react": "^18.3.3",
"@types/react": "catalog:",
"next": "14.2.5",
"react": "^18.3.1"
"react": "catalog:"
},
"peerDependencies": {
"@emotion/cache": "^11.11.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/mui-material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"clsx": "^2.1.1",
"csstype": "^3.1.3",
"prop-types": "^15.8.1",
"react-is": "^18.3.1",
"react-is": "catalog:",
"react-transition-group": "^4.4.5"
},
"devDependencies": {
Expand All @@ -60,17 +60,17 @@
"@testing-library/user-event": "^14.5.2",
"@types/chai": "^4.3.17",
"@types/prop-types": "^15.7.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@types/sinon": "^17.0.3",
"chai": "^4.5.0",
"css-mediaquery": "^0.1.2",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
"lodash": "^4.17.21",
"playwright": "^1.46.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "catalog:",
"react-dom": "catalog:",
"react-router-dom": "^6.26.1",
"sinon": "^16.1.3"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/mui-private-theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
"@mui/internal-test-utils": "workspace:^",
"@mui/types": "workspace:^",
"@types/chai": "^4.3.17",
"@types/react": "^18.3.3",
"@types/react": "catalog:",
"chai": "^4.5.0",
"react": "^18.3.1"
"react": "catalog:"
},
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/mui-styled-engine-sc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
"@mui/styled-engine-sc": "workspace:*",
"@types/chai": "^4.3.17",
"@types/hoist-non-react-statics": "^3.3.5",
"@types/react": "^18.3.3",
"@types/react": "catalog:",
"chai": "^4.5.0",
"react": "^18.3.1",
"react": "catalog:",
"styled-components": "^6.1.12"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/mui-styled-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
"@mui/internal-test-utils": "workspace:^",
"@mui/styled-engine": "workspace:*",
"@types/chai": "^4.3.17",
"@types/react": "^18.3.3",
"@types/react": "catalog:",
"chai": "^4.5.0",
"react": "^18.3.1"
"react": "catalog:"
},
"peerDependencies": {
"@emotion/react": "^11.4.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/mui-styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@
"@mui/internal-test-utils": "workspace:^",
"@mui/material": "workspace:^",
"@types/chai": "^4.3.17",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@types/sinon": "^17.0.3",
"chai": "^4.5.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "catalog:",
"react-dom": "catalog:",
"sinon": "^16.1.3"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/mui-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@
"@mui/system": "workspace:*",
"@types/chai": "^4.3.17",
"@types/prop-types": "^15.7.12",
"@types/react": "^18.3.3",
"@types/react": "catalog:",
"@types/sinon": "^17.0.3",
"chai": "^4.5.0",
"fast-glob": "^3.3.2",
"lodash": "^4.17.21",
"react": "^18.3.1",
"react": "catalog:",
"sinon": "^16.1.3",
"styled-components": "^6.1.12"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"devDependencies": {
"@mui/types": "workspace:*",
"@types/react": "^18.3.3"
"@types/react": "catalog:"
},
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0"
Expand Down
12 changes: 6 additions & 6 deletions packages/mui-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@types/prop-types": "^15.7.12",
"clsx": "^2.1.1",
"prop-types": "^15.8.1",
"react-is": "^18.3.1"
"react-is": "catalog:"
},
"devDependencies": {
"@mui/internal-babel-macros": "workspace:^",
Expand All @@ -52,13 +52,13 @@
"@types/chai": "^4.3.17",
"@types/mocha": "^10.0.7",
"@types/node": "^18.19.44",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-is": "^18.3.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@types/react-is": "catalog:",
"@types/sinon": "^17.0.3",
"chai": "^4.5.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "catalog:",
"react-dom": "catalog:",
"sinon": "^16.1.3"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit 42e02c1

Please sign in to comment.