chore: upgrade dependencies

This commit is contained in:
eggy 2024-03-01 13:01:21 -05:00
parent 0f14ad569f
commit 194c5343c6
4 changed files with 4765 additions and 3691 deletions

View File

@ -1,6 +1,6 @@
<script setup lang="ts"> <script setup lang="ts">
import { getPrettyDate, getUtcDate } from "~~/shared/metadata"; import { getPrettyDate, getUtcDate } from "~~/shared/metadata";
import { AnyParsedContent } from "~~/shared/types"; import type { AnyParsedContent } from "~~/shared/types";
const props = defineProps<{ doc: AnyParsedContent }>(); const props = defineProps<{ doc: AnyParsedContent }>();

View File

@ -31,7 +31,7 @@ export default defineNuxtConfig({
"@nuxt/content", "@nuxt/content",
"@nuxtjs/tailwindcss", "@nuxtjs/tailwindcss",
"@nuxtjs/color-mode", "@nuxtjs/color-mode",
"@funken-studio/sitemap-nuxt-3", "@nuxtjs/sitemap",
], ],
css: ["@/assets/css/main.scss"], css: ["@/assets/css/main.scss"],
nitro: { nitro: {
@ -42,9 +42,11 @@ export default defineNuxtConfig({
typescript: { typescript: {
shim: false, shim: false,
}, },
/* @ts-expect-error */ site: {
url: process.env.BASE_URL || "https://eggworld.me",
},
sitemap: { sitemap: {
hostname: process.env.BASE_URL || "https://eggworld.me", strictNuxtContentPaths: true,
}, },
tailwindcss: {}, tailwindcss: {},
colorMode: { colorMode: {
@ -94,6 +96,9 @@ export default defineNuxtConfig({
}, },
}, },
experimental: { experimental: {
sharedPrerenderData: true,
},
features: {
noScripts: true, noScripts: true,
}, },
}); });

View File

@ -7,21 +7,20 @@
"preview": "nuxt preview" "preview": "nuxt preview"
}, },
"devDependencies": { "devDependencies": {
"@funken-studio/sitemap-nuxt-3": "^4.0.4", "@nuxt/content": "^2.12.0",
"@nuxt/content": "^2.6.0", "@nuxtjs/color-mode": "^3.3.2",
"@nuxtjs/color-mode": "^3.2.0", "@nuxtjs/sitemap": "^5.1.0",
"@nuxtjs/tailwindcss": "^6.7.0", "@nuxtjs/tailwindcss": "^6.11.4",
"@tailwindcss/typography": "^0.5.9", "@tailwindcss/typography": "^0.5.10",
"@types/node": "^20.2.5", "@types/node": "^20.11.24",
"dayjs": "^1.11.7", "dayjs": "^1.11.10",
"nuxt": "3.5.2", "nuxt": "3.10.3",
"prettier": "^3.1.1", "prettier": "^3.2.5",
"reading-time": "^2.0.0-1", "reading-time": "^2.0.0-1",
"rehype-katex": "^6.0.3", "rehype-katex": "^7.0.0",
"remark-math": "^5.1.1", "remark-math": "^6.0.0",
"sass": "^1.62.1", "sass": "^1.71.1",
"typescript": "^5.0.4", "typescript": "^5.3.3",
"unist-util-visit": "^4.1.2", "vite-svg-loader": "^5.1.0"
"vite-svg-loader": "^4.0.0"
} }
} }

8414
yarn.lock

File diff suppressed because it is too large Load Diff