Skip to content

Add peer dependency for react-csv#7064

Open
ryankshaw wants to merge 2 commits intoyarnpkg:masterfrom
ryankshaw:patch-1
Open

Add peer dependency for react-csv#7064
ryankshaw wants to merge 2 commits intoyarnpkg:masterfrom
ryankshaw:patch-1

Conversation

@ryankshaw
Copy link
Copy Markdown

@ryankshaw ryankshaw commented Mar 9, 2026

react-csv uses propTypes in its runtime code

What's the problem this PR addresses?

this makes it so consumers of react-csv don't have to add this to their package.json

    "packageExtensions": {
      "react-csv": {
        "dependencies": {
          "prop-types": "*"
        }
      }
    },

...

How did you fix it?

by sending a PR upstream and contributing your extension to the @yarnpkg/extensions database, like this recommends

...

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

react-csv uses propTypes in its runtime code
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