Feature/update dependencies (#738)

* [Tooling] Create script to update dependencies

* Lock dependency versions

* Update dependencies

Wait for eslint related dependencies to be compatible with v9
This commit is contained in:
schroda
2024-04-14 15:10:34 +02:00
committed by GitHub
parent 79a9d1f246
commit 76125a7617
4 changed files with 450 additions and 256 deletions

View File

@@ -12,7 +12,7 @@
"build-zip": "cd build && rev=$(git rev-list HEAD --count) && echo r$rev > revision && zip -9 -r ../buildZip/Suwayomi-WebUI-r$rev *",
"lint": "eslint src --ext .ts,.tsx,.js,.jsx --max-warnings=0 --cache",
"createChangelog": "ts-node -T tools/scripts/createReleaseChangelog.ts",
"updateDeps": "yarn upgrade && yarn syncyarnlock -s -k && yarn && git add package.json yarn.lock && git commit -m \"Update dependencies\" && echo Updated non breaking dependencies. Check potential breaking changes below... && yarn outdated",
"updateDeps": "ts-node -T tools/scripts/updateDependencies.ts",
"gql:codegen-base": "graphql-codegen --config gql_codegen.ts",
"gql:codegen-formatter": "ts-node -T tools/scripts/codegenFormatter.ts",
"gql:codegen": "yarn gql:codegen-base & yarn gql:codegen-formatter",
@@ -25,70 +25,70 @@
"*.{ts,tsx,js,jsx}": "eslint --fix --cache"
},
"dependencies": {
"@apollo/client": "^3.9.9",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@fontsource/roboto": "^5.0.12",
"@mui/icons-material": "^5.15.14",
"@mui/material": "^5.15.14",
"@mui/x-date-pickers": "^7.1.0",
"@vitejs/plugin-legacy": "^5.3.2",
"@vitejs/plugin-react-swc": "^3.6.0",
"apollo-upload-client": "^17.0.0",
"dayjs": "^1.11.10",
"file-selector": "^0.6.0",
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6",
"graphql-ws": "^5.16.0",
"html-react-parser": "^5.1.10",
"i18next": "^23.10.1",
"i18next-browser-languagedetector": "^7.2.1",
"material-ui-popup-state": "^5.1.0",
"p-limit": "^5.0.0",
"react": "^18.2.0",
"react-beautiful-dnd": "^13.1.1",
"react-device-detect": "^2.2.3",
"react-dom": "^18.2.0",
"react-i18next": "^14.1.0",
"react-router-dom": "^6.22.3",
"react-virtuoso": "^4.7.7",
"use-long-press": "^3.2.0",
"use-query-params": "^2.2.1",
"vite": "^5.2.7",
"vite-tsconfig-paths": "^4.3.2"
"@apollo/client": "3.9.11",
"@emotion/react": "11.11.4",
"@emotion/styled": "11.11.5",
"@fontsource/roboto": "5.0.12",
"@mui/icons-material": "5.15.15",
"@mui/material": "5.15.15",
"@mui/x-date-pickers": "7.2.0",
"@vitejs/plugin-legacy": "5.3.2",
"@vitejs/plugin-react-swc": "3.6.0",
"apollo-upload-client": "17.0.0",
"dayjs": "1.11.10",
"file-selector": "0.6.0",
"graphql": "16.8.1",
"graphql-tag": "2.12.6",
"graphql-ws": "5.16.0",
"html-react-parser": "5.1.10",
"i18next": "23.11.1",
"i18next-browser-languagedetector": "7.2.1",
"material-ui-popup-state": "5.1.0",
"p-limit": "5.0.0",
"react": "18.2.0",
"react-beautiful-dnd": "13.1.1",
"react-device-detect": "2.2.3",
"react-dom": "18.2.0",
"react-i18next": "14.1.0",
"react-router-dom": "6.22.3",
"react-virtuoso": "4.7.8",
"use-long-press": "3.2.0",
"use-query-params": "2.2.1",
"vite": "5.2.8",
"vite-tsconfig-paths": "4.3.2"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/client-preset": "^4.2.5",
"@graphql-codegen/typescript-apollo-client-helpers": "^3.0.0",
"@graphql-codegen/typescript-operations": "^4.2.0",
"@types/apollo-upload-client": "^17.0.5",
"@types/node": "^20.12.2",
"@types/react": "^18.2.73",
"@types/react-beautiful-dnd": "^13.1.8",
"@types/react-dom": "^18.2.23",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-no-relative-import-paths": "^1.5.3",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "^3.1.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"syncyarnlock": "^1.0.19",
"terser": "^5.30.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.3",
"yargs": "^17.7.2"
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/client-preset": "4.2.5",
"@graphql-codegen/typescript-apollo-client-helpers": "3.0.0",
"@graphql-codegen/typescript-operations": "4.2.0",
"@types/apollo-upload-client": "17.0.5",
"@types/node": "20.12.7",
"@types/react": "18.2.78",
"@types/react-beautiful-dnd": "13.1.8",
"@types/react-dom": "18.2.25",
"@types/yargs": "17.0.32",
"@typescript-eslint/eslint-plugin": "7.6.0",
"@typescript-eslint/parser": "7.6.0",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "18.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-no-relative-import-paths": "1.5.4",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-unused-imports": "3.1.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"syncyarnlock": "1.0.19",
"terser": "5.30.3",
"ts-node": "10.9.2",
"typescript": "5.4.5",
"yargs": "17.7.2"
}
}