Files
supabase/pnpm-workspace.yaml
T
Tiago AntunesandIvan Vasilov 9bf981f371 feat(ui-library): add Realtime Monaco ui component (#41766)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES
## What kind of change does this PR introduce?

Adds a new Realtime Monaco component to the UI Library, enabling
collaborative code editing with Supabase Realtime synchronization using
Monaco Editor and Yjs.

## Additional context

This is WIP and used for discuss further changes to the y-supabase
provider.

## Demo

https://github.com/user-attachments/assets/84a761e5-73bb-478e-979a-682121ffee89



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

* **New Features**
* Added a new Realtime Monaco collaborative code editor component with
real-time synchronization support across multiple frameworks (Next.js,
React, React Router, Tanstack).

* **Documentation**
* Added comprehensive documentation and usage guides for the Realtime
Monaco component across all supported frameworks.

* **Dependencies**
* Added Monaco editor, Yjs, y-monaco, and Supabase collaboration
packages.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2026-03-17 13:55:03 +01:00

89 lines
1.7 KiB
YAML

packages:
- apps/*
- packages/*
- blocks/*
- e2e/*
catalog:
'@sentry/nextjs': ^10.26.0
'@supabase/auth-js': 2.99.1
'@supabase/postgrest-js': 2.99.1
'@supabase/realtime-js': 2.99.1
'@supabase/supabase-js': 2.99.1
'@types/node': ^22.0.0
'@types/react': ^18.3.0
'@types/react-dom': ^18.3.0
lodash: ^4.17.23
lodash-es: ^4.17.23
next: ^15.5.10
react: ^18.3.0
react-dom: ^18.3.0
recharts: ^2.15.4
tailwindcss: 3.4.1
tsx: 4.20.3
typescript: ~5.9.0
valtio: ^1.12.0
vite: ^7.1.11
vitest: ^3.2.0
zod: 3.25.76
ignoredBuiltDependencies:
- '@parcel/watcher'
- '@sentry/cli'
- contentlayer2
- core-js
- es5-ext
- esbuild
- libpg-query
- msw
- protobufjs
- sharp
minimumReleaseAge: 10080
minimumReleaseAgeExclude:
- '@ai-sdk/*'
- '@supabase/*'
- '@supabase-labs/*'
- next
- '@next/*'
- ai
- js-yaml
- supabase
- iceberg-js
- '@vitejs/plugin-rsc'
- stripe-experiment-sync # TODO(matlin) remove, temp just to unblock launch
- braintrust
- tar
- diff
- lodash-es
- lodash
- next-mdx-remote
- react-resizable-panels
- swiper@12.1.2
- immutable
onlyBuiltDependencies:
- node-pty
- supabase
overrides:
'@ardatan/relay-compiler>immutable': ^3.8.3
'@aws-sdk/core>fast-xml-parser': ^4.5.4
'@mapbox/node-pre-gyp>tar': ^7.5.11
'@redocly/respect-core>form-data': ^4.0.4
'@redocly/respect-core>js-yaml': ^4.1.1
cacache>tar: ^7.5.11
esbuild: ^0.25.2
lodash: 'catalog:'
lodash-es: 'catalog:'
node-gyp>tar: ^7.5.11
nodemailer: ^7.0.11
payload>undici: ^7.18.2
refractor>prismjs: ^1.30.0
supabase>tar: ^7.5.11
tmp: ^0.2.4
patchedDependencies:
react-data-grid: patches/react-data-grid.patch