Update dependencies & URL slash bugfix (#36)

* Initial Next update to canary

* Dependencies updated
This commit is contained in:
David
2021-08-28 15:36:21 +02:00
committed by GitHub
parent 5870e4b096
commit c244c007e1
5 changed files with 9 additions and 9460 deletions

View File

@@ -13,7 +13,7 @@ const LangSelect: FC<Props> = ({ value, onChange, langs, ...props }) => (
value={value} value={value}
onChange={onChange} onChange={onChange}
variant="flushed" variant="flushed"
px={3} px={[2, null, 3]}
textAlign="center" textAlign="center"
style={{ textAlignLast: "center" }} style={{ textAlignLast: "center" }}
{...props} {...props}

4
next-env.d.ts vendored
View File

@@ -1,2 +1,6 @@
/// <reference types="next" /> /// <reference types="next" />
/// <reference types="next/types/global" /> /// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.

View File

@@ -4,9 +4,6 @@ module.exports = withPWA({
pwa: { pwa: {
dest: "public" dest: "public"
}, },
future: {
webpack5: true
},
async headers() { async headers() {
return [ return [
{ {

View File

@@ -20,7 +20,7 @@
"cheerio": "^1.0.0-rc.10", "cheerio": "^1.0.0-rc.10",
"framer-motion": "^4", "framer-motion": "^4",
"graphql": "^15.5.0", "graphql": "^15.5.0",
"next": "10.2.3", "next": "11.0.2-canary.6",
"next-pwa": "^5.2.21", "next-pwa": "^5.2.21",
"nextjs-cors": "^1.0.5", "nextjs-cors": "^1.0.5",
"react": "17.0.2", "react": "17.0.2",
@@ -45,6 +45,7 @@
"babel-eslint": "^10.0.0", "babel-eslint": "^10.0.0",
"cypress": "^7.5.0", "cypress": "^7.5.0",
"eslint": "^7.5.0", "eslint": "^7.5.0",
"eslint-config-next": "^11.0.1",
"eslint-config-react-app": "^6.0.0", "eslint-config-react-app": "^6.0.0",
"eslint-plugin-cypress": "^2.11.3", "eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-flowtype": "^5.2.0", "eslint-plugin-flowtype": "^5.2.0",
@@ -65,7 +66,8 @@
"extends": [ "extends": [
"react-app", "react-app",
"react-app/jest", "react-app/jest",
"plugin:cypress/recommended" "plugin:cypress/recommended",
"next"
] ]
}, },
"babel": { "babel": {

9454
yarn.lock

File diff suppressed because it is too large Load Diff