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

Remove version from module name #252

Open
Stief86 opened this issue Jul 28, 2021 · 0 comments
Open

Remove version from module name #252

Stief86 opened this issue Jul 28, 2021 · 0 comments

Comments

@Stief86
Copy link

Stief86 commented Jul 28, 2021

The license-format.json for the customPath looks:

{
"name": "",
"version": false,
"description": "",
"licenses": false,
"copyright": "",
"licenseFile": false,
"licenseText": false,
"licenseModified": false,
"path": false
}

When I execute

npx license-checker --production --customPath license-format.json -json

I get the following json object:

...

"[email protected]": {
"licenses": "MIT",
"repository": "https://github.com/angular/angular",
"publisher": "Brian Ford",
"name": "zone.js",
"description": "Zones for JavaScript",
"copyright": "Copyright (c) 2010-2020 Google LLC. http://angular.io/license"
}
...

Although I removed the version (version:false) in the license-format.json, the version 0.10.3 is still available near the module "[email protected]". How can I remove the version behind the @ ?

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

1 participant