-
Notifications
You must be signed in to change notification settings - Fork 9
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
mgit should use package.json
if mgit.json
was not found
#29
Comments
It makes sense as a feature. |
|
I think that |
So, if the package has a version instead of the repository URL, mgit should skip the package. Do I understand? |
Yep. |
I wanted to implement this while working on #30 but, as you both noticed, it's more work to filter correct stuff from |
Is there a change that |
I would say yes. |
mgit could at least prompting |
You can make a PR for this. It makes sense to log such an error clearly :) |
Ok. I'll do it soon. |
Can't wait :) |
It would be helpful not to define the same data twice.
For instance: if my project use fixed hashes, these hashes should be stored in both
package.json
(to let developers who won't contribute to dependencies use simplenpm install
) and inmgit.json
(for developers who will contribute to dependencies to have proper versions by default).I understand that there are cases where two separate configurations need to be defined, but for some cases, one is better. My proposal is that if
mgit.json
is not defined thenmgit
usepackage.json
.The text was updated successfully, but these errors were encountered: