When a package.json file is missing, `corepack use` fails with ENOENT. I think it would be great if corepack could create the package.json file when its missing. It would avoid the need to call `npm init -y`, `yarn init -y`, or `pnpm init` in some cases.
When a package.json file is missing,
corepack usefails with ENOENT.I think it would be great if corepack could create the package.json file when its missing.
It would avoid the need to call
npm init -y,yarn init -y, orpnpm initin some cases.