ember-cli / ember-cli/ember-cli-update

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

Aperta
#1,254 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
279
Fork
44
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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:
```bash
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,
```bash
ecu --args="--pnpm --typescript"
```
or something like that?

------------

_otherwise_, we have **h a r d m o d e**, like here: https://github.com/NullVoxPopuli/ember-apply/pull/505

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.