Skip to content

Conversation

@BudsieBuds
Copy link
Member

  • Implement license auto-updates to ensure information is always current
  • Consolidate all NPM licenses into a single file for easier viewing
  • Render license text in a monospace font to enhance clarity and formatting consistency
  • Eliminate the outdated Bower license generation code

- automate license updates
- license text rendered in monospace font
- removed old bower license generation code
} elseif ($fileinfo->getBasename() == 'bower.LICENSES') {
// set a flag to indicate that the JS Plugin bower.LICENSES file is available and needs to be attached at the end
$bower = true;
} elseif ($fileinfo->getBasename() == 'composer.LICENSES') {
Copy link
Member

Choose a reason for hiding this comment

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

this code could be simplified a bit, quite a couple of branches to check very sim!ilar things.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, my PHP skills are not the greatest. It's worth taking another look at in the future.

@jekkos
Copy link
Member

jekkos commented Apr 19, 2025

Very nice improvement @BudsieBuds ! the licenses rendering looks way better now. Thanks for taking this on.

@jekkos jekkos merged commit 2fec49e into master Apr 19, 2025
4 checks passed
@BudsieBuds BudsieBuds deleted the license-handling branch April 19, 2025 18:35
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.

3 participants