Skip to content

Commit

Permalink
Upgrade everything
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick91 committed Oct 30, 2020
1 parent d0c8702 commit d7fe542
Show file tree
Hide file tree
Showing 4 changed files with 2,694 additions and 1,607 deletions.
1 change: 0 additions & 1 deletion frontend/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ module.exports = {
"@typescript-eslint/adjacent-overload-signatures": "error",
"@typescript-eslint/array-type": "error",
"@typescript-eslint/ban-types": "error",
"@typescript-eslint/class-name-casing": "error",
"@typescript-eslint/explicit-member-accessibility": [
"off",
{
Expand Down
89 changes: 43 additions & 46 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,71 +15,68 @@
"test": "jest src/"
},
"dependencies": {
"@apollo/client": "^3.1.3",
"@emotion/core": "^10.0.28",
"@apollo/client": "^3.2.5",
"@emotion/core": "^10.0.35",
"@graphql-codegen/add": "^2.0.0",
"@graphql-codegen/cli": "^1.17.7",
"@graphql-codegen/fragment-matcher": "^1.17.7",
"@graphql-codegen/introspection": "^1.17.7",
"@graphql-codegen/near-operation-file-preset": "^1.17.8",
"@graphql-codegen/typescript": "^1.17.7",
"@graphql-codegen/cli": "^1.19.0",
"@graphql-codegen/fragment-matcher": "^2.0.0",
"@graphql-codegen/introspection": "^1.18.0",
"@graphql-codegen/near-operation-file-preset": "^1.17.11",
"@graphql-codegen/typescript": "^1.17.11",
"@graphql-codegen/typescript-operations": "^1.17.7",
"@graphql-codegen/typescript-react-apollo": "^2.0.5",
"@mdx-js/loader": "^1.6.1",
"@next/mdx": "^9.3.6",
"@now/node": "^1.6.1",
"@sentry/browser": "^5.15.5",
"@theme-ui/match-media": "^0.4.0-rc.1",
"@types/react-lazyload": "^2.6.0",
"@graphql-codegen/typescript-react-apollo": "^2.0.7",
"@mdx-js/loader": "^1.6.19",
"@next/mdx": "^10.0.0",
"@now/node": "^1.8.4",
"@sentry/browser": "^5.27.2",
"@theme-ui/match-media": "^0.3.1",
"@types/react-lazyload": "^3.0.0",
"@types/styled-system": "^5.1.10",
"@zeit/next-source-maps": "^0.0.3",
"chrome-aws-lambda": "^5.2.1",
"concurrently": "^5.2.0",
"chrome-aws-lambda": "^5.3.1",
"express": "^4.17.1",
"graphql": "^15.0.0",
"graphql": "^15.4.0",
"graphql-tag": "^2.10.3",
"http-proxy-middleware": "^1.0.3",
"isomorphic-fetch": "^2.2.1",
"http-proxy-middleware": "^1.0.6",
"isomorphic-fetch": "^3.0.0",
"marksy": "^8.0.0",
"moment": "^2.25.3",
"next": "^9.5.1",
"moment": "^2.29.1",
"next": "^10.0.0",
"next-with-apollo": "^5.1.0",
"puppeteer": "^5.2.1",
"puppeteer-core": "^5.2.1",
"react": "^16.13.1",
"react-dnd": "^10.0.2",
"react-dnd-html5-backend": "^10.0.2",
"react-dom": "^16.13.1",
"react-intl": "^5.6.7",
"react-lazyload": "^2.6.7",
"puppeteer": "^5.4.1",
"puppeteer-core": "^5.4.1",
"react": "^17.0.1",
"react-dnd": "^11.1.3",
"react-dnd-html5-backend": "^11.1.3",
"react-dom": "^17.0.1",
"react-intl": "^5.8.8",
"react-lazyload": "^3.1.0",
"react-select": "^3.1.0",
"react-use-form-state": "^0.12.1",
"react-use-form-state": "^0.13.2",
"react-use-sync-scroll": "^0.1.0",
"styled-system": "^5.1.5",
"theme-ui": "0.4.0-rc.1",
"sharp": "^0.23.4",
"timed-out": "5",
"use-local-storage-state": "^3.0.1",
"use-local-storage-state": "^5.1.0",
"use-onclickoutside": "^0.3.1",
"yup": "^0.28.5"
"yup": "^0.29.3"
},
"devDependencies": {
"@types/jest": "^26.0.10",
"@types/node": "^13.13.5",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.7",
"@typescript-eslint/eslint-plugin": "^2.31.0",
"@typescript-eslint/eslint-plugin-tslint": "^2.31.0",
"@typescript-eslint/parser": "^2.31.0",
"eslint": "^7.0.0",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.6",
"@types/react": "^16.9.55",
"@types/react-dom": "^16.9.9",
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/eslint-plugin-tslint": "^4.6.0",
"@typescript-eslint/parser": "^4.6.0",
"eslint": "^7.12.1",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-simple-import-sort": "^5.0.3",
"jest": "^26.4.2",
"prettier": "^2.0.5",
"ts-jest": "^26.2.0",
"jest": "^26.6.1",
"prettier": "^2.1.2",
"ts-jest": "^26.4.3",
"tslint": "^6.1.2",
"tslint-react": "^5.0.0",
"typescript": "^3.8.3"
"typescript": "^4.0.5"
},
"resolutions": {
"@theme-ui/core": "0.4.0-rc.1",
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/pages/[lang]/schedule/[day].tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @jsx jsx */
import { useRouter } from "next/router";
import React, { Fragment } from "react";
import React from "react";
import { DndProvider } from "react-dnd";
import Backend from "react-dnd-html5-backend";
import { FormattedMessage } from "react-intl";
Expand Down Expand Up @@ -48,6 +48,7 @@ export const ScheduleDayPage: React.FC = () => {

if (shouldShowAdmin) {
return (
// @ts-ignore
<DndProvider backend={Backend}>
<PageContent
loading={loading}
Expand Down
Loading

0 comments on commit d7fe542

Please sign in to comment.