Is your proposal related to a problem?
Yes. Sometimes, I would want to create a app and eject it (For example, creating a chrome extension / electron app). It is hard to first run create react app and then eject.
Describe the solution you'd like
Add a flag to eject
Example, npx create-react-app app-name --ejected instead of npx create-react-app app-name && cd app-name && npm run eject
When running with the ejected flag, it should ask for a confirmation at the beginning.
Eg. You have chosen to eject the app. Would you like to proceed? (Y/n)
Is your proposal related to a problem?
Yes. Sometimes, I would want to create a app and eject it (For example, creating a chrome extension / electron app). It is hard to first run create react app and then eject.
Describe the solution you'd like
Add a flag to eject
Example,
npx create-react-app app-name --ejectedinstead ofnpx create-react-app app-name && cd app-name && npm run ejectWhen running with the ejected flag, it should ask for a confirmation at the beginning.
Eg.
You have chosen to eject the app. Would you like to proceed? (Y/n)