Closed userquin closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
valtio | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 7, 2024 9:07pm |
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
I can send another pr using commonjs to v2 branch (this PR should be closed)
Sounds good. This PR introduces too many changes and can't even see if there are breaking changes or not. I'm pretty sure it breaks some old environments.
I would appreciate if you can send small PRs. For example: #882 (well, it's exceptionally small.)
small PRs
At least, we should separate for different issues: a) fix the result in dist
and b) fix for tests, which may depend on a).
Related Issues or Discussions
Talk with Kato and Moha in discord.
Summary
Move to ESM first and include subpackage exports.
This PR also includes:
useProxy
fromsrc/macro.ts
module and patch the d.ts and d.cts filesbuild
to runbuild:all
: now we can generate multiples outputs (d.mts, d.cts and d.ts) and also the ts3.4 version, we need to play with the target and maybe lib to fix ts3.4postbuild
now includes onlyyarn copy
, I've left oldxpostbuild
, we should remove it latercopy
script now copy src and esm from root, I've left oldxcopy
, we should remove it later: why copying src folder to remove it in the next script?Check List
yarn run prettier
for formatting code and docs