react-prop-types icon indicating copy to clipboard operation
react-prop-types copied to clipboard

Transfering package name

Open jquense opened this issue 9 years ago • 15 comments

ping: @react-bootstrap/collaborators especially @AlexKVal who wrote the original code here.

The React team has been working towards splitting PropTypes out of react core and would like to use the name react-prop-types (for obvious reasons). I didn't personally see a problem with giving up the name but would like folks to weigh in if they do!

@acdlite said they'd help make sure we don't run into any issues (major version bump, a comment noting where the original went, etc) So from a technical prospective there shouldn't be any issues with packages that depend on this, except that to upgrade it we'll need to point to the new package.

Thoughts? concerns?

jquense avatar Mar 16 '17 17:03 jquense

i noted already that i was fine with this

taion avatar Mar 16 '17 17:03 taion

i really wish that all and componentOrElement could be upstreamed though

taion avatar Mar 16 '17 17:03 taion

ME TOO (also elementType). I suggested to @acdlite that we'd be open helping offset the added maintenance burden if they wanted to do that (the code is well tested used ;) )

jquense avatar Mar 16 '17 17:03 jquense

I am also behind this 100%

mtscout6 avatar Mar 16 '17 17:03 mtscout6

No problem with it! :+1:

mathieumg avatar Mar 16 '17 18:03 mathieumg

Sounds good to me. 👍

kevinzwhuang avatar Mar 16 '17 18:03 kevinzwhuang

👍 No problem with it

dozoisch avatar Mar 16 '17 18:03 dozoisch

Sure yes 👍

AlexKVal avatar Mar 16 '17 19:03 AlexKVal

Regarding upstreaming some of the new validators, I don't think we're totally opposed to adding new ones, but they'd have to go through the usual React PR process. Most of these wouldn't work as-is. E.g. componentOrElement probably wouldn't be accepted because we don't want to encourage findDOMNode usage, or passing component instances as props.

acdlite avatar Mar 17 '17 18:03 acdlite

Glad you support transferring the package! It's much appreciated :)

acdlite avatar Mar 17 '17 18:03 acdlite

Any update on this?

acdlite avatar Mar 22 '17 22:03 acdlite

@acdlite Not sure what update there needs to be, it seems pretty unanimous everyone agrees with the transfer. Can we help further in any way? Thank you!

mathieumg avatar Mar 23 '17 01:03 mathieumg

npm owner add acdlite react-prop-types

acdlite avatar Mar 23 '17 01:03 acdlite

I'm pretty sure I don't have the npm rights at the moment, but @jquense and @taion for sure do.

mathieumg avatar Mar 23 '17 01:03 mathieumg

finnnnnally done

new repo here for this code: https://github.com/react-bootstrap/prop-types-extra

jquense avatar May 12 '17 17:05 jquense