brillout / react-streaming

React Streaming. Full-fledged & Easy.
MIT License
216 stars 14 forks source link

chore: update package-manager check #38

Closed tbrannam closed 6 months ago

tbrannam commented 6 months ago

Preinstall script can execute in the context of consuming package.

New script checks to see if current package is being locally developed (package.json’s name matches ‘react-streaming’) before enforcing the package manager.

brillout commented 6 months ago

Neat idea although, unfortunately, it doesn't work on my setup (it complains that I should use pnpm although I do use pnpm).

I reverted your commit and simply removed the check instead. I went ahead and merged; I hope it's ok with you. Thank you for the PR!