Repository navigation
Recommend generating third-party notices in the build - #9
Merged
Merged
Conversation
A committed notices file fails every Dependabot pull request that changes a production dependency, so the README now leads with build-time generation: run it before the bundler in both build and dev, from the repo root, scoped with --only, and check that a packaged Electron app contains it because electron-builder only logs a missing extra resource. --check stays for repos that still commit their files. Documentation only; no release is needed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Owner decision: apps stop committing third-party notices and generate them during the build, because a committed file fails every Dependabot pull request that touches a production dependency (the bot cannot regenerate it).
The README already allowed build-time generation as an option; this makes it the recommended path and records what the Persistent and Store Sign migrations ran into:
devkit.config.mjsfrom the current directory, so a workspace script calls it from the repo root (npm --prefix ../.. run notices), and--onlyscopes it to one deliverable;extraResourcesfile and exits 0, so a packaged app should be checked for the file;--checkstays for repos that still commit their files.Documentation only: no code changes, and no app depends on a release for this.
AI disclosure: this comment and the related code were written with the assistance of AI.