From cee941525f5e99fb4fa9b9d97bbd81517d77e8ea Mon Sep 17 00:00:00 2001
From: Jack Merrill
Date: Sun, 8 May 2022 21:45:14 -0500
Subject: [PATCH] cleanup
---
next-env.d.ts | 5 +-
next.config.js | 5 -
package.json | 4 +-
pages/_document.tsx | 6 +-
tsconfig.json | 17 +-
yarn.lock | 1696 ++++---------------------------------------
6 files changed, 150 insertions(+), 1583 deletions(-)
delete mode 100644 next.config.js
diff --git a/next-env.d.ts b/next-env.d.ts
index 7b7aa2c..4f11a03 100644
--- a/next-env.d.ts
+++ b/next-env.d.ts
@@ -1,2 +1,5 @@
///
-///
+///
+
+// NOTE: This file should not be edited
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/next.config.js b/next.config.js
deleted file mode 100644
index 5f37a6b..0000000
--- a/next.config.js
+++ /dev/null
@@ -1,5 +0,0 @@
-module.exports = {
- future: {
- webpack5: true,
- },
-}
\ No newline at end of file
diff --git a/package.json b/package.json
index c1ad390..373ff7a 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,7 @@
"@headlessui/react": "^1.4.1",
"@heroicons/react": "^1.0.4",
"framer-motion": "^4.1.2",
- "next": "^10.1.3",
+ "next": "^12.1.6",
"next-page-transitions": "^1.0.0-beta.2",
"next-seo": "^4.23.0",
"react": "^17.0.1",
@@ -26,7 +26,7 @@
"autoprefixer": "^10.2.5",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^2.0.4",
- "typescript": "4.0"
+ "typescript": "^4.6.4"
},
"license": "MPL-2.0"
}
diff --git a/pages/_document.tsx b/pages/_document.tsx
index d26b9bf..678ef6c 100644
--- a/pages/_document.tsx
+++ b/pages/_document.tsx
@@ -3,7 +3,8 @@ import Document, {
Main,
NextScript,
DocumentContext,
-} from 'next/document';
+ Head,
+} from "next/document";
class MyDocument extends Document {
static async getInitialProps(ctx: DocumentContext) {
@@ -15,10 +16,11 @@ class MyDocument extends Document {
render() {
return (
+
- {process.env.NODE_ENV === 'production' && (
+ {process.env.NODE_ENV === "production" && (
<>