-
Notifications
You must be signed in to change notification settings - Fork 117
Dependency naming trouble with a component.json #301
Comments
yeah, duo (by design) only includes what you actually |
@micky2be ah yah, I don't think the
|
For now the repos causing trouble with naming are ours. Just started to switch to Duo so will see how it goes. |
Closing since this is more an issue on my side than within Duo |
Just noticed satazor/SparkMD5 suffer from the same problem. |
@micky2be I think this would work: component.json {
"dependencies": {
"satazor/SparkMD5": "*"
}
} index.js var md5 = require("SparkMD5"); |
So within my app I can deal with it, but let's say an other component has SparkMD5 as dependency, it won't work until that component update. I closed the issue because, personally I can deal with it in my projects but it can be a problem people are gonna run into. |
I realize this is mainly a problem of compatibility with Component but here I am.
In many of my component.json files I may have something like:
But the actual name of the component could be "repoName".
Which mean requiring it from JavaScript will give
var repoName = require('repoName');
Duo doesn't seem to install the component if this is the case, nor output an error or warning.
To avoid myself and others to rename components already out there is it possible for Duo to manage it like Component does?
The text was updated successfully, but these errors were encountered: