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

migrated to pnpm, next-js example, fixed warning #310

Merged
merged 18 commits into from Mar 14, 2023
Merged

Conversation

dayhaysoos
Copy link
Owner

Overview

This is a PR that addresses quite a few things:

  1. The original purpose of this repo was to get rid of yarn in favor of pnpm for managing dependencies and workspaces.

There's definitely still some work to do. rollup -c -w command doesn't work as well anymore. This allowed me to make updates to the library and see the changes get reflected. Right now, I have to manually update the bundle myself with rollup -c and switch back and switch back to run the server again. Not sure how to fix this but I'll look into it.

  1. I finally addressed the warning that always got thrown in Next.js. Don't really need a review here because it was a one-liner that I sat on for about 2 years

  2. Added a nextjs example to the examples folder, shout outs to @lmac-1 for her amazing starter repo. I pretty much dropped it in there.

Concerns

Ripping out yarn and migrating to pnpm is kinda scary. I still have a lot of errors/warnings being thrown by pnpm. So far, things are working better than they did before so that's a great sign, but not sure if this is safe enough to merge into master (I need to change to main soon).

Any insight would be appreciated.

@github-actions github-actions bot added example Changes to examples for use-shopping-cart package Changes to use-shopping-cart package labels Mar 5, 2023
@dayhaysoos dayhaysoos marked this pull request as ready for review March 5, 2023 15:14
@dayhaysoos
Copy link
Owner Author

Right now the only thing that doesn't work is Gatsby but I'm okay with it for the time being.

@dayhaysoos dayhaysoos self-assigned this Mar 6, 2023
@gudatcomputers
Copy link
Contributor

getting some errors trying to run commands on this branch
npm test and pnpm test produces
Screenshot 2023-03-05 at 10 19 21 PM

npm run dev:cra produces
Screenshot 2023-03-05 at 10 22 05 PM

Screenshot 2023-03-05 at 10 22 12 PM

@dayhaysoos dayhaysoos merged commit 0fbb8da into master Mar 14, 2023
6 of 11 checks passed
@dayhaysoos dayhaysoos deleted the redo-repo branch March 14, 2023 04:43
@alec-bfa
Copy link

Glad to see this merged. Will there be a new release soon @dayhaysoos ?

@dayhaysoos
Copy link
Owner Author

Hey @alec-bfa, I did the new release right after this merge!

@alec-bfa
Copy link

Oh I missed it since I saw the latest release in github was from 2021. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example Changes to examples for use-shopping-cart package Changes to use-shopping-cart package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants