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

Bump sanity/ui to version 2 in groqd-playground #283

Merged
merged 2 commits into from
Apr 19, 2024

Conversation

carbonrobot
Copy link
Contributor

@carbonrobot carbonrobot commented Apr 19, 2024

Bumps sanity ui to version 2 and supports multiple versions of styled-components.

There is a version mismatch in sanity packages where @sanity/ui requires styled-components@^6 and @sanity requires styled-components@^5. The features we use are compatible across both versions so we allow both as a peer dependency to resolve warnings when consumers install our playground package.

  • Updates sanity/ui peer dependency to v2
  • Updates the unpkg playground reference to v0.0.6
  • Updates the README file for new branding

Copy link

changeset-bot bot commented Apr 19, 2024

🦋 Changeset detected

Latest commit: a130574

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
groqd-playground Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Apr 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
groqd ⬜️ Ignored (Inspect) Visit Preview Apr 19, 2024 3:19pm

@@ -1,2 +1,3 @@
strict-peer-dependencies=false
prefer-workspace-packages=true
auto-install-peers=true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was already set in the lock file, likely due to someone having it set per-machine. Setting it here so it applies to all developers that run pnpm i

"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"sanity": "^3.15.0",
"styled-components": "^5.3.9"
"styled-components": "^5.2 || ^6"
Copy link
Member

Choose a reason for hiding this comment

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

❤️ (fix for issues with the latest Sanity version)

@carbonrobot carbonrobot merged commit 96804f1 into main Apr 19, 2024
4 checks passed
@carbonrobot carbonrobot deleted the playground/sanity-ui branch April 19, 2024 17:31
@github-actions github-actions bot mentioned this pull request Apr 19, 2024
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