#Recommended workflow for removing `ember-cli-typescript`

1 messages · Page 1 of 1 (latest)

bold lichen
#

Our team is still at 3.28 but is working towards 4.0. We'd like to remove our ember-cli-typescript dependency in preparation for glint. So far, I can see that the following changes need to be made to a project:

  1. Remove ember-cli-typescript package.
  2. Set enableTypeScriptTransform: true in ember-cli-build.js
    With that, we've opted out of typechecking during build - great! However, I'm wondering if there are any recommendations for running the tsc process alongside ember serve ? We'd still like an asynchronous typecheck taking place during our development.
    Thanks 🙏
gleaming mural
# bold lichen Our team is still at `3.28` but is working towards `4.0`. We'd like to remove ou...

atm no, but @frail moat is working on (right now, actually!) inverting which build tool we use for embroider projects (deferring to webpack/vite instead of ember-cli).
So this would allow you to use the webpack or vite parallel type-checking tools which have better DX.

for now though, something I like to do is to use tsc's watch mode in a separate terminal -- but! I always rely on my editor to tell me what I'm doing wrong first and then check tsc --watch (or npx tsc-lite if you have lots of errors) for when I'm doing big refactors and I don't know where type errors could come from

bold lichen
#

ok great, thats a good solution for now. thanks null

frail moat