mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-16 20:05:31 -04:00
bump next (next/future/image
-> next/image
)
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
import NextImage from "next/future/image";
|
import NextImage from "next/image";
|
||||||
import Link from "../Link";
|
import Link from "../Link";
|
||||||
import { styled, theme } from "../../lib/styles/stitches.config";
|
import { styled, theme } from "../../lib/styles/stitches.config";
|
||||||
import type { ComponentProps } from "react";
|
import type { ComponentProps } from "react";
|
||||||
import type { ImageProps as NextImageProps, StaticImageData } from "next/future/image";
|
import type { ImageProps as NextImageProps, StaticImageData } from "next/image";
|
||||||
|
|
||||||
const DEFAULT_QUALITY = 60;
|
const DEFAULT_QUALITY = 60;
|
||||||
const DEFAULT_WIDTH = Number.parseInt(theme.sizes.maxLayoutWidth.value, 10); // see lib/styles/stitches.config.ts
|
const DEFAULT_WIDTH = Number.parseInt(theme.sizes.maxLayoutWidth.value, 10); // see lib/styles/stitches.config.ts
|
||||||
|
@@ -21,7 +21,7 @@ export const defaultSeo: DefaultSeoProps = {
|
|||||||
titleTemplate: `%s – ${config.siteName}`, // appends `– siteName` to title provided by each page (except home)
|
titleTemplate: `%s – ${config.siteName}`, // appends `– siteName` to title provided by each page (except home)
|
||||||
description: config.longDescription,
|
description: config.longDescription,
|
||||||
openGraph: {
|
openGraph: {
|
||||||
site_name: config.siteName,
|
siteName: config.siteName,
|
||||||
title: `${config.siteName} – ${config.shortDescription}`,
|
title: `${config.siteName} – ${config.shortDescription}`,
|
||||||
locale: config.siteLocale?.replace("-", "_"),
|
locale: config.siteLocale?.replace("-", "_"),
|
||||||
type: "website",
|
type: "website",
|
||||||
|
@@ -31,7 +31,6 @@ module.exports = (phase) => {
|
|||||||
},
|
},
|
||||||
experimental: {
|
experimental: {
|
||||||
legacyBrowsers: false,
|
legacyBrowsers: false,
|
||||||
browsersListForSwc: true,
|
|
||||||
newNextLinkBehavior: true, // https://github.com/vercel/next.js/pull/36436
|
newNextLinkBehavior: true, // https://github.com/vercel/next.js/pull/36436
|
||||||
optimisticClientCache: false, // https://github.com/vercel/next.js/discussions/40268#discussioncomment-3572642
|
optimisticClientCache: false, // https://github.com/vercel/next.js/discussions/40268#discussioncomment-3572642
|
||||||
},
|
},
|
||||||
|
1089
package-lock.json
generated
1089
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
34
package.json
34
package.json
@@ -18,22 +18,22 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/comic-neue": "4.5.10",
|
"@fontsource/comic-neue": "4.5.10",
|
||||||
"@fontsource/inter": "4.5.13",
|
"@fontsource/inter": "4.5.14",
|
||||||
"@fontsource/roboto-mono": "4.5.8",
|
"@fontsource/roboto-mono": "4.5.8",
|
||||||
"@giscus/react": "^2.2.0",
|
"@giscus/react": "^2.2.0",
|
||||||
"@hcaptcha/react-hcaptcha": "^1.4.4",
|
"@hcaptcha/react-hcaptcha": "^1.4.4",
|
||||||
"@novnc/novnc": "github:novnc/novnc#c101a31520aba083a85edcb2f3269a826471007a",
|
"@novnc/novnc": "github:novnc/novnc#c101a31520aba083a85edcb2f3269a826471007a",
|
||||||
"@octokit/graphql": "^5.0.3",
|
"@octokit/graphql": "^5.0.4",
|
||||||
"@octokit/graphql-schema": "^12.11.0",
|
"@octokit/graphql-schema": "^12.16.0",
|
||||||
"@primer/octicons": "^17.7.0",
|
"@primer/octicons": "^17.7.0",
|
||||||
"@prisma/client": "^4.4.0",
|
"@prisma/client": "^4.5.0",
|
||||||
"@react-spring/web": "^9.5.5",
|
"@react-spring/web": "^9.5.5",
|
||||||
"@sentry/node": "^7.15.0",
|
"@sentry/node": "^7.16.0",
|
||||||
"@sentry/tracing": "^7.15.0",
|
"@sentry/tracing": "^7.16.0",
|
||||||
"@stitches/react": "^1.2.8",
|
"@stitches/react": "^1.2.8",
|
||||||
"comma-number": "^2.1.0",
|
"comma-number": "^2.1.0",
|
||||||
"copy-to-clipboard": "^3.3.2",
|
"copy-to-clipboard": "^3.3.2",
|
||||||
"dayjs": "^1.11.5",
|
"dayjs": "^1.11.6",
|
||||||
"fast-glob": "^3.2.12",
|
"fast-glob": "^3.2.12",
|
||||||
"fathom-client": "^3.5.0",
|
"fathom-client": "^3.5.0",
|
||||||
"feather-icons": "^4.29.0",
|
"feather-icons": "^4.29.0",
|
||||||
@@ -43,9 +43,9 @@
|
|||||||
"hex-to-rgba": "^2.0.1",
|
"hex-to-rgba": "^2.0.1",
|
||||||
"marked": "^4.1.1",
|
"marked": "^4.1.1",
|
||||||
"mem": "^9.0.2",
|
"mem": "^9.0.2",
|
||||||
"next": "12.3.2-canary.28",
|
"next": "12.3.2-canary.33",
|
||||||
"next-mdx-remote": "^4.1.0",
|
"next-mdx-remote": "^4.1.0",
|
||||||
"next-seo": "^5.5.0",
|
"next-seo": "^5.8.0",
|
||||||
"obj-str": "^1.1.0",
|
"obj-str": "^1.1.0",
|
||||||
"p-map": "^5.5.0",
|
"p-map": "^5.5.0",
|
||||||
"p-memoize": "^7.1.1",
|
"p-memoize": "^7.1.1",
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
"remark-smartypants": "^2.0.0",
|
"remark-smartypants": "^2.0.0",
|
||||||
"remark-unwrap-images": "^3.0.1",
|
"remark-unwrap-images": "^3.0.1",
|
||||||
"remove-markdown": "^0.5.0",
|
"remove-markdown": "^0.5.0",
|
||||||
"simple-icons": "^7.15.0",
|
"simple-icons": "^7.16.0",
|
||||||
"sitemap": "^7.1.1",
|
"sitemap": "^7.1.1",
|
||||||
"swr": "^1.3.0"
|
"swr": "^1.3.0"
|
||||||
},
|
},
|
||||||
@@ -83,19 +83,19 @@
|
|||||||
"@types/react-dom": "^18.0.6",
|
"@types/react-dom": "^18.0.6",
|
||||||
"@types/react-is": "^17.0.3",
|
"@types/react-is": "^17.0.3",
|
||||||
"@types/remove-markdown": "^0.3.1",
|
"@types/remove-markdown": "^0.3.1",
|
||||||
"@types/uglify-js": "^3.17.0",
|
"@types/uglify-js": "^3.17.1",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.40.0",
|
"@typescript-eslint/eslint-plugin": "^5.40.1",
|
||||||
"@typescript-eslint/parser": "^5.40.0",
|
"@typescript-eslint/parser": "^5.40.1",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"eslint": "~8.25.0",
|
"eslint": "~8.26.0",
|
||||||
"eslint-config-next": "12.3.2-canary.28",
|
"eslint-config-next": "12.3.2-canary.33",
|
||||||
"eslint-config-prettier": "~8.5.0",
|
"eslint-config-prettier": "~8.5.0",
|
||||||
"eslint-plugin-mdx": "~2.0.5",
|
"eslint-plugin-mdx": "~2.0.5",
|
||||||
"eslint-plugin-prettier": "~4.2.1",
|
"eslint-plugin-prettier": "~4.2.1",
|
||||||
"lint-staged": "^13.0.3",
|
"lint-staged": "^13.0.3",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"prisma": "^4.4.0",
|
"prisma": "^4.5.0",
|
||||||
"simple-git-hooks": "^2.8.0",
|
"simple-git-hooks": "^2.8.1",
|
||||||
"typescript": "^4.8.4",
|
"typescript": "^4.8.4",
|
||||||
"uglify-js": "^3.17.3"
|
"uglify-js": "^3.17.3"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user