-
-
Notifications
You must be signed in to change notification settings - Fork 405
Revise RFC 0800 with learnings from implementation #902
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
6b97c98
Revise RFC 0800 with learnings from implementation
chriskrycho 1e9edad
RFC 0800 revisions: elaborate on setting up Glint
chriskrycho 793c268
RFC 0800 revisions: last unresolved question
chriskrycho f036e40
Merge branch 'master' into revise-800
wagenet fc29c77
Merge branch 'master' into revise-800
gitKrystan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any idea or prescriptions how to do that exactly? With e-c-ts we have dedicated commands for this, which I believe put the
.d.tsfiles at the root level and know how to properly clean this up again as part ofpostpack. Without it, will we just put a longtsccommand intoprepack, mostly replicating what the command does? But then how do we clean this up? Or should we put all declarations into a separate folder (we could usedistif it wasn't used already for the Ember CLI build, so maybedeclarations?) and haveexportsandtypesVersionsconfigs inpackage.jsonpoint to it, similar to what v2 addons already do?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I appreciate that you just solved this while I was buried in other things. 😁
I think the approach you landed on over at Refactor
--typescriptsupport in blueprints ember-cli/ember-cli#10283 is a good one. For other folks who haven't read that (and for posterity): the blueprint emits types intodeclarationsand usestypesVersionsto make resolution work correctly for consumers. (It also removes that after publishing.) This is probably what we would have done in the first place withember-cli-typescriptif we had hadtypesVersionsavailable all those years ago.