diff --git a/apps/engine/package.json b/apps/engine/package.json index ee20c38b..a5741060 100644 --- a/apps/engine/package.json +++ b/apps/engine/package.json @@ -26,21 +26,21 @@ "@hookform/resolvers": "^3.9.0", "@mdx-js/loader": "^3.1.0", "@mdx-js/react": "^3.1.0", - "@next/mdx": "^15.0.2", + "@next/mdx": "15.0.2", "@octokit/app": "^15.1.0", "@octokit/auth-oauth-app": "^8.1.1", "@octokit/core": "^6.1.2", - "@sentry/nextjs": "^8.30.0", - "@supabase/ssr": "^0.4.0", - "@supabase/supabase-js": "^2.45.0", + "@sentry/nextjs": "^8.36.0", + "@supabase/ssr": "^0.5.1", + "@supabase/supabase-js": "^2.46.1", "@t3-oss/env-core": "^0.11.1", "@t3-oss/env-nextjs": "^0.11.1", - "@tanstack/react-query": "^5.51.24", + "@tanstack/react-query": "^5.59.19", "@trpc/react-query": "catalog:", "@trpc/server": "catalog:", - "@vercel/flags": "^2.6.0", + "@vercel/flags": "^2.6.2", "@vercel/kv": "^2.0.0", - "@vercel/og": "^0.6.2", + "@vercel/og": "^0.6.3", "clsx": "^2.1.1", "date-fns": "^3.6.0", "design-tokens-format-module": "catalog:", @@ -50,21 +50,21 @@ "human-id": "^4.1.1", "memoize": "^10.0.0", "next": "catalog:", - "next-safe-action": "^7.8.1", - "postgres": "^3.4.4", - "posthog-js": "^1.176.0", - "rambda": "^9.2.1", + "next-safe-action": "^7.9.9", + "postgres": "^3.4.5", + "posthog-js": "^1.181.0", + "rambda": "^9.4.0", "react": "catalog:", "react-diff-viewer": "^3.1.1", "react-dom": "catalog:", - "react-hook-form": "^7.52.2", + "react-hook-form": "catalog:", "react-json-view": "^1.21.3", - "react-json-view-lite": "^1.4.0", + "react-json-view-lite": "^1.5.0", "server-only": "^0.0.1", "sharp": "^0.33.5", "standardwebhooks": "^1.0.0", "superjson": "^2.2.1", - "tailwind-merge": "^2.4.0", + "tailwind-merge": "^2.5.4", "zod": "^3.23.8", "zod-form-data": "^2.0.2" }, @@ -73,7 +73,7 @@ "@ds-project/prettier": "workspace:*", "@ds-project/services": "workspace:*", "@ds-project/typescript": "workspace:*", - "@next/env": "^14.2.13", + "@next/env": "15.0.2", "@octokit/types": "^13.5.0", "@tailwindcss/typography": "^0.5.15", "@types/fs-extra": "^11.0.4", @@ -84,7 +84,7 @@ "@types/react-dom": "catalog:", "drizzle-kit": "^0.24.2", "eslint": "catalog:", - "eslint-config-next": "14.2.5", + "eslint-config-next": "15.0.2", "fs-extra": "^11.2.0", "jiti": "^1.21.6", "postcss": "catalog:", diff --git a/apps/engine/src/app/(home)/layout.tsx b/apps/engine/src/app/(home)/layout.tsx index 5d77bdaa..d36f7d22 100644 --- a/apps/engine/src/app/(home)/layout.tsx +++ b/apps/engine/src/app/(home)/layout.tsx @@ -13,7 +13,7 @@ export default function Layout({ return ( <>
-
+
diff --git a/apps/engine/src/app/(home)/page.tsx b/apps/engine/src/app/(home)/page.tsx index 7037eb49..2fd11222 100644 --- a/apps/engine/src/app/(home)/page.tsx +++ b/apps/engine/src/app/(home)/page.tsx @@ -10,7 +10,7 @@ export default function Home() {
-
+
diff --git a/apps/engine/src/app/_components/analytics-tracker.tsx b/apps/engine/src/app/_components/analytics-tracker.tsx new file mode 100644 index 00000000..8d99edb9 --- /dev/null +++ b/apps/engine/src/app/_components/analytics-tracker.tsx @@ -0,0 +1,15 @@ +'use client'; + +import dynamic from 'next/dynamic'; + +const AnalyticsPageView = dynamic( + () => + import('./analytics-page-view').then((module) => module.AnalyticsPageView), + { + ssr: false, + } +); + +export const AnalyticsTracker = () => { + return ; +}; diff --git a/apps/engine/src/app/app/@connections/destinations/github/_components/github-card.tsx b/apps/engine/src/app/app/@connections/destinations/github/_components/github-card.tsx index 45eb6eb3..97788bbc 100644 --- a/apps/engine/src/app/app/@connections/destinations/github/_components/github-card.tsx +++ b/apps/engine/src/app/app/@connections/destinations/github/_components/github-card.tsx @@ -1,7 +1,7 @@ 'use client'; import { IntegrationCard } from '@/components'; -import { Icons, Text, useToast } from '@ds-project/components'; +import { Icons, Text } from '@ds-project/components/server'; import { useCallback, useState } from 'react'; import { SettingsForm } from './settings-form'; import { disableIntegration } from '../_actions/disable-integration.action'; @@ -9,6 +9,7 @@ import { useRouter } from 'next/navigation'; import { IntegrationLogo } from '@/components/integration-logo/integration-logo'; import { IntegrationSettings } from '@/components/integration-settings/integration-settings'; import type { api } from '@ds-project/api/rsc'; +import { useToast } from '@ds-project/components/client'; interface GithubCardProps { isEnabled: boolean; diff --git a/apps/engine/src/app/app/@connections/destinations/github/_components/settings-form.tsx b/apps/engine/src/app/app/@connections/destinations/github/_components/settings-form.tsx index f4ac85a0..f50dbc29 100644 --- a/apps/engine/src/app/app/@connections/destinations/github/_components/settings-form.tsx +++ b/apps/engine/src/app/app/@connections/destinations/github/_components/settings-form.tsx @@ -1,6 +1,6 @@ 'use client'; +import { Button, Input } from '@ds-project/components/server'; import { - Button, Form, FormControl, FormDescription, @@ -8,14 +8,13 @@ import { FormItem, FormLabel, FormMessage, - Input, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, useToast, -} from '@ds-project/components'; +} from '@ds-project/components/client'; import { zodResolver } from '@hookform/resolvers/zod'; import { useCallback, useState } from 'react'; import { useForm } from 'react-hook-form'; @@ -94,10 +93,10 @@ export function SettingsForm({ return (
-
+
Repository