Skip to content

chore: move packaged dependencies to dev dependencies#5264

Merged
jgoux merged 6 commits into
developfrom
chore-remove-packaged-dependencies
May 18, 2026
Merged

chore: move packaged dependencies to dev dependencies#5264
jgoux merged 6 commits into
developfrom
chore-remove-packaged-dependencies

Conversation

@jgoux
Copy link
Copy Markdown
Contributor

@jgoux jgoux commented May 18, 2026

What changed

This updates the published supabase npm package so it behaves as a lightweight shim package. The package now ships dist/supabase.js and declares only the platform-specific @supabase/cli-* packages as optional runtime dependencies. The CLI runtime dependencies are kept as development dependencies because the compiled Bun binaries already contain what they need.

The dependency catalog and lockfile were refreshed alongside that packaging change, including aligning the Effect platform packages on the same beta. To keep the workspace green with those updates, the TypeScript code was migrated to the newer Effect service APIs (Context.Service), schema decoding defaults were updated for the current Schema API, and mock child process handles now implement the required unref member.

The PR also updates the vendored .repos/* snapshots that were staged for this branch.

@jgoux jgoux requested a review from a team as a code owner May 18, 2026 12:34
Comment thread apps/cli/package.json
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the important change, we're moving all dependencies as dev dependencies as they're packaged in the final Bun binary and we don't want them to end up in node_modules when the users do npm install

@jgoux jgoux merged commit 740f0b4 into develop May 18, 2026
11 checks passed
@jgoux jgoux deleted the chore-remove-packaged-dependencies branch May 18, 2026 13:46
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.

2 participants