You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone. I've started using pnpm recently and it is working fine but i do not find the correct way to bootstrap my projects with pnpm directly.
So right now i do it with yarn then delete node_modules & run "pnpm install" to free up Disk Space.
My template problem
I've tried: pnpm create react-app my-app --config.template=typescript pnpm create react-app --config.template=typescript my-app
and so on with the config flag anywhere possible in the command.
It always creates a default CRA project not taking in consideration the template part.
I don't find anything in the docs or on the web on the matter so i need your help please.
My lock file problem
The second part of my problem is that it generates a package-lock instead of a pnpm-lock but is it how it should be ?
Thanks to anyone that takes the time to answer my question(s). Peace.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone. I've started using pnpm recently and it is working fine but i do not find the correct way to bootstrap my projects with pnpm directly.
So right now i do it with yarn then delete node_modules & run "pnpm install" to free up Disk Space.
My template problem
I've tried:
pnpm create react-app my-app --config.template=typescript
pnpm create react-app --config.template=typescript my-app
and so on with the config flag anywhere possible in the command.
It always creates a default CRA project not taking in consideration the template part.
I don't find anything in the docs or on the web on the matter so i need your help please.
My lock file problem
The second part of my problem is that it generates a package-lock instead of a pnpm-lock but is it how it should be ?
Thanks to anyone that takes the time to answer my question(s). Peace.
Beta Was this translation helpful? Give feedback.
All reactions