Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need better eject #683

Open
2 of 5 tasks
big-kahuna-burger opened this issue Dec 11, 2023 · 0 comments
Open
2 of 5 tasks

Need better eject #683

big-kahuna-burger opened this issue Dec 11, 2023 · 0 comments

Comments

@big-kahuna-burger
Copy link
Contributor

big-kahuna-burger commented Dec 11, 2023

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

🚀 Feature Proposal

  • it's unintuitive (for me at least) to have to imperatively declare --esm to fastify eject when using js/esm combination.
    Like, when I'm already cd-ed into the dir, and eject is using process.cwd(), meaning it can also lookup pkg json and see what's there.

  • other point is that scripts stay bound to CLI, I expect to have scripts overwritten to something like "start" : "node server.js" | "dev" : "node --watch server.js" at least in js case.

  • bonus points if CLI would have removed itself from dependencies, and dumped that test helper into tests directory

Motivation

I don't have to massage the generated project too much after eject

Example

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant