ember-cli-typescript icon indicating copy to clipboard operation
ember-cli-typescript copied to clipboard

Make working with linked TS addons easier?

Open dfreeman opened this issue 7 years ago • 3 comments

Currently there's a fair amount of manual config necessary for working with linked TypeScript addons. It might be useful to introduce a command like ember ts:link-types <addon-name> (and its dual) to automate this process.

dfreeman avatar Feb 21 '18 22:02 dfreeman

So this command would add the appropriate stuff to paths and include? It could also check that isDevelopingAddon() === true, but probably shouldn't modify the addon automatically?

jamescdavis avatar Feb 22 '18 14:02 jamescdavis

So this command would add the appropriate stuff to paths and include?

👍

It could also check that isDevelopingAddon() === true, but probably shouldn't modify the addon automatically?

Agreed—just issuing a warning if it returns false would be great.

dfreeman avatar Feb 22 '18 18:02 dfreeman

Hi ! is someone working on this one? otherwise, I could take a shot at it :)

phndiaye avatar Oct 18 '21 19:10 phndiaye

We now recommend that people switch to using ember-cli-babel for apps (as documented here) and the rollup plugin configured as part of the v2 add-on build for add-ons, in conjunction with running glint or tsc directly on their projects. Accordingly, the “best” way to make working with add-ons is to use the normal flows for projects configured that way!

chriskrycho avatar Sep 28 '23 22:09 chriskrycho