Skip to content

chore: add duplicate web component check#173

Merged
cristinecula merged 1 commit intomasterfrom
feature/neo-805-add-duplicate-check
Jan 28, 2026
Merged

chore: add duplicate web component check#173
cristinecula merged 1 commit intomasterfrom
feature/neo-805-add-duplicate-check

Conversation

@cristinecula
Copy link
Contributor

Summary

  • Add check:duplicates npm script using check-duplicate-components from @neovici/cfg
  • Add lint-staged with pre-commit hook to automatically check for duplicate web components when package-lock.json changes
  • Update @neovici/cfg to ^2.8.0 for the check-duplicate-components binary

Why

This prevents accidentally introducing duplicate @neovici/cosmoz-* packages that would cause runtime conflicts due to multiple customElements.define() calls.

Refs: NEO-805

- Add check:duplicates npm script
- Add lint-staged with pre-commit hook to check on package-lock.json changes
- Update @neovici/cfg to ^2.8.0 for check-duplicate-components binary

Refs: NEO-805
@github-actions
Copy link
Contributor

github-actions bot commented Jan 28, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-01-28 14:21 UTC

@cristinecula cristinecula changed the title feat: add duplicate web component check chore: add duplicate web component check Jan 28, 2026
@cristinecula cristinecula self-assigned this Jan 28, 2026
@cristinecula cristinecula marked this pull request as ready for review January 28, 2026 14:20
@cristinecula cristinecula merged commit b34acff into master Jan 28, 2026
3 checks passed
@cristinecula cristinecula deleted the feature/neo-805-add-duplicate-check branch January 28, 2026 14:20
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