Skip to content
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

Problem with Stencil license #553

Closed
Jagget opened this issue May 18, 2020 · 6 comments
Closed

Problem with Stencil license #553

Jagget opened this issue May 18, 2020 · 6 comments

Comments

@Jagget
Copy link

Jagget commented May 18, 2020

I created bug there, but now decided to ask here, if it is fixable from this side?

ionic-team/stencil#2391

@mjeanroy
Copy link
Owner

@Jagget Not sure to understand the issue exactly, I don't know how stencil works and define its dependencies. Do you have a reproducible test case?

@Jagget
Copy link
Author

Jagget commented May 19, 2020

@mjeanroy
Copy link
Owner

@Jagget I fixed it by checking that the package name is valid (not the case with stencil internal packages). A non valid package should probably used only internally, so in my opinion it is a good idea to check for a valid package.json upper in the directory tree (except if it defines a license field, otherwise it will be used).

Is that possible for you to check on master before I release a new version?

@Jagget
Copy link
Author

Jagget commented May 22, 2020

Thank you! It is fixed!

For the future: is there some general solution to map wrongly detected licenses and point them to the right files?

@mjeanroy
Copy link
Owner

For the future: is there some general solution to map wrongly detected licenses and point them to the right files?

That is something I have in mind since the beginning, but to be honest I would like to avoid it as long as I can. I prefer to fix all the "edge case" before adding complexity in the configuration.

@mjeanroy
Copy link
Owner

@Jagget Version 2.1.0 and 1.1.0 have been published with the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants