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

Tweak peer dependencies #5020

Merged
merged 3 commits into from
Sep 5, 2024
Merged

Tweak peer dependencies #5020

merged 3 commits into from
Sep 5, 2024

Conversation

jasononeil
Copy link
Member

Why

As part of https://cultureamp.atlassian.net/browse/FEF-1571 I am trying to clean up some of the dependencies in next-template, including resolving some peerDependency warnings.

One of those required @cultureamp/package-bundler to support postcss-preset-env v10 as well as v9.

The release notes are here: https://github.com/csstools/postcss-plugins/wiki/PostCSS-Preset-Env-10

TLDR the breaking changes are:

  • some subtle nesting changes that won't effect us in sass files
  • dropping Node 16/17 support (which we dropped long ago)

So v10 is a perfectly fine version to allow with the bundler.

What

  • allow v10 of postcss-preset-env
  • also add some PNPM config to silence complaints from react-textfit and @reach/* about react versions (clearly the thing we need them for works with React 18, even though the packages say they need older versions). This change has no effect on consuming repos, but it gets kaizen-design-system back to a state of having no peer-dependency warnings

@jasononeil jasononeil requested a review from a team as a code owner September 4, 2024 12:58
Copy link

changeset-bot bot commented Sep 4, 2024

🦋 Changeset detected

Latest commit: ae37a7a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@kaizen/package-bundler Patch

Not sure what this means? Click here to learn what changesets are.

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

Copy link
Contributor

github-actions bot commented Sep 4, 2024

✨ Here is your branch preview! ✨

Last updated for commit ae37a7a: Add changeset

@dougmacknz dougmacknz merged commit 517a83b into main Sep 5, 2024
19 checks passed
@dougmacknz dougmacknz deleted the jasono/peer-dep-tweaks branch September 5, 2024 00:01
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