react-rails now supports other package managers using package_json, meaning it now defaults to npm if a package manager is not explicitly set in package.json, causing a stray package-lock.json to be created.
I've specified an exact version because currently corepack requires that (ranges are not yet supported) but we're not actually expecting anyone to be using corepack and we're definitely not using it in production (not explicitly at least...) so in theory this shouldn't cause problems and it means package.json conforms to the JSON schema - it'll also help to flush out any potential problems early before(/if) corepack becomes more mainstream.
react-rails
now supports other package managers usingpackage_json
, meaning it now defaults tonpm
if a package manager is not explicitly set inpackage.json
, causing a straypackage-lock.json
to be created.I've specified an exact version because currently
corepack
requires that (ranges are not yet supported) but we're not actually expecting anyone to be usingcorepack
and we're definitely not using it in production (not explicitly at least...) so in theory this shouldn't cause problems and it meanspackage.json
conforms to the JSON schema - it'll also help to flush out any potential problems early before(/if)corepack
becomes more mainstream.