Skip to content

Commit

Permalink
fix: update dependencies (#463)
Browse files Browse the repository at this point in the history
* fix: update deps

* fix: update deps
  • Loading branch information
spaenleh authored Oct 3, 2024
1 parent 4dd2baf commit 5317367
Show file tree
Hide file tree
Showing 7 changed files with 384 additions and 205 deletions.
25 changes: 12 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"@emotion/cache": "11.13.1",
"@emotion/react": "11.13.3",
"@emotion/styled": "11.13.0",
"@graasp/query-client": "3.25.0",
"@graasp/sdk": "4.29.1",
"@graasp/query-client": "3.26.0",
"@graasp/sdk": "4.31.0",
"@graasp/stylis-plugin-rtl": "2.2.0",
"@graasp/translations": "1.37.1",
"@graasp/translations": "1.39.0",
"@graasp/ui": "5.2.1",
"@mui/icons-material": "5.16.7",
"@mui/lab": "5.0.0-alpha.170",
Expand Down Expand Up @@ -56,13 +56,12 @@
"prettier:write": "prettier --write {src,cypress}/**/*.{js,ts,tsx}",
"type-check": "tsc --noEmit",
"check": "yarn prettier:check && yarn lint && yarn type-check",
"hooks:uninstall": "husky uninstall",
"hooks:install": "husky install",
"hooks:install": "husky",
"cypress:open": "env-cmd -f ./.env.test cypress open",
"cypress": "yarn build:test && concurrently -k -s first \"yarn preview:test\" \"yarn cypress:run\"",
"test": "yarn cypress",
"cypress:run": "env-cmd -f ./.env.test cypress run --headless --browser chrome",
"postinstall": "husky install"
"postinstall": "husky"
},
"eslintConfig": {
"extends": "react-app"
Expand All @@ -85,19 +84,19 @@
"devDependencies": {
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@cypress/code-coverage": "3.13.1",
"@cypress/code-coverage": "3.13.4",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "16.0.1",
"@testing-library/user-event": "14.5.2",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/node": "20.16.5",
"@types/react": "^18.3.7",
"@types/node": "20.16.10",
"@types/react": "^18.3.11",
"@types/react-dom": "18.3.0",
"@types/react-router-dom": "5.3.3",
"@types/validator": "13.12.2",
"@typescript-eslint/eslint-plugin": "8.7.0",
"@typescript-eslint/parser": "8.7.0",
"@vitejs/plugin-react": "4.3.1",
"@typescript-eslint/eslint-plugin": "8.8.0",
"@typescript-eslint/parser": "8.8.0",
"@vitejs/plugin-react": "4.3.2",
"concurrently": "9.0.1",
"cypress": "13.15.0",
"cypress-vite": "1.5.0",
Expand All @@ -112,7 +111,7 @@
"prettier": "3.3.3",
"standard-version": "9.5.0",
"typescript": "5.6.2",
"vite": "5.4.6",
"vite": "5.4.8",
"vite-plugin-checker": "0.8.0",
"vite-plugin-istanbul": "6.0.2"
},
Expand Down
6 changes: 3 additions & 3 deletions src/components/SignUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,20 @@ const SignUp = () => {

const {
mutateAsync: signUp,
isLoading: isLoadingSignUp,
isPending: isLoadingSignUp,
error: webRegisterError,
} = mutations.useSignUp();
const {
mutateAsync: mobileSignUp,
isLoading: isLoadingMobileSignUp,
isPending: isLoadingMobileSignUp,
error: mobileRegisterError,
} = mutations.useMobileSignUp();
const [searchParams] = useSearchParams();

const {
data: invitation,
isSuccess: isInvitationSuccess,
isInitialLoading: isLoadingInvitations,
isLoading: isLoadingInvitations,
} = hooks.useInvitation(searchParams.get('invitationId') || undefined);

useEffect(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const RequestPasswordReset = () => {
mutate: requestPasswordReset,
isError,
isSuccess,
isLoading,
isPending: isLoading,
} = useCreatePasswordResetRequest();

const resetPassword = async ({ email }: Inputs) => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/requestPasswordReset/ResetPassword.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const ResetPassword = () => {

const {
mutate: resolveRequestPasswordReset,
isLoading,
isPending: isLoading,
isError,
isSuccess,
} = useResolvePasswordResetRequest();
Expand Down
4 changes: 2 additions & 2 deletions src/components/signIn/MagicLinkForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ const MagicLinkForm = () => {

const {
mutateAsync: signIn,
isLoading: isLoadingSignIn,
isPending: isLoadingSignIn,
error: webSignInError,
} = mutations.useSignIn();
const {
mutateAsync: mobileSignIn,
isLoading: isLoadingMobileSignIn,
isPending: isLoadingMobileSignIn,
error: mobileSignInError,
} = mutations.useMobileSignIn();

Expand Down
4 changes: 2 additions & 2 deletions src/components/signIn/PasswordForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ const SignInPasswordForm = () => {
const {
mutateAsync: signInWithPassword,
isSuccess: signInWithPasswordSuccess,
isLoading: isLoadingPasswordSignIn,
isPending: isLoadingPasswordSignIn,
error: webPasswordSignInError,
} = mutations.useSignInWithPassword();
const {
mutateAsync: mobileSignInWithPassword,
isSuccess: mobileSignInWithPasswordSuccess,
isLoading: isLoadingMobilePasswordSignIn,
isPending: isLoadingMobilePasswordSignIn,
error: mobilePasswordSignInError,
} = mutations.useMobileSignInWithPassword();

Expand Down
Loading

0 comments on commit 5317367

Please sign in to comment.