Terminal 1:
npm i
npm run bundle-packages:watch
Terminal 2:
cp package.json dist/package.json
cd dist
npm i -g .
Step 1: package.json
"name": "@minimals/vite-to-cra"
Step 2:
npm publish --access public
Step 3:
npm run publish-package
Run:
npx @minimals/vite-to-cra@latest
Step 1: package.json
"name": "vite-to-cra"
Step 2:
npm run publish-package
Run:
npx vite-to-cra@latest
npm version patch
npm run publish-package