Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update dependencies and yarn version #452

Merged
merged 2 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
894 changes: 0 additions & 894 deletions .yarn/releases/yarn-4.3.1.cjs

This file was deleted.

925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.5.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.3.1.cjs
yarnPath: .yarn/releases/yarn-4.5.0.cjs
23 changes: 15 additions & 8 deletions cypress/fixtures/members.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CompleteMember, MemberType, Password } from '@graasp/sdk';
import { AccountType, CompleteMember, Password } from '@graasp/sdk';

export const MEMBERS: {
[name: string]: CompleteMember & {
Expand All @@ -16,11 +16,12 @@ export const MEMBERS: {
nameValid: true,
emailValid: true,
passwordValid: true,
type: MemberType.Individual,
type: AccountType.Individual,
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
extra: {},
enableSaveActions: true,
isValidated: true,
},
GRAASP_OTHER: {
id: 'graasp_other-id',
Expand All @@ -30,11 +31,12 @@ export const MEMBERS: {
nameValid: true,
emailValid: true,
passwordValid: true,
type: MemberType.Individual,
type: AccountType.Individual,
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
extra: {},
enableSaveActions: true,
isValidated: true,
},
WRONG_NAME: {
id: 'id1',
Expand All @@ -43,11 +45,12 @@ export const MEMBERS: {
nameValid: false,
emailValid: true,
passwordValid: false,
type: MemberType.Individual,
type: AccountType.Individual,
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
extra: {},
enableSaveActions: true,
isValidated: true,
},
WRONG_EMAIL: {
id: 'id2',
Expand All @@ -57,11 +60,12 @@ export const MEMBERS: {
nameValid: true,
emailValid: false,
passwordValid: true,
type: MemberType.Individual,
type: AccountType.Individual,
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
extra: {},
enableSaveActions: true,
isValidated: true,
},
WRONG_PASSWORD: {
id: 'id3',
Expand All @@ -71,31 +75,34 @@ export const MEMBERS: {
nameValid: true,
emailValid: true,
passwordValid: false,
type: MemberType.Individual,
type: AccountType.Individual,
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
extra: {},
enableSaveActions: true,
isValidated: true,
},
BOB: {
id: 'ecafbd2a-5642-31fb-ae93-0242ac130004',
name: 'bob',
email: '[email protected]',
createdAt: '2021-04-13 14:56:34.749946',
extra: { lang: 'en' },
type: MemberType.Individual,
type: AccountType.Individual,
updatedAt: new Date().toISOString(),
enableSaveActions: true,
isValidated: true,
},
CEDRIC: {
id: 'ecafbd2a-5642-31fb-ae93-0242ac130006',
name: 'cedric',
email: '[email protected]',
createdAt: '2021-04-13 14:56:34.749946',
type: MemberType.Individual,
type: AccountType.Individual,
updatedAt: new Date().toISOString(),
extra: {},
enableSaveActions: true,
isValidated: true,
},
};

Expand Down
61 changes: 31 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,27 @@
"@emotion/cache": "11.13.1",
"@emotion/react": "11.13.3",
"@emotion/styled": "11.13.0",
"@graasp/query-client": "3.22.0",
"@graasp/sdk": "4.25.1",
"@graasp/query-client": "3.22.4",
"@graasp/sdk": "4.29.1",
"@graasp/stylis-plugin-rtl": "2.2.0",
"@graasp/translations": "1.35.0",
"@graasp/ui": "4.26.2",
"@graasp/translations": "1.37.0",
"@graasp/ui": "5.0.1",
"@mui/icons-material": "5.16.7",
"@mui/lab": "5.0.0-alpha.170",
"@mui/material": "5.16.7",
"@sentry/react": "7.119.0",
"date-fns": "4.1.0",
"http-status-codes": "2.3.0",
"i18next": "23.14.0",
"lucide-react": "0.429.0",
"i18next": "23.15.1",
"lucide-react": "0.441.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-ga4": "2.1.0",
"react-i18next": "15.0.1",
"react-router": "6.26.1",
"react-router-dom": "6.26.1",
"react-i18next": "15.0.2",
"react-router": "6.26.2",
"react-router-dom": "6.26.2",
"react-toastify": "10.0.5",
"stylis": "4.3.2",
"stylis": "4.3.4",
"stylis-plugin-rtl": "2.1.1",
"validator": "13.12.0"
},
Expand Down Expand Up @@ -77,38 +78,38 @@
]
},
"devDependencies": {
"@commitlint/cli": "19.4.0",
"@commitlint/config-conventional": "19.2.2",
"@cypress/code-coverage": "3.12.45",
"@testing-library/jest-dom": "6.4.8",
"@testing-library/react": "16.0.0",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@cypress/code-coverage": "3.13.1",
"@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.1",
"@types/react": "^18.3.4",
"@types/node": "20.16.5",
"@types/react": "^18.3.7",
"@types/react-dom": "18.3.0",
"@types/react-router-dom": "5.3.3",
"@types/validator": "13.12.0",
"@typescript-eslint/eslint-plugin": "8.2.0",
"@typescript-eslint/parser": "8.2.0",
"@types/validator": "13.12.2",
"@typescript-eslint/eslint-plugin": "8.6.0",
"@typescript-eslint/parser": "8.6.0",
"@vitejs/plugin-react": "4.3.1",
"concurrently": "8.2.2",
"cypress": "13.13.3",
"concurrently": "9.0.1",
"cypress": "13.14.2",
"cypress-vite": "1.5.0",
"env-cmd": "10.1.0",
"eslint": "^8.57.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-config-react-app": "7.0.1",
"eslint-import-resolver-typescript": "3.6.1",
"husky": "9.1.5",
"eslint-import-resolver-typescript": "3.6.3",
"husky": "9.1.6",
"istanbul-lib-coverage": "3.2.2",
"nyc": "17.0.0",
"nyc": "17.1.0",
"prettier": "3.3.3",
"standard-version": "9.5.0",
"typescript": "5.5.4",
"vite": "5.4.2",
"vite-plugin-checker": "0.7.2",
"typescript": "5.6.2",
"vite": "5.4.6",
"vite-plugin-checker": "0.8.0",
"vite-plugin-istanbul": "6.0.2"
},
"packageManager": "yarn@4.3.1"
"packageManager": "yarn@4.5.0"
}
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"sourceRoot": "/",
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true
"noImplicitReturns": true,
"types": ["cypress"]
},
"include": ["src"],
"exclude": ["node_modules", "cypress", "*.test.ts", "*.test.js", "**/.*/"]
"include": ["src", "cypress"]
}
Loading