mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
build(deps): bump astro and other dependencies (#651)
* build(deps): bump astro and its related dependencies * build(deps): bump dependencies to latest versions
This commit is contained in:
+7
-1
@@ -7,6 +7,7 @@ import {
|
|||||||
import tailwindcss from "@tailwindcss/vite";
|
import tailwindcss from "@tailwindcss/vite";
|
||||||
import mdx from "@astrojs/mdx";
|
import mdx from "@astrojs/mdx";
|
||||||
import sitemap from "@astrojs/sitemap";
|
import sitemap from "@astrojs/sitemap";
|
||||||
|
import { unified } from "@astrojs/markdown-remark";
|
||||||
import remarkToc from "remark-toc";
|
import remarkToc from "remark-toc";
|
||||||
import remarkCollapse from "remark-collapse";
|
import remarkCollapse from "remark-collapse";
|
||||||
import {
|
import {
|
||||||
@@ -34,7 +35,12 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
markdown: {
|
markdown: {
|
||||||
remarkPlugins: [remarkToc, [remarkCollapse, { test: "Table of contents" }]],
|
processor: unified({
|
||||||
|
remarkPlugins: [
|
||||||
|
remarkToc,
|
||||||
|
[remarkCollapse, { test: "Table of contents" }],
|
||||||
|
],
|
||||||
|
}),
|
||||||
shikiConfig: {
|
shikiConfig: {
|
||||||
themes: { light: "min-light", dark: "night-owl" },
|
themes: { light: "min-light", dark: "night-owl" },
|
||||||
defaultColor: false,
|
defaultColor: false,
|
||||||
|
|||||||
+9
-8
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "astro-paper-v6",
|
"name": "astro-paper-v6",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.0.1",
|
"version": "6.0.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=22.12.0"
|
"node": ">=22.12.0"
|
||||||
},
|
},
|
||||||
@@ -16,12 +16,12 @@
|
|||||||
"lint": "eslint ."
|
"lint": "eslint ."
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/mdx": "^5.0.6",
|
"@astrojs/mdx": "^6.0.1",
|
||||||
"@astrojs/rss": "^4.0.18",
|
"@astrojs/rss": "^4.0.18",
|
||||||
"@astrojs/sitemap": "^3.7.2",
|
"@astrojs/sitemap": "^3.7.3",
|
||||||
"@tailwindcss/vite": "^4.3.0",
|
"@tailwindcss/vite": "^4.3.0",
|
||||||
"astro": "^6.3.3",
|
"astro": "^6.4.2",
|
||||||
"dayjs": "^1.11.20",
|
"dayjs": "^1.11.21",
|
||||||
"lodash.kebabcase": "^4.1.1",
|
"lodash.kebabcase": "^4.1.1",
|
||||||
"remark-collapse": "^0.1.2",
|
"remark-collapse": "^0.1.2",
|
||||||
"remark-toc": "^9.0.0",
|
"remark-toc": "^9.0.0",
|
||||||
@@ -32,12 +32,13 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/check": "^0.9.9",
|
"@astrojs/check": "^0.9.9",
|
||||||
|
"@astrojs/markdown-remark": "^7.2.0",
|
||||||
"@pagefind/default-ui": "^1.5.2",
|
"@pagefind/default-ui": "^1.5.2",
|
||||||
"@shikijs/transformers": "^4.0.2",
|
"@shikijs/transformers": "^4.1.0",
|
||||||
"@tailwindcss/typography": "^0.5.19",
|
"@tailwindcss/typography": "^0.5.19",
|
||||||
"@types/lodash.kebabcase": "^4.1.9",
|
"@types/lodash.kebabcase": "^4.1.9",
|
||||||
"@typescript-eslint/parser": "^8.59.3",
|
"@typescript-eslint/parser": "^8.60.0",
|
||||||
"eslint": "^10.4.0",
|
"eslint": "^10.4.1",
|
||||||
"eslint-plugin-astro": "^1.7.0",
|
"eslint-plugin-astro": "^1.7.0",
|
||||||
"pagefind": "^1.5.2",
|
"pagefind": "^1.5.2",
|
||||||
"prettier": "3.8.3",
|
"prettier": "3.8.3",
|
||||||
|
|||||||
Generated
+395
-385
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user