From 2ff08a971d92fa4febde7c428ce1142d282d20d6 Mon Sep 17 00:00:00 2001 From: giancarlo Date: Tue, 30 Apr 2024 13:16:51 +0700 Subject: [PATCH] Update Zod package, improve code formatting, and add awaiting indicators This commit includes three main changes. First, it updates the Zod library from version 3.23.4 to 3.23.5 across all relevant packages. Second, code readability has been enhanced by formatting modifications in several TypeScript files. Lastly, the user feedback on certain operations such as creating a team or charging for a payment is strengthened, by displaying an awaiting indicator until the operation is complete. --- apps/e2e/package.json | 2 +- apps/e2e/tests/invitations/invitations.po.ts | 69 ++++++++----- .../e2e/tests/invitations/invitations.spec.ts | 10 +- .../tests/team-accounts/team-accounts.po.ts | 62 ++++++++---- .../tests/team-accounts/team-accounts.spec.ts | 16 ++- .../e2e/tests/team-billing/team-billing.po.ts | 7 +- .../tests/team-billing/team-billing.spec.ts | 5 +- .../tests/user-billing/user-billing.spec.ts | 2 +- apps/e2e/tests/utils/billing.po.ts | 13 +-- apps/web/package.json | 4 +- apps/web/public/locales/en/billing.json | 2 +- apps/web/public/locales/en/teams.json | 1 + packages/billing/core/package.json | 2 +- packages/billing/gateway/package.json | 2 +- .../gateway/src/components/plan-picker.tsx | 2 +- packages/billing/lemon-squeezy/package.json | 2 +- packages/billing/stripe/package.json | 2 +- packages/cms/keystatic/package.json | 2 +- packages/database-webhooks/package.json | 2 +- packages/features/accounts/package.json | 2 +- packages/features/admin/package.json | 2 +- packages/features/auth/package.json | 2 +- packages/features/team-accounts/package.json | 2 +- .../components/create-team-account-dialog.tsx | 8 +- .../create-team-account-server-actions.ts | 4 +- packages/mailers/package.json | 2 +- packages/monitoring/baselime/package.json | 2 +- packages/next/package.json | 2 +- packages/supabase/package.json | 2 +- packages/ui/package.json | 2 +- pnpm-lock.yaml | 98 +++++++++---------- tooling/eslint/package.json | 2 +- tooling/prettier/package.json | 2 +- tooling/tailwind/package.json | 2 +- tooling/typescript/package.json | 2 +- 35 files changed, 199 insertions(+), 144 deletions(-) diff --git a/apps/e2e/package.json b/apps/e2e/package.json index 63c80fe3f..4a05ba427 100644 --- a/apps/e2e/package.json +++ b/apps/e2e/package.json @@ -20,6 +20,6 @@ "@tanstack/react-table": "^8.16.0", "next": "14.2.3", "tailwind-merge": "^2.3.0", - "zod": "^3.23.4" + "zod": "^3.23.5" } } diff --git a/apps/e2e/tests/invitations/invitations.po.ts b/apps/e2e/tests/invitations/invitations.po.ts index 5981882fb..80b38e9eb 100644 --- a/apps/e2e/tests/invitations/invitations.po.ts +++ b/apps/e2e/tests/invitations/invitations.po.ts @@ -1,4 +1,5 @@ import { Page } from '@playwright/test'; + import { AuthPageObject } from '../authentication/auth.po'; import { TeamAccountsPageObject } from '../team-accounts/team-accounts.po'; @@ -17,10 +18,12 @@ export class InvitationsPageObject { await this.teamAccounts.setup(); } - public async inviteMembers(invites: Array<{ - email: string; - role: string; - }>) { + public async inviteMembers( + invites: Array<{ + email: string; + role: string; + }>, + ) { const form = this.getInviteForm(); for (let index = 0; index < invites.length; index++) { @@ -30,12 +33,17 @@ export class InvitationsPageObject { continue; } - console.log(`Inviting ${invite.email} with role ${invite.role}...`) + console.log(`Inviting ${invite.email} with role ${invite.role}...`); const nth = index + 1; - await this.page.fill(`[data-test="invite-member-form-item"]:nth-child(${nth}) [data-test="invite-email-input"]`, invite.email); - await this.page.click(`[data-test="invite-member-form-item"]:nth-child(${nth}) [data-test="role-selector-trigger"]`); + await this.page.fill( + `[data-test="invite-member-form-item"]:nth-child(${nth}) [data-test="invite-email-input"]`, + invite.email, + ); + await this.page.click( + `[data-test="invite-member-form-item"]:nth-child(${nth}) [data-test="role-selector-trigger"]`, + ); await this.page.click(`[data-test="role-option-${invite.role}"]`); if (index < invites.length - 1) { @@ -46,24 +54,24 @@ export class InvitationsPageObject { await form.locator('button[type="submit"]').click(); } - navigateToMembers() { - return this.page.locator('a', { - hasText: 'Members', - }).click(); + navigateToMembers() { + return this.page + .locator('a', { + hasText: 'Members', + }) + .click(); } - async openInviteForm() { - await this.page.locator('[data-test="invite-members-form-trigger"]').click(); + openInviteForm() { + return this.page + .locator('[data-test="invite-members-form-trigger"]') + .click(); } - async getInvitations() { + getInvitations() { return this.page.locator('[data-test="invitation-email"]'); } - private getInviteForm() { - return this.page.locator('[data-test="invite-members-form"]'); - } - async deleteInvitation(email: string) { const actions = this.getInvitationRow(email).getByRole('button'); @@ -71,7 +79,9 @@ export class InvitationsPageObject { await this.page.locator('[data-test="remove-invitation-trigger"]').click(); - await this.page.click('[data-test="delete-invitation-form"] button[type="submit"]'); + await this.page.click( + '[data-test="delete-invitation-form"] button[type="submit"]', + ); } getInvitationRow(email: string) { @@ -89,16 +99,27 @@ export class InvitationsPageObject { await this.page.click(`[data-test="role-selector-trigger"]`); await this.page.click(`[data-test="role-option-${role}"]`); - await this.page.click('[data-test="update-invitation-form"] button[type="submit"]'); + await this.page.click( + '[data-test="update-invitation-form"] button[type="submit"]', + ); } async acceptInvitation() { console.log('Accepting invitation...'); - await this.page.locator('[data-test="join-team-form"] button[type="submit"]').click(); + await this.page + .locator('[data-test="join-team-form"] button[type="submit"]') + .click(); - await this.page.waitForResponse(response => { - return response.url().includes('/join') && response.request().method() === 'POST'; + await this.page.waitForResponse((response) => { + return ( + response.url().includes('/join') && + response.request().method() === 'POST' + ); }); } -} \ No newline at end of file + + private getInviteForm() { + return this.page.locator('[data-test="invite-members-form"]'); + } +} diff --git a/apps/e2e/tests/invitations/invitations.spec.ts b/apps/e2e/tests/invitations/invitations.spec.ts index b71c1a4e8..262d9663b 100644 --- a/apps/e2e/tests/invitations/invitations.spec.ts +++ b/apps/e2e/tests/invitations/invitations.spec.ts @@ -28,11 +28,11 @@ test.describe('Invitations', () => { await invitations.inviteMembers(invites); - await expect(await invitations.getInvitations()).toHaveCount(1); + await expect(invitations.getInvitations()).toHaveCount(1); await invitations.deleteInvitation(email); - await expect(await invitations.getInvitations()).toHaveCount(0); + await expect(invitations.getInvitations()).toHaveCount(0); }); test('users can update invites', async () => { @@ -50,7 +50,7 @@ test.describe('Invitations', () => { await invitations.inviteMembers(invites); - await expect(await invitations.getInvitations()).toHaveCount(1); + await expect(invitations.getInvitations()).toHaveCount(1); await invitations.updateInvitation(email, 'owner'); @@ -92,7 +92,7 @@ test.describe('Full Invitation Flow', () => { const firstEmail = invites[0]!.email; - await expect(await invitations.getInvitations()).toHaveCount(2); + await expect(invitations.getInvitations()).toHaveCount(2); // sign out and sign in with the first email await invitations.auth.signOut(); @@ -115,6 +115,6 @@ test.describe('Full Invitation Flow', () => { await invitations.teamAccounts.openAccountsSelector(); - await expect(await invitations.teamAccounts.getTeams()).toHaveCount(1); + await expect(invitations.teamAccounts.getTeams()).toHaveCount(1); }); }); diff --git a/apps/e2e/tests/team-accounts/team-accounts.po.ts b/apps/e2e/tests/team-accounts/team-accounts.po.ts index 9fee03d0c..c10b90039 100644 --- a/apps/e2e/tests/team-accounts/team-accounts.po.ts +++ b/apps/e2e/tests/team-accounts/team-accounts.po.ts @@ -1,4 +1,5 @@ -import { expect, Page } from '@playwright/test'; +import { Page, expect } from '@playwright/test'; + import { AuthPageObject } from '../authentication/auth.po'; export class TeamAccountsPageObject { @@ -15,34 +16,40 @@ export class TeamAccountsPageObject { await this.createTeam(params); } - async getTeamFromSelector(teamSlug: string) { - await this.openAccountsSelector(); - - return this.page.locator(`[data-test="account-selector-team"][data-value="${teamSlug}"]`); + getTeamFromSelector(teamSlug: string) { + return this.page.locator( + `[data-test="account-selector-team"][data-value="${teamSlug}"]`, + ); } - async selectAccount(teamName: string) { - await this.page.click(`[data-test="account-selector-team"][data-name="${teamName}"]`); + selectAccount(teamName: string) { + return this.page.click( + `[data-test="account-selector-team"][data-name="${teamName}"]`, + ); } - async getTeams() { - await this.openAccountsSelector(); - + getTeams() { return this.page.locator('[data-test="account-selector-team"]'); } goToSettings() { - return this.page.locator('a', { - hasText: 'Settings', - }).click(); + return this.page + .locator('a', { + hasText: 'Settings', + }) + .click(); } goToBilling() { - return this.page.getByRole('button', { name: 'Billing' }).click(); + return this.page + .locator('a', { + hasText: 'Billing', + }) + .click(); } - async openAccountsSelector() { - await this.page.click('[data-test="account-selector-trigger"]'); + openAccountsSelector() { + return this.page.click('[data-test="account-selector-trigger"]'); } async createTeam({ teamName, slug } = this.createTeamName()) { @@ -51,23 +58,36 @@ export class TeamAccountsPageObject { await this.page.click('[data-test="create-team-account-trigger"]'); await this.page.fill('[data-test="create-team-form"] input', teamName); await this.page.click('[data-test="create-team-form"] button:last-child'); + + await this.page.waitForURL(`/home/${slug}`); } async updateName(name: string) { - await this.page.fill('[data-test="update-team-account-name-form"] input', name); + await this.page.fill( + '[data-test="update-team-account-name-form"] input', + name, + ); + await this.page.click('[data-test="update-team-account-name-form"] button'); } async deleteAccount(teamName: string) { await this.page.click('[data-test="delete-team-trigger"]'); - expect(await this.page.locator('[data-test="delete-team-form-confirm-input"]').isVisible()).toBeTruthy(); + expect( + await this.page + .locator('[data-test="delete-team-form-confirm-input"]') + .isVisible(), + ).toBeTruthy(); - await this.page.fill('[data-test="delete-team-form-confirm-input"]', teamName); + await this.page.fill( + '[data-test="delete-team-form-confirm-input"]', + teamName, + ); await this.page.click('[data-test="delete-team-form-confirm-button"]'); } - createTeamName() { + createTeamName() { const random = (Math.random() * 100000000).toFixed(0); const teamName = `Team-Name-${random}`; @@ -75,4 +95,4 @@ export class TeamAccountsPageObject { return { teamName, slug }; } -} \ No newline at end of file +} diff --git a/apps/e2e/tests/team-accounts/team-accounts.spec.ts b/apps/e2e/tests/team-accounts/team-accounts.spec.ts index d018e9f07..2abbe2be4 100644 --- a/apps/e2e/tests/team-accounts/team-accounts.spec.ts +++ b/apps/e2e/tests/team-accounts/team-accounts.spec.ts @@ -1,4 +1,5 @@ -import { expect, Page, test } from '@playwright/test'; +import { Page, expect, test } from '@playwright/test'; + import { TeamAccountsPageObject } from './team-accounts.po'; test.describe('Team Accounts', () => { @@ -13,7 +14,7 @@ test.describe('Team Accounts', () => { test('user can update their team name (and slug)', async () => { await teamAccounts.setup(); - const {teamName, slug} = teamAccounts.createTeamName(); + const { teamName, slug } = teamAccounts.createTeamName(); await teamAccounts.goToSettings(); await teamAccounts.updateName(teamName); @@ -21,7 +22,9 @@ test.describe('Team Accounts', () => { // the slug should be updated to match the new team name await page.waitForURL(`http://localhost:3000/home/${slug}/settings`); - await expect(await teamAccounts.getTeamFromSelector(slug)).toBeVisible(); + await teamAccounts.openAccountsSelector(); + + await expect(teamAccounts.getTeamFromSelector(slug)).toBeVisible(); }); }); @@ -34,7 +37,10 @@ test.describe('Account Deletion', () => { await teamAccounts.goToSettings(); await teamAccounts.deleteAccount(params.teamName); + await teamAccounts.openAccountsSelector(); - await expect(await teamAccounts.getTeamFromSelector(params.slug)).not.toBeVisible(); + await expect( + teamAccounts.getTeamFromSelector(params.slug), + ).not.toBeVisible(); }); -}); \ No newline at end of file +}); diff --git a/apps/e2e/tests/team-billing/team-billing.po.ts b/apps/e2e/tests/team-billing/team-billing.po.ts index 1d27871a3..463191b69 100644 --- a/apps/e2e/tests/team-billing/team-billing.po.ts +++ b/apps/e2e/tests/team-billing/team-billing.po.ts @@ -1,4 +1,5 @@ import { Page } from '@playwright/test'; + import { TeamAccountsPageObject } from '../team-accounts/team-accounts.po'; import { BillingPageObject } from '../utils/billing.po'; @@ -11,7 +12,7 @@ export class TeamBillingPageObject { this.billing = new BillingPageObject(page); } - async setup() { - await this.teamAccounts.setup(); + setup() { + return this.teamAccounts.setup(); } -} \ No newline at end of file +} diff --git a/apps/e2e/tests/team-billing/team-billing.spec.ts b/apps/e2e/tests/team-billing/team-billing.spec.ts index 5fad66b9a..300456082 100644 --- a/apps/e2e/tests/team-billing/team-billing.spec.ts +++ b/apps/e2e/tests/team-billing/team-billing.spec.ts @@ -11,10 +11,11 @@ test.describe('Team Billing', () => { po = new TeamBillingPageObject(page); await po.setup(); - await po.teamAccounts.goToBilling(); }); test('a team can subscribe to a plan', async () => { + await po.teamAccounts.goToBilling(); + await po.billing.selectPlan(0); await po.billing.proceedToCheckout(); @@ -27,7 +28,7 @@ test.describe('Team Billing', () => { await po.billing.returnToBilling(); - await expect(await po.billing.getStatus()).toContainText('Active'); + await expect(po.billing.getStatus()).toContainText('Active'); await expect(po.billing.manageBillingButton()).toBeVisible(); }); }); diff --git a/apps/e2e/tests/user-billing/user-billing.spec.ts b/apps/e2e/tests/user-billing/user-billing.spec.ts index 839df0573..66f7eb514 100644 --- a/apps/e2e/tests/user-billing/user-billing.spec.ts +++ b/apps/e2e/tests/user-billing/user-billing.spec.ts @@ -26,7 +26,7 @@ test.describe('User Billing', () => { await po.billing.returnToBilling(); - await expect(await po.billing.getStatus()).toContainText('Active'); + await expect(po.billing.getStatus()).toContainText('Active'); await expect(po.billing.manageBillingButton()).toBeVisible(); }); }); diff --git a/apps/e2e/tests/utils/billing.po.ts b/apps/e2e/tests/utils/billing.po.ts index 8cdd6bf28..d9d498651 100644 --- a/apps/e2e/tests/utils/billing.po.ts +++ b/apps/e2e/tests/utils/billing.po.ts @@ -1,12 +1,11 @@ import { Page } from '@playwright/test'; + import { StripePageObject } from './stripe.po'; export class BillingPageObject { public readonly stripe: StripePageObject; - constructor( - private readonly page: Page, - ) { + constructor(private readonly page: Page) { this.stripe = new StripePageObject(page); } @@ -32,14 +31,16 @@ export class BillingPageObject { // wait a bit for the webhook to be processed await this.page.waitForTimeout(1000); - await this.page.locator('[data-test="checkout-success-back-link"]').click(); + return this.page + .locator('[data-test="checkout-success-back-link"]') + .click(); } proceedToCheckout() { return this.page.click('[data-test="checkout-submit-button"]'); } - async getStatus() { + getStatus() { return this.page.locator('[data-test="current-plan-card-status-badge"]'); } -} \ No newline at end of file +} diff --git a/apps/web/package.json b/apps/web/package.json index 78b44e302..7c4b11ad3 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -70,7 +70,7 @@ "recharts": "^2.12.6", "sonner": "^1.4.41", "tailwind-merge": "^2.3.0", - "zod": "^3.23.4" + "zod": "^3.23.5" }, "devDependencies": { "@kit/eslint-config": "workspace:^", @@ -86,7 +86,7 @@ "dotenv-cli": "^7.4.1", "eslint": "^8.57.0", "prettier": "^3.2.5", - "supabase": "^1.163.6", + "supabase": "^1.164.1", "tailwindcss": "3.4.3", "typescript": "^5.4.5" }, diff --git a/apps/web/public/locales/en/billing.json b/apps/web/public/locales/en/billing.json index 45832f083..87d3d94b5 100644 --- a/apps/web/public/locales/en/billing.json +++ b/apps/web/public/locales/en/billing.json @@ -29,7 +29,7 @@ "lifetime": "Lifetime", "trialPeriod": "{{period}} day trial", "perPeriod": "per {{period}}", - "processing": "Processing...", + "redirectingToPayment": "Redirecting to checkout. Please wait...", "proceedToPayment": "Proceed to Payment", "startTrial": "Start Trial", "perTeamMember": "Per team member", diff --git a/apps/web/public/locales/en/teams.json b/apps/web/public/locales/en/teams.json index 1a7dcae74..a9b3ed752 100644 --- a/apps/web/public/locales/en/teams.json +++ b/apps/web/public/locales/en/teams.json @@ -20,6 +20,7 @@ }, "yourTeams": "Your Teams ({{teamsCount}})", "createTeam": "Create a Team", + "creatingTeam": "Creating Team...", "personalAccount": "Personal Account", "searchAccount": "Search Account...", "membersTabLabel": "Members", diff --git a/packages/billing/core/package.json b/packages/billing/core/package.json index 5564a8e96..60da9c2a8 100644 --- a/packages/billing/core/package.json +++ b/packages/billing/core/package.json @@ -22,7 +22,7 @@ "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", "@kit/ui": "workspace:*", - "zod": "^3.23.4" + "zod": "^3.23.5" }, "eslintConfig": { "root": true, diff --git a/packages/billing/gateway/package.json b/packages/billing/gateway/package.json index 922753068..14e5a9da6 100644 --- a/packages/billing/gateway/package.json +++ b/packages/billing/gateway/package.json @@ -35,7 +35,7 @@ "react": "18.3.1", "react-hook-form": "^7.51.3", "react-i18next": "^14.1.1", - "zod": "^3.23.4" + "zod": "^3.23.5" }, "eslintConfig": { "root": true, diff --git a/packages/billing/gateway/src/components/plan-picker.tsx b/packages/billing/gateway/src/components/plan-picker.tsx index dda8834ba..1c480c456 100644 --- a/packages/billing/gateway/src/components/plan-picker.tsx +++ b/packages/billing/gateway/src/components/plan-picker.tsx @@ -356,7 +356,7 @@ export function PlanPicker( disabled={props.pending ?? !form.formState.isValid} > {props.pending ? ( - t('processing') + t('redirectingToPayment') ) : ( <> void }) {
diff --git a/packages/features/team-accounts/src/server/actions/create-team-account-server-actions.ts b/packages/features/team-accounts/src/server/actions/create-team-account-server-actions.ts index 5527b6e14..47f54724f 100644 --- a/packages/features/team-accounts/src/server/actions/create-team-account-server-actions.ts +++ b/packages/features/team-accounts/src/server/actions/create-team-account-server-actions.ts @@ -9,12 +9,12 @@ import { CreateTeamSchema } from '../../schema/create-team.schema'; import { createCreateTeamAccountService } from '../services/create-team-account.service'; export const createOrganizationAccountAction = enhanceAction( - async (params, user) => { + async ({ name }, user) => { const client = getSupabaseServerActionClient(); const service = createCreateTeamAccountService(client); const { data, error } = await service.createNewOrganizationAccount({ - name: params.name, + name, userId: user.id, }); diff --git a/packages/mailers/package.json b/packages/mailers/package.json index 741363f16..11b5dc8d0 100644 --- a/packages/mailers/package.json +++ b/packages/mailers/package.json @@ -22,7 +22,7 @@ "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", "@types/nodemailer": "6.4.14", - "zod": "^3.23.4" + "zod": "^3.23.5" }, "eslintConfig": { "root": true, diff --git a/packages/monitoring/baselime/package.json b/packages/monitoring/baselime/package.json index fff87c760..728b93445 100644 --- a/packages/monitoring/baselime/package.json +++ b/packages/monitoring/baselime/package.json @@ -27,7 +27,7 @@ "@kit/tsconfig": "workspace:*", "@types/react": "^18.3.1", "react": "18.3.1", - "zod": "^3.23.4" + "zod": "^3.23.5" }, "eslintConfig": { "root": true, diff --git a/packages/next/package.json b/packages/next/package.json index c718a4dff..b4db0e60d 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -23,7 +23,7 @@ "@kit/tsconfig": "workspace:*", "@supabase/supabase-js": "^2.42.7", "next": "14.2.3", - "zod": "^3.23.4" + "zod": "^3.23.5" }, "eslintConfig": { "root": true, diff --git a/packages/supabase/package.json b/packages/supabase/package.json index 33bce8dac..32376028e 100644 --- a/packages/supabase/package.json +++ b/packages/supabase/package.json @@ -32,7 +32,7 @@ "@types/react": "^18.3.1", "next": "14.2.3", "react": "18.3.1", - "zod": "^3.23.4" + "zod": "^3.23.5" }, "eslintConfig": { "root": true, diff --git a/packages/ui/package.json b/packages/ui/package.json index d9f4f9140..7f0a8ca49 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -56,7 +56,7 @@ "tailwindcss": "3.4.3", "tailwindcss-animate": "^1.0.7", "typescript": "^5.4.5", - "zod": "^3.23.4" + "zod": "^3.23.5" }, "eslintConfig": { "root": true, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f26886226..3b411fc35 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -45,8 +45,8 @@ importers: specifier: ^2.3.0 version: 2.3.0 zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 devDependencies: '@playwright/test': specifier: ^1.43.1 @@ -178,8 +178,8 @@ importers: specifier: ^2.3.0 version: 2.3.0 zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 devDependencies: '@kit/eslint-config': specifier: workspace:^ @@ -221,8 +221,8 @@ importers: specifier: ^3.2.5 version: 3.2.5 supabase: - specifier: ^1.163.6 - version: 1.163.6 + specifier: ^1.164.1 + version: 1.164.1 tailwindcss: specifier: 3.4.3 version: 3.4.3 @@ -251,8 +251,8 @@ importers: specifier: workspace:* version: link:../../ui zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages/billing/gateway: devDependencies: @@ -314,8 +314,8 @@ importers: specifier: ^14.1.1 version: 14.1.1(i18next@23.11.3)(react-dom@18.3.1)(react@18.3.1) zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages/billing/lemon-squeezy: dependencies: @@ -357,8 +357,8 @@ importers: specifier: 18.3.1 version: 18.3.1 zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages/billing/stripe: dependencies: @@ -409,8 +409,8 @@ importers: specifier: 18.3.1 version: 18.3.1 zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages/cms/core: devDependencies: @@ -455,8 +455,8 @@ importers: specifier: ^20.12.7 version: 20.12.7 zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages/cms/wordpress: devDependencies: @@ -518,8 +518,8 @@ importers: specifier: ^2.42.7 version: 2.42.7 zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages/email-templates: dependencies: @@ -625,8 +625,8 @@ importers: specifier: ^1.4.41 version: 1.4.41(react-dom@18.3.1)(react@18.3.1) zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages/features/admin: devDependencies: @@ -688,8 +688,8 @@ importers: specifier: ^7.51.3 version: 7.51.3(react@18.3.1) zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages/features/auth: devDependencies: @@ -748,8 +748,8 @@ importers: specifier: ^1.4.41 version: 1.4.41(react-dom@18.3.1)(react@18.3.1) zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages/features/notifications: devDependencies: @@ -881,8 +881,8 @@ importers: specifier: ^1.4.41 version: 1.4.41(react-dom@18.3.1)(react@18.3.1) zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages/i18n: dependencies: @@ -943,8 +943,8 @@ importers: specifier: 6.4.14 version: 6.4.14 zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages/monitoring/api: devDependencies: @@ -1007,8 +1007,8 @@ importers: specifier: 18.3.1 version: 18.3.1 zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages/monitoring/core: devDependencies: @@ -1101,8 +1101,8 @@ importers: specifier: 14.2.3 version: 14.2.3(@opentelemetry/api@1.8.0)(react-dom@18.3.1)(react@18.3.1) zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages/shared: dependencies: @@ -1162,8 +1162,8 @@ importers: specifier: 18.3.1 version: 18.3.1 zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages/ui: dependencies: @@ -1304,8 +1304,8 @@ importers: specifier: ^5.4.5 version: 5.4.5 zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 tooling/eslint: dependencies: @@ -1349,8 +1349,8 @@ importers: specifier: ^2.3.0 version: 2.3.0 zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 devDependencies: '@kit/prettier-config': specifier: workspace:^ @@ -1386,8 +1386,8 @@ importers: specifier: ^2.3.0 version: 2.3.0 zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 devDependencies: '@kit/tsconfig': specifier: workspace:^ @@ -1420,8 +1420,8 @@ importers: specifier: ^1.0.7 version: 1.0.7(tailwindcss@3.4.3) zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 devDependencies: '@kit/eslint-config': specifier: workspace:^ @@ -1454,8 +1454,8 @@ importers: specifier: ^2.3.0 version: 2.3.0 zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.5 + version: 3.23.5 packages: @@ -2276,7 +2276,7 @@ packages: y-prosemirror: 1.2.3(prosemirror-model@1.20.0)(prosemirror-state@1.4.3)(prosemirror-view@1.33.5)(y-protocols@1.0.6)(yjs@13.6.15) y-protocols: 1.0.6(yjs@13.6.15) yjs: 13.6.15 - zod: 3.23.4 + zod: 3.23.5 transitivePeerDependencies: - next - supports-color @@ -11901,8 +11901,8 @@ packages: pirates: 4.0.6 ts-interface-checker: 0.1.13 - /supabase@1.163.6: - resolution: {integrity: sha512-GuanZQdIEGXCWz1UYIMPDmIsAdqD8IiqnATqfNSqlWMYK4y4X912HxyGW1sjYZjQar/10RSkSwPAsRLwDTAxrw==} + /supabase@1.164.1: + resolution: {integrity: sha512-1NwkDBW9Ny28Nhdxwf79tyU/x3BLNWNw/9m5olZXvJZvhaZhOCKt1JZgPnSYX/eXS2OQiKd8MJkE0gMYRZorew==} engines: {npm: '>=8'} hasBin: true requiresBuild: true @@ -12785,8 +12785,8 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} - /zod@3.23.4: - resolution: {integrity: sha512-/AtWOKbBgjzEYYQRNfoGKHObgfAZag6qUJX1VbHo2PRBgS+wfWagEY2mizjfyAPcGesrJOcx/wcl0L9WnVrHFw==} + /zod@3.23.5: + resolution: {integrity: sha512-fkwiq0VIQTksNNA131rDOsVJcns0pfVUjHzLrNBiF/O/Xxb5lQyEXkhZWcJ7npWsYlvs+h0jFWXXy4X46Em1JA==} /zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} diff --git a/tooling/eslint/package.json b/tooling/eslint/package.json index e684437d2..7f8d29407 100644 --- a/tooling/eslint/package.json +++ b/tooling/eslint/package.json @@ -26,7 +26,7 @@ "eslint-plugin-react-hooks": "^4.6.2", "next": "14.2.3", "tailwind-merge": "^2.3.0", - "zod": "^3.23.4" + "zod": "^3.23.5" }, "devDependencies": { "@kit/prettier-config": "workspace:^", diff --git a/tooling/prettier/package.json b/tooling/prettier/package.json index 695227ab9..ce20041af 100644 --- a/tooling/prettier/package.json +++ b/tooling/prettier/package.json @@ -15,7 +15,7 @@ "prettier": "^3.2.5", "prettier-plugin-tailwindcss": "^0.5.14", "tailwind-merge": "^2.3.0", - "zod": "^3.23.4" + "zod": "^3.23.5" }, "devDependencies": { "@kit/tsconfig": "workspace:^", diff --git a/tooling/tailwind/package.json b/tooling/tailwind/package.json index 122120372..db51f02ea 100644 --- a/tooling/tailwind/package.json +++ b/tooling/tailwind/package.json @@ -21,7 +21,7 @@ "tailwind-merge": "^2.3.0", "tailwindcss": "3.4.3", "tailwindcss-animate": "^1.0.7", - "zod": "^3.23.4" + "zod": "^3.23.5" }, "devDependencies": { "@kit/eslint-config": "workspace:^", diff --git a/tooling/typescript/package.json b/tooling/typescript/package.json index 5ff93df1c..d962ebec3 100644 --- a/tooling/typescript/package.json +++ b/tooling/typescript/package.json @@ -9,6 +9,6 @@ "@tanstack/react-table": "^8.16.0", "next": "14.2.3", "tailwind-merge": "^2.3.0", - "zod": "^3.23.4" + "zod": "^3.23.5" } }