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

add: pnpm catalog #637

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Conversation

sommeeeer
Copy link
Contributor

@sommeeeer sommeeeer commented Nov 20, 2024

This PR will add pnpm catalog for deps that is reused through the repo. Making it easier to maintain. I will open this in draft mode so we can continue working on it. The alternative was using something like syncpack, but that would add another dep so I decided to go with pnpm catalogs instead.

Any suggestions on what more we could add? I have considered using catalog for the other shared deps in examples/*, like f.ex tailwindcss/typescript or postcss. Not sure if we want that, and also should we consider using a caret or tilde in any of the catalog versions?

Btw, I have tested building and deploying the examples apps with this PR, and it works as it should.

Copy link

changeset-bot bot commented Nov 20, 2024

⚠️ No Changeset found

Latest commit: dbd0a89

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@conico974
Copy link
Contributor

@sommeeeer Yeah we should add these 3 deps and bump typescript version as well.
And we don't want to use ^ or ~, we should always use exact where we can

@sommeeeer
Copy link
Contributor Author

Yeah we should add these 3 deps and bump typescript version as well.

i didnt add catalog to the open-next package, could however use it for @types/node and typescript. not sure what we want?

Copy link

pkg-pr-new bot commented Nov 21, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/@opennextjs/aws@637

commit: dbd0a89

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.

2 participants