PubTrivia is a Next.js app with 50 direct dependencies: 33 runtime and 17 development. That is a deliberately boring list. pnpm licenses list disagrees about the size of the problem:
$ pnpm licenses list --json | jq 'to_entries | map({licence: .key, n: (.value | length)}) | sort_by(-.n)'
Enter fullscreen mode
Exit fullscreen mode
licence packages
MIT 511
Apache-2.0 36
ISC 22
BSD-2-Clause 11
BSD-3-Clause 8
BlueOak-1.0.0 5
MPL-2.0 3
FSL-1.1-MIT 2
Unlicense 2
LGPL-3.0-or-later 1
CC-BY-4.0 1
CC0-1.0 1
0BSD 1
MIT-0 1
(MPL-2.0 OR Apache-2.0) 1
(MIT AND Zlib) 1
(MIT OR CC0-1.0) 1
608 rows, 606 distinct package names, 17 distinct licence expressions, 31 packages installed at more than one version, 8,717 lines of lockfile, and 1.1 GB in node_modules .β¦