Skip to content

chore: add duplicate web component check#90

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

chore: add duplicate web component check#90
cristinecula merged 2 commits intomasterfrom
feature/neo-805-add-duplicate-check

Conversation

@cristinecula
Copy link
Collaborator

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
@cristinecula cristinecula changed the title feat: add duplicate web component check chore: add duplicate web component check Jan 28, 2026
- Add eslint.config.mjs with @neovici/cfg base config
- Add prettier.config.mjs for ESM compatibility
- Remove legacy .eslintrc, .eslintignore, .prettierrc
- Add mocha rule overrides for test files
- Remove unused eslint-disable comments
@cristinecula cristinecula self-assigned this Jan 28, 2026
@cristinecula cristinecula marked this pull request as ready for review January 28, 2026 18:45
@cristinecula cristinecula merged commit 10934f7 into master Jan 28, 2026
2 checks passed
@cristinecula cristinecula deleted the feature/neo-805-add-duplicate-check branch January 28, 2026 18:46
@github-actions
Copy link
Contributor

🎉 This PR is included in version 3.7.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant