Skip to content

Auto update licenses txt#559

Merged
korthout merged 3 commits intomainfrom
korthout-auto-update-licenses-txt
Feb 15, 2026
Merged

Auto update licenses txt#559
korthout merged 3 commits intomainfrom
korthout-auto-update-licenses-txt

Conversation

@korthout
Copy link
Owner

This pull request refactors the packaging process to use a new esbuild.config.mjs script instead of a long CLI command. The new script not only bundles the application but also automatically collects and outputs license information for all bundled dependencies. This was necessary because the license information could not be updated automatically since #555.

Packaging process improvements:

  • Added a new esbuild.config.mjs script that bundles the application and generates a dist/licenses.txt file containing license details for all bundled node_modules packages.
  • Updated the package script in package.json to use the new esbuild.config.mjs script instead of the previous inline esbuild CLI command.

This will allow us to do more than just bundling.
This was previously done by ncc but esbuild can't do it out of the box.

This simple script does pretty much the same as before.
@korthout korthout merged commit d7a50fb into main Feb 15, 2026
1 check passed
@korthout korthout deleted the korthout-auto-update-licenses-txt branch February 15, 2026 17:16
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