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

How do you pass args to ember new when generating a diff? (ECU to get TS blueprint in a JS project) #1254

Open
NullVoxPopuli opened this issue Dec 27, 2023 · 0 comments

Comments

@NullVoxPopuli
Copy link

NullVoxPopuli commented Dec 27, 2023

I'd like to use ECU to upgrade a JS project to TS using the official boilerplate, but in reading through the docs I couldn't find a way to specify extra new arguments.

For example, to make a TS project, I might do:

npx ember-cli@latest new my-app-name --pnpm --typescript

This could probably also be used to switch from yarn to pnpm.

If an original project was created with --yarn, it should be feasible to pass any args, yeah?

like,

ecu --args="--pnpm --typescript"

or something like that?


otherwise, we have h a r d m o d e, like here: NullVoxPopuli/ember-apply#505

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