Skip to content

chore: expose lwc-style register util#5277

Merged
wjhsf merged 3 commits intomasterfrom
wjh/expose-register
Mar 11, 2025
Merged

chore: expose lwc-style register util#5277
wjhsf merged 3 commits intomasterfrom
wjh/expose-register

Conversation

@wjhsf
Copy link
Contributor

@wjhsf wjhsf commented Mar 7, 2025

Details

In #5264, we introduced a method to register the lwc-style custom element. We also tried to add a helper file, so that users can do a bare import (import "@lwc/ssr-client-utils/register-lwc-style"), rather than needing to import and call a function. But we didn't add it to the package.json files array! 😳 This PR adds it, so that users can receive it!

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 March 7, 2025 19:43
Comment on lines +80 to +82
"*.{css,js,json,md,mjs,ts,yaml,yml}": "prettier --check",
"{packages/**/package.json,scripts/tasks/check-and-rewrite-package-json.js}": "node ./scripts/tasks/check-and-rewrite-package-json.js --test",
"{LICENSE-CORE.md,**/LICENSE.md,yarn.lock,scripts/tasks/generate-license-files.js,scripts/shared/bundled-dependencies.js}": "node ./scripts/tasks/generate-license-files.js --test",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This changes git commit to only validate files pre-commit, rather than edit them. The auto-changing annoyed me when I tried to test this change!

@wjhsf wjhsf merged commit 2bdd109 into master Mar 11, 2025
11 checks passed
@wjhsf wjhsf deleted the wjh/expose-register branch March 11, 2025 19:09
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