Skip to content

chore(scripts): update license check to be more flexible @W-19066903#5422

Merged
wjhsf merged 13 commits intomasterfrom
wjh/fix-license-check
Aug 1, 2025
Merged

chore(scripts): update license check to be more flexible @W-19066903#5422
wjhsf merged 13 commits intomasterfrom
wjh/fix-license-check

Conversation

@wjhsf
Copy link
Contributor

@wjhsf wjhsf commented Jul 17, 2025

Details

#5421 updates @parse5/tools, and for some reason that makes the dependency move from root node_modules to packages/@lwc/template-compiler/node_modules. The license check script assumed everything was in root, so it broke. This PR makes it more flexible.

I also changed from CJS to ESM to leverage import.meta.resolve, but the git diff is skewed because of the rename from .js to .mjs. View by commit if you care to see the actual changes.

Does this pull request introduce a breaking change?

  • 😮‍💨 No, it does not introduce a breaking change.
  • 💔 Yes, it does introduce a breaking change.

Does this pull request introduce an observable change?

  • 🤞 No, it does not introduce an observable change.
  • 🔬 Yes, it does include an observable change.

GUS work item

@wjhsf wjhsf requested a review from a team as a code owner July 17, 2025 18:55
@jhefferman-sfdc
Copy link
Contributor

👍

@wjhsf wjhsf changed the title chore(scripts): update license check to be more flexible chore(scripts): update license check to be more flexible @W-19066903 Jul 17, 2025
@wjhsf wjhsf enabled auto-merge (squash) July 17, 2025 20:02
@wjhsf wjhsf merged commit 6f1b794 into master Aug 1, 2025
6 checks passed
@wjhsf wjhsf deleted the wjh/fix-license-check branch August 1, 2025 01:24
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.

2 participants