cleanup
This commit is contained in:
parent
102456d7eb
commit
cee941525f
5
next-env.d.ts
vendored
5
next-env.d.ts
vendored
|
@ -1,2 +1,5 @@
|
||||||
/// <reference types="next" />
|
/// <reference types="next" />
|
||||||
/// <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.
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
future: {
|
|
||||||
webpack5: true,
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -11,7 +11,7 @@
|
||||||
"@headlessui/react": "^1.4.1",
|
"@headlessui/react": "^1.4.1",
|
||||||
"@heroicons/react": "^1.0.4",
|
"@heroicons/react": "^1.0.4",
|
||||||
"framer-motion": "^4.1.2",
|
"framer-motion": "^4.1.2",
|
||||||
"next": "^10.1.3",
|
"next": "^12.1.6",
|
||||||
"next-page-transitions": "^1.0.0-beta.2",
|
"next-page-transitions": "^1.0.0-beta.2",
|
||||||
"next-seo": "^4.23.0",
|
"next-seo": "^4.23.0",
|
||||||
"react": "^17.0.1",
|
"react": "^17.0.1",
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
"autoprefixer": "^10.2.5",
|
"autoprefixer": "^10.2.5",
|
||||||
"postcss-preset-env": "^6.7.0",
|
"postcss-preset-env": "^6.7.0",
|
||||||
"tailwindcss": "^2.0.4",
|
"tailwindcss": "^2.0.4",
|
||||||
"typescript": "4.0"
|
"typescript": "^4.6.4"
|
||||||
},
|
},
|
||||||
"license": "MPL-2.0"
|
"license": "MPL-2.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,8 @@ import Document, {
|
||||||
Main,
|
Main,
|
||||||
NextScript,
|
NextScript,
|
||||||
DocumentContext,
|
DocumentContext,
|
||||||
} from 'next/document';
|
Head,
|
||||||
|
} from "next/document";
|
||||||
|
|
||||||
class MyDocument extends Document {
|
class MyDocument extends Document {
|
||||||
static async getInitialProps(ctx: DocumentContext) {
|
static async getInitialProps(ctx: DocumentContext) {
|
||||||
|
@ -15,10 +16,11 @@ class MyDocument extends Document {
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Html lang="en">
|
<Html lang="en">
|
||||||
|
<Head />
|
||||||
<body>
|
<body>
|
||||||
<Main />
|
<Main />
|
||||||
<NextScript />
|
<NextScript />
|
||||||
{process.env.NODE_ENV === 'production' && (
|
{process.env.NODE_ENV === "production" && (
|
||||||
<>
|
<>
|
||||||
<noscript>
|
<noscript>
|
||||||
<img src="https://shy.maatt.ch/ingress/6ca8c840-0db8-42ce-91b1-2b185abca277/pixel.gif" />
|
<img src="https://shy.maatt.ch/ingress/6ca8c840-0db8-42ce-91b1-2b185abca277/pixel.gif" />
|
||||||
|
|
|
@ -6,7 +6,10 @@
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
"lib": ["dom", "es2017"],
|
"lib": [
|
||||||
|
"dom",
|
||||||
|
"es2017"
|
||||||
|
],
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
|
@ -16,8 +19,14 @@
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"target": "esnext"
|
"target": "esnext",
|
||||||
|
"incremental": true
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules"],
|
"exclude": [
|
||||||
"include": ["**/*.ts", "**/*.tsx"]
|
"node_modules"
|
||||||
|
],
|
||||||
|
"include": [
|
||||||
|
"**/*.ts",
|
||||||
|
"**/*.tsx"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user