felippenardi / lottie-react-web

Lottie Wrapper for React on the web.
MIT License
191 stars 49 forks source link

prop-types should be listed as a peer dependency #63

Open Aghassi opened 1 year ago

Aghassi commented 1 year ago

https://github.com/felippenardi/lottie-react-web/blob/bcebeaac478094776ca7396085ada4055ec95bad/package.json#L50

Under pnpm prop-types don't resolve normally. I need to force the resolution with

      "lottie-react-web": {
        "peerDependencies": {
          "prop-types": "*"
        }
      },

I believe if this package specifies it and publishes a new version, I won't have to do this. Filing here to see if you are open to me contributing a fix