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
Deprecate funnel and pickfiles #3681
Conversation
2b2c1af
to
33d85ab
Compare
@rwjblue r? |
@@ -112,14 +116,17 @@ Addon.prototype._requireBuildPackages = function() { | |||
|
|||
this.transpileModules = this.transpileModules || require('broccoli-es6modules'); |
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.
Needs to be deprecated also
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.
good catch.
33d85ab
to
a2b2a1c
Compare
@rwjblue updated |
7c61da9
to
5c1a1cb
Compare
@@ -103,24 +107,43 @@ Addon.prototype.hintingEnabled = function() { | |||
@private | |||
@method _requireBuildPackages | |||
*/ | |||
|
|||
Addon.prototype._requireBuildPackages = function() { |
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.
Since this now does nothing should we deprecate it also?
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 need it actually to get good error messages.
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.
Ok, I don't see that in this pull request.
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.
its updated.
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.
been running this on several apps at work, and working hard to make nice deprecation output (and catching other cases i didn't think of)
I think i got them all now
f1fe1af
to
9ec187f
Compare
this wasn’t really intended for public API, users should depend on their own packages.
9ec187f
to
4c687df
Compare
Deprecate funnel and pickfiles
I changed this in my addon but consumers are having trouble. I tried adding
to install master, they get the error
Any thoughts on how to fix? And, is it okay to use |
actually, adding to |
Yup, this is how npm works. DevDependencies don't get installed when a consumer installs your module as a dependency of another. I am hesitant to add documentation that already exists elsewhere. Maybe this is an exception, and we treat it more as a reminder? |
What about a line here for "dependencies": {
// add npm packages your addon depends on here ? It could be me but I'm still not clear on what goes there vs. devDependencies. Basically if my addon uses an npm package in index.js, it needs to be in dependencies? This absolutely could have nothing to do with ember-cli and is just my lack of understanding of npm |
No description provided.