I have a node.js project to be published as an open source, and would like to set MIT license to it.
However, if my project is depending on a package licensed GNU GPL, I need to set the same license to the entire project (I can maintain MIT for my work but the entire project must be under GNU GPL, right?).
So, how can I know if it's okay to set MIT license (or another specific license)?
Do I need to went through all the packages contained in my package.json and check the license of them one by one? Or is there any good tool or method to know the license restriction?
In addition, if one package in my project is published as MIT but it (possibly by mistake) depends on GNU GPL how should I do?