-
Notifications
You must be signed in to change notification settings - Fork 57
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: update export for modern environments#669 #715
Conversation
✅ Deploy Preview for allotment-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for allotment-website canceled.
|
Just confirming that the current package is broken for TSC today: https://arethetypeswrong.github.io/?p=allotment%401.19.3 |
@johnwalley Can this be merged? Thanks |
any update on this please for types |
Hi @pangxiaoli. I appreciate the PR and sorry for not getting around to looking at it sooner. For everyone experiencing issues I do appreciate that it's frustrating. I've made similar changes to other packages I maintain and it has not been straightforward. Also, I merged a similar change in the recent past to this package which I chose to revert because it caused issues to existing consumers. I find the following report from one of the redux org's maintainers instructive: https://blog.isquaredsoftware.com/2023/08/esm-modernization-lessons/ At the very least I'd like to ensure we pass all the checks on: https://arethetypeswrong.github.io/ We'll get something merged in the near future but I want to build some confidence we're not going to break things for existing consumers of the package. Which is difficult because testing this sort of change is a nightmare 😬 |
I've gone ahead and merged this as 0512d71. |
Thank you for your response and the valuable insights you've provided. I completely understand the challenges that come with integrating changes, especially when it involves impacting existing consumers. I've taken note of your suggestions and have ensured that the PR passes all the checks on arethetypeswrong.github.io. Additionally, I've personally tested the changes on the latest version of Vite, and I'm pleased to confirm that everything is functioning as expected. I appreciate your patience and guidance throughout this process. Your contributions are truly commendable, and I'm grateful for the opportunity to collaborate on improving the package. |
#669