1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 09:05:22 -04:00

bump some deps

This commit is contained in:
Jake Jarvis 2023-03-23 10:49:36 -04:00
parent 88b1633d7a
commit a4a402bcde
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
4 changed files with 424 additions and 456 deletions

View File

@ -4,27 +4,29 @@ import {
Comic_Neue as ComicNeueLoader,
} from "@next/font/google";
// note: subsets are set to 'latin' globally in next.config.js
// https://beta.nextjs.org/docs/optimizing/fonts#specifying-a-subset
export const Inter = InterLoader({
const Inter = InterLoader({
weight: "variable",
subsets: ["latin"],
display: "fallback",
preload: true,
});
export const SourceCodePro = SourceCodeProLoader({
const SourceCodePro = SourceCodeProLoader({
weight: "variable",
subsets: ["latin"],
display: "fallback",
preload: true,
});
// only for use in pages/previously.tsx (and tree-shaken out everywhere else in production)
export const ComicNeue = ComicNeueLoader({
const ComicNeue = ComicNeueLoader({
weight: ["400", "700"],
style: ["normal", "italic"],
subsets: ["latin"],
display: "swap",
fallback: ["'Comic Sans MS'", "'Comic Sans'"],
adjustFontFallback: false,
preload: false,
});
export { Inter, SourceCodePro, ComicNeue };

View File

@ -33,13 +33,6 @@ module.exports = (phase) => {
legacyBrowsers: false,
newNextLinkBehavior: true, // https://github.com/vercel/next.js/pull/36436
optimisticClientCache: false, // https://github.com/vercel/next.js/discussions/40268#discussioncomment-3572642
fontLoaders: [
{
// https://beta.nextjs.org/docs/optimizing/fonts#specifying-a-subset
loader: "@next/font/google",
options: { subsets: ["latin"] },
},
],
},
webpack: (config) => {
// allow processing SVGs from the below packages directly instead of through their different exports, and leave

821
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -19,15 +19,15 @@
"dependencies": {
"@giscus/react": "^2.2.8",
"@hcaptcha/react-hcaptcha": "^1.4.4",
"@next/font": "13.2.3",
"@next/font": "13.2.5-canary.13",
"@novnc/novnc": "github:novnc/novnc#cd94c2aed2582fd85ec5ecc444967fc7ec60a649",
"@octokit/graphql": "^5.0.5",
"@octokit/graphql-schema": "^13.7.0",
"@primer/octicons": "^18.1.0",
"@primer/octicons": "^18.2.0",
"@prisma/client": "^4.11.0",
"@react-spring/web": "^9.7.1",
"@sentry/node": "^7.41.0",
"@sentry/tracing": "^7.41.0",
"@sentry/node": "^7.44.2",
"@sentry/tracing": "^7.44.2",
"@stitches/react": "^1.2.8",
"comma-number": "^2.1.0",
"copy-to-clipboard": "^3.3.3",
@ -39,8 +39,8 @@
"formik": "^2.2.9",
"gray-matter": "^4.0.3",
"hex-to-rgba": "^2.0.1",
"marked": "^4.2.12",
"next": "13.2.3",
"marked": "^4.3.0",
"next": "13.2.5-canary.13",
"next-mdx-remote": "^4.4.1",
"next-seo": "^5.15.0",
"obj-str": "^1.1.0",
@ -50,13 +50,13 @@
"query-string": "^8.1.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-error-boundary": "^3.1.4",
"react-error-boundary": "^4.0.2",
"react-gist": "^1.2.4",
"react-innertext": "^1.1.5",
"react-intersection-observer": "^9.4.3",
"react-is": "18.2.0",
"react-player": "^2.12.0",
"react-textarea-autosize": "^8.4.0",
"react-textarea-autosize": "^8.4.1",
"react-twitter-embed": "^4.0.4",
"rehype-prism-plus": "^1.5.1",
"rehype-slug": "^5.1.0",
@ -64,9 +64,9 @@
"remark-smartypants": "^2.0.0",
"remark-unwrap-images": "^3.0.1",
"remove-markdown": "^0.5.0",
"simple-icons": "^8.6.0",
"simple-icons": "^8.8.0",
"sitemap": "^7.1.1",
"swr": "^2.1.0"
"swr": "^2.1.1"
},
"devDependencies": {
"@jakejarvis/eslint-config": "*",
@ -81,19 +81,19 @@
"@types/react-is": "^17.0.3",
"@types/remove-markdown": "^0.3.1",
"@types/uglify-js": "^3.17.1",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"cross-env": "^7.0.3",
"eslint": "~8.35.0",
"eslint-config-next": "13.2.3",
"eslint-config-prettier": "~8.7.0",
"eslint": "~8.36.0",
"eslint-config-next": "13.2.5-canary.13",
"eslint-config-prettier": "~8.8.0",
"eslint-plugin-mdx": "~2.0.5",
"eslint-plugin-prettier": "~4.2.1",
"lint-staged": "^13.1.2",
"prettier": "^2.8.4",
"lint-staged": "^13.2.0",
"prettier": "^2.8.6",
"prisma": "^4.11.0",
"simple-git-hooks": "^2.8.1",
"typescript": "^4.9.5",
"typescript": "^5.0.2",
"uglify-js": "^3.17.4"
},
"optionalDependencies": {
@ -117,6 +117,6 @@
"packageManager": "npm@9.4.1",
"volta": {
"node": "18.15.0",
"npm": "9.6.1"
"npm": "9.6.2"
}
}