mirror of
https://github.com/Zakkaus/doona.git
synced 2026-12-05 08:00:59 +00:00
The program archive carried only LICENSE, NOTICE and LICENSES/Apache-2.0.txt, although NOTICE points at the CC BY 3.0 and CC BY-SA 4.0 texts and the build bundles npm packages whose licences ask for their notices. tools/notices.mjs now stages the licence texts that apply to files in dist/ and fails when NOTICE cites a LICENSES path, of any extension or depth, that is not a file in the staged LICENSES directory. It writes THIRD-PARTY-NOTICES.txt from the production dependency closure, sorted by name and version, plus the licence sections of Vite and Rollup that cover the helper code they write into the build (module preload polyfill, preload helper, CommonJS interop helper, namespace objects). A unit test runs the NOTICE check in pnpm check as well.