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

Ensure playgrounds work + switch to npm workspaces #2907

Merged
merged 8 commits into from
Jan 3, 2024
Merged

Conversation

RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented Jan 3, 2024

This PR fixes an issue where changes to the package wasn't reflected when running the playground anymore.

For some reason, yarn v1 kept installing @headlessui/react as a package instead of using the workspace one. This means that the @headlessui/react package used was coming from npm and changes to the @headlessui/react package weren't used.

When releasing insiders builds and normal releases we already used npm workspaces instead of yarn workspaces. Switching completely to npm solved this issue as well.

While moving to npm workspaces, I also moved packages/playground-* to playgrounds/* instead.

Fixes: #2899

Copy link

vercel bot commented Jan 3, 2024

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

Name Status Preview Comments Updated (UTC)
headlessui-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 3, 2024 0:18am
headlessui-vue ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 3, 2024 0:18am

@thecrypticace
Copy link
Contributor

LGTM 🚢

@RobinMalfait RobinMalfait merged commit a730073 into main Jan 3, 2024
8 checks passed
@RobinMalfait RobinMalfait deleted the fix/issue-2899 branch January 3, 2024 13:26
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.

Watch mode is broken in @headlessui/react latest release
2 participants