Releases: typed-ember/ember-cli-typescript
Releases Β· typed-ember/ember-cli-typescript
Un-negate a double negation
Test it out
In an app, run:
ember install ember-cli-typescript@next
Changes
Correctly match the broccoli-typescript-compiler option throwOnError
with the tsconfig noEmitOnError
option.
Previously in beta series
Almost ready for primetime
Test it out
In an app, run:
ember install ember-cli-typescript@next
Changes
A bunch of internal changes, with minimal impact on you as a consumer except improving runtime a teensy bit and making it so your types all check a bit better right out of the box:
- Update to broccoli-compiler-typescript@2.0
- Run prettier on the codebase
- Use
this.ui.write
instead ofconsole.log
- Only process the tsconfig file once, instead of for every Broccoli tree (i.e. addons, the app, and the tests)
- Update Ember CLI and TypeScript (thanks @mfeckie!)
- Add some documentation of using
paths
(thanks @toranb!) - Include more type definitions in the default blueprint
Many thanks to @krisselden and @rwjblue for lots of help with this!
Everything builds! π
The headline feature: ember serve
and ember test
and ember build
all work properly now, across platforms. And builds are much faster on all platforms, too.
Miscellaneous other changes:
- Updated the base type definitions in
app/config/environment.d.ts
to include the defaults generated when creating an Ember app (thanks, @luketheobscure!) - Cleaned up the internals a bit
- Updated the README with clearer installation instructions and notes on using the add-on to develop other add-ons
Windows installs!
The add-on now successfully installs on Windows. It doesn't run yet, but it installs.
Install and configure! π
- Fixed install bugs on *nix
- Updated
tsconfig.json
:- removed
local-types
references (which did nothing π¬). - added defaults to resolve absolute paths like
my-app/components/some-foo
andmy-app/tests/integration/components/some-foo
.
- removed