- License: Reflect actual license of library in package.json based

not only on licenses of repository as a whole (i.e., "MIT") but
  individual component files; see `filesByLicense` in `licenseInfo.json`
  for a map of license to these files within the repo with their own
  licenses. See the new license badges on the README for a summary of
  the licenses including either bundled devDependencies or all
  `devDependencies` (we have no direct npm `dependencies` currently).
- Docs: Add license badges and `licenseInfo.json` (has a
  `filesByLicense` map of files to licenses (not yet used programmatically)
  and `bundledRootPackages` which is used by `license-badger` to know which
  dev. packages are being bundled (added by `npm run copy`) for determining
  summary of all licenses including bundled).
- npm: Update devDep.
This commit is contained in:
Brett Zamir
2020-01-08 10:56:21 +08:00
parent 3fe912eba8
commit 11a21fe93a
7 changed files with 502 additions and 3 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="919" height="56"><defs><linearGradient id="smooth" x2="0" y2="100%"><stop offset="0" stop-color="#aaa" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><style>text{font-size:11px;font-family:Verdana,DejaVu Sans,Geneva,sans-serif}text.shadow{fill:#010101;fill-opacity:.3}text.high{fill:#fff}</style><mask id="round"><rect width="100%" height="100%" rx="3" fill="#fff"/></mask></defs><g id="bg" mask="url(#round)"><path fill="navy" d="M0 0h227v56H0z"/><path fill="green" d="M227 0h73v56h-73z"/><path fill="#a9a9a9" d="M300 0h619v56H300z"/><path fill="url(#smooth)" d="M0 0h919v56H0z"/></g><g id="fg"><text class="shadow" x="5.5" y="15">License types</text><text class="high" x="5" y="14">License types</text><text class="shadow" x="5.5" y="27">(project, deps, and bundled devDeps)</text><text class="high" x="5" y="26">(project, deps, and bundled devDeps)</text><text class="shadow" x="232.5" y="15">Permissive</text><text class="high" x="232" y="14">Permissive</text><text class="shadow" x="232.5" y="39">1. ISC</text><text class="high" x="232" y="38">1. ISC</text><text class="shadow" x="232.5" y="51">2. MIT</text><text class="high" x="232" y="50">2. MIT</text><text class="shadow" x="305.5" y="15">Uncategorized</text><text class="high" x="305" y="14">Uncategorized</text><text class="shadow" x="305.5" y="39">1. (MIT AND Apache-2.0 AND CC-BY-SA-2.0 AND ISC AND LGPL-3.0-or-later AND X11) (svgedit (5.1.0))</text><text class="high" x="305" y="38">1. (MIT AND Apache-2.0 AND CC-BY-SA-2.0 AND ISC AND LGPL-3.0-or-later AND X11) (svgedit (5.1.0))</text></g></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB