-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
chore: use catalog for dependencies across multiple packages and the website #7824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,9 +44,9 @@ | |
"@radix-ui/react-tooltip": "~1.2.4", | ||
"@tailwindcss/postcss": "~4.1.5", | ||
"@vcarl/remark-headings": "~0.1.0", | ||
"classnames": "~2.5.1", | ||
"classnames": "catalog:", | ||
"postcss-calc": "^10.1.1", | ||
"tailwindcss": "~4.0.17" | ||
"tailwindcss": "catalog:" | ||
}, | ||
"devDependencies": { | ||
"@storybook/addon-controls": "^8.6.12", | ||
|
@@ -58,23 +58,23 @@ | |
"@storybook/react": "^8.6.12", | ||
"@storybook/react-webpack5": "^8.6.12", | ||
"@testing-library/user-event": "~14.6.1", | ||
"@types/node": "22.15.3", | ||
"@types/react": "^19.1.0", | ||
"@types/node": "catalog:", | ||
"@types/react": "catalog:", | ||
"cross-env": "^7.0.3", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should add cross-env |
||
"css-loader": "~7.1.2", | ||
"eslint-plugin-react": "~7.37.4", | ||
"eslint-plugin-storybook": "~0.12.0", | ||
"global-jsdom": "^26.0.0", | ||
"postcss-loader": "~8.1.1", | ||
"react": "^19.1.0", | ||
"react": "catalog:", | ||
"storybook": "^8.6.11", | ||
"style-loader": "~4.0.0", | ||
"stylelint": "^16.19.1", | ||
"stylelint-config-standard": "^38.0.0", | ||
"stylelint-order": "7.0.0", | ||
"stylelint-selector-bem-pattern": "4.0.1", | ||
"tsx": "^4.19.3", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe we should add our testing deps, like tsx JSdom, etc? |
||
"typescript": "~5.8.2", | ||
"typescript": "catalog:", | ||
"typescript-eslint": "~8.31.1" | ||
}, | ||
"imports": { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -11,3 +11,16 @@ onlyBuiltDependencies: | |||
- esbuild | ||||
- sharp | ||||
- unrs-resolver | ||||
|
||||
# We use catalog for dependencies that are shared across | ||||
# multiple packages in the monorepo. | ||||
# This allows us to manage versions and updates in one place. | ||||
# https://pnpm.io/en/catalogs | ||||
|
||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
catalog: | ||||
'@types/node': 22.15.3 | ||||
bjohansebas marked this conversation as resolved.
Show resolved
Hide resolved
|
||||
'@types/react': ^19.1.0 | ||||
classnames: ~2.5.1 | ||||
react: ^19.1.0 | ||||
tailwindcss: ~4.0.17 | ||||
typescript: ~5.8.2 | ||||
Comment on lines
+20
to
+26
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These were the dependencies I saw repeated more than once across all the packages and the website. Feel free to suggest any that might be missing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe add
typescript-eslint
?