Skip to content
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

feat: support React 18 and use the npm registry #89

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chrisvogt
Copy link

Summary

This PR updates the package.json to allow React 18 as a peer dependency, along with any of the previous versions of React. While I'm here, I noticed that the package locks were all tied to Artifactory and not the public npm registry, which means the general public cannot install this as-is. I've updated that to pull all dependencies from the public npm registry.

@@ -32,7 +32,7 @@
"storybook": "start-storybook"
},
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0 || ^17.0.0"
"react": "15.x || 16.x || 17.x || 18.x"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't even bother with supporting 15 & 16 IMO, but this is fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants