mirror of
https://github.com/supabase/supabase.git
synced 2026-06-28 11:33:52 -04:00
9eab4f8fbf
**Stack 1/6** of the TanStack Start migration (#46424), split into reviewable, independently-mergeable PRs. > [!IMPORTANT] > **Next stays the default and only active framework after this PR.** This wires up the Vite/TanStack-Start build pipeline behind the `STUDIO_FRAMEWORK` flag, but there are no TanStack routes yet — so the TanStack build isn't functional or tested until later PRs in the stack. Nothing about the Next build, dev, or deploy changes behaviourally here. ## What's in this PR - **Dispatch:** `dev`/`build`/`start` now go through `scripts/dispatch.js`, which runs the Next variant unless `STUDIO_FRAMEWORK=tanstack`. The original commands are preserved as `dev:next`/`build:next`/`start:next`. - **Build pipeline:** `vite.config.ts`, `serve.js`, `smoke-server.mjs`, vite/tanstack deps, `turbo.jsonc`. - **`tsconfig.json`:** `jsx: react-jsx`, `moduleResolution: Bundler`, `target: ES2022`. Because `include` is `**/*.ts(x)`, this re-typechecks the whole app, so the companion adaptations below land with it. - **Shared adaptations (companions to the tsconfig change):** `BufferSource` casts, `packages/ui` unused-`React` import removals, etc. - **Routing/middleware plumbing:** `next.config.ts` + `redirects.shared.ts` (redirect rules now shared with `vercel.ts`), `proxy.ts`/`start.ts` middleware + `hosted-api-allowlist.ts`. ## Verification Run locally off `master`: frozen install ✓, `studio` typecheck ✓, **Next build ✓** (compiles + generates all routes), lint ratchet ✓ ("some rules improved"), prettier ✓. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a hosted API endpoint allowlist to return 404 for non-supported `/api/*` routes. * Introduced a TanStack route-migration checklist and expanded TanStack Start routing support. * **Improvements** * Enhanced deployment refresh/detection by tightening cookie handling for “latest deployment” updates. * Centralized redirect/maintenance-mode rules for consistent platform vs self-hosted behavior. * Improved production serving with a dedicated static + proxy server and a post-build smoke test. * **Dependencies** * Updated TanStack-related packages and React Table/query tooling versions. * **Documentation / Chores** * Updated formatting and tooling config; added shared build environment parsing utilities. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
881 lines
32 KiB
JSON
881 lines
32 KiB
JSON
{
|
|
"name": "ui-patterns",
|
|
"main": "./index.tsx",
|
|
"types": "./index.tsx",
|
|
"license": "MIT",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"test": "vitest",
|
|
"test:coverage": "vitest --run --coverage",
|
|
"clean": "rimraf node_modules .turbo tsconfig.tsbuildinfo",
|
|
"typecheck": "tsc --noEmit",
|
|
"gen:exports": "tsx ./scripts/update-exports.ts"
|
|
},
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": "./index.tsx",
|
|
"types": "./index.tsx"
|
|
},
|
|
"./AssistantChat/AssistantChatForm": {
|
|
"import": "./src/AssistantChat/AssistantChatForm.tsx",
|
|
"types": "./src/AssistantChat/AssistantChatForm.tsx"
|
|
},
|
|
"./AssistantChat/AssistantCommandsPopover": {
|
|
"import": "./src/AssistantChat/AssistantCommandsPopover.tsx",
|
|
"types": "./src/AssistantChat/AssistantCommandsPopover.tsx"
|
|
},
|
|
"./AssistantChat": {
|
|
"import": "./src/AssistantChat/index.ts",
|
|
"types": "./src/AssistantChat/index.ts"
|
|
},
|
|
"./AuthenticatedDropdownMenu": {
|
|
"import": "./src/AuthenticatedDropdownMenu/index.tsx",
|
|
"types": "./src/AuthenticatedDropdownMenu/index.tsx"
|
|
},
|
|
"./Banners/Announcement": {
|
|
"import": "./src/Banners/Announcement.tsx",
|
|
"types": "./src/Banners/Announcement.tsx"
|
|
},
|
|
"./Banners/AnnouncementBanner": {
|
|
"import": "./src/Banners/AnnouncementBanner.tsx",
|
|
"types": "./src/Banners/AnnouncementBanner.tsx"
|
|
},
|
|
"./Banners/Countdown": {
|
|
"import": "./src/Banners/Countdown.tsx",
|
|
"types": "./src/Banners/Countdown.tsx"
|
|
},
|
|
"./Banners/LW15Banner": {
|
|
"import": "./src/Banners/LW15Banner.tsx",
|
|
"types": "./src/Banners/LW15Banner.tsx"
|
|
},
|
|
"./Banners": {
|
|
"import": "./src/Banners/index.ts",
|
|
"types": "./src/Banners/index.ts"
|
|
},
|
|
"./Chart/charts/chart-bar": {
|
|
"import": "./src/Chart/charts/chart-bar.tsx",
|
|
"types": "./src/Chart/charts/chart-bar.tsx"
|
|
},
|
|
"./Chart/charts/chart-line": {
|
|
"import": "./src/Chart/charts/chart-line.tsx",
|
|
"types": "./src/Chart/charts/chart-line.tsx"
|
|
},
|
|
"./Chart": {
|
|
"import": "./src/Chart/index.tsx",
|
|
"types": "./src/Chart/index.tsx"
|
|
},
|
|
"./CodeBlock/CodeBlock": {
|
|
"import": "./src/CodeBlock/CodeBlock.tsx",
|
|
"types": "./src/CodeBlock/CodeBlock.tsx"
|
|
},
|
|
"./CodeBlock/CodeBlock.utils": {
|
|
"import": "./src/CodeBlock/CodeBlock.utils.ts",
|
|
"types": "./src/CodeBlock/CodeBlock.utils.ts"
|
|
},
|
|
"./CodeBlock": {
|
|
"import": "./src/CodeBlock/index.tsx",
|
|
"types": "./src/CodeBlock/index.tsx"
|
|
},
|
|
"./CollapsibleCardSection": {
|
|
"import": "./src/CollapsibleCardSection.tsx",
|
|
"types": "./src/CollapsibleCardSection.tsx"
|
|
},
|
|
"./CommandMenu/api/Badges": {
|
|
"import": "./src/CommandMenu/api/Badges.tsx",
|
|
"types": "./src/CommandMenu/api/Badges.tsx"
|
|
},
|
|
"./CommandMenu/api/CommandHeader": {
|
|
"import": "./src/CommandMenu/api/CommandHeader.tsx",
|
|
"types": "./src/CommandMenu/api/CommandHeader.tsx"
|
|
},
|
|
"./CommandMenu/api/CommandMenuInput": {
|
|
"import": "./src/CommandMenu/api/CommandMenuInput.tsx",
|
|
"types": "./src/CommandMenu/api/CommandMenuInput.tsx"
|
|
},
|
|
"./CommandMenu/api/CommandMenuList": {
|
|
"import": "./src/CommandMenu/api/CommandMenuList.tsx",
|
|
"types": "./src/CommandMenu/api/CommandMenuList.tsx"
|
|
},
|
|
"./CommandMenu/api/CommandMenu": {
|
|
"import": "./src/CommandMenu/api/CommandMenu.tsx",
|
|
"types": "./src/CommandMenu/api/CommandMenu.tsx"
|
|
},
|
|
"./CommandMenu/api/CommandProvider": {
|
|
"import": "./src/CommandMenu/api/CommandProvider.tsx",
|
|
"types": "./src/CommandMenu/api/CommandProvider.tsx"
|
|
},
|
|
"./CommandMenu/api/TextHighlighter": {
|
|
"import": "./src/CommandMenu/api/TextHighlighter.tsx",
|
|
"types": "./src/CommandMenu/api/TextHighlighter.tsx"
|
|
},
|
|
"./CommandMenu/api/hooks/commandsHooks.test": {
|
|
"import": "./src/CommandMenu/api/hooks/commandsHooks.test.tsx",
|
|
"types": "./src/CommandMenu/api/hooks/commandsHooks.test.tsx"
|
|
},
|
|
"./CommandMenu/api/hooks/commandsHooks": {
|
|
"import": "./src/CommandMenu/api/hooks/commandsHooks.ts",
|
|
"types": "./src/CommandMenu/api/hooks/commandsHooks.ts"
|
|
},
|
|
"./CommandMenu/api/hooks/pagesHooks.test": {
|
|
"import": "./src/CommandMenu/api/hooks/pagesHooks.test.tsx",
|
|
"types": "./src/CommandMenu/api/hooks/pagesHooks.test.tsx"
|
|
},
|
|
"./CommandMenu/api/hooks/pagesHooks": {
|
|
"import": "./src/CommandMenu/api/hooks/pagesHooks.ts",
|
|
"types": "./src/CommandMenu/api/hooks/pagesHooks.ts"
|
|
},
|
|
"./CommandMenu/api/hooks/queryHooks": {
|
|
"import": "./src/CommandMenu/api/hooks/queryHooks.ts",
|
|
"types": "./src/CommandMenu/api/hooks/queryHooks.ts"
|
|
},
|
|
"./CommandMenu/api/hooks/useCommandFilterState": {
|
|
"import": "./src/CommandMenu/api/hooks/useCommandFilterState.ts",
|
|
"types": "./src/CommandMenu/api/hooks/useCommandFilterState.ts"
|
|
},
|
|
"./CommandMenu/api/hooks/useCommandMenuTelemetry": {
|
|
"import": "./src/CommandMenu/api/hooks/useCommandMenuTelemetry.ts",
|
|
"types": "./src/CommandMenu/api/hooks/useCommandMenuTelemetry.ts"
|
|
},
|
|
"./CommandMenu/api/hooks/useCommandMenuTelemetryContext": {
|
|
"import": "./src/CommandMenu/api/hooks/useCommandMenuTelemetryContext.tsx",
|
|
"types": "./src/CommandMenu/api/hooks/useCommandMenuTelemetryContext.tsx"
|
|
},
|
|
"./CommandMenu/api/hooks/useCrossCompatRouter": {
|
|
"import": "./src/CommandMenu/api/hooks/useCrossCompatRouter.tsx",
|
|
"types": "./src/CommandMenu/api/hooks/useCrossCompatRouter.tsx"
|
|
},
|
|
"./CommandMenu/api/hooks/useHistoryKeys": {
|
|
"import": "./src/CommandMenu/api/hooks/useHistoryKeys.ts",
|
|
"types": "./src/CommandMenu/api/hooks/useHistoryKeys.ts"
|
|
},
|
|
"./CommandMenu/api/hooks/viewHooks": {
|
|
"import": "./src/CommandMenu/api/hooks/viewHooks.ts",
|
|
"types": "./src/CommandMenu/api/hooks/viewHooks.ts"
|
|
},
|
|
"./CommandMenu/api/types": {
|
|
"import": "./src/CommandMenu/api/types.ts",
|
|
"types": "./src/CommandMenu/api/types.ts"
|
|
},
|
|
"./CommandMenu/api/utils": {
|
|
"import": "./src/CommandMenu/api/utils.ts",
|
|
"types": "./src/CommandMenu/api/utils.ts"
|
|
},
|
|
"./CommandMenu": {
|
|
"import": "./src/CommandMenu/index.tsx",
|
|
"types": "./src/CommandMenu/index.tsx"
|
|
},
|
|
"./CommandMenu/internal/CommandMenuItem": {
|
|
"import": "./src/CommandMenu/internal/CommandMenuItem.tsx",
|
|
"types": "./src/CommandMenu/internal/CommandMenuItem.tsx"
|
|
},
|
|
"./CommandMenu/internal/CommandMenuEmpty": {
|
|
"import": "./src/CommandMenu/internal/CommandMenuEmpty.tsx",
|
|
"types": "./src/CommandMenu/internal/CommandMenuEmpty.tsx"
|
|
},
|
|
"./CommandMenu/internal/CommandMenuGroup": {
|
|
"import": "./src/CommandMenu/internal/CommandMenuGroup.tsx",
|
|
"types": "./src/CommandMenu/internal/CommandMenuGroup.tsx"
|
|
},
|
|
"./CommandMenu/internal/CommandSection": {
|
|
"import": "./src/CommandMenu/internal/CommandSection.tsx",
|
|
"types": "./src/CommandMenu/internal/CommandSection.tsx"
|
|
},
|
|
"./CommandMenu/internal/Context": {
|
|
"import": "./src/CommandMenu/internal/Context.tsx",
|
|
"types": "./src/CommandMenu/internal/Context.tsx"
|
|
},
|
|
"./CommandMenu/internal/state/commandsState": {
|
|
"import": "./src/CommandMenu/internal/state/commandsState.ts",
|
|
"types": "./src/CommandMenu/internal/state/commandsState.ts"
|
|
},
|
|
"./CommandMenu/internal/state/commandsStates.test": {
|
|
"import": "./src/CommandMenu/internal/state/commandsStates.test.ts",
|
|
"types": "./src/CommandMenu/internal/state/commandsStates.test.ts"
|
|
},
|
|
"./CommandMenu/internal/state/pagesState.test": {
|
|
"import": "./src/CommandMenu/internal/state/pagesState.test.ts",
|
|
"types": "./src/CommandMenu/internal/state/pagesState.test.ts"
|
|
},
|
|
"./CommandMenu/internal/state/pagesState": {
|
|
"import": "./src/CommandMenu/internal/state/pagesState.ts",
|
|
"types": "./src/CommandMenu/internal/state/pagesState.ts"
|
|
},
|
|
"./CommandMenu/internal/state/queryState": {
|
|
"import": "./src/CommandMenu/internal/state/queryState.ts",
|
|
"types": "./src/CommandMenu/internal/state/queryState.ts"
|
|
},
|
|
"./CommandMenu/internal/state/viewState": {
|
|
"import": "./src/CommandMenu/internal/state/viewState.ts",
|
|
"types": "./src/CommandMenu/internal/state/viewState.ts"
|
|
},
|
|
"./CommandMenu/internal/state/viewState.types": {
|
|
"import": "./src/CommandMenu/internal/state/viewState.types.ts",
|
|
"types": "./src/CommandMenu/internal/state/viewState.types.ts"
|
|
},
|
|
"./CommandMenu/internal/types": {
|
|
"import": "./src/CommandMenu/internal/types.ts",
|
|
"types": "./src/CommandMenu/internal/types.ts"
|
|
},
|
|
"./CommandMenu/prepackaged/Changelog": {
|
|
"import": "./src/CommandMenu/prepackaged/Changelog.tsx",
|
|
"types": "./src/CommandMenu/prepackaged/Changelog.tsx"
|
|
},
|
|
"./CommandMenu/prepackaged/DocsAi/DocsAiPage": {
|
|
"import": "./src/CommandMenu/prepackaged/DocsAi/DocsAiPage.tsx",
|
|
"types": "./src/CommandMenu/prepackaged/DocsAi/DocsAiPage.tsx"
|
|
},
|
|
"./CommandMenu/prepackaged/DocsAi": {
|
|
"import": "./src/CommandMenu/prepackaged/DocsAi/index.tsx",
|
|
"types": "./src/CommandMenu/prepackaged/DocsAi/index.tsx"
|
|
},
|
|
"./CommandMenu/prepackaged/DocsSearch/DocsSearchPage": {
|
|
"import": "./src/CommandMenu/prepackaged/DocsSearch/DocsSearchPage.tsx",
|
|
"types": "./src/CommandMenu/prepackaged/DocsSearch/DocsSearchPage.tsx"
|
|
},
|
|
"./CommandMenu/prepackaged/DocsSearch": {
|
|
"import": "./src/CommandMenu/prepackaged/DocsSearch/index.tsx",
|
|
"types": "./src/CommandMenu/prepackaged/DocsSearch/index.tsx"
|
|
},
|
|
"./CommandMenu/prepackaged/Support": {
|
|
"import": "./src/CommandMenu/prepackaged/Support.tsx",
|
|
"types": "./src/CommandMenu/prepackaged/Support.tsx"
|
|
},
|
|
"./CommandMenu/prepackaged/ThemeSwitcher.test": {
|
|
"import": "./src/CommandMenu/prepackaged/ThemeSwitcher.test.tsx",
|
|
"types": "./src/CommandMenu/prepackaged/ThemeSwitcher.test.tsx"
|
|
},
|
|
"./CommandMenu/prepackaged/ThemeSwitcher": {
|
|
"import": "./src/CommandMenu/prepackaged/ThemeSwitcher.tsx",
|
|
"types": "./src/CommandMenu/prepackaged/ThemeSwitcher.tsx"
|
|
},
|
|
"./CommandMenu/prepackaged/ai/AiWarning": {
|
|
"import": "./src/CommandMenu/prepackaged/ai/AiWarning.tsx",
|
|
"types": "./src/CommandMenu/prepackaged/ai/AiWarning.tsx"
|
|
},
|
|
"./CommandMenu/prepackaged/ai": {
|
|
"import": "./src/CommandMenu/prepackaged/ai/index.tsx",
|
|
"types": "./src/CommandMenu/prepackaged/ai/index.tsx"
|
|
},
|
|
"./CommandMenu/prepackaged/ai/queryAi": {
|
|
"import": "./src/CommandMenu/prepackaged/ai/queryAi.ts",
|
|
"types": "./src/CommandMenu/prepackaged/ai/queryAi.ts"
|
|
},
|
|
"./CommandMenu/prepackaged/ai/useAiChat.test": {
|
|
"import": "./src/CommandMenu/prepackaged/ai/useAiChat.test.ts",
|
|
"types": "./src/CommandMenu/prepackaged/ai/useAiChat.test.ts"
|
|
},
|
|
"./CommandMenu/prepackaged/ai/useAiChat": {
|
|
"import": "./src/CommandMenu/prepackaged/ai/useAiChat.ts",
|
|
"types": "./src/CommandMenu/prepackaged/ai/useAiChat.ts"
|
|
},
|
|
"./CommandMenu/prepackaged/ai/utils": {
|
|
"import": "./src/CommandMenu/prepackaged/ai/utils.ts",
|
|
"types": "./src/CommandMenu/prepackaged/ai/utils.ts"
|
|
},
|
|
"./CommandMenu/prepackaged/shared/constants": {
|
|
"import": "./src/CommandMenu/prepackaged/shared/constants.ts",
|
|
"types": "./src/CommandMenu/prepackaged/shared/constants.ts"
|
|
},
|
|
"./ComplexTabs": {
|
|
"import": "./src/ComplexTabs/index.tsx",
|
|
"types": "./src/ComplexTabs/index.tsx"
|
|
},
|
|
"./ComplexTabs/withQueryParams": {
|
|
"import": "./src/ComplexTabs/withQueryParams.tsx",
|
|
"types": "./src/ComplexTabs/withQueryParams.tsx"
|
|
},
|
|
"./ComplexTabs/withSticky": {
|
|
"import": "./src/ComplexTabs/withSticky.tsx",
|
|
"types": "./src/ComplexTabs/withSticky.tsx"
|
|
},
|
|
"./ComplexTabs/withSticky.utils": {
|
|
"import": "./src/ComplexTabs/withSticky.utils.ts",
|
|
"types": "./src/ComplexTabs/withSticky.utils.ts"
|
|
},
|
|
"./ComputeBadge": {
|
|
"import": "./src/ComputeBadge/index.tsx",
|
|
"types": "./src/ComputeBadge/index.tsx"
|
|
},
|
|
"./ConsentToast": {
|
|
"import": "./src/ConsentToast/index.tsx",
|
|
"types": "./src/ConsentToast/index.tsx"
|
|
},
|
|
"./CountdownWidget/CountdownStep": {
|
|
"import": "./src/CountdownWidget/CountdownStep.tsx",
|
|
"types": "./src/CountdownWidget/CountdownStep.tsx"
|
|
},
|
|
"./CountdownWidget": {
|
|
"import": "./src/CountdownWidget/index.tsx",
|
|
"types": "./src/CountdownWidget/index.tsx"
|
|
},
|
|
"./DataInputs/Input": {
|
|
"import": "./src/DataInputs/Input.tsx",
|
|
"types": "./src/DataInputs/Input.tsx"
|
|
},
|
|
"./DatePicker": {
|
|
"import": "./src/DatePicker/index.ts",
|
|
"types": "./src/DatePicker/index.ts"
|
|
},
|
|
"./Dialogs/ConfirmationModal": {
|
|
"import": "./src/Dialogs/ConfirmationModal.tsx",
|
|
"types": "./src/Dialogs/ConfirmationModal.tsx"
|
|
},
|
|
"./Dialogs/TextConfirmModal": {
|
|
"import": "./src/Dialogs/TextConfirmModal.tsx",
|
|
"types": "./src/Dialogs/TextConfirmModal.tsx"
|
|
},
|
|
"./EmptyStatePresentational": {
|
|
"import": "./src/EmptyStatePresentational/index.tsx",
|
|
"types": "./src/EmptyStatePresentational/index.tsx"
|
|
},
|
|
"./ErrorDisplay/ErrorDisplay": {
|
|
"import": "./src/ErrorDisplay/ErrorDisplay.tsx",
|
|
"types": "./src/ErrorDisplay/ErrorDisplay.tsx"
|
|
},
|
|
"./ErrorDisplay/ErrorDisplay.types": {
|
|
"import": "./src/ErrorDisplay/ErrorDisplay.types.ts",
|
|
"types": "./src/ErrorDisplay/ErrorDisplay.types.ts"
|
|
},
|
|
"./ExpandableVideo": {
|
|
"import": "./src/ExpandableVideo/index.tsx",
|
|
"types": "./src/ExpandableVideo/index.tsx"
|
|
},
|
|
"./FilterBar/CommandListItem": {
|
|
"import": "./src/FilterBar/CommandListItem.tsx",
|
|
"types": "./src/FilterBar/CommandListItem.tsx"
|
|
},
|
|
"./FilterBar/DefaultCommandList.helpers": {
|
|
"import": "./src/FilterBar/DefaultCommandList.helpers.tsx",
|
|
"types": "./src/FilterBar/DefaultCommandList.helpers.tsx"
|
|
},
|
|
"./FilterBar/DefaultCommandList": {
|
|
"import": "./src/FilterBar/DefaultCommandList.tsx",
|
|
"types": "./src/FilterBar/DefaultCommandList.tsx"
|
|
},
|
|
"./FilterBar/FilterBar.test": {
|
|
"import": "./src/FilterBar/FilterBar.test.tsx",
|
|
"types": "./src/FilterBar/FilterBar.test.tsx"
|
|
},
|
|
"./FilterBar/FilterBar": {
|
|
"import": "./src/FilterBar/FilterBar.tsx",
|
|
"types": "./src/FilterBar/FilterBar.tsx"
|
|
},
|
|
"./FilterBar/FilterBarContext": {
|
|
"import": "./src/FilterBar/FilterBarContext.tsx",
|
|
"types": "./src/FilterBar/FilterBarContext.tsx"
|
|
},
|
|
"./FilterBar/FilterCondition": {
|
|
"import": "./src/FilterBar/FilterCondition.tsx",
|
|
"types": "./src/FilterBar/FilterCondition.tsx"
|
|
},
|
|
"./FilterBar/FilterGroup": {
|
|
"import": "./src/FilterBar/FilterGroup.tsx",
|
|
"types": "./src/FilterBar/FilterGroup.tsx"
|
|
},
|
|
"./FilterBar/OperatorSymbolBadge": {
|
|
"import": "./src/FilterBar/OperatorSymbolBadge.tsx",
|
|
"types": "./src/FilterBar/OperatorSymbolBadge.tsx"
|
|
},
|
|
"./FilterBar/hooks.test": {
|
|
"import": "./src/FilterBar/hooks.test.ts",
|
|
"types": "./src/FilterBar/hooks.test.ts"
|
|
},
|
|
"./FilterBar/hooks": {
|
|
"import": "./src/FilterBar/hooks.ts",
|
|
"types": "./src/FilterBar/hooks.ts"
|
|
},
|
|
"./FilterBar": {
|
|
"import": "./src/FilterBar/index.ts",
|
|
"types": "./src/FilterBar/index.ts"
|
|
},
|
|
"./FilterBar/menuItems.test": {
|
|
"import": "./src/FilterBar/menuItems.test.ts",
|
|
"types": "./src/FilterBar/menuItems.test.ts"
|
|
},
|
|
"./FilterBar/menuItems": {
|
|
"import": "./src/FilterBar/menuItems.ts",
|
|
"types": "./src/FilterBar/menuItems.ts"
|
|
},
|
|
"./FilterBar/types": {
|
|
"import": "./src/FilterBar/types.ts",
|
|
"types": "./src/FilterBar/types.ts"
|
|
},
|
|
"./FilterBar/useAIFilter": {
|
|
"import": "./src/FilterBar/useAIFilter.ts",
|
|
"types": "./src/FilterBar/useAIFilter.ts"
|
|
},
|
|
"./FilterBar/useCommandHandling": {
|
|
"import": "./src/FilterBar/useCommandHandling.ts",
|
|
"types": "./src/FilterBar/useCommandHandling.ts"
|
|
},
|
|
"./FilterBar/useCommandMenu": {
|
|
"import": "./src/FilterBar/useCommandMenu.ts",
|
|
"types": "./src/FilterBar/useCommandMenu.ts"
|
|
},
|
|
"./FilterBar/useKeyboardNavigation": {
|
|
"import": "./src/FilterBar/useKeyboardNavigation.ts",
|
|
"types": "./src/FilterBar/useKeyboardNavigation.ts"
|
|
},
|
|
"./FilterBar/utils.test": {
|
|
"import": "./src/FilterBar/utils.test.ts",
|
|
"types": "./src/FilterBar/utils.test.ts"
|
|
},
|
|
"./FilterBar/utils": {
|
|
"import": "./src/FilterBar/utils.ts",
|
|
"types": "./src/FilterBar/utils.ts"
|
|
},
|
|
"./GlassPanel": {
|
|
"import": "./src/GlassPanel/index.tsx",
|
|
"types": "./src/GlassPanel/index.tsx"
|
|
},
|
|
"./IconPanel": {
|
|
"import": "./src/IconPanel/index.tsx",
|
|
"types": "./src/IconPanel/index.tsx"
|
|
},
|
|
"./Image/Image": {
|
|
"import": "./src/Image/Image.tsx",
|
|
"types": "./src/Image/Image.tsx"
|
|
},
|
|
"./Image/ZoomContent": {
|
|
"import": "./src/Image/ZoomContent.tsx",
|
|
"types": "./src/Image/ZoomContent.tsx"
|
|
},
|
|
"./Image": {
|
|
"import": "./src/Image/index.tsx",
|
|
"types": "./src/Image/index.tsx"
|
|
},
|
|
"./InnerSideMenu": {
|
|
"import": "./src/InnerSideMenu/index.tsx",
|
|
"types": "./src/InnerSideMenu/index.tsx"
|
|
},
|
|
"./LogsBarChart": {
|
|
"import": "./src/LogsBarChart/index.tsx",
|
|
"types": "./src/LogsBarChart/index.tsx"
|
|
},
|
|
"./Markdown": {
|
|
"import": "./src/Markdown/index.tsx",
|
|
"types": "./src/Markdown/index.tsx"
|
|
},
|
|
"./McpUrlBuilder/McpConfigPanel": {
|
|
"import": "./src/McpUrlBuilder/McpConfigPanel.tsx",
|
|
"types": "./src/McpUrlBuilder/McpConfigPanel.tsx"
|
|
},
|
|
"./McpUrlBuilder/components/ClientSelectDropdown": {
|
|
"import": "./src/McpUrlBuilder/components/ClientSelectDropdown.tsx",
|
|
"types": "./src/McpUrlBuilder/components/ClientSelectDropdown.tsx"
|
|
},
|
|
"./McpUrlBuilder/components/ConnectionIcon": {
|
|
"import": "./src/McpUrlBuilder/components/ConnectionIcon.tsx",
|
|
"types": "./src/McpUrlBuilder/components/ConnectionIcon.tsx"
|
|
},
|
|
"./McpUrlBuilder/components/McpConfigurationDisplay": {
|
|
"import": "./src/McpUrlBuilder/components/McpConfigurationDisplay.tsx",
|
|
"types": "./src/McpUrlBuilder/components/McpConfigurationDisplay.tsx"
|
|
},
|
|
"./McpUrlBuilder/components/McpConfigurationOptions": {
|
|
"import": "./src/McpUrlBuilder/components/McpConfigurationOptions.tsx",
|
|
"types": "./src/McpUrlBuilder/components/McpConfigurationOptions.tsx"
|
|
},
|
|
"./McpUrlBuilder/constants": {
|
|
"import": "./src/McpUrlBuilder/constants.tsx",
|
|
"types": "./src/McpUrlBuilder/constants.tsx"
|
|
},
|
|
"./McpUrlBuilder": {
|
|
"import": "./src/McpUrlBuilder/index.ts",
|
|
"types": "./src/McpUrlBuilder/index.ts"
|
|
},
|
|
"./McpUrlBuilder/types": {
|
|
"import": "./src/McpUrlBuilder/types.ts",
|
|
"types": "./src/McpUrlBuilder/types.ts"
|
|
},
|
|
"./McpUrlBuilder/utils/createMcpCopyHandler": {
|
|
"import": "./src/McpUrlBuilder/utils/createMcpCopyHandler.ts",
|
|
"types": "./src/McpUrlBuilder/utils/createMcpCopyHandler.ts"
|
|
},
|
|
"./McpUrlBuilder/utils/getMcpButtonData": {
|
|
"import": "./src/McpUrlBuilder/utils/getMcpButtonData.ts",
|
|
"types": "./src/McpUrlBuilder/utils/getMcpButtonData.ts"
|
|
},
|
|
"./McpUrlBuilder/utils/getMcpIconSrc.test": {
|
|
"import": "./src/McpUrlBuilder/utils/getMcpIconSrc.test.ts",
|
|
"types": "./src/McpUrlBuilder/utils/getMcpIconSrc.test.ts"
|
|
},
|
|
"./McpUrlBuilder/utils/getMcpIconSrc": {
|
|
"import": "./src/McpUrlBuilder/utils/getMcpIconSrc.ts",
|
|
"types": "./src/McpUrlBuilder/utils/getMcpIconSrc.ts"
|
|
},
|
|
"./McpUrlBuilder/utils/getMcpUrl": {
|
|
"import": "./src/McpUrlBuilder/utils/getMcpUrl.ts",
|
|
"types": "./src/McpUrlBuilder/utils/getMcpUrl.ts"
|
|
},
|
|
"./McpUrlBuilder/utils/mcpIconAssets": {
|
|
"import": "./src/McpUrlBuilder/utils/mcpIconAssets.ts",
|
|
"types": "./src/McpUrlBuilder/utils/mcpIconAssets.ts"
|
|
},
|
|
"./Mermaid/Mermaid": {
|
|
"import": "./src/Mermaid/Mermaid.tsx",
|
|
"types": "./src/Mermaid/Mermaid.tsx"
|
|
},
|
|
"./Mermaid": {
|
|
"import": "./src/Mermaid/index.tsx",
|
|
"types": "./src/Mermaid/index.tsx"
|
|
},
|
|
"./MetricCard": {
|
|
"import": "./src/MetricCard/index.tsx",
|
|
"types": "./src/MetricCard/index.tsx"
|
|
},
|
|
"./MobileSheetNav/MobileSheetNav.test": {
|
|
"import": "./src/MobileSheetNav/MobileSheetNav.test.tsx",
|
|
"types": "./src/MobileSheetNav/MobileSheetNav.test.tsx"
|
|
},
|
|
"./MobileSheetNav/MobileSheetNav": {
|
|
"import": "./src/MobileSheetNav/MobileSheetNav.tsx",
|
|
"types": "./src/MobileSheetNav/MobileSheetNav.tsx"
|
|
},
|
|
"./MobileSheetNav": {
|
|
"import": "./src/MobileSheetNav/index.ts",
|
|
"types": "./src/MobileSheetNav/index.ts"
|
|
},
|
|
"./MultiSelectDeprecated/Badges": {
|
|
"import": "./src/MultiSelectDeprecated/Badges.tsx",
|
|
"types": "./src/MultiSelectDeprecated/Badges.tsx"
|
|
},
|
|
"./MultiSelectDeprecated/MultiSelectV2": {
|
|
"import": "./src/MultiSelectDeprecated/MultiSelectV2.tsx",
|
|
"types": "./src/MultiSelectDeprecated/MultiSelectV2.tsx"
|
|
},
|
|
"./MultiSelectDeprecated": {
|
|
"import": "./src/MultiSelectDeprecated/index.tsx",
|
|
"types": "./src/MultiSelectDeprecated/index.tsx"
|
|
},
|
|
"./MultipleCodeBlock/index.test": {
|
|
"import": "./src/MultipleCodeBlock/index.test.tsx",
|
|
"types": "./src/MultipleCodeBlock/index.test.tsx"
|
|
},
|
|
"./MultipleCodeBlock": {
|
|
"import": "./src/MultipleCodeBlock/index.tsx",
|
|
"types": "./src/MultipleCodeBlock/index.tsx"
|
|
},
|
|
"./PageContainer": {
|
|
"import": "./src/PageContainer/index.tsx",
|
|
"types": "./src/PageContainer/index.tsx"
|
|
},
|
|
"./PageHeader": {
|
|
"import": "./src/PageHeader/index.tsx",
|
|
"types": "./src/PageHeader/index.tsx"
|
|
},
|
|
"./PageBreadcrumbs": {
|
|
"import": "./src/PageBreadcrumbs/index.tsx",
|
|
"types": "./src/PageBreadcrumbs/index.tsx"
|
|
},
|
|
"./PageNav": {
|
|
"import": "./src/PageNav/index.tsx",
|
|
"types": "./src/PageNav/index.tsx"
|
|
},
|
|
"./PageSection": {
|
|
"import": "./src/PageSection/index.tsx",
|
|
"types": "./src/PageSection/index.tsx"
|
|
},
|
|
"./PopupFrame": {
|
|
"import": "./src/PopupFrame/index.tsx",
|
|
"types": "./src/PopupFrame/index.tsx"
|
|
},
|
|
"./PrivacySettings": {
|
|
"import": "./src/PrivacySettings/index.tsx",
|
|
"types": "./src/PrivacySettings/index.tsx"
|
|
},
|
|
"./PromoToast/PromoBg": {
|
|
"import": "./src/PromoToast/PromoBg.tsx",
|
|
"types": "./src/PromoToast/PromoBg.tsx"
|
|
},
|
|
"./PromoToast/PromoToast": {
|
|
"import": "./src/PromoToast/PromoToast.tsx",
|
|
"types": "./src/PromoToast/PromoToast.tsx"
|
|
},
|
|
"./PromoToast": {
|
|
"import": "./src/PromoToast/index.ts",
|
|
"types": "./src/PromoToast/index.ts"
|
|
},
|
|
"./PromoToast/styles.css": {
|
|
"import": "./src/PromoToast/styles.css",
|
|
"types": "./src/PromoToast/styles.css"
|
|
},
|
|
"./Row/Row.utils": {
|
|
"import": "./src/Row/Row.utils.ts",
|
|
"types": "./src/Row/Row.utils.ts"
|
|
},
|
|
"./Row/index.test": {
|
|
"import": "./src/Row/index.test.ts",
|
|
"types": "./src/Row/index.test.ts"
|
|
},
|
|
"./Row": {
|
|
"import": "./src/Row/index.tsx",
|
|
"types": "./src/Row/index.tsx"
|
|
},
|
|
"./ShimmeringLoader/index.css": {
|
|
"import": "./src/ShimmeringLoader/index.css",
|
|
"types": "./src/ShimmeringLoader/index.css"
|
|
},
|
|
"./ShimmeringLoader": {
|
|
"import": "./src/ShimmeringLoader/index.tsx",
|
|
"types": "./src/ShimmeringLoader/index.tsx"
|
|
},
|
|
"./SimpleCodeBlock/SimpleCodeBlock": {
|
|
"import": "./src/SimpleCodeBlock/SimpleCodeBlock.tsx",
|
|
"types": "./src/SimpleCodeBlock/SimpleCodeBlock.tsx"
|
|
},
|
|
"./SimpleCodeBlock": {
|
|
"import": "./src/SimpleCodeBlock/index.tsx",
|
|
"types": "./src/SimpleCodeBlock/index.tsx"
|
|
},
|
|
"./SimpleCodeBlock/prism": {
|
|
"import": "./src/SimpleCodeBlock/prism.ts",
|
|
"types": "./src/SimpleCodeBlock/prism.ts"
|
|
},
|
|
"./SqlToRest/assumptions": {
|
|
"import": "./src/SqlToRest/assumptions.ts",
|
|
"types": "./src/SqlToRest/assumptions.ts"
|
|
},
|
|
"./SqlToRest/base-url-dialog": {
|
|
"import": "./src/SqlToRest/base-url-dialog.tsx",
|
|
"types": "./src/SqlToRest/base-url-dialog.tsx"
|
|
},
|
|
"./SqlToRest/faqs": {
|
|
"import": "./src/SqlToRest/faqs.ts",
|
|
"types": "./src/SqlToRest/faqs.ts"
|
|
},
|
|
"./SqlToRest": {
|
|
"import": "./src/SqlToRest/index.tsx",
|
|
"types": "./src/SqlToRest/index.tsx"
|
|
},
|
|
"./SqlToRest/sql-to-rest": {
|
|
"import": "./src/SqlToRest/sql-to-rest.tsx",
|
|
"types": "./src/SqlToRest/sql-to-rest.tsx"
|
|
},
|
|
"./SqlToRest/syntax-highlighter/framer-features": {
|
|
"import": "./src/SqlToRest/syntax-highlighter/framer-features.ts",
|
|
"types": "./src/SqlToRest/syntax-highlighter/framer-features.ts"
|
|
},
|
|
"./SqlToRest/syntax-highlighter/transform-renderer": {
|
|
"import": "./src/SqlToRest/syntax-highlighter/transform-renderer.tsx",
|
|
"types": "./src/SqlToRest/syntax-highlighter/transform-renderer.tsx"
|
|
},
|
|
"./SqlToRest/util": {
|
|
"import": "./src/SqlToRest/util.ts",
|
|
"types": "./src/SqlToRest/util.ts"
|
|
},
|
|
"./StatusCode": {
|
|
"import": "./src/StatusCode/index.tsx",
|
|
"types": "./src/StatusCode/index.tsx"
|
|
},
|
|
"./TextLink": {
|
|
"import": "./src/TextLink/index.tsx",
|
|
"types": "./src/TextLink/index.tsx"
|
|
},
|
|
"./ThemeToggle": {
|
|
"import": "./src/ThemeToggle.tsx",
|
|
"types": "./src/ThemeToggle.tsx"
|
|
},
|
|
"./TimestampInfo": {
|
|
"import": "./src/TimestampInfo/index.tsx",
|
|
"types": "./src/TimestampInfo/index.tsx"
|
|
},
|
|
"./Table": {
|
|
"import": "./src/Table/index.ts",
|
|
"types": "./src/Table/index.ts"
|
|
},
|
|
"./Toc": {
|
|
"import": "./src/Toc/index.ts",
|
|
"types": "./src/Toc/index.ts"
|
|
},
|
|
"./Toc/mdx-plugins/remark-heading": {
|
|
"import": "./src/Toc/mdx-plugins/remark-heading.ts",
|
|
"types": "./src/Toc/mdx-plugins/remark-heading.ts"
|
|
},
|
|
"./Toc/mdx-plugins/remark-utils": {
|
|
"import": "./src/Toc/mdx-plugins/remark-utils.ts",
|
|
"types": "./src/Toc/mdx-plugins/remark-utils.ts"
|
|
},
|
|
"./Toc/server/get-toc": {
|
|
"import": "./src/Toc/server/get-toc.tsx",
|
|
"types": "./src/Toc/server/get-toc.tsx"
|
|
},
|
|
"./Toc/toc-primitive": {
|
|
"import": "./src/Toc/toc-primitive.tsx",
|
|
"types": "./src/Toc/toc-primitive.tsx"
|
|
},
|
|
"./Toc/toc-thumb": {
|
|
"import": "./src/Toc/toc-thumb.tsx",
|
|
"types": "./src/Toc/toc-thumb.tsx"
|
|
},
|
|
"./Toc/toc": {
|
|
"import": "./src/Toc/toc.tsx",
|
|
"types": "./src/Toc/toc.tsx"
|
|
},
|
|
"./Toc/types": {
|
|
"import": "./src/Toc/types.ts",
|
|
"types": "./src/Toc/types.ts"
|
|
},
|
|
"./TweetCard": {
|
|
"import": "./src/TweetCard/index.tsx",
|
|
"types": "./src/TweetCard/index.tsx"
|
|
},
|
|
"./admonition": {
|
|
"import": "./src/admonition.tsx",
|
|
"types": "./src/admonition.tsx"
|
|
},
|
|
"./consent": {
|
|
"import": "./src/consent.tsx",
|
|
"types": "./src/consent.tsx"
|
|
},
|
|
"./collapsible-alert": {
|
|
"import": "./src/collapsible-alert.tsx",
|
|
"types": "./src/collapsible-alert.tsx"
|
|
},
|
|
"./form/FormItemLayout/FormItemLayout": {
|
|
"import": "./src/form/FormItemLayout/FormItemLayout.tsx",
|
|
"types": "./src/form/FormItemLayout/FormItemLayout.tsx"
|
|
},
|
|
"./form/FormLayout2": {
|
|
"import": "./src/form/FormLayout2.tsx",
|
|
"types": "./src/form/FormLayout2.tsx"
|
|
},
|
|
"./form/KeyValueFieldArray/KeyValueFieldArray.test": {
|
|
"import": "./src/form/KeyValueFieldArray/KeyValueFieldArray.test.tsx",
|
|
"types": "./src/form/KeyValueFieldArray/KeyValueFieldArray.test.tsx"
|
|
},
|
|
"./form/KeyValueFieldArray/KeyValueFieldArray": {
|
|
"import": "./src/form/KeyValueFieldArray/KeyValueFieldArray.tsx",
|
|
"types": "./src/form/KeyValueFieldArray/KeyValueFieldArray.tsx"
|
|
},
|
|
"./form/KeyValueFieldArray/validation": {
|
|
"import": "./src/form/KeyValueFieldArray/validation.ts",
|
|
"types": "./src/form/KeyValueFieldArray/validation.ts"
|
|
},
|
|
"./form/SingleValueFieldArray/SingleValueFieldArray.test": {
|
|
"import": "./src/form/SingleValueFieldArray/SingleValueFieldArray.test.tsx",
|
|
"types": "./src/form/SingleValueFieldArray/SingleValueFieldArray.test.tsx"
|
|
},
|
|
"./form/SingleValueFieldArray/SingleValueFieldArray": {
|
|
"import": "./src/form/SingleValueFieldArray/SingleValueFieldArray.tsx",
|
|
"types": "./src/form/SingleValueFieldArray/SingleValueFieldArray.tsx"
|
|
},
|
|
"./form/Layout/FormLayout": {
|
|
"import": "./src/form/Layout/FormLayout.tsx",
|
|
"types": "./src/form/Layout/FormLayout.tsx"
|
|
},
|
|
"./form/Layout/InputIconContainer.module.css": {
|
|
"import": "./src/form/Layout/InputIconContainer.module.css",
|
|
"types": "./src/form/Layout/InputIconContainer.module.css"
|
|
},
|
|
"./form/Layout/InputIconContainer": {
|
|
"import": "./src/form/Layout/InputIconContainer.tsx",
|
|
"types": "./src/form/Layout/InputIconContainer.tsx"
|
|
},
|
|
"./form/utils": {
|
|
"import": "./src/form/utils.tsx",
|
|
"types": "./src/form/utils.tsx"
|
|
},
|
|
"./info-tooltip": {
|
|
"import": "./src/info-tooltip.tsx",
|
|
"types": "./src/info-tooltip.tsx"
|
|
},
|
|
"./multi-select": {
|
|
"import": "./src/multi-select/index.tsx",
|
|
"types": "./src/multi-select/index.tsx"
|
|
},
|
|
"./multi-select/multi-select.test": {
|
|
"import": "./src/multi-select/multi-select.test.tsx",
|
|
"types": "./src/multi-select/multi-select.test.tsx"
|
|
},
|
|
"./multi-select/multi-select": {
|
|
"import": "./src/multi-select/multi-select.tsx",
|
|
"types": "./src/multi-select/multi-select.tsx"
|
|
},
|
|
"./types/assets.d": {
|
|
"import": "./src/types/assets.d.ts",
|
|
"types": "./src/types/assets.d.ts"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^3.1.1",
|
|
"@monaco-editor/react": "^4.6.0",
|
|
"@std/toml": "jsr:^1.0.11",
|
|
"@supabase/sql-to-rest": "^0.1.6",
|
|
"@supabase/supabase-js": "catalog:",
|
|
"@tanstack/react-table": "catalog:",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"common": "workspace:*",
|
|
"common-tags": "^1.8.2",
|
|
"dayjs": "^1.11.13",
|
|
"framer-motion": "^11.18.2",
|
|
"github-slugger": "^2.0.0",
|
|
"highlightjs-curl": "^1.3.0",
|
|
"icons": "workspace:*",
|
|
"js-yaml": "^3.14.1",
|
|
"lodash": "catalog:",
|
|
"lucide-react": "*",
|
|
"mdast": "^3.0.0",
|
|
"mermaid": "^11.12.1",
|
|
"monaco-editor": "*",
|
|
"next-themes": "catalog:",
|
|
"openai": "^4.75.1",
|
|
"prism-react-renderer": "^2.3.1",
|
|
"radix-ui": "catalog:",
|
|
"react": "catalog:",
|
|
"react-countdown": "^2.3.5",
|
|
"react-dom": "catalog:",
|
|
"react-error-boundary": "^4.0.12",
|
|
"react-hook-form": "^7.71.2",
|
|
"react-intersection-observer": "^9.8.2",
|
|
"react-markdown": "^10.1.0",
|
|
"react-medium-image-zoom": "^5.4.3",
|
|
"react-syntax-highlighter": "^15.6.6",
|
|
"react-use": "^17.5.0",
|
|
"recharts": "catalog:",
|
|
"remark": "^15.0.1",
|
|
"remark-gfm": "^4.0.0",
|
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
"sonner": "^1.5.0",
|
|
"sql-formatter": "^15.0.0",
|
|
"sse.js": "^2.2.0",
|
|
"tsconfig": "workspace:*",
|
|
"ui": "workspace:*",
|
|
"unist-util-visit": "^5.0.0",
|
|
"valtio": "catalog:",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/dom": "^10.0.0",
|
|
"@testing-library/jest-dom": "^6.6.0",
|
|
"@testing-library/react": "^16.0.0",
|
|
"@testing-library/user-event": "^14.0.0",
|
|
"@types/common-tags": "^1.8.4",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/lodash": "^4.17.5",
|
|
"@types/mdast": "^3.0.0",
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:",
|
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
"@vitest/coverage-v8": "catalog:",
|
|
"api-types": "workspace:*",
|
|
"config": "workspace:*",
|
|
"next-router-mock": "^0.9.13",
|
|
"tailwindcss": "^4.2.4",
|
|
"tsx": "catalog:",
|
|
"typescript": "catalog:",
|
|
"unified": "^11.0.5",
|
|
"vfile": "^6.0.3",
|
|
"vite": "catalog:",
|
|
"vitest": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"next": "catalog:"
|
|
}
|
|
}
|