Skip to content

Conversation

VPenkov
Copy link

@VPenkov VPenkov commented Nov 27, 2018

According to NPM's "License" section, multiple licenses should be formatted differently. This will help license validators to parse them correctly.

According to [NPM's "License" section](https://docs.npmjs.com/files/package.json#license), multiple licenses should be formatted differently. This will help license validators to parse them correctly.
@luxzeitlos
Copy link

please merge this! This is mandatory when using pkg.

Copy link

@ihbar ihbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that license rule has been update don npmjs, and the proposed solution is now deprecated.
The prefered solution is a SPDX expression :
"If your package is licensed under multiple common licenses, use an SPDX license expression syntax version 2.0 string, like this:{ "license" : "(ISC OR GPL-3.0)" }"

So it should be "license" : "(LGPL-2.0 OR MIT)"

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

Successfully merging this pull request may close these issues.

4 participants