Comments (11)
@gossi so, here's my plan for making that less of/not an issue:
-
We already have this addon building against Ember beta and canary releases, and that didn't flag any issues with e.g. 2.15 (nor did my own apps and testing)—so if you can identify what specifically broke we can get it in test cases that are part of this to help make sure there's no regression there in the future. Sadly, apart from a specific reproduction, I can't do much better than that. ¯\_(ツ)_/¯
-
Between now and the end of the year, I'm going to be setting up CI on our app (now ~30k lines of TS, will be ~35–40k by end of year) to run against beta and canary and report any breakages to us on every commit to our mainline branch; that will presumably also be useful in flagging up any issues. If I see issues on beta especially, and they're related to TS specifically, I'll be prioritizing fixing them, not least because I want them for our app(s).
I think that should give you most or all of the stability that you need (and it's really the best anyone can do here, I think).
If you do start running your app with TS, doing the same as I will with beta/canary via ember-try could be really helpful in surfacing any issues. As far as I know, my app is currently the largest ember-cli-typescript consumer in the world right now, so having more data would be super helpful in that regard.
from ember-cli-typescript.
Yup, this issue is closed and you already explained what I wanted to know, thanks a lot for that and your effort behind. Maybe this also should be documented somewhere :)
from ember-cli-typescript.
Thank you very much for the report! I'll take a look (or maybe someone else enterprising will) as soon as I'm able. A heads-up, though: I'm moving across the country in the next week so it's likely I'll be a bit slow to get back to it. It is a high priority, however.
from ember-cli-typescript.
@gossi have you tried this with Ember CLI 2.16? I spun up a new app today with it and it worked without issue. 🤔
from ember-cli-typescript.
Yup, 2 days after I tried with 2.15 version 2.16 of ember was released and I tried with ember-cli-typescript which didn't worked for me, but I will retry.
from ember-cli-typescript.
Heh, perhaps obvious but worth confirming—can you dump your tsconfig.json
in here, and confirm that you are indeed using something quite specifically at the path <path to the app>/lib/TestClass.ts
? I have a suspicion which I can check later which might be what you're seeing here.
from ember-cli-typescript.
I gave it another try a few seconds ago. I repeated the same steps I described above.
$ ember -v
ember-cli: 2.16.2
node: 8.9.0
os: darwin x64
with [email protected]
and it worked. I would be tempted to update my app to TypeScript, though I'm a bit afraid how update-aware this addon is.
from ember-cli-typescript.
@gossi I'm not sure what you mean by "how update aware this addon is." I'm happy to clarify if there's any confusion or concern there.
I can say that we're using this at Olo and I'll continue to update it and work on it regularly—we try to keep up with Ember and TypeScript releases, and while that sometimes slips a month or two, it's rarely more than that. For context, I'm planning to upgrade our main Ember.js app from 2.14 to 2.17 the last week of November, and my goal is for us to be on minor releases a week after they come out from that point forward. So if/when we hit problems, we'll see them. The blocker for me, as for most open-source maintainers, is that this is a pretty small part of my job and I have to ship features!
Let me know if there are specific blockers I can help with for you!
from ember-cli-typescript.
Yes, it's going that direction. I'm on ember for like 2 years now (or a bit more). The app I'm currently working on is now one year old. I have taken every ember update since that time, because I was happy about newly introduced features here. Although the ember team says, updates happen seemlessly, they never do. After each upgrade I had to to some fixes, often in combination with some of the addons I installed. So far I could fix everything within reasonable time. Though if I now rely on typescript and the addon stops working after upgrading ember, well I'm pretty much fucked 😀 and for sure I do not want to run into that situation.
I was wondering if that could be "coped" in advance or some other actions that would help in that situation?
from ember-cli-typescript.
(Note: I'm closing this but not locking it, as I think the issue is strictly speaking "resolved" but I'm happy for discussion to continue.)
from ember-cli-typescript.
Great suggestion. I'll add it to the README!
from ember-cli-typescript.
Related Issues (20)
- ember install ember-cli-typescript does not set eslint parser to @typescript-eslint/parser HOT 2
- Provide CLI option for `tsconfig.json` path to allow different config per env HOT 1
- Type for location missing in Routing types HOT 2
- Type-checking failure in node_modules on a fresh Ember app HOT 6
- No declaration files output during precompile HOT 3
- Can subclass declarations include the inherited aspects of the base class? HOT 3
- Typechecker eats 70% of CPU when idle HOT 2
- `AsyncHasMany` resolves to `ArrayProxy`, can't access `reload`/`createRecord` methods on resolved promise HOT 2
- Make sure docs are up to date for Signature usage HOT 1
- Cant find `meta` on `PromiseManyArray` HOT 4
- Broken with Embroider 1.9.0 HOT 1
- "@ember/test-helpers/setup-rendering-context"' has no exported member named 'rerender'. Did you mean 'render'? HOT 1
- memory leak of ts errors HOT 1
- bug: when `moduleName` and `package.name` differ, types will not be generated by default HOT 1
- Incompatible ECMAScript version being used during the build HOT 1
- Newly generated component is not buildable: Property 'element' does not exist on type 'TestContext' HOT 2
- Issue when building ember app with exports from GTS file into TS file HOT 2
- Warnings when using ember-cli-babel 8.x HOT 1
- Switch to maintenance mode HOT 18
- v6 release: the last major? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli-typescript.