Skip to content

The licence notices are made when the app is packaged, not kept in the repository - #15

Merged
triggeredcode merged 1 commit into
mainfrom
notices-at-build
Oct 12, 2026
Merged

triggeredcode merged 1 commit into
mainfrom
notices-at-build

Conversation

@triggeredcode

Copy link
Copy Markdown
Owner

Question

Is THIRD_PARTY_NOTICES.md needed? It is a generated list of the 280 packages bundled into the app, with their licences, and a CI check kept it up to date.

Answer

It cannot simply go: the licences of what the app bundles (MIT, BSD, Apache, and MPL-2.0 for BlockNote, EPL-2.0 for elkjs) ask for their notices to travel with the app that is handed out. But it does not need to live in the repository root and be maintained by hand.

What changes

  • The file is written by prepack (scripts/notices.mjs) and is git-ignored. It still ships in the app (Help, "Licences of the Software Lucid Uses"), and afterPack and the packaged-app test still refuse an app without it.
  • The up-to-date check in CI is gone (nothing is committed to go stale).
  • README and site no longer link to a file that is not in the repository.
  • The script runs pnpm from the repository root (it would otherwise list only the desktop app's packages when run from prepack) and through a shell on Windows. This PR touches packaging, so the Release workflow builds and tests it on macOS, Windows and Linux.

🤖 Generated with Claude Code

…t in the repository

THIRD_PARTY_NOTICES.md is a generated list of the 280 packages bundled into the app. The licences of what is bundled ask for
it to travel with the app, so it stays in the app (Help, Licences of the Software Lucid Uses), but it does not have to sit in
the repository root and be kept up to date by a CI check. `prepack` now writes it, and afterPack still refuses an app without it.
The script runs pnpm from the repository root, and through a shell on Windows.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@triggeredcode
triggeredcode merged commit 5d623d5 into main Oct 12, 2026
8 checks passed
@triggeredcode
triggeredcode deleted the notices-at-build branch October 12, 2026 15:40
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.

1 participant