drizzle-team / drizzle-team/drizzle-orm

[BUG]: Bun-types as peerdepency overrides nodejs global types in monorepos

Open
#1,376 3 comments 0 reactions 0 assignees View on GitHub
bug monorepo
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### What version of `drizzle-orm` are you using?

0.28.6

### What version of `drizzle-kit` are you using?

0.5.1

### Describe the Bug

Basically, since bun-types is a peer-dependency of drizzle-orm, it somehow overrides all my global types like window, navigator, etc of my NextJS apps in the same mono repo. My workaround right now is force overriding bun-types in those apps but that doesn't seem ideal and costs me a lot of headaches to find.

### Expected behavior

Not do that

### Environment & setup

Turbo PNPM Monorepo.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.