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

[pnpm] Move datefns to external adapters #2

Closed

Conversation

JCQuintas
Copy link
Collaborator

  • Move AdapterDateFns to /packages/adapters/x-adapter-date-fns-v2
  • Move AdapterDateFnsV3 to /packages/adapters/x-adapter-date-fns-v3
  • Move shared code between adapters and libs to /packages/adapters/x-adapter-common
  • Re-export adapters code from main libs so users don't have to install anything new

Typescript gives us a lot of trouble when trying to export the correct libs from all different places. It would be good to have a full review of the changes, since nextjs only compiles a page when it is rendered, I don't know if there are side effects. From what I could test, the code worked out of the box in the pages that use it.

@JCQuintas JCQuintas requested a review from LukasTy April 16, 2024 11:54
@JCQuintas
Copy link
Collaborator Author

JCQuintas commented Apr 16, 2024

Other important info, Typescript gave me a lot of trouble, so I couldn't really check for the "unit testing". 😅

Lint/Typescript/Build should work

@JCQuintas JCQuintas closed this May 15, 2024
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