chore: bump version to 2.21.13 and update dependencies (#424)

* chore: bump version to 2.21.13 and update dependencies

- Updated application version from 2.21.12 to 2.21.13 in package.json.
- Upgraded dependencies including @next/bundle-analyzer and @next/eslint-plugin-next to 16.0.8.
- Incremented @supabase/supabase-js to version 2.87.1 across multiple package.json files.
- Updated @types/node to version 24.10.2 for consistency in pnpm-lock.yaml and pnpm-workspace.yaml.
- Adjusted various package.json files to reflect updated versions for @ai-sdk/openai and @marsidev/react-turnstile.

* refactor: enhance invitation form submission handling

- Updated the invitation form submission process to wait for the response from the server after clicking the submit button, ensuring that the request is completed before proceeding.
- Cleaned up the locator for the continue button for improved readability.
This commit is contained in:
Giancarlo Buomprisco
2025-12-10 11:03:49 +08:00
committed by GitHub
parent 44137016cb
commit ac7608c6c9
8 changed files with 333 additions and 333 deletions

View File

@@ -8,7 +8,7 @@
"format": "prettier --check --write \"**/*.{ts,tsx}\" --ignore-path=\"../../.prettierignore\"" "format": "prettier --check --write \"**/*.{ts,tsx}\" --ignore-path=\"../../.prettierignore\""
}, },
"dependencies": { "dependencies": {
"@ai-sdk/openai": "^2.0.77", "@ai-sdk/openai": "^2.0.80",
"@faker-js/faker": "^10.1.0", "@faker-js/faker": "^10.1.0",
"@hookform/resolvers": "^5.2.2", "@hookform/resolvers": "^5.2.2",
"@tanstack/react-query": "catalog:", "@tanstack/react-query": "catalog:",

View File

@@ -53,7 +53,15 @@ export class InvitationsPageObject {
} }
} }
await form.locator('button[type="submit"]').click(); await Promise.all([
form.locator('button[type="submit"]').click(),
this.page.waitForResponse((response) => {
return (
response.url().includes('/members') &&
response.request().method() === 'POST'
);
}),
]);
} }
navigateToMembers() { navigateToMembers() {
@@ -132,9 +140,7 @@ export class InvitationsPageObject {
await this.page.waitForTimeout(500); await this.page.waitForTimeout(500);
// skip authentication setup // skip authentication setup
const continueButton = this.page.locator( const continueButton = this.page.locator('[data-test="continue-button"]');
'[data-test="continue-button"]',
);
if ( if (
await continueButton.isVisible({ await continueButton.isVisible({

View File

@@ -53,7 +53,7 @@
"@kit/ui": "workspace:*", "@kit/ui": "workspace:*",
"@makerkit/data-loader-supabase-core": "^0.0.10", "@makerkit/data-loader-supabase-core": "^0.0.10",
"@makerkit/data-loader-supabase-nextjs": "^1.2.5", "@makerkit/data-loader-supabase-nextjs": "^1.2.5",
"@marsidev/react-turnstile": "^1.3.1", "@marsidev/react-turnstile": "^1.4.0",
"@nosecone/next": "1.0.0-beta.15", "@nosecone/next": "1.0.0-beta.15",
"@radix-ui/react-icons": "^1.3.2", "@radix-ui/react-icons": "^1.3.2",
"@supabase/supabase-js": "catalog:", "@supabase/supabase-js": "catalog:",

View File

@@ -1,6 +1,6 @@
{ {
"name": "next-supabase-saas-kit-turbo", "name": "next-supabase-saas-kit-turbo",
"version": "2.21.12", "version": "2.21.13",
"private": true, "private": true,
"sideEffects": false, "sideEffects": false,
"engines": { "engines": {

View File

@@ -27,7 +27,7 @@
"@kit/supabase": "workspace:*", "@kit/supabase": "workspace:*",
"@kit/tsconfig": "workspace:*", "@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*", "@kit/ui": "workspace:*",
"@marsidev/react-turnstile": "^1.3.1", "@marsidev/react-turnstile": "^1.4.0",
"@radix-ui/react-icons": "^1.3.2", "@radix-ui/react-icons": "^1.3.2",
"@supabase/supabase-js": "catalog:", "@supabase/supabase-js": "catalog:",
"@tanstack/react-query": "catalog:", "@tanstack/react-query": "catalog:",

View File

@@ -27,7 +27,7 @@
"react-i18next": "^16.4.0" "react-i18next": "^16.4.0"
}, },
"dependencies": { "dependencies": {
"i18next": "25.7.1", "i18next": "25.7.2",
"i18next-browser-languagedetector": "8.2.0", "i18next-browser-languagedetector": "8.2.0",
"i18next-resources-to-backend": "^1.2.1" "i18next-resources-to-backend": "^1.2.1"
}, },

628
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,19 +4,19 @@ packages:
- tooling/* - tooling/*
catalog: catalog:
'@next/bundle-analyzer': 16.0.7 '@next/bundle-analyzer': 16.0.8
'@next/eslint-plugin-next': 16.0.7 '@next/eslint-plugin-next': 16.0.8
'@supabase/supabase-js': 2.86.2 '@supabase/supabase-js': 2.87.1
'@tailwindcss/postcss': 4.1.17 '@tailwindcss/postcss': 4.1.17
'@tanstack/react-query': 5.90.12 '@tanstack/react-query': 5.90.12
'@types/node': 24.10.1 '@types/node': 24.10.2
'@types/react': 19.2.7 '@types/react': 19.2.7
'@types/react-dom': 19.2.3 '@types/react-dom': 19.2.3
eslint-config-next: 16.0.7 eslint-config-next: 16.0.8
next: 16.0.7 next: 16.0.8
react: 19.2.1 react: 19.2.1
react-dom: 19.2.1 react-dom: 19.2.1
supabase: 2.65.6 supabase: 2.65.7
tailwindcss: 4.1.17 tailwindcss: 4.1.17
tw-animate-css: 1.4.0 tw-animate-css: 1.4.0
zod: 3.25.74 zod: 3.25.74