Include LICENSE file in javascript package.
See original GitHub issue🚀 Feature
Please include a LICENSE
file in the distributed javascript package.
Motivation
Many automated license management tools expect this file to be present. If the file is not present, it requires manual intervention to find the license and add it.
Additional context
While we are on the subject, since the distributed javascript package contains a compiled version of the CPython runtime, shouldn’t the license field of package.json be "(Apache-2.0 AND PSF-2.0)"
? And therefore the proposed LICENSE
file would include all relevant licenses.
Issue Analytics
- State:
- Created a year ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
generate-license-file - npm
Generates a text file containing all of the licences for your production dependencies. Latest version: 2.0.0, last published: 4 months ago.
Read more >Add a License to Your package.json - YouTube
You can add license information to your packages and projects to dictate how others can use your work. Some common licenses for open...
Read more >How to License and Distribute a Private Node Module - Keygen
Learn how to license and distribute private Node.js packages using Keygen's software licensing and distribution API.
Read more >Combining all of the node_modules packages' LICENSE files ...
I want to run a script of some kind whether it be Python or JS that takes the contents of each LICENSE file...
Read more >Always include `license` file in package · Issue #5529 - GitHub
Even though you .npmignore the readme.md file or don't include it in the files array in package.json it's included anyway.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Also, also, this repository uses the MPL-2.0 license at the top level, so is the Apache-2.0 license listed in package.json wrong?
Interestingly minified Javascript is not considered source code according to the MPL license but an executable. https://www.mozilla.org/en-US/MPL/2.0/FAQ/ (Q16). Still I think we should ask for advice from people specialized in this before making any changes, as it does have serious implications.
In particular, I’m not even sure that if this npm package is labeled as MPL 2, Pyscript can use the npm package and output unminified bundle https://pyscript.net/latest/pyscript.js under the Apache 2 license, as they are doing currently. I’ll ask them to see what they think about this.