Update package.json to support svelte@next
<!--
Thanks for creating this pull request 🤗
Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one.
-->
<!-- If this pull request closes an issue, please mention the issue number below -->
## 📑 Description
<!-- Add a brief description of the pr -->
Currently, this package cannot be installed with svelte@next. It works fine, but the dependency restriction is quite strict. I added svelte@next as a dependency to resolve this issue.
Current behavior when running `npm install` with svelte@next:
```
Found: svelte@5.0.0-next.165
npm ERR! node_modules/svelte
npm ERR! dev svelte@"^5.0.0-next.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer svelte@"^5.0.0" from svelte-radix@2.0.0-next.1
```
<!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax
- [ ] Not Completed
- [x] Completed
-->
## ✅ Checks
<!-- Make sure your pr passes the tests and do check the following fields as needed - -->
- [x] My pull request adheres to the code style of this project
- [x] My code requires changes to the documentation
- [x] I have updated the documentation as required
- [x] All the tests have passed
## ℹ Additional Information
<!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behavior, etc. -->
合并状态:未合并 关闭于 2024-06-24 5 条评论