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

Question: Definition of development modules #87

Open
TheFive opened this issue Jun 25, 2023 · 1 comment
Open

Question: Definition of development modules #87

TheFive opened this issue Jun 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@TheFive
Copy link

TheFive commented Jun 25, 2023

HI,

what is the definition of development module in your license checker.

currently i have the situation that caniuse is shown as production dependency in this situation

osmbc@4.0.10 /Users/TheFive.osm/development/osmbc
└─┬ email-templates@11.1.1
  └─┬ @ladjs/consolidate@1.0.1
    └─┬ @babel/core@7.22.5
      └─┬ @babel/helper-compilation-targets@7.22.5
        └─┬ browserslist@4.21.9
          └── caniuse-lite@1.0.30001507

In this case @ladis/consolidate is using @babel/core as development depencency. @babel/core is only imported as development dependency:

osmbc@4.0.10 /Users/TheFive.osm/development/osmbc
├─┬ email-templates@11.1.1
│ └─┬ @ladjs/consolidate@1.0.1
│   └─┬ @babel/core@7.22.5
│     └─┬ @babel/helper-compilation-targets@7.22.5
│       └── @babel/core@7.22.5 deduped
└─┬ nyc@15.1.0
  └─┬ istanbul-lib-instrument@4.0.3
    └── @babel/core@7.22.5 deduped

(nyc is a development depencendy in my program).

Is there a chance, to classifiy all libraries, that are in no production dependency as development dependency ?

Reason is, that i would not like to have a CC-BY-SA depencency in my production source, but i do not have a problem to do the test and development with additional CC-BY-SA Tools.

TheFive (aka Christoph)

@RSeidelsohn
Copy link
Owner

Hi Christoph,

late response, but finally I read your question. I like the idea, but currently I can't tell how complex this would be.
As you might have read, the code of this tool was originally not done by me and still today, I don't know everything it does and how it does it by heart.
It would be a good new feature. we'll see, unless you or someone else will create a PR for it, I'll put it on my todo list.

Cheers, Roman.

@RSeidelsohn RSeidelsohn added the enhancement New feature or request label Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants