mirror of
https://github.com/supabase/supabase.git
synced 2026-05-06 14:05:05 +08:00
Switch studio's package.json to `"type": "module"` so the package runs as native ESM. This aligns the runtime module system with what we actually write (`import`/`export`), improves tree-shaking, and reduces friction with ESM-only dependencies. **Changed:** - `next.config.js` → `next.config.ts` – ESM imports/exports, proper TS types, fixed type narrowing on redirect `has` and `basePath` fields - `csp.js` → `csp.ts` – `module.exports.getCSP` → named `export function` - `tailwind.config.js` → `tailwind.config.ts` – ESM imports - `postcss.config.js` – `module.exports` → `export default` (stays `.js` since PostCSS doesn't support TS configs) **Removed:** - Unused `path` import in next config - Deprecated Sentry `hideSourceMaps` option (default behavior in Sentry v10) **Added:** - Type declaration for `config/tailwind.config` CJS package ## To test - A general smoke test of studio should suffice <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Modernized the Studio package to ES module style and improved TypeScript typings and config declarations to reduce build/runtime issues. * Updated styling and post-processing configuration format for more consistent tooling behavior. * **Chores** * Updated code ownership entries to reflect migrated/renamed configuration files. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
23 lines
923 B
Plaintext
23 lines
923 B
Plaintext
/packages/ui/ @supabase/design
|
|
/packages/shared-data/pricing.ts @supabase/billing
|
|
/packages/shared-data/plans.ts @supabase/billing
|
|
/packages/common/telemetry-constants.ts @supabase/growth-eng
|
|
/packages/dev-tools/ @supabase/growth-eng
|
|
# /packages/pg-meta @supabase/postgres @avallete
|
|
/packages/ui-patterns @supabase/design
|
|
|
|
/apps/studio/ @supabase/Dashboard
|
|
|
|
/apps/www/ @supabase/marketing
|
|
/apps/www/public/images/blog @supabase/marketing
|
|
/apps/www/lib/redirects.js
|
|
|
|
/docker/ @supabase/cli @supabase/self-hosted
|
|
|
|
/apps/studio/csp.ts @supabase/security
|
|
/apps/studio/components/interfaces/Billing/Payment @supabase/security
|
|
/apps/studio/components/interfaces/Organization/Documents/ @supabase/security
|
|
/apps/studio/pages/new/index.tsx @supabase/security
|
|
|
|
/packages/shared-data/compute-disk-limits.ts @supabase/infra
|