-
Notifications
You must be signed in to change notification settings - Fork 98
Update tsconfig when in-repo addons are generated #153
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
Update tsconfig when in-repo addons are generated #153
Conversation
chriskrycho
left a comment
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.
This looks good to me overall. I’d love input from @dfreeman and/or @dwickern as well, as both have way more experience dealing with in-repo-addons than I do. I do also wonder if the "ember-cli": "*" constraint in the package.json will ever cause issues in terms of what gets installed and our test matrix. I don’t think so? But I’m not positive, and am thinking we should probably specify an actual version.
5d5f014 to
da5fb96
Compare
|
Yeah, I'm wasn't happy with I would, though, rather have even this specify version, but didn't initially because I wasn't sure of the minimum version |
da5fb96 to
5202b38
Compare
dfreeman
left a comment
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.
This looks great! The one question I have is whether it's possible/reasonable to share any of the logic around setting up tsconfig.json for in-repo addons between this blueprint and the ember-cli-typescript one that's executed on installation. It may be that things are stable enough now that it's not a big deal, but currently this means we'll have to be diligent about updating both places if the details of that ever change.
As far as the ember-cli peerDep goes, I've just told ESLint I know better for the specific case of require()ing modules from ember-cli up to this point. Adding the peer dependency won't hurt anything, but realistically I think it's also not likely to catch erroneous installation states either, regardless of whether we go with * or a particular version range.
59a95ab to
086ff79
Compare
|
@dfreeman I'm always a fan of DRYing things ups, so I moved the code for updating I agree that an |
086ff79 to
f818740
Compare
|
@chriskrycho I know you're swamped this week, but if you happen to have a few minutes of downtime at some point, it looks like Appveyor just went out to lunch on the builds for this and #159 and never reported in, and I think you're the only person who can re-kick them. |
|
Doh. Yeah, nice call out; I’ll kick them in a few.
|
|
Kicked. We'll see if it reports properly this time. If not, I'm just going to merge it, since it passes. |
…-addons-are-generated Update tsconfig when in-repo addons are generated
resolve #146