-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a new app or addon with the --typescript
flag overrules the use of the --skip-npm
flag
#10045
Comments
Yes, but I think that's inevitable. See my notes in the PR description: #9972. |
The alternative I had in mind was:
I think if someone specifically uses the |
I see. Sounds reasonable in a way, but...
Well, either way we somehow break the expectations of the user. When passing both There is probably a way to not break expectations at all, either by incorporating all the things the e-c-ts blueprint does into our own (which fwiw goes against the related RFC), or add e-c-ts as a dependency of ember-cli itself (so we don't need to install it later), and run its blueprint from there somehow. Not sure if this issue is worth the trouble? |
from my experience using I know the built-in types are getting pretty close to being out of "preview", so I'd like to propose we
|
I feel you, and I was not happy about it either when implementing this, having caused (or uncovered) other issues as well (slow tests, things to fix in Ember CLI itself). But as I said above, we have an RFC from the TS core team that explicitly prescribed using e-c-ts and not getting rid of it (at this point). So I sticked to that... Doesn't mean we cannot revisit this decision, but I think we need to involve the TS folks for this? I believe there were also initiatives planned to lay out how Ember+TS without e-c-ts would look like. So that should be accounted for. /cc @chriskrycho @dfreeman @jamescdavis |
We don't have to stick with the exact flow designed in 0800, FWIW. One major motivator for the new stages process was that this kind of experience gained during the process of implementing it can and often should be grounds for revising the RFC. I’ll write up a proposed alternative flow here in a bit, and we can revise RFC 0800 with it! |
Here’s the rough outline of what we need to do:
Net, we want to replace this bullet in the original RFC—
—with something shaped roughly like:
On Process-wise, these are CLI and TS team concerns, so we just need alignment between our two teams and good communications about them to everyone else (and the usual FCPs etc.)! |
I think I'm aligned there—we're pretty close to declaring 1.0 stable. I think there's one last design question we need to answer (or at least decide whether we can punt on answering), and beyond that there are a just couple more fixes/improvements we want to land at some point, but those shouldn't be blocking for a stable release. |
Thanks for that confirmation, @dfreeman! Folks on this thread, I've opened emberjs/rfcs#902 to amend emberjs/rfcs#800 along the lines described here. Comments welcome there, and also feel free to implement along those lines! |
I.e. all node modules are installed regardless of if the user passed in the
--skip-npm
flag.Probably because we use
addAddonToProject
to add theember-cli-typescript
addon to the generated app or addon.The text was updated successfully, but these errors were encountered: