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

feat(valtio,zustand,redux,xstate,immer,optics): move integrations to peer deps #1573

Merged
merged 10 commits into from
Nov 17, 2022

Conversation

dai-shi
Copy link
Member

@dai-shi dai-shi commented Nov 15, 2022

Following #1435 and #1473, we are moving integrations to peer dependencies. No changes at this point, but those entry points will be deprecated and removed in v2.

  • jotai/valtio
  • jotai/zustand
  • jotai/redux
  • jotai/xstate
  • jotai/immer
  • jotai/optics

@vercel
Copy link

vercel bot commented Nov 15, 2022

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

Name Status Preview Updated
jotai ✅ Ready (Inspect) Visit Preview Nov 15, 2022 at 1:20PM (UTC)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Nov 15, 2022

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.

Latest deployment of this branch, based on commit 406c359:

Sandbox Source
React Configuration
React Typescript Configuration
React Browserify Configuration
React Snowpack Configuration
Next.js Configuration
Next.js with custom Babel config Configuration
React with custom Babel config Configuration

@github-actions
Copy link

github-actions bot commented Nov 15, 2022

Size Change: -14.8 kB (-10%) 👏

Total Size: 133 kB

Filename Size Change
dist/esm/immer.js 77 B -566 B (-88%) 🏆
dist/esm/optics.js 60 B -608 B (-91%) 🏆
dist/esm/redux.js 65 B -189 B (-74%) 🏆
dist/esm/valtio.js 66 B -474 B (-88%) 🏆
dist/esm/xstate.js 77 B -795 B (-91%) 🏆
dist/esm/zustand.js 67 B -222 B (-77%) 🏆
dist/immer.js 186 B -490 B (-72%) 🏆
dist/optics.js 159 B -733 B (-82%) 🏆
dist/redux.js 161 B -109 B (-40%) 🎉
dist/system/immer.development.js 185 B -587 B (-76%) 🏆
dist/system/immer.production.js 150 B -319 B (-68%) 🏆
dist/system/optics.development.js 164 B -606 B (-79%) 🏆
dist/system/optics.production.js 129 B -326 B (-72%) 🏆
dist/system/redux.development.js 167 B -177 B (-51%) 🏆
dist/system/redux.production.js 132 B -85 B (-39%) 🎉
dist/system/valtio.development.js 169 B -483 B (-74%) 🏆
dist/system/valtio.production.js 134 B -266 B (-66%) 🏆
dist/system/xstate.development.js 184 B -797 B (-81%) 🏆
dist/system/xstate.production.js 149 B -477 B (-76%) 🏆
dist/system/zustand.development.js 168 B -209 B (-55%) 🏆
dist/system/zustand.production.js 134 B -101 B (-43%) 🎉
dist/umd/immer.development.js 329 B -500 B (-60%) 🏆
dist/umd/immer.production.js 275 B -263 B (-49%) 🎉
dist/umd/optics.development.js 300 B -742 B (-71%) 🏆
dist/umd/optics.production.js 249 B -393 B (-61%) 🏆
dist/umd/redux.development.js 304 B -114 B (-27%) 🎉
dist/umd/redux.production.js 252 B -38 B (-13%) 👏
dist/umd/valtio.development.js 303 B -387 B (-56%) 🏆
dist/umd/valtio.production.js 252 B -224 B (-47%) 🎉
dist/umd/xstate.development.js 327 B -1.09 kB (-77%) 🏆
dist/umd/xstate.production.js 273 B -611 B (-69%) 🏆
dist/umd/zustand.development.js 306 B -139 B (-31%) 🎉
dist/umd/zustand.production.js 253 B -50 B (-17%) 👏
dist/valtio.js 162 B -389 B (-71%) 🏆
dist/xstate.js 184 B -1.08 kB (-85%) 🏆
dist/zustand.js 164 B -139 B (-46%) 🎉
ℹ️ View Unchanged
Filename Size
dist/babel/plugin-debug-label.js 879 B
dist/babel/plugin-react-refresh.js 1.11 kB
dist/babel/preset.js 1.36 kB
dist/devtools.js 3.8 kB
dist/esm/babel/plugin-debug-label.js 869 B
dist/esm/babel/plugin-react-refresh.js 1.05 kB
dist/esm/babel/preset.js 1.32 kB
dist/esm/devtools.js 2.97 kB
dist/esm/index.js 5.31 kB
dist/esm/query.js 442 B
dist/esm/urql.js 776 B
dist/esm/utils.js 5.26 kB
dist/index.js 6.29 kB
dist/query.js 698 B
dist/system/babel/plugin-debug-label.development.js 970 B
dist/system/babel/plugin-debug-label.production.js 728 B
dist/system/babel/plugin-react-refresh.development.js 1.15 kB
dist/system/babel/plugin-react-refresh.production.js 899 B
dist/system/babel/preset.development.js 1.42 kB
dist/system/babel/preset.production.js 1.1 kB
dist/system/devtools.development.js 3.16 kB
dist/system/devtools.production.js 2.11 kB
dist/system/index.development.js 5.54 kB
dist/system/index.production.js 3.08 kB
dist/system/query.development.js 567 B
dist/system/query.production.js 385 B
dist/system/urql.development.js 919 B
dist/system/urql.production.js 605 B
dist/system/utils.development.js 5.62 kB
dist/system/utils.production.js 3.53 kB
dist/umd/babel/plugin-debug-label.development.js 1.04 kB
dist/umd/babel/plugin-debug-label.production.js 819 B
dist/umd/babel/plugin-react-refresh.development.js 1.26 kB
dist/umd/babel/plugin-react-refresh.production.js 985 B
dist/umd/babel/preset.development.js 1.5 kB
dist/umd/babel/preset.production.js 1.21 kB
dist/umd/devtools.development.js 3.93 kB
dist/umd/devtools.production.js 2.6 kB
dist/umd/index.development.js 6.38 kB
dist/umd/index.production.js 3.52 kB
dist/umd/query.development.js 838 B
dist/umd/query.production.js 585 B
dist/umd/urql.development.js 4.63 kB
dist/umd/urql.production.js 3.22 kB
dist/umd/utils.development.js 9.87 kB
dist/umd/utils.production.js 6.34 kB
dist/urql.js 4.45 kB
dist/utils.js 9.64 kB

compressed-size-action

@dai-shi dai-shi changed the title chore: move itegrations to peer deps chore: move integrations to peer deps Nov 15, 2022
@dai-shi dai-shi changed the title chore: move integrations to peer deps feat: move integrations to peer deps Nov 15, 2022
@dai-shi dai-shi changed the title feat: move integrations to peer deps feat(valtio,zustand,redux,xstate,immer,optics): move integrations to peer deps Nov 15, 2022
@dai-shi dai-shi added this to the v1.10.0 milestone Nov 15, 2022
@dai-shi dai-shi marked this pull request as ready for review November 15, 2022 13:26
@dai-shi dai-shi merged commit 14065f6 into main Nov 17, 2022
@dai-shi dai-shi deleted the chore/integrations/move-to-peer-deps branch November 17, 2022 12:11
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.

1 participant