feat(cli): Studio + Deno >=1.4 <2.2 and Bun >=1 support.#28583
Merged
igalklebanov merged 3 commits intomainfrom Nov 20, 2025
Merged
feat(cli): Studio + Deno >=1.4 <2.2 and Bun >=1 support.#28583igalklebanov merged 3 commits intomainfrom
igalklebanov merged 3 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for SQLite databases in Deno versions prior to 2.2 (using jsr:@db/sqlite) and Bun runtime version 1.0+ (using bun:sqlite). The changes extend the existing SQLite connection handling to detect the runtime environment and use the appropriate database driver.
Key Changes:
- Runtime detection to support Node.js, Deno, and Bun environments for SQLite connections
- Fallback mechanism for different SQLite implementations across runtimes
- Updated test scripts to support Bun and Deno execution environments
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
sandbox/studio/prisma.config.ts |
Added runtime-agnostic SQLite database initialization with fallback from Node.js to Bun |
sandbox/studio/package.json |
Added separate npm scripts for testing with Bun and Deno runtimes |
packages/cli/src/Studio.ts |
Implemented runtime detection and SQLite driver selection for Node.js, Deno, and Bun |
packages/cli/package.json |
Added @types/bun and std-env dependencies for runtime detection |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
size-limit report 📦
|
FGoessler
approved these changes
Nov 20, 2025
jkomyno
pushed a commit
that referenced
this pull request
Nov 25, 2025
jkomyno
pushed a commit
that referenced
this pull request
Nov 25, 2025
This was referenced Nov 25, 2025
This was referenced Dec 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey 👋
closes PTL-555.
closes TML-1604.
This PR adds Studio support for Deno <2.2 using
jsr:@db/sqliteand Bun >=1 usingbun:sqlite.