diff options
author | Quentin Gliech <quentingliech@gmail.com> | 2020-09-30 17:31:48 +0200 |
---|---|---|
committer | Quentin Gliech <quentingliech@gmail.com> | 2020-09-30 17:31:48 +0200 |
commit | f4433d80c4fe6ad1ddf00bd8bcda99c15dc38450 (patch) | |
tree | 00944f334894303148980faf4a2d85723922aad3 /webui/package.json | |
parent | db20bc34e5cd696842f459b1d0b8b6aa6457d739 (diff) | |
download | git-bug-f4433d80c4fe6ad1ddf00bd8bcda99c15dc38450.tar.gz |
webui: dependencies upgrades
Most upgrades are minor version without breaking changes.
One big upgrade is Apollo 2 -> 3, which required a few changes in the
Apollo setup (see src/apollo.ts).
Other changes are due to changes in Prettier, requiring to add
parenthesis around arrow function parameters.
Because of an incompatibility in older version of typescript-eslint with
newer versions of typescript, I had to switch to the "next" unstable
version of react-scripts. It should not break stuff though.
See typescript-eslint/typescript-eslint#2442
Diffstat (limited to 'webui/package.json')
-rw-r--r-- | webui/package.json | 69 |
1 files changed, 33 insertions, 36 deletions
diff --git a/webui/package.json b/webui/package.json index 61d05a88..4f2a8da4 100644 --- a/webui/package.json +++ b/webui/package.json @@ -3,45 +3,42 @@ "version": "0.1.0", "private": true, "dependencies": { - "@apollo/react-hooks": "^3.1.3", + "@apollo/client": "^3.2.1", "@arrows/composition": "^1.2.2", - "@material-ui/core": "^4.9.0", - "@material-ui/icons": "^4.2.1", - "@material-ui/lab": "^4.0.0-alpha.40", - "@material-ui/styles": "^4.9.0", - "@types/node": "^13.5.3", - "@types/react": "^16.9.19", - "@types/react-dom": "^16.9.5", - "@types/react-router-dom": "^5.1.3", - "apollo-boost": "^0.4.7", - "clsx": "^1.1.0", - "graphql": "^14.6.0", - "graphql.macro": "^1.4.2", - "moment": "^2.24.0", - "react": "^16.8.6", - "react-apollo": "^3.1.3", - "react-dom": "^16.8.6", - "react-moment": "^0.9.7", - "react-router": "^5.0.0", - "react-router-dom": "^5.0.0", - "react-scripts": "^3.4.1", - "remark-html": "^10.0.0", - "remark-parse": "^7.0.2", - "remark-react": "^6.0.0", - "typescript": "^3.7.5", - "unified": "^8.4.2" + "@material-ui/core": "^4.11.0", + "@material-ui/icons": "^4.9.1", + "@material-ui/lab": "^4.0.0-alpha.56", + "@material-ui/styles": "^4.10.0", + "@types/node": "^14.11.2", + "@types/react": "^16.9.49", + "@types/react-dom": "^16.9.8", + "@types/react-router-dom": "^5.1.5", + "clsx": "^1.1.1", + "graphql": "^15.3.0", + "moment": "^2.29.0", + "react": "^16.13.1", + "react-dom": "^16.13.1", + "react-moment": "^1.0.0", + "react-router": "^5.2.0", + "react-router-dom": "^5.2.0", + "react-scripts": "^4.0.0-next.98", + "remark-html": "^12.0.0", + "remark-parse": "^8.0.3", + "remark-react": "^7.0.1", + "typescript": "^4.0.3", + "unified": "^9.2.0" }, "devDependencies": { - "@graphql-codegen/cli": "^1.15.3", - "@graphql-codegen/fragment-matcher": "^1.15.3", - "@graphql-codegen/near-operation-file-preset": "^1.15.3", - "@graphql-codegen/typescript-operations": "^1.15.3", - "@graphql-codegen/typescript-react-apollo": "^1.15.3", - "@graphql-codegen/introspection": "^1.15.3", - "eslint-config-prettier": "^6.10.0", - "eslint-plugin-graphql": "^3.1.1", - "eslint-plugin-prettier": "^3.1.2", - "prettier": "^1.19.1" + "@graphql-codegen/cli": "^1.17.10", + "@graphql-codegen/fragment-matcher": "^1.17.8", + "@graphql-codegen/introspection": "^1.18.0", + "@graphql-codegen/near-operation-file-preset": "^1.17.11", + "@graphql-codegen/typescript-operations": "^1.17.8", + "@graphql-codegen/typescript-react-apollo": "^2.0.7", + "eslint-config-prettier": "^6.12.0", + "eslint-plugin-graphql": "^4.0.0", + "eslint-plugin-prettier": "^3.1.4", + "prettier": "^2.1.2" }, "scripts": { "start": "npm run generate && react-scripts start", |