-
Notifications
You must be signed in to change notification settings - Fork 62
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
chore: allow React 18 in peerDependencies #263
chore: allow React 18 in peerDependencies #263
Conversation
📊 Bundle size reportUnchanged fixtures
|
7133306
to
df5553f
Compare
"type": "none", | ||
"comment": "fix: update dependencies in @griffel/devtools", |
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.
See below ⬇️
df5553f
to
674c933
Compare
674c933
to
255553b
Compare
"devDependencies": { | ||
"@griffel/react": "^1.4.1" |
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.
This package should not have dependencies at all as we bundle it into application. The problem is that import/no-extraneous-dependencies
cannot be configured for that case 🗿
This config will read root package.json
and will still complain about missing @griffel/react
. That's why I left @griffel/react
here in devDependencies
.
P.S. It's also a reason why we don't need a version bump: artifacts are not affected.
Fixes #262.
This PR:
peerDependencies
of@griffel/react
@griffel/devtools
(check comments for more context)