Skip to content

Create third party license file during production build, add CI#30360

Draft
bramkragten wants to merge 2 commits intodevfrom
create-third-party-license-file
Draft

Create third party license file during production build, add CI#30360
bramkragten wants to merge 2 commits intodevfrom
create-third-party-license-file

Conversation

@bramkragten
Copy link
Copy Markdown
Member

Proposed change

Add a build step to generate a third party license file

Add a CI step that checks all the dependencies licenses.

Screenshots

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:
  • Link to developer documentation pull request:
  • Link to backend pull request:

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • I have followed the perfect PR recommendations
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

If user exposed functionality or configuration variables are added/changed:

To help with the load of incoming pull requests:

@github-actions github-actions bot added GitHub Actions Pull requests that update GitHub Actions code Build Related to building the code labels Mar 26, 2026
// type-fest ships two license files (MIT for code, CC0 for types).
// We use the MIT license since that covers the bundled code.
const LICENSE_OVERRIDES = {
"type-fest@5.4.4": path.resolve(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing to consider is that this won't get updated by dependabot or renovate bot.

Copy link
Copy Markdown
Member

@timmo001 timmo001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lockfile conflict

@home-assistant
Copy link
Copy Markdown

home-assistant bot commented Apr 7, 2026

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍

Learn more about our pull request process.

@home-assistant home-assistant bot marked this pull request as draft April 7, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build Related to building the code cla-signed GitHub Actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants