mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-16 17:55:32 -04:00
bump next
This commit is contained in:
@@ -40,6 +40,7 @@ module.exports = {
|
||||
"import/no-unresolved": "off",
|
||||
"react/jsx-no-undef": "off",
|
||||
"react/jsx-boolean-value": "off", // TODO: causes some inconsistent parser errors in mdx
|
||||
"react/no-unknown-property": "off",
|
||||
},
|
||||
},
|
||||
],
|
||||
|
@@ -55,21 +55,15 @@ const Image = ({ src, width, height, quality = 60, placeholder, href, inline, ..
|
||||
throw new TypeError("'src' should be a string or a valid StaticImageData object.");
|
||||
}
|
||||
|
||||
const StyledImageWithProps = <StyledImage {...imageProps} />;
|
||||
|
||||
return inline ? (
|
||||
StyledImageWithProps
|
||||
const StyledImageWithProps = href ? (
|
||||
<Link href={href} underline={false}>
|
||||
<StyledImage {...imageProps} />
|
||||
</Link>
|
||||
) : (
|
||||
<Block>
|
||||
{href ? (
|
||||
<Link href={href} underline={false}>
|
||||
{StyledImageWithProps}
|
||||
</Link>
|
||||
) : (
|
||||
StyledImageWithProps
|
||||
)}
|
||||
</Block>
|
||||
<StyledImage {...imageProps} />
|
||||
);
|
||||
|
||||
return inline ? StyledImageWithProps : <Block>{StyledImageWithProps}</Block>;
|
||||
};
|
||||
|
||||
export default Image;
|
||||
|
@@ -32,9 +32,6 @@ module.exports = (phase) => {
|
||||
experimental: {
|
||||
legacyBrowsers: false,
|
||||
browsersListForSwc: true,
|
||||
images: {
|
||||
allowFutureImage: true, // https://github.com/vercel/next.js/pull/37927
|
||||
},
|
||||
newNextLinkBehavior: true, // https://github.com/vercel/next.js/pull/36436
|
||||
},
|
||||
webpack: (config) => {
|
||||
|
1352
package-lock.json
generated
1352
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
26
package.json
26
package.json
@@ -24,12 +24,12 @@
|
||||
"@hcaptcha/react-hcaptcha": "^1.4.4",
|
||||
"@novnc/novnc": "github:novnc/novnc#cdfb33665195eb9a73fb00feb6ebaccd1068cd50",
|
||||
"@octokit/graphql": "^5.0.1",
|
||||
"@octokit/graphql-schema": "^12.0.0",
|
||||
"@octokit/graphql-schema": "^12.1.0",
|
||||
"@primer/octicons": "^17.5.0",
|
||||
"@prisma/client": "^4.3.0",
|
||||
"@prisma/client": "^4.3.1",
|
||||
"@react-spring/web": "^9.5.2",
|
||||
"@sentry/node": "^7.11.1",
|
||||
"@sentry/tracing": "^7.11.1",
|
||||
"@sentry/node": "^7.12.1",
|
||||
"@sentry/tracing": "^7.12.1",
|
||||
"@stitches/react": "^1.2.8",
|
||||
"comma-number": "^2.1.0",
|
||||
"copy-to-clipboard": "^3.3.2",
|
||||
@@ -42,7 +42,7 @@
|
||||
"gray-matter": "^4.0.3",
|
||||
"hex-to-rgba": "^2.0.1",
|
||||
"marked": "^4.1.0",
|
||||
"next": "12.2.6-canary.6",
|
||||
"next": "12.2.6-canary.10",
|
||||
"next-mdx-remote": "^4.1.0",
|
||||
"next-seo": "^5.5.0",
|
||||
"obj-str": "^1.1.0",
|
||||
@@ -66,7 +66,7 @@
|
||||
"remark-smartypants": "^2.0.0",
|
||||
"remark-unwrap-images": "^3.0.1",
|
||||
"remove-markdown": "^0.5.0",
|
||||
"simple-icons": "^7.9.0",
|
||||
"simple-icons": "^7.10.0",
|
||||
"sitemap": "^7.1.1",
|
||||
"swr": "^1.3.0"
|
||||
},
|
||||
@@ -83,23 +83,23 @@
|
||||
"@types/react-is": "^17.0.3",
|
||||
"@types/remove-markdown": "^0.3.1",
|
||||
"@types/uglify-js": "^3.17.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.36.1",
|
||||
"@typescript-eslint/parser": "^5.36.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.36.2",
|
||||
"@typescript-eslint/parser": "^5.36.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "~8.23.0",
|
||||
"eslint-config-next": "12.2.6-canary.6",
|
||||
"eslint-config-next": "12.2.6-canary.10",
|
||||
"eslint-config-prettier": "~8.5.0",
|
||||
"eslint-plugin-mdx": "~2.0.2",
|
||||
"eslint-plugin-mdx": "~2.0.3",
|
||||
"eslint-plugin-prettier": "~4.2.1",
|
||||
"lint-staged": "^13.0.3",
|
||||
"prettier": "^2.7.1",
|
||||
"prisma": "^4.3.0",
|
||||
"prisma": "^4.3.1",
|
||||
"simple-git-hooks": "^2.8.0",
|
||||
"typescript": "^4.8.2",
|
||||
"uglify-js": "^3.17.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"sharp": "^0.30.7"
|
||||
"sharp": "^0.31.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.x"
|
||||
@@ -118,6 +118,6 @@
|
||||
},
|
||||
"volta": {
|
||||
"node": "16.17.0",
|
||||
"npm": "8.18.0"
|
||||
"npm": "8.19.1"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user