From 9583aeec9fa3311fe8e0b6ad3e133c7dd6c8b929 Mon Sep 17 00:00:00 2001 From: Giancarlo Buomprisco Date: Sun, 30 Jun 2024 23:29:06 +0800 Subject: [PATCH] =?UTF-8?q?Update=20webhook=20handler=20and=20tailwind=20p?= =?UTF-8?q?aths,=20add=20first=20subscription=20ite=E2=80=A6=20(#40)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update webhook handler and tailwind paths, add first subscription item to types In the lemon-squeezy-webhook-handler, changed logger from error to warning and refactored the generation of lineItems to use firstSubscriptionItem details and obtain the priceAmount. In tailwind's index file, adjusted the path to include src directories in packages. Also, the first_subscription_item has been added to the subscription-webhook type for better data representation. * Refactor subscription interval calculation The subscription interval calculation was refactored to use the new 'getSubscriptionIntervalType' function. This new function provides a more accurate calculation, where it determines the interval type ('monthly' or 'yearly') by comparing the renewal date with the current date. * Update dependencies across multiple packages This commit includes updates to the version of "supabase-js", "lucide-react", "react-query", "react-table", "postcss", "stripe" among other dependencies in multiple package.json files. The "pnpm-lock.yaml" file is also updated to reflect these changes. This ensures the project dependencies stay up-to-date to include new features, improvements and bug fixes. --- apps/web/package.json | 10 +- package.json | 4 +- packages/billing/gateway/package.json | 4 +- .../lemon-squeezy-webhook-handler.service.ts | 48 +- .../src/types/subscription-webhook.ts | 9 + packages/billing/stripe/package.json | 2 +- packages/database-webhooks/package.json | 2 +- packages/features/accounts/package.json | 6 +- packages/features/admin/package.json | 8 +- packages/features/auth/package.json | 6 +- packages/features/notifications/package.json | 6 +- packages/features/team-accounts/package.json | 8 +- packages/i18n/package.json | 2 +- packages/next/package.json | 2 +- packages/shared/package.json | 2 +- packages/supabase/package.json | 4 +- packages/ui/package.json | 8 +- pnpm-lock.yaml | 425 ++++++++++-------- tooling/tailwind/index.ts | 2 +- tooling/tailwind/package.json | 2 +- 20 files changed, 333 insertions(+), 227 deletions(-) diff --git a/apps/web/package.json b/apps/web/package.json index 271566b27..718b51e51 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -54,12 +54,12 @@ "@makerkit/data-loader-supabase-nextjs": "^1.2.3", "@marsidev/react-turnstile": "^0.7.1", "@radix-ui/react-icons": "^1.3.0", - "@supabase/supabase-js": "^2.44.1", - "@tanstack/react-query": "5.48.0", - "@tanstack/react-query-next-experimental": "^5.48.0", - "@tanstack/react-table": "^8.17.3", + "@supabase/supabase-js": "^2.44.2", + "@tanstack/react-query": "5.49.2", + "@tanstack/react-query-next-experimental": "^5.49.2", + "@tanstack/react-table": "^8.19.1", "date-fns": "^3.6.0", - "lucide-react": "^0.397.0", + "lucide-react": "^0.399.0", "next": "14.2.4", "next-sitemap": "^4.2.3", "next-themes": "0.3.0", diff --git a/package.json b/package.json index 4add6a211..ff6c621a3 100644 --- a/package.json +++ b/package.json @@ -34,11 +34,11 @@ "prettier": "@kit/prettier-config", "dependencies": { "@manypkg/cli": "^0.21.4", - "@turbo/gen": "^2.0.5", + "@turbo/gen": "^2.0.6", "cross-env": "^7.0.3", "pnpm": "^9.4.0", "prettier": "^3.3.2", - "turbo": "2.0.5", + "turbo": "2.0.6", "typescript": "^5.5.2" }, "pnpm": { diff --git a/packages/billing/gateway/package.json b/packages/billing/gateway/package.json index 089d27e64..eba0da16b 100644 --- a/packages/billing/gateway/package.json +++ b/packages/billing/gateway/package.json @@ -27,10 +27,10 @@ "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", "@kit/ui": "workspace:^", - "@supabase/supabase-js": "^2.44.1", + "@supabase/supabase-js": "^2.44.2", "@types/react": "^18.3.3", "date-fns": "^3.6.0", - "lucide-react": "^0.397.0", + "lucide-react": "^0.399.0", "next": "14.2.4", "react": "18.3.1", "react-hook-form": "^7.52.0", diff --git a/packages/billing/lemon-squeezy/src/services/lemon-squeezy-webhook-handler.service.ts b/packages/billing/lemon-squeezy/src/services/lemon-squeezy-webhook-handler.service.ts index 0e8d55d96..8456bba0b 100644 --- a/packages/billing/lemon-squeezy/src/services/lemon-squeezy-webhook-handler.service.ts +++ b/packages/billing/lemon-squeezy/src/services/lemon-squeezy-webhook-handler.service.ts @@ -1,13 +1,13 @@ -import { - getOrder, - getSubscription, - getVariant, -} from '@lemonsqueezy/lemonsqueezy.js'; +import { getOrder, getSubscription, getVariant } from '@lemonsqueezy/lemonsqueezy.js'; + + import { BillingConfig, BillingWebhookHandlerService } from '@kit/billing'; import { getLogger } from '@kit/shared/logger'; import { Database } from '@kit/supabase/database'; + + import { getLemonSqueezyEnv } from '../schema/lemon-squeezy-server-env.schema'; import { OrderWebhook } from '../types/order-webhook'; import { SubscriptionInvoiceWebhook } from '../types/subscription-invoice-webhook'; @@ -16,6 +16,7 @@ import { initializeLemonSqueezyClient } from './lemon-squeezy-sdk'; import { createLemonSqueezySubscriptionPayloadBuilderService } from './lemon-squeezy-subscription-payload-builder.service'; import { createHmac } from './verify-hmac'; + type UpsertSubscriptionParams = Database['public']['Functions']['upsert_subscription']['Args'] & { line_items: Array; @@ -238,14 +239,13 @@ export class LemonSqueezyWebhookHandlerService const endsAt = subscription.ends_at; const renewsAt = subscription.renews_at; const trialEndsAt = subscription.trial_ends_at; - const intervalCount = subscription.billing_anchor; const { data: order, error } = await getOrder(orderId); if (error ?? !order) { const logger = await getLogger(); - logger.error( + logger.warn( { orderId, subscriptionId, @@ -258,17 +258,20 @@ export class LemonSqueezyWebhookHandlerService throw new Error('Failed to fetch order'); } + const priceAmount = order?.data.attributes.first_order_item.price ?? 0; + const firstSubscriptionItem = subscription.first_subscription_item; + const lineItems = [ { - id: subscription.order_item_id.toString(), + id: firstSubscriptionItem.id.toString(), product: productId.toString(), variant: variantId.toString(), - quantity: order.data.attributes.first_order_item.quantity, - priceAmount: order.data.attributes.first_order_item.price, + quantity: firstSubscriptionItem.quantity, + priceAmount, }, ]; - const interval = intervalCount === 1 ? 'month' : 'year'; + const { interval, intervalCount } = getSubscriptionIntervalType(renewsAt); const payloadBuilderService = createLemonSqueezySubscriptionPayloadBuilderService(); @@ -419,3 +422,26 @@ async function isSigningSecretValid(rawBody: string, signatureHeader: string) { function timingSafeEqual(digest: string, signature: Buffer) { return digest.toString() === signature.toString(); } + +function getSubscriptionIntervalType(renewsAt: string) { + const renewalDate = new Date(renewsAt); + const currentDate = new Date(); + + // Calculate the difference in milliseconds + const timeDifference = renewalDate.getTime() - currentDate.getTime(); + + // Convert milliseconds to days + const daysDifference = timeDifference / (1000 * 3600 * 24); + + if (daysDifference <= 32) { + return { + interval: 'monthly', + intervalCount: 1, + }; + } + + return { + interval: 'yearly', + intervalCount: 12, + }; +} diff --git a/packages/billing/lemon-squeezy/src/types/subscription-webhook.ts b/packages/billing/lemon-squeezy/src/types/subscription-webhook.ts index 0699c5521..65a42ee09 100644 --- a/packages/billing/lemon-squeezy/src/types/subscription-webhook.ts +++ b/packages/billing/lemon-squeezy/src/types/subscription-webhook.ts @@ -43,6 +43,15 @@ interface Attributes { created_at: string; updated_at: string; test_mode: boolean; + + first_subscription_item: { + id: number; + subscription_id: number; + price_id: number; + quantity: number; + created_at: string; + updated_at: string; + }; } interface Urls { diff --git a/packages/billing/stripe/package.json b/packages/billing/stripe/package.json index 86e37a744..7e3a3ede3 100644 --- a/packages/billing/stripe/package.json +++ b/packages/billing/stripe/package.json @@ -17,7 +17,7 @@ "dependencies": { "@stripe/react-stripe-js": "^2.7.2", "@stripe/stripe-js": "^4.0.0", - "stripe": "^16.0.0" + "stripe": "^16.1.0" }, "devDependencies": { "@kit/billing": "workspace:^", diff --git a/packages/database-webhooks/package.json b/packages/database-webhooks/package.json index 689c6899e..333f19811 100644 --- a/packages/database-webhooks/package.json +++ b/packages/database-webhooks/package.json @@ -23,7 +23,7 @@ "@kit/tailwind-config": "workspace:*", "@kit/team-accounts": "workspace:^", "@kit/tsconfig": "workspace:*", - "@supabase/supabase-js": "^2.44.1", + "@supabase/supabase-js": "^2.44.2", "zod": "^3.23.8" }, "eslintConfig": { diff --git a/packages/features/accounts/package.json b/packages/features/accounts/package.json index d56c49c05..f7fed53b3 100644 --- a/packages/features/accounts/package.json +++ b/packages/features/accounts/package.json @@ -33,11 +33,11 @@ "@kit/tsconfig": "workspace:*", "@kit/ui": "workspace:^", "@radix-ui/react-icons": "^1.3.0", - "@supabase/supabase-js": "^2.44.1", - "@tanstack/react-query": "5.48.0", + "@supabase/supabase-js": "^2.44.2", + "@tanstack/react-query": "5.49.2", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "lucide-react": "^0.397.0", + "lucide-react": "^0.399.0", "next": "14.2.4", "next-themes": "0.3.0", "react": "18.3.1", diff --git a/packages/features/admin/package.json b/packages/features/admin/package.json index 2fb905261..64613c046 100644 --- a/packages/features/admin/package.json +++ b/packages/features/admin/package.json @@ -20,11 +20,11 @@ "@kit/ui": "workspace:^", "@makerkit/data-loader-supabase-core": "^0.0.8", "@makerkit/data-loader-supabase-nextjs": "^1.2.3", - "@supabase/supabase-js": "^2.44.1", - "@tanstack/react-query": "5.48.0", - "@tanstack/react-table": "^8.17.3", + "@supabase/supabase-js": "^2.44.2", + "@tanstack/react-query": "5.49.2", + "@tanstack/react-table": "^8.19.1", "@types/react": "^18.3.3", - "lucide-react": "^0.397.0", + "lucide-react": "^0.399.0", "next": "14.2.4", "react": "18.3.1", "react-dom": "18.3.1", diff --git a/packages/features/auth/package.json b/packages/features/auth/package.json index 86011647c..318843fc6 100644 --- a/packages/features/auth/package.json +++ b/packages/features/auth/package.json @@ -28,10 +28,10 @@ "@kit/ui": "workspace:^", "@marsidev/react-turnstile": "^0.7.1", "@radix-ui/react-icons": "^1.3.0", - "@supabase/supabase-js": "^2.44.1", - "@tanstack/react-query": "5.48.0", + "@supabase/supabase-js": "^2.44.2", + "@tanstack/react-query": "5.49.2", "@types/react": "^18.3.3", - "lucide-react": "^0.397.0", + "lucide-react": "^0.399.0", "next": "14.2.4", "react-hook-form": "^7.52.0", "react-i18next": "^14.1.2", diff --git a/packages/features/notifications/package.json b/packages/features/notifications/package.json index ea4ac9dab..01b85e1f7 100644 --- a/packages/features/notifications/package.json +++ b/packages/features/notifications/package.json @@ -20,10 +20,10 @@ "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", "@kit/ui": "workspace:*", - "@supabase/supabase-js": "^2.44.1", - "@tanstack/react-query": "5.48.0", + "@supabase/supabase-js": "^2.44.2", + "@tanstack/react-query": "5.49.2", "@types/react": "^18.3.3", - "lucide-react": "^0.397.0", + "lucide-react": "^0.399.0", "react": "18.3.1", "react-dom": "18.3.1", "react-i18next": "^14.1.2" diff --git a/packages/features/team-accounts/package.json b/packages/features/team-accounts/package.json index ef7625bf6..381be0fb0 100644 --- a/packages/features/team-accounts/package.json +++ b/packages/features/team-accounts/package.json @@ -31,14 +31,14 @@ "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", "@kit/ui": "workspace:^", - "@supabase/supabase-js": "^2.44.1", - "@tanstack/react-query": "5.48.0", - "@tanstack/react-table": "^8.17.3", + "@supabase/supabase-js": "^2.44.2", + "@tanstack/react-query": "5.49.2", + "@tanstack/react-table": "^8.19.1", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "class-variance-authority": "^0.7.0", "date-fns": "^3.6.0", - "lucide-react": "^0.397.0", + "lucide-react": "^0.399.0", "next": "14.2.4", "react": "18.3.1", "react-dom": "18.3.1", diff --git a/packages/i18n/package.json b/packages/i18n/package.json index 45c90c3c5..56ca70cae 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -21,7 +21,7 @@ "@kit/shared": "workspace:^", "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", - "@tanstack/react-query": "5.48.0", + "@tanstack/react-query": "5.49.2", "react-i18next": "^14.1.2" }, "dependencies": { diff --git a/packages/next/package.json b/packages/next/package.json index 3fdc265fd..f24da774f 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -21,7 +21,7 @@ "@kit/supabase": "workspace:^", "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", - "@supabase/supabase-js": "^2.44.1", + "@supabase/supabase-js": "^2.44.2", "next": "14.2.4", "zod": "^3.23.8" }, diff --git a/packages/shared/package.json b/packages/shared/package.json index b7bb47f6c..8b731ce9c 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -19,7 +19,7 @@ "@kit/prettier-config": "workspace:*", "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", - "@tanstack/react-table": "^8.17.3" + "@tanstack/react-table": "^8.19.1" }, "dependencies": { "pino": "^9.2.0" diff --git a/packages/supabase/package.json b/packages/supabase/package.json index 12e4af628..e3fc6e36c 100644 --- a/packages/supabase/package.json +++ b/packages/supabase/package.json @@ -28,8 +28,8 @@ "@kit/tsconfig": "workspace:*", "@supabase/gotrue-js": "2.64.3", "@supabase/ssr": "^0.4.0", - "@supabase/supabase-js": "^2.44.1", - "@tanstack/react-query": "5.48.0", + "@supabase/supabase-js": "^2.44.2", + "@tanstack/react-query": "5.49.2", "@types/react": "^18.3.3", "next": "14.2.4", "react": "18.3.1", diff --git a/packages/ui/package.json b/packages/ui/package.json index 9c8284a24..7b8491b71 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -27,11 +27,11 @@ "@radix-ui/react-switch": "^1.1.0", "@radix-ui/react-tabs": "^1.1.0", "@radix-ui/react-toast": "^1.2.1", - "@radix-ui/react-tooltip": "1.1.1", + "@radix-ui/react-tooltip": "1.1.2", "clsx": "^2.1.1", "cmdk": "1.0.0", "input-otp": "1.2.4", - "lucide-react": "^0.397.0", + "lucide-react": "^0.399.0", "react-top-loading-bar": "2.3.1", "tailwind-merge": "^2.3.0" }, @@ -41,8 +41,8 @@ "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", "@radix-ui/react-icons": "^1.3.0", - "@tanstack/react-query": "5.48.0", - "@tanstack/react-table": "^8.17.3", + "@tanstack/react-query": "5.49.2", + "@tanstack/react-table": "^8.19.1", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "class-variance-authority": "^0.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 532af0190..96b130ed5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,8 +16,8 @@ importers: specifier: ^0.21.4 version: 0.21.4 '@turbo/gen': - specifier: ^2.0.5 - version: 2.0.5(@types/node@20.14.9)(typescript@5.5.2) + specifier: ^2.0.6 + version: 2.0.6(@types/node@20.14.9)(typescript@5.5.2) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -28,8 +28,8 @@ importers: specifier: ^3.3.2 version: 3.3.2 turbo: - specifier: 2.0.5 - version: 2.0.5 + specifier: 2.0.6 + version: 2.0.6 typescript: specifier: ^5.5.2 version: 5.5.2 @@ -107,10 +107,10 @@ importers: version: link:../../packages/ui '@makerkit/data-loader-supabase-core': specifier: ^0.0.8 - version: 0.0.8(@supabase/postgrest-js@1.15.7)(@supabase/supabase-js@2.44.1) + version: 0.0.8(@supabase/postgrest-js@1.15.7)(@supabase/supabase-js@2.44.2) '@makerkit/data-loader-supabase-nextjs': specifier: ^1.2.3 - version: 1.2.3(@supabase/postgrest-js@1.15.7)(@supabase/supabase-js@2.44.1)(@tanstack/react-query@5.48.0(react@18.3.1))(next@14.2.4(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + version: 1.2.3(@supabase/postgrest-js@1.15.7)(@supabase/supabase-js@2.44.2)(@tanstack/react-query@5.49.2(react@18.3.1))(next@14.2.4(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@marsidev/react-turnstile': specifier: ^0.7.1 version: 0.7.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -118,23 +118,23 @@ importers: specifier: ^1.3.0 version: 1.3.0(react@18.3.1) '@supabase/supabase-js': - specifier: ^2.44.1 - version: 2.44.1 + specifier: ^2.44.2 + version: 2.44.2 '@tanstack/react-query': - specifier: 5.48.0 - version: 5.48.0(react@18.3.1) + specifier: 5.49.2 + version: 5.49.2(react@18.3.1) '@tanstack/react-query-next-experimental': - specifier: ^5.48.0 - version: 5.48.0(@tanstack/react-query@5.48.0(react@18.3.1))(next@14.2.4(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: ^5.49.2 + version: 5.49.2(@tanstack/react-query@5.49.2(react@18.3.1))(next@14.2.4(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@tanstack/react-table': - specifier: ^8.17.3 - version: 8.17.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^8.19.1 + version: 8.19.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) date-fns: specifier: ^3.6.0 version: 3.6.0 lucide-react: - specifier: ^0.397.0 - version: 0.397.0(react@18.3.1) + specifier: ^0.399.0 + version: 0.399.0(react@18.3.1) next: specifier: 14.2.4 version: 14.2.4(@babel/core@7.24.7)(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -278,8 +278,8 @@ importers: specifier: workspace:^ version: link:../../ui '@supabase/supabase-js': - specifier: ^2.44.1 - version: 2.44.1 + specifier: ^2.44.2 + version: 2.44.2 '@types/react': specifier: ^18.3.3 version: 18.3.3 @@ -287,8 +287,8 @@ importers: specifier: ^3.6.0 version: 3.6.0 lucide-react: - specifier: ^0.397.0 - version: 0.397.0(react@18.3.1) + specifier: ^0.399.0 + version: 0.399.0(react@18.3.1) next: specifier: 14.2.4 version: 14.2.4(@babel/core@7.24.7)(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -357,8 +357,8 @@ importers: specifier: ^4.0.0 version: 4.0.0 stripe: - specifier: ^16.0.0 - version: 16.0.0 + specifier: ^16.1.0 + version: 16.1.0 devDependencies: '@kit/billing': specifier: workspace:^ @@ -512,8 +512,8 @@ importers: specifier: workspace:* version: link:../../tooling/typescript '@supabase/supabase-js': - specifier: ^2.44.1 - version: 2.44.1 + specifier: ^2.44.2 + version: 2.44.2 zod: specifier: ^3.23.8 version: 3.23.8 @@ -589,11 +589,11 @@ importers: specifier: ^1.3.0 version: 1.3.0(react@18.3.1) '@supabase/supabase-js': - specifier: ^2.44.1 - version: 2.44.1 + specifier: ^2.44.2 + version: 2.44.2 '@tanstack/react-query': - specifier: 5.48.0 - version: 5.48.0(react@18.3.1) + specifier: 5.49.2 + version: 5.49.2(react@18.3.1) '@types/react': specifier: ^18.3.3 version: 18.3.3 @@ -601,8 +601,8 @@ importers: specifier: ^18.3.0 version: 18.3.0 lucide-react: - specifier: ^0.397.0 - version: 0.397.0(react@18.3.1) + specifier: ^0.399.0 + version: 0.399.0(react@18.3.1) next: specifier: 14.2.4 version: 14.2.4(@babel/core@7.24.7)(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -656,25 +656,25 @@ importers: version: link:../../ui '@makerkit/data-loader-supabase-core': specifier: ^0.0.8 - version: 0.0.8(@supabase/postgrest-js@1.15.7)(@supabase/supabase-js@2.44.1) + version: 0.0.8(@supabase/postgrest-js@1.15.7)(@supabase/supabase-js@2.44.2) '@makerkit/data-loader-supabase-nextjs': specifier: ^1.2.3 - version: 1.2.3(@supabase/postgrest-js@1.15.7)(@supabase/supabase-js@2.44.1)(@tanstack/react-query@5.48.0(react@18.3.1))(next@14.2.4(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + version: 1.2.3(@supabase/postgrest-js@1.15.7)(@supabase/supabase-js@2.44.2)(@tanstack/react-query@5.49.2(react@18.3.1))(next@14.2.4(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@supabase/supabase-js': - specifier: ^2.44.1 - version: 2.44.1 + specifier: ^2.44.2 + version: 2.44.2 '@tanstack/react-query': - specifier: 5.48.0 - version: 5.48.0(react@18.3.1) + specifier: 5.49.2 + version: 5.49.2(react@18.3.1) '@tanstack/react-table': - specifier: ^8.17.3 - version: 8.17.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^8.19.1 + version: 8.19.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@types/react': specifier: ^18.3.3 version: 18.3.3 lucide-react: - specifier: ^0.397.0 - version: 0.397.0(react@18.3.1) + specifier: ^0.399.0 + version: 0.399.0(react@18.3.1) next: specifier: 14.2.4 version: 14.2.4(@babel/core@7.24.7)(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -724,17 +724,17 @@ importers: specifier: ^1.3.0 version: 1.3.0(react@18.3.1) '@supabase/supabase-js': - specifier: ^2.44.1 - version: 2.44.1 + specifier: ^2.44.2 + version: 2.44.2 '@tanstack/react-query': - specifier: 5.48.0 - version: 5.48.0(react@18.3.1) + specifier: 5.49.2 + version: 5.49.2(react@18.3.1) '@types/react': specifier: ^18.3.3 version: 18.3.3 lucide-react: - specifier: ^0.397.0 - version: 0.397.0(react@18.3.1) + specifier: ^0.399.0 + version: 0.399.0(react@18.3.1) next: specifier: 14.2.4 version: 14.2.4(@babel/core@7.24.7)(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -772,17 +772,17 @@ importers: specifier: workspace:* version: link:../../ui '@supabase/supabase-js': - specifier: ^2.44.1 - version: 2.44.1 + specifier: ^2.44.2 + version: 2.44.2 '@tanstack/react-query': - specifier: 5.48.0 - version: 5.48.0(react@18.3.1) + specifier: 5.49.2 + version: 5.49.2(react@18.3.1) '@types/react': specifier: ^18.3.3 version: 18.3.3 lucide-react: - specifier: ^0.397.0 - version: 0.397.0(react@18.3.1) + specifier: ^0.399.0 + version: 0.399.0(react@18.3.1) react: specifier: 18.3.1 version: 18.3.1 @@ -842,14 +842,14 @@ importers: specifier: workspace:^ version: link:../../ui '@supabase/supabase-js': - specifier: ^2.44.1 - version: 2.44.1 + specifier: ^2.44.2 + version: 2.44.2 '@tanstack/react-query': - specifier: 5.48.0 - version: 5.48.0(react@18.3.1) + specifier: 5.49.2 + version: 5.49.2(react@18.3.1) '@tanstack/react-table': - specifier: ^8.17.3 - version: 8.17.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^8.19.1 + version: 8.19.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@types/react': specifier: ^18.3.3 version: 18.3.3 @@ -863,8 +863,8 @@ importers: specifier: ^3.6.0 version: 3.6.0 lucide-react: - specifier: ^0.397.0 - version: 0.397.0(react@18.3.1) + specifier: ^0.399.0 + version: 0.399.0(react@18.3.1) next: specifier: 14.2.4 version: 14.2.4(@babel/core@7.24.7)(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -915,8 +915,8 @@ importers: specifier: workspace:* version: link:../../tooling/typescript '@tanstack/react-query': - specifier: 5.48.0 - version: 5.48.0(react@18.3.1) + specifier: 5.49.2 + version: 5.49.2(react@18.3.1) react-i18next: specifier: ^14.1.2 version: 14.1.2(i18next@23.11.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -1038,7 +1038,7 @@ importers: dependencies: '@sentry/nextjs': specifier: ^8.13.0 - version: 8.13.0(@opentelemetry/api@1.9.0)(@opentelemetry/core@1.25.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.52.1(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.25.1(@opentelemetry/api@1.9.0))(@opentelemetry/semantic-conventions@1.25.1)(next@14.2.4(@babel/core@7.24.7)(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(webpack@5.92.1) + version: 8.13.0(@opentelemetry/api@1.9.0)(@opentelemetry/core@1.25.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.52.1(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.25.1(@opentelemetry/api@1.9.0))(@opentelemetry/semantic-conventions@1.25.1)(next@14.2.4(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(webpack@5.92.1) devDependencies: '@kit/eslint-config': specifier: workspace:* @@ -1086,8 +1086,8 @@ importers: specifier: workspace:* version: link:../../tooling/typescript '@supabase/supabase-js': - specifier: ^2.44.1 - version: 2.44.1 + specifier: ^2.44.2 + version: 2.44.2 next: specifier: 14.2.4 version: 14.2.4(@babel/core@7.24.7)(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -1114,8 +1114,8 @@ importers: specifier: workspace:* version: link:../../tooling/typescript '@tanstack/react-table': - specifier: ^8.17.3 - version: 8.17.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^8.19.1 + version: 8.19.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) packages/supabase: devDependencies: @@ -1136,13 +1136,13 @@ importers: version: 2.64.3 '@supabase/ssr': specifier: ^0.4.0 - version: 0.4.0(@supabase/supabase-js@2.44.1) + version: 0.4.0(@supabase/supabase-js@2.44.2) '@supabase/supabase-js': - specifier: ^2.44.1 - version: 2.44.1 + specifier: ^2.44.2 + version: 2.44.2 '@tanstack/react-query': - specifier: 5.48.0 - version: 5.48.0(react@18.3.1) + specifier: 5.49.2 + version: 5.49.2(react@18.3.1) '@types/react': specifier: ^18.3.3 version: 18.3.3 @@ -1216,8 +1216,8 @@ importers: specifier: ^1.2.1 version: 1.2.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@radix-ui/react-tooltip': - specifier: 1.1.1 - version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 1.1.2 + version: 1.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) clsx: specifier: ^2.1.1 version: 2.1.1 @@ -1228,8 +1228,8 @@ importers: specifier: 1.2.4 version: 1.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) lucide-react: - specifier: ^0.397.0 - version: 0.397.0(react@18.3.1) + specifier: ^0.399.0 + version: 0.399.0(react@18.3.1) react-top-loading-bar: specifier: 2.3.1 version: 2.3.1(react@18.3.1) @@ -1253,11 +1253,11 @@ importers: specifier: ^1.3.0 version: 1.3.0(react@18.3.1) '@tanstack/react-query': - specifier: 5.48.0 - version: 5.48.0(react@18.3.1) + specifier: 5.49.2 + version: 5.49.2(react@18.3.1) '@tanstack/react-table': - specifier: ^8.17.3 - version: 8.17.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^8.19.1 + version: 8.19.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@types/react': specifier: ^18.3.3 version: 18.3.3 @@ -1379,13 +1379,13 @@ importers: dependencies: autoprefixer: specifier: ^10.4.19 - version: 10.4.19(postcss@8.4.38) + version: 10.4.19(postcss@8.4.39) next: specifier: 14.2.4 version: 14.2.4(@babel/core@7.24.7)(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) postcss: - specifier: 8.4.38 - version: 8.4.38 + specifier: 8.4.39 + version: 8.4.39 tailwindcss: specifier: 3.4.4 version: 3.4.4(ts-node@10.9.2(@types/node@20.14.9)(typescript@5.5.2)) @@ -1622,15 +1622,27 @@ packages: '@floating-ui/core@1.6.2': resolution: {integrity: sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg==} + '@floating-ui/core@1.6.4': + resolution: {integrity: sha512-a4IowK4QkXl4SCWTGUR0INAfEOX3wtsYw3rKK5InQEHMGObkR8Xk44qYQD9P4r6HHw0iIfK6GUKECmY8sTkqRA==} + '@floating-ui/dom@1.6.5': resolution: {integrity: sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw==} + '@floating-ui/dom@1.6.7': + resolution: {integrity: sha512-wmVfPG5o2xnKDU4jx/m4w5qva9FWHcnZ8BvzEe90D/RpwsJaTAVYPEPdQ8sbr/N8zZTAHlZUTQdqg8ZUbzHmng==} + '@floating-ui/react-dom@2.1.0': resolution: {integrity: sha512-lNzj5EQmEKn5FFKc04+zasr09h/uX8RtJRNj5gUXsSQIXHVWTVh+hVAg1vOMCexkX8EgvemMvIFpQfkosnVNyA==} peerDependencies: react: 18.3.1 react-dom: 18.3.1 + '@floating-ui/react-dom@2.1.1': + resolution: {integrity: sha512-4h84MJt3CHrtG18mGsXuLCHMrug49d7DFkU0RMIyshRveBeyV2hmV/pDaF2Uxtu8kgq5r46llp5E5FQiR0K2Yg==} + peerDependencies: + react: 18.3.1 + react-dom: 18.3.1 + '@floating-ui/react@0.24.8': resolution: {integrity: sha512-AuYeDoaR8jtUlUXtZ1IJ/6jtBkGnSpJXbGNzokBL87VDJ8opMq1Bgrc0szhK482ReQY6KZsMoZCVSb4xwalkBA==} peerDependencies: @@ -1640,6 +1652,9 @@ packages: '@floating-ui/utils@0.2.2': resolution: {integrity: sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==} + '@floating-ui/utils@0.2.4': + resolution: {integrity: sha512-dWO2pw8hhi+WrXq1YJy2yCuWoL20PddgGaqTgVe4cOS9Q6qklXCiA1tJEqX6BEwRNSCP84/afac9hd4MS+zEUA==} + '@formatjs/ecma402-abstract@2.0.0': resolution: {integrity: sha512-rRqXOqdFmk7RYvj4khklyqzcfQl9vEL/usogncBHRZfZBDOwMGuSRNFl02fu5KGHXdbinju+YXyuR+Nk8xlr/g==} @@ -2836,8 +2851,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-tooltip@1.1.1': - resolution: {integrity: sha512-LLE8nzNE4MzPMw3O2zlVlkLFid3y9hMUs7uCbSHyKSo+tCN4yMCf+ZCCcfrYgsOC0TiHBPQ1mtpJ2liY3ZT3SQ==} + '@radix-ui/react-tooltip@1.1.2': + resolution: {integrity: sha512-9XRsLwe6Yb9B/tlnYCPVUd/TFS4J7HuOZW345DCeC6vKIxQGMZdx21RK4VoZauPD5frgkXTYVS5y90L+3YBn4w==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -3767,8 +3782,8 @@ packages: '@supabase/postgrest-js@1.15.7': resolution: {integrity: sha512-TJztay5lcnnKuXjIO/X/aaajOsP8qNeW0k3MqIFoOtRolj5MEAIy8rixNakRk3o23eVCdsuP3iMLYPvOOruH6Q==} - '@supabase/realtime-js@2.10.1': - resolution: {integrity: sha512-SrrXxE8xgwWvjREQMkC9LIHIoCQde+OqkFPKP2s/O0ROjhmJ/iXeLvoWhAzXh9gwire4oaK14/ncL/iRiaVWQw==} + '@supabase/realtime-js@2.10.2': + resolution: {integrity: sha512-qyCQaNg90HmJstsvr2aJNxK2zgoKh9ZZA8oqb7UT2LCh3mj9zpa3Iwu167AuyNxsxrUE8eEJ2yH6wLCij4EApA==} '@supabase/ssr@0.4.0': resolution: {integrity: sha512-6WS3NUvHDhCPAFN2kJ79AQDO8+M9fJ7y2fYpxgZqIuJEpnnGsHDNnB5Xnv8CiaJIuRU+0pKboy62RVZBMfZ0Lg==} @@ -3778,8 +3793,8 @@ packages: '@supabase/storage-js@2.6.0': resolution: {integrity: sha512-REAxr7myf+3utMkI2oOmZ6sdplMZZ71/2NEIEMBZHL9Fkmm3/JnaOZVSRqvG4LStYj2v5WhCruCzuMn6oD/Drw==} - '@supabase/supabase-js@2.44.1': - resolution: {integrity: sha512-4vCOkefRoeacmMELIWlYPwsfd9y/stH4fCZ4GZZjiOCHeViIrZ8artdj61MwkjQKFuF1uZ87gCKjtMDKLJsDlA==} + '@supabase/supabase-js@2.44.2': + resolution: {integrity: sha512-fouCwL1OxqftOwLNgdDUPlNnFuCnt30nS4kLcnTpe6NYKn1PmjxRRBFmKscgHs6FjWyU+32ZG4uBJ29+/BWiDw==} '@swc/counter@0.1.3': resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} @@ -3794,30 +3809,30 @@ packages: resolution: {integrity: sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==} engines: {node: '>=14.16'} - '@tanstack/query-core@5.48.0': - resolution: {integrity: sha512-lZAfPPeVIqXCswE9SSbG33B6/91XOWt/Iq41bFeWb/mnHwQSIfFRbkS4bfs+WhIk9abRArF9Id2fp0Mgo+hq6Q==} + '@tanstack/query-core@5.49.1': + resolution: {integrity: sha512-JnC9ndmD1KKS01Rt/ovRUB1tmwO7zkyXAyIxN9mznuJrcNtOrkmOnQqdJF2ib9oHzc2VxHomnEG7xyfo54Npkw==} - '@tanstack/react-query-next-experimental@5.48.0': - resolution: {integrity: sha512-+t41XBiPMtwa+xEfsNuVCxPCQQh4vnZ4Xzd6NtDaqWMsWSeR6hN6mTtMvJb2KFzBs8gZghB8yebLRE4msYnF1A==} + '@tanstack/react-query-next-experimental@5.49.2': + resolution: {integrity: sha512-GgGQa81VDT8XPuU0geAOP6oFQCt2OcV5aP3c8RJW6yNSM9ZrdBgJzgJHxDFkwJPlLKqvhNujDWM9dkz5Vcj84g==} peerDependencies: - '@tanstack/react-query': ^5.48.0 + '@tanstack/react-query': ^5.49.2 next: ^13 || ^14 || ^15 react: 18.3.1 - '@tanstack/react-query@5.48.0': - resolution: {integrity: sha512-GDExbjYWzvDokyRqMSWXdrPiYpp95Aig0oeMIrxTaruOJJgWiWfUP//OAaowm2RrRkGVsavSZdko/XmIrrV2Nw==} + '@tanstack/react-query@5.49.2': + resolution: {integrity: sha512-6rfwXDK9BvmHISbNFuGd+wY3P44lyW7lWiA9vIFGT/T0P9aHD1VkjTvcM4SDAIbAQ9ygEZZoLt7dlU1o3NjMVA==} peerDependencies: react: 18.3.1 - '@tanstack/react-table@8.17.3': - resolution: {integrity: sha512-5gwg5SvPD3lNAXPuJJz1fOCEZYk9/GeBFH3w/hCgnfyszOIzwkwgp5I7Q4MJtn0WECp84b5STQUDdmvGi8m3nA==} + '@tanstack/react-table@8.19.1': + resolution: {integrity: sha512-2jWJ2mhaXtBZ2h4k6azADFFrAPOGHw/fy/obIXwfCMFf63BKW/tHLp87oWDotFN/aKUo5Vj2cGBDRXfwTgiYPg==} engines: {node: '>=12'} peerDependencies: react: 18.3.1 react-dom: 18.3.1 - '@tanstack/table-core@8.17.3': - resolution: {integrity: sha512-mPBodDGVL+fl6d90wUREepHa/7lhsghg2A3vFpakEhrhtbIlgNAZiMr7ccTgak5qbHqF14Fwy+W1yFWQt+WmYQ==} + '@tanstack/table-core@8.19.1': + resolution: {integrity: sha512-HePba/tRC6MCSHi8o9LktxpOfkV8u2hjGHllHNl5E6+/8mgtSuOSRr5VempH33qsYeIfgk42SiiayP777LZ9kQ==} engines: {node: '>=12'} '@toeverything/y-indexeddb@0.10.0-canary.9': @@ -3857,12 +3872,12 @@ packages: '@tsconfig/node16@1.0.4': resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} - '@turbo/gen@2.0.5': - resolution: {integrity: sha512-bLLYHI/SCA2g0j3ANzzMGKAA4RepqugcgNalCbcF/DQVJhWFGN9ug8h0IC8EQZxvV7LYWSmZPqL0tj80WG6Ajw==} + '@turbo/gen@2.0.6': + resolution: {integrity: sha512-Epv3tt40mrNCzL6XKELdHvM1KSYvY7bg4uRZAjS0SuYYY5E0gGjpeZPqqUNZl7fwmTHZLEZH5qqoKxbGWZsKXQ==} hasBin: true - '@turbo/workspaces@2.0.5': - resolution: {integrity: sha512-rYJsnIVbo2QWSd23WcrABagWPtm96uVsoXQzpK0ObtH/i4TYeL7vhxF4D1rH2NFvbGpOww+VdDP7i4J1Nt6KzA==} + '@turbo/workspaces@2.0.6': + resolution: {integrity: sha512-WMX8OZLgUAZZMzyVfEk7s3/cs0uoOWpJ9y8sGSLlbDdc0Wdhoa88B2967xiMI8dPtWHg4mpEUduyYy2Lzmaofg==} hasBin: true '@types/accepts@1.3.7': @@ -5446,6 +5461,10 @@ packages: resolution: {integrity: sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==} engines: {node: '>= 14'} + https-proxy-agent@7.0.5: + resolution: {integrity: sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==} + engines: {node: '>= 14'} + human-signals@2.1.0: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} @@ -5892,8 +5911,8 @@ packages: resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} engines: {node: '>=12'} - lucide-react@0.397.0: - resolution: {integrity: sha512-rUcbRY5jFP/4za/OJvaRUUmdPsPb940Tw9zE1ehrRZmr9JnkDcW8OV3POR3XfEAAMDkssiTc5IWBFv8Y//pkDQ==} + lucide-react@0.399.0: + resolution: {integrity: sha512-UyTNa3djBISdzL2UktgCrESXexQXaDQWi/WsDkbw6fBFfHlapajR58WoR+gxQ4laxfEyiHmoFrEIM3V+5XOVQg==} peerDependencies: react: 18.3.1 @@ -6119,6 +6138,10 @@ packages: resolution: {integrity: sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==} engines: {node: '>=16 || 14 >=14.17'} + minimatch@9.0.5: + resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} + engines: {node: '>=16 || 14 >=14.17'} + minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} @@ -6380,8 +6403,8 @@ packages: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} - pac-proxy-agent@7.0.1: - resolution: {integrity: sha512-ASV8yU4LLKBAjqIPMbrgtaKIvxQri/yh2OpI+S6hVa9JRkUI3Y3NPFbfngDtY7oFtSMD3w31Xns89mDa3Feo5A==} + pac-proxy-agent@7.0.2: + resolution: {integrity: sha512-BFi3vZnO9X5Qt6NRz7ZOaPja3ic0PhlsmCRYLOpN11+mWBCR6XJDqW5RF3j8jm4WGGQZtBA+bTfxYzeKW73eHg==} engines: {node: '>= 14'} pac-resolver@7.0.1: @@ -6556,6 +6579,10 @@ packages: resolution: {integrity: sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==} engines: {node: ^10 || ^12 || >=14} + postcss@8.4.39: + resolution: {integrity: sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==} + engines: {node: ^10 || ^12 || >=14} + postgres-array@2.0.0: resolution: {integrity: sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==} engines: {node: '>=4'} @@ -7086,8 +7113,8 @@ packages: snake-case@2.1.0: resolution: {integrity: sha512-FMR5YoPFwOLuh4rRz92dywJjyKYZNLpMn1R5ujVpIYkbA9p01fq8RMg0FkO4M+Yobt4MjHeLTJVm5xFFBHSV2Q==} - socks-proxy-agent@8.0.3: - resolution: {integrity: sha512-VNegTZKhuGq5vSD6XNKlbqWhyt/40CgoEw8XxD6dhnm8Jq9IEa3nIa4HwnM8XOqU0CdB0BwWVXusqiFXfHB3+A==} + socks-proxy-agent@8.0.4: + resolution: {integrity: sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==} engines: {node: '>= 14'} socks@2.8.3: @@ -7192,8 +7219,8 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} - stripe@16.0.0: - resolution: {integrity: sha512-HNPTzXrSompUxeGqDpbNmPvH/UEzziIxGWvTDTZwIBLlL6CFqR+3YLpV+g4HXOsPKbQRguauptQwVWO7Y/yEGg==} + stripe@16.1.0: + resolution: {integrity: sha512-syeEEd112om/waJ5gOQ+SaYi+setuidQ4ZIPiQREF4yJeegXhn2HKy6C0JYm7uhVQKfMAvuZ22dIRsnoDv7AMw==} engines: {node: '>=12.*'} styled-jsx@5.1.1: @@ -7381,38 +7408,38 @@ packages: tslib@2.6.3: resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} - turbo-darwin-64@2.0.5: - resolution: {integrity: sha512-t/9XpWYIjOhIHUdwiR47SYBGYHkR1zWLxTkTNKZwCSn8BN0cfjPZ1BR6kcwYGxLGBhtl5GBf6A29nq2K7iwAjg==} + turbo-darwin-64@2.0.6: + resolution: {integrity: sha512-XpgBwWj3Ggmz/gQVqXdMKXHC1iFPMDiuwugLwSzE7Ih0O13JuNtYZKhQnopvbDQnFQCeRq2Vsm5OTWabg/oB/g==} cpu: [x64] os: [darwin] - turbo-darwin-arm64@2.0.5: - resolution: {integrity: sha512-//5y4RJvnal8CttOLBwlaBqblcQb1qTlIxLN+I8O3E3rPuvHOupNKB9ZJxYIQ8oWf8ns8Ec8cxQ0GSBLTJIMtA==} + turbo-darwin-arm64@2.0.6: + resolution: {integrity: sha512-RfeZYXIAkiA21E8lsvfptGTqz/256YD+eI1x37fedfvnHFWuIMFZGAOwJxtZc6QasQunDZ9TRRREbJNI68tkIw==} cpu: [arm64] os: [darwin] - turbo-linux-64@2.0.5: - resolution: {integrity: sha512-LDtEDU2Gm8p3lKu//aHXZFRKUCVu68BNF9LQ+HmiCKFpNyK7khpMTxIAAUhDqt+AzlrbxtrxcCpCJaWg1JDjHg==} + turbo-linux-64@2.0.6: + resolution: {integrity: sha512-92UDa0xNQQbx0HdSp9ag3YSS3xPdavhc7q9q9mxIAcqyjjD6VElA4Y85m4F/DDGE5SolCrvBz2sQhVmkOd6Caw==} cpu: [x64] os: [linux] - turbo-linux-arm64@2.0.5: - resolution: {integrity: sha512-84wdrzntErBNxkHcwHxiTZdaginQAxGPnwLTyZj8lpUYI7okPoxy3jKpUeMHN3adm3iDedl/x0mYSIvVVkmOiA==} + turbo-linux-arm64@2.0.6: + resolution: {integrity: sha512-eQKu6utCVUkIH2kqOzD8OS6E0ba6COjWm6PRDTNCHQRljZW503ycaTUIdMOiJrVg1MkEjDyOReUg8s8D18aJ4Q==} cpu: [arm64] os: [linux] - turbo-windows-64@2.0.5: - resolution: {integrity: sha512-SgaFZ0VW6kHCJogLNuLEleAauAJx2Y48wazZGVRmBpgSUS2AylXesaBMhJaEScYqLz7mIRn6KOgwM8D4wTxI9g==} + turbo-windows-64@2.0.6: + resolution: {integrity: sha512-+9u4EPrpoeHYCQ46dRcou9kbkSoelhOelHNcbs2d86D6ruYD/oIAHK9qgYK8LeARRz0jxhZIA/dWYdYsxJJWkw==} cpu: [x64] os: [win32] - turbo-windows-arm64@2.0.5: - resolution: {integrity: sha512-foUxLOZoru0IRNIxm53fkfM4ubas9P0nTFjIcHtd+E8YHeogt8GqTweNre2e6ri1EHDo71emmuQgpuoFCOXZMg==} + turbo-windows-arm64@2.0.6: + resolution: {integrity: sha512-rdrKL+p+EjtdDVg0wQ/7yTbzkIYrnb0Pw4IKcjsy3M0RqUM9UcEi67b94XOAyTa5a0GqJL1+tUj2ebsFGPgZbg==} cpu: [arm64] os: [win32] - turbo@2.0.5: - resolution: {integrity: sha512-+6+hcWr4nwuESlKqUc626HMOTd3QT8hUOc9QM45PP1d4nErGkNOgExm4Pcov3in7LTuadMnB0gcd/BuzkEDIPw==} + turbo@2.0.6: + resolution: {integrity: sha512-/Ftmxd5Mq//a9yMonvmwENNUN65jOVTwhhBPQjEtNZutYT9YKyzydFGLyVM1nzhpLWahQSMamRc/RDBv5EapzA==} hasBin: true type-check@0.4.0: @@ -8079,17 +8106,32 @@ snapshots: dependencies: '@floating-ui/utils': 0.2.2 + '@floating-ui/core@1.6.4': + dependencies: + '@floating-ui/utils': 0.2.4 + '@floating-ui/dom@1.6.5': dependencies: '@floating-ui/core': 1.6.2 '@floating-ui/utils': 0.2.2 + '@floating-ui/dom@1.6.7': + dependencies: + '@floating-ui/core': 1.6.4 + '@floating-ui/utils': 0.2.4 + '@floating-ui/react-dom@2.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@floating-ui/dom': 1.6.5 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + '@floating-ui/react-dom@2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@floating-ui/dom': 1.6.7 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + '@floating-ui/react@0.24.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@floating-ui/react-dom': 2.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -8100,6 +8142,8 @@ snapshots: '@floating-ui/utils@0.2.2': {} + '@floating-ui/utils@0.2.4': {} + '@formatjs/ecma402-abstract@2.0.0': dependencies: '@formatjs/intl-localematcher': 0.5.4 @@ -8417,17 +8461,17 @@ snapshots: '@lemonsqueezy/lemonsqueezy.js@3.2.0': {} - '@makerkit/data-loader-supabase-core@0.0.8(@supabase/postgrest-js@1.15.7)(@supabase/supabase-js@2.44.1)': + '@makerkit/data-loader-supabase-core@0.0.8(@supabase/postgrest-js@1.15.7)(@supabase/supabase-js@2.44.2)': dependencies: '@supabase/postgrest-js': 1.15.7 - '@supabase/supabase-js': 2.44.1 + '@supabase/supabase-js': 2.44.2 ts-case-convert: 2.0.7 - '@makerkit/data-loader-supabase-nextjs@1.2.3(@supabase/postgrest-js@1.15.7)(@supabase/supabase-js@2.44.1)(@tanstack/react-query@5.48.0(react@18.3.1))(next@14.2.4(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': + '@makerkit/data-loader-supabase-nextjs@1.2.3(@supabase/postgrest-js@1.15.7)(@supabase/supabase-js@2.44.2)(@tanstack/react-query@5.49.2(react@18.3.1))(next@14.2.4(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': dependencies: - '@makerkit/data-loader-supabase-core': 0.0.8(@supabase/postgrest-js@1.15.7)(@supabase/supabase-js@2.44.1) - '@supabase/supabase-js': 2.44.1 - '@tanstack/react-query': 5.48.0(react@18.3.1) + '@makerkit/data-loader-supabase-core': 0.0.8(@supabase/postgrest-js@1.15.7)(@supabase/supabase-js@2.44.2) + '@supabase/supabase-js': 2.44.2 + '@tanstack/react-query': 5.49.2(react@18.3.1) next: 14.2.4(@babel/core@7.24.7)(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 transitivePeerDependencies: @@ -9373,7 +9417,7 @@ snapshots: '@radix-ui/react-popper@1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@floating-ui/react-dom': 2.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@floating-ui/react-dom': 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@radix-ui/react-arrow': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.3)(react@18.3.1) '@radix-ui/react-context': 1.1.0(@types/react@18.3.3)(react@18.3.1) @@ -9605,7 +9649,7 @@ snapshots: '@types/react': 18.3.3 '@types/react-dom': 18.3.0 - '@radix-ui/react-tooltip@1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-tooltip@1.1.2(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.3)(react@18.3.1) @@ -10825,7 +10869,7 @@ snapshots: '@sentry/types': 8.13.0 '@sentry/utils': 8.13.0 - '@sentry/nextjs@8.13.0(@opentelemetry/api@1.9.0)(@opentelemetry/core@1.25.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.52.1(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.25.1(@opentelemetry/api@1.9.0))(@opentelemetry/semantic-conventions@1.25.1)(next@14.2.4(@babel/core@7.24.7)(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(webpack@5.92.1)': + '@sentry/nextjs@8.13.0(@opentelemetry/api@1.9.0)(@opentelemetry/core@1.25.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.52.1(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.25.1(@opentelemetry/api@1.9.0))(@opentelemetry/semantic-conventions@1.25.1)(next@14.2.4(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(webpack@5.92.1)': dependencies: '@opentelemetry/instrumentation-http': 0.52.1(@opentelemetry/api@1.9.0) '@rollup/plugin-commonjs': 26.0.1(rollup@3.29.4) @@ -10971,7 +11015,7 @@ snapshots: dependencies: '@supabase/node-fetch': 2.6.15 - '@supabase/realtime-js@2.10.1': + '@supabase/realtime-js@2.10.2': dependencies: '@supabase/node-fetch': 2.6.15 '@types/phoenix': 1.6.5 @@ -10981,9 +11025,9 @@ snapshots: - bufferutil - utf-8-validate - '@supabase/ssr@0.4.0(@supabase/supabase-js@2.44.1)': + '@supabase/ssr@0.4.0(@supabase/supabase-js@2.44.2)': dependencies: - '@supabase/supabase-js': 2.44.1 + '@supabase/supabase-js': 2.44.2 cookie: 0.6.0 optionalDependencies: '@rollup/rollup-linux-x64-gnu': 4.18.0 @@ -10992,13 +11036,13 @@ snapshots: dependencies: '@supabase/node-fetch': 2.6.15 - '@supabase/supabase-js@2.44.1': + '@supabase/supabase-js@2.44.2': dependencies: '@supabase/auth-js': 2.64.2 '@supabase/functions-js': 2.4.1 '@supabase/node-fetch': 2.6.15 '@supabase/postgrest-js': 1.15.7 - '@supabase/realtime-js': 2.10.1 + '@supabase/realtime-js': 2.10.2 '@supabase/storage-js': 2.6.0 transitivePeerDependencies: - bufferutil @@ -11019,26 +11063,26 @@ snapshots: dependencies: defer-to-connect: 2.0.1 - '@tanstack/query-core@5.48.0': {} + '@tanstack/query-core@5.49.1': {} - '@tanstack/react-query-next-experimental@5.48.0(@tanstack/react-query@5.48.0(react@18.3.1))(next@14.2.4(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': + '@tanstack/react-query-next-experimental@5.49.2(@tanstack/react-query@5.49.2(react@18.3.1))(next@14.2.4(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': dependencies: - '@tanstack/react-query': 5.48.0(react@18.3.1) + '@tanstack/react-query': 5.49.2(react@18.3.1) next: 14.2.4(@babel/core@7.24.7)(@opentelemetry/api@1.9.0)(@playwright/test@1.45.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 - '@tanstack/react-query@5.48.0(react@18.3.1)': + '@tanstack/react-query@5.49.2(react@18.3.1)': dependencies: - '@tanstack/query-core': 5.48.0 + '@tanstack/query-core': 5.49.1 react: 18.3.1 - '@tanstack/react-table@8.17.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tanstack/react-table@8.19.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@tanstack/table-core': 8.17.3 + '@tanstack/table-core': 8.19.1 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@tanstack/table-core@8.17.3': {} + '@tanstack/table-core@8.19.1': {} '@toeverything/y-indexeddb@0.10.0-canary.9(yjs@13.6.18)': dependencies: @@ -11077,14 +11121,14 @@ snapshots: '@tsconfig/node16@1.0.4': {} - '@turbo/gen@2.0.5(@types/node@20.14.9)(typescript@5.5.2)': + '@turbo/gen@2.0.6(@types/node@20.14.9)(typescript@5.5.2)': dependencies: - '@turbo/workspaces': 2.0.5 + '@turbo/workspaces': 2.0.6 chalk: 2.4.2 commander: 10.0.1 fs-extra: 10.1.0 inquirer: 8.2.6 - minimatch: 9.0.4 + minimatch: 9.0.5 node-plop: 0.26.3 proxy-agent: 6.4.0 ts-node: 10.9.2(@types/node@20.14.9)(typescript@5.5.2) @@ -11097,7 +11141,7 @@ snapshots: - supports-color - typescript - '@turbo/workspaces@2.0.5': + '@turbo/workspaces@2.0.6': dependencies: chalk: 2.4.2 commander: 10.0.1 @@ -11205,7 +11249,7 @@ snapshots: '@types/glob@7.2.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 20.14.8 + '@types/node': 20.14.9 '@types/hast@3.0.4': dependencies: @@ -11343,7 +11387,7 @@ snapshots: '@types/through@0.0.33': dependencies: - '@types/node': 20.14.8 + '@types/node': 20.14.9 '@types/tinycolor2@1.4.6': {} @@ -11739,6 +11783,16 @@ snapshots: postcss: 8.4.38 postcss-value-parser: 4.2.0 + autoprefixer@10.4.19(postcss@8.4.39): + dependencies: + browserslist: 4.23.0 + caniuse-lite: 1.0.30001629 + fraction.js: 4.3.7 + normalize-range: 0.1.2 + picocolors: 1.0.1 + postcss: 8.4.39 + postcss-value-parser: 4.2.0 + available-typed-arrays@1.0.7: dependencies: possible-typed-array-names: 1.0.0 @@ -12971,6 +13025,13 @@ snapshots: transitivePeerDependencies: - supports-color + https-proxy-agent@7.0.5: + dependencies: + agent-base: 7.1.1 + debug: 4.3.5 + transitivePeerDependencies: + - supports-color + human-signals@2.1.0: {} i18next-browser-languagedetector@8.0.0: @@ -13414,7 +13475,7 @@ snapshots: lru-cache@7.18.3: {} - lucide-react@0.397.0(react@18.3.1): + lucide-react@0.399.0(react@18.3.1): dependencies: react: 18.3.1 @@ -13894,6 +13955,10 @@ snapshots: dependencies: brace-expansion: 2.0.1 + minimatch@9.0.5: + dependencies: + brace-expansion: 2.0.1 + minimist@1.2.8: {} minipass@4.2.8: {} @@ -14163,16 +14228,16 @@ snapshots: p-try@2.2.0: {} - pac-proxy-agent@7.0.1: + pac-proxy-agent@7.0.2: dependencies: '@tootallnate/quickjs-emscripten': 0.23.0 agent-base: 7.1.1 debug: 4.3.5 get-uri: 6.0.3 http-proxy-agent: 7.0.2 - https-proxy-agent: 7.0.4 + https-proxy-agent: 7.0.5 pac-resolver: 7.0.1 - socks-proxy-agent: 8.0.3 + socks-proxy-agent: 8.0.4 transitivePeerDependencies: - supports-color @@ -14360,6 +14425,12 @@ snapshots: picocolors: 1.0.1 source-map-js: 1.2.0 + postcss@8.4.39: + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.1 + source-map-js: 1.2.0 + postgres-array@2.0.0: {} postgres-bytea@1.0.0: {} @@ -14471,11 +14542,11 @@ snapshots: agent-base: 7.1.1 debug: 4.3.5 http-proxy-agent: 7.0.2 - https-proxy-agent: 7.0.4 + https-proxy-agent: 7.0.5 lru-cache: 7.18.3 - pac-proxy-agent: 7.0.1 + pac-proxy-agent: 7.0.2 proxy-from-env: 1.1.0 - socks-proxy-agent: 8.0.3 + socks-proxy-agent: 8.0.4 transitivePeerDependencies: - supports-color @@ -14908,7 +14979,7 @@ snapshots: dependencies: no-case: 2.3.2 - socks-proxy-agent@8.0.3: + socks-proxy-agent@8.0.4: dependencies: agent-base: 7.1.1 debug: 4.3.5 @@ -15029,9 +15100,9 @@ snapshots: strip-json-comments@3.1.1: {} - stripe@16.0.0: + stripe@16.1.0: dependencies: - '@types/node': 20.14.8 + '@types/node': 20.14.9 qs: 6.12.1 styled-jsx@5.1.1(@babel/core@7.24.7)(react@18.3.1): @@ -15283,32 +15354,32 @@ snapshots: tslib@2.6.3: {} - turbo-darwin-64@2.0.5: + turbo-darwin-64@2.0.6: optional: true - turbo-darwin-arm64@2.0.5: + turbo-darwin-arm64@2.0.6: optional: true - turbo-linux-64@2.0.5: + turbo-linux-64@2.0.6: optional: true - turbo-linux-arm64@2.0.5: + turbo-linux-arm64@2.0.6: optional: true - turbo-windows-64@2.0.5: + turbo-windows-64@2.0.6: optional: true - turbo-windows-arm64@2.0.5: + turbo-windows-arm64@2.0.6: optional: true - turbo@2.0.5: + turbo@2.0.6: optionalDependencies: - turbo-darwin-64: 2.0.5 - turbo-darwin-arm64: 2.0.5 - turbo-linux-64: 2.0.5 - turbo-linux-arm64: 2.0.5 - turbo-windows-64: 2.0.5 - turbo-windows-arm64: 2.0.5 + turbo-darwin-64: 2.0.6 + turbo-darwin-arm64: 2.0.6 + turbo-linux-64: 2.0.6 + turbo-linux-arm64: 2.0.6 + turbo-windows-64: 2.0.6 + turbo-windows-arm64: 2.0.6 type-check@0.4.0: dependencies: diff --git a/tooling/tailwind/index.ts b/tooling/tailwind/index.ts index c3d41ff75..7bbf8850a 100644 --- a/tooling/tailwind/index.ts +++ b/tooling/tailwind/index.ts @@ -5,7 +5,7 @@ import { fontFamily } from 'tailwindcss/defaultTheme'; export default { darkMode: ['class'], content: [ - '../../packages/**/*.tsx', + '../../packages/**/src/**/*.tsx', '../../apps/**/*.tsx', '!../../packages/**/node_modules', '!../../apps/**/node_modules', diff --git a/tooling/tailwind/package.json b/tooling/tailwind/package.json index 7ac05e58b..8e19863fb 100644 --- a/tooling/tailwind/package.json +++ b/tooling/tailwind/package.json @@ -16,7 +16,7 @@ "dependencies": { "autoprefixer": "^10.4.19", "next": "14.2.4", - "postcss": "8.4.38", + "postcss": "8.4.39", "tailwindcss": "3.4.4", "tailwindcss-animate": "^1.0.7" },