Skip to content

moved React to peerDependencies list#12

Merged
robahowlett merged 2 commits into
mainfrom
bug/dependencies
Apr 6, 2026
Merged

moved React to peerDependencies list#12
robahowlett merged 2 commits into
mainfrom
bug/dependencies

Conversation

@robahowlett

@robahowlett robahowlett commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • Version number incremented in package.json
  • Unit tests are passing

Changes

  • Moved React from dependencies to peerDependencies and allowed version 19

Explanation

Muppet installs its own instance of React because it is listed in the dependencies. This causesed version conflicts in consuming projects that didn't also use React v18.

By moving to peerDependencies, muppet won't install its own instance and will instead rely on the consuming project.

@mackenzie-grimes-noaa

Copy link
Copy Markdown
Contributor

Ah, good catch, sorry about that!

We might be able to remove muppet entirely, not sure NWS Connect has plans to use it, but until then this is the right move.

@robahowlett robahowlett merged commit 581e8ca into main Apr 6, 2026
1 check passed
@robahowlett robahowlett deleted the bug/dependencies branch April 6, 2026 22:08
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