tiagob / create-full-stack

Set up a TypeScript full stack with one command.
https://create-full-stack.com
MIT License
97 stars 9 forks source link

Update create-full-stack on every run or use a separate script like CRA #8

Closed tiagob closed 4 years ago

tiagob commented 4 years ago

CRA installs react-scripts on every run which does most of the changes. This is to avoid changes to the global package. Should we do the same or should we check for updates?

https://github.com/facebook/create-react-app/blob/f5c3bdb65480f93b2d4a4c2f3214fc50753de434/packages/create-react-app/createReactApp.js https://github.com/facebook/create-react-app/blob/f5c3bdb65480f93b2d4a4c2f3214fc50753de434/packages/react-scripts/scripts/init.js

tiagob commented 4 years ago

Running yarn create or npx does this