Skip to content

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

@NullVoxPopuli

Description

@NullVoxPopuli

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions