Skip to content

fix(components)!: unresolvable peerDependencies break npm install (#DS-4889) - #1853

Draft
lskramarov wants to merge 2 commits into
mainfrom
fix/DS-4889
Draft

fix(components)!: unresolvable peerDependencies break npm install (#DS-4889)#1853
lskramarov wants to merge 2 commits into
mainfrom
fix/DS-4889

Conversation

@lskramarov

Copy link
Copy Markdown
Contributor

No description provided.

…S-4889)

Consumers hit "ERESOLVE unable to resolve dependency tree" on install.

- @koobiq/icons peer was a major behind what `ng add` injects (^11.1.3 vs
  ^12.1.1), which breaks a plain Angular 20 app following the install guide
- @angular/common and platform-browser were imported but never declared,
  leaving npm free to mix Angular majors
- the packager assigned a bare version, exact-pinning components and the date
  adapters to each other in a cycle; it now substitutes, so `^{{VERSION}}`
  works, and it fails the build if a placeholder survives
- rxjs, marked, overlayscrollbars and @koobiq/date-adapter ship as external
  imports and are now declared; both adapters become optional peers, since
  nothing in the published bundles imports them
- `ng add` now installs @angular/animations, a mandatory peer that the
  schematic never added

Adds `check-peer-deps` (linters) and `check-npm-resolution` (build + publish),
which resolves the built tarballs with npm. Yarn's node-modules linker
downgrades these conflicts to warnings, which is why CI never caught them.

BREAKING CHANGE: peerDependencies changed in every published package.
@koobiq/angular-luxon-adapter and @koobiq/angular-moment-adapter are now
optional peers and are no longer installed automatically — add the one you use
explicitly. @angular/cdk, @angular/animations and overlayscrollbars must be
present in the consuming application.
@lskramarov lskramarov self-assigned this Aug 5, 2026
@lskramarov lskramarov added the bug Something isn't working label Aug 5, 2026
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit c49e129):

https://koobiq-next--prs-1853-3z9vq04g.web.app

(expires Sat, 08 Aug 2026 17:51:00 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant