Feature/update dependencies (#442)

* [Tooling] Fix "updateDeps" script

For some reason commands after "yarn outdated" did not get executed

* [Tooling] Show "outdated" info at end of "updateScript"

* Update dependencies

"apollo-upload-client" v18 requires migration to ts module "nodenext"
This commit is contained in:
schroda
2023-11-04 23:11:40 +01:00
committed by GitHub
parent 7cb062d453
commit 134e47763f
2 changed files with 734 additions and 683 deletions

View File

@@ -11,10 +11,11 @@
"build-zip": "cd build && rev=$(git rev-list HEAD --count) && echo r$rev > revision && zip -9 -r ../buildZip/Tachidesk-WebUI-r$rev *", "build-zip": "cd build && rev=$(git rev-list HEAD --count) && echo r$rev > revision && zip -9 -r ../buildZip/Tachidesk-WebUI-r$rev *",
"lint": "eslint src --ext .ts,.tsx,.js,.jsx", "lint": "eslint src --ext .ts,.tsx,.js,.jsx",
"createChangelog": "ts-node tools/scripts/createReleaseChanglog.ts", "createChangelog": "ts-node tools/scripts/createReleaseChanglog.ts",
"updateDeps": "yarn outdated && yarn upgrade && yarn syncyarnlock -s -k && yarn && git add package.json yarn.lock && git commit -m \"Update dependencies\"", "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",
"gql:codegen-base": "graphql-codegen --config gql_codegen.ts", "gql:codegen-base": "graphql-codegen --config gql_codegen.ts",
"gql:codegen-formatter": "ts-node tools/scripts/codegenFormatter.ts", "gql:codegen-formatter": "ts-node tools/scripts/codegenFormatter.ts",
"gql:codegen": "yarn gql:codegen-base & yarn gql:codegen-formatter" "gql:codegen": "yarn gql:codegen-base & yarn gql:codegen-formatter",
"asdf": "echo test && yarn -v"
}, },
"browserslist": { "browserslist": {
"production": [ "production": [
@@ -29,52 +30,52 @@
] ]
}, },
"dependencies": { "dependencies": {
"@apollo/client": "^3.8.1", "@apollo/client": "^3.8.7",
"@emotion/react": "^11.11.1", "@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0", "@emotion/styled": "^11.11.0",
"@fontsource/roboto": "^5.0.8", "@fontsource/roboto": "^5.0.8",
"@mui/icons-material": "^5.14.9", "@mui/icons-material": "^5.14.16",
"@mui/material": "^5.14.9", "@mui/material": "^5.14.16",
"@vitejs/plugin-react-swc": "^3.3.2", "@vitejs/plugin-react-swc": "^3.4.1",
"apollo-upload-client": "^17.0.0", "apollo-upload-client": "^17.0.0",
"axios": "^1.5.0", "axios": "^1.6.0",
"file-selector": "^0.6.0", "file-selector": "^0.6.0",
"graphql-tag": "^2.12.6", "graphql-tag": "^2.12.6",
"graphql-ws": "^5.14.1", "graphql-ws": "^5.14.2",
"i18next": "^23.5.1", "i18next": "^23.6.0",
"i18next-browser-languagedetector": "^7.1.0", "i18next-browser-languagedetector": "^7.1.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-beautiful-dnd": "^13.1.1", "react-beautiful-dnd": "^13.1.1",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-i18next": "^13.2.2", "react-i18next": "^13.3.1",
"react-router-dom": "^6.16.0", "react-router-dom": "^6.18.0",
"react-virtuoso": "^4.5.1", "react-virtuoso": "^4.6.2",
"use-query-params": "^2.2.1", "use-query-params": "^2.2.1",
"vite": "^4.4.9", "vite": "^4.5.0",
"vite-tsconfig-paths": "^4.2.1" "vite-tsconfig-paths": "^4.2.1"
}, },
"devDependencies": { "devDependencies": {
"@graphql-codegen/cli": "^5.0.0", "@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/client-preset": "^4.1.0", "@graphql-codegen/client-preset": "^4.1.0",
"@graphql-codegen/typescript-apollo-client-helpers": "^2.2.6", "@graphql-codegen/typescript-apollo-client-helpers": "^3.0.0",
"@graphql-codegen/typescript-operations": "^4.0.1", "@graphql-codegen/typescript-operations": "^4.0.1",
"@types/apollo-upload-client": "^17.0.2", "@types/apollo-upload-client": "^17.0.4",
"@types/node": "^20.6.2", "@types/node": "^20.8.10",
"@types/react": "^18.2.21", "@types/react": "^18.2.34",
"@types/react-beautiful-dnd": "^13.1.4", "@types/react-beautiful-dnd": "^13.1.6",
"@types/react-dom": "^18.2.7", "@types/react-dom": "^18.2.14",
"@types/yargs": "^17.0.24", "@types/yargs": "^17.0.29",
"@typescript-eslint/eslint-plugin": "^6.7.0", "@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.7.0", "@typescript-eslint/parser": "^6.9.1",
"eslint": "^8.49.0", "eslint": "^8.53.0",
"eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0", "eslint-config-prettier": "^9.0.0",
"eslint-plugin-header": "^3.1.1", "eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.28.1", "eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-no-relative-import-paths": "^1.5.2", "eslint-plugin-no-relative-import-paths": "^1.5.3",
"eslint-plugin-prettier": "^5.0.0", "eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2", "eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "^3.0.0", "eslint-plugin-unused-imports": "^3.0.0",

1362
yarn.lock

File diff suppressed because it is too large Load Diff