mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 06:18:19 +01:00
chore: ⬆️ Upgrade all dependencies except shiki
This commit is contained in:
parent
f39d34b769
commit
27631b618e
|
|
@ -8,7 +8,7 @@ import { visit } from "unist-util-visit";
|
|||
function rehypeParseCodeBlocks() {
|
||||
return (tree) => {
|
||||
// biome-ignore lint/style/useNamingConvention: <explanation>
|
||||
visit(tree, "element", (node, _, parentNode) => {
|
||||
visit(tree, "element", (node, _nodeIndex, parentNode) => {
|
||||
if (node.tagName === "code" && node.properties.className) {
|
||||
parentNode.properties.language =
|
||||
node.properties.className[0]?.replace(/^language-/, "");
|
||||
|
|
|
|||
73
package.json
73
package.json
|
|
@ -6,55 +6,56 @@
|
|||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint-next": "next lint",
|
||||
"typecheck": "tsc -p .",
|
||||
"lint": "bunx @biomejs/biome check ."
|
||||
},
|
||||
"browserslist": "defaults, not ie <= 11",
|
||||
"dependencies": {
|
||||
"@algolia/autocomplete-core": "^1.7.3",
|
||||
"@headlessui/react": "^2.0.1",
|
||||
"@headlessui/tailwindcss": "^0.2.0",
|
||||
"@mdx-js/loader": "^3.0.0",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
"@next/mdx": "^14.0.4",
|
||||
"@sindresorhus/slugify": "^2.1.1",
|
||||
"@tailwindcss/typography": "^0.5.10",
|
||||
"@types/mdx": "^2.0.8",
|
||||
"@types/node": "^20.10.8",
|
||||
"@types/react": "^18.2.47",
|
||||
"@types/react-dom": "^18.2.18",
|
||||
"@types/react-highlight-words": "^0.16.4",
|
||||
"acorn": "^8.8.1",
|
||||
"autoprefixer": "^10.4.7",
|
||||
"clsx": "^2.1.0",
|
||||
"fast-glob": "^3.3.0",
|
||||
"flexsearch": "^0.7.31",
|
||||
"framer-motion": "^10.18.0",
|
||||
"@algolia/autocomplete-core": "^1.17.4",
|
||||
"@headlessui/react": "^2.1.2",
|
||||
"@headlessui/tailwindcss": "^0.2.1",
|
||||
"@mdx-js/loader": "^3.0.1",
|
||||
"@mdx-js/react": "^3.0.1",
|
||||
"@next/mdx": "^14.2.5",
|
||||
"@shikijs/rehype": "^1.11.0",
|
||||
"@sindresorhus/slugify": "^2.2.1",
|
||||
"@tailwindcss/typography": "^0.5.13",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^20.14.11",
|
||||
"@types/react": "^18.3.3",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@types/react-highlight-words": "^0.20.0",
|
||||
"acorn": "^8.12.1",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"clsx": "^2.1.1",
|
||||
"fast-glob": "^3.3.2",
|
||||
"flexsearch": "^0.7.43",
|
||||
"framer-motion": "^11.3.8",
|
||||
"mdast-util-to-string": "^4.0.0",
|
||||
"mdx-annotations": "^0.1.1",
|
||||
"next": "^14.0.4",
|
||||
"next-themes": "^0.2.1",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"mdx-annotations": "^0.1.4",
|
||||
"next": "^14.2.5",
|
||||
"next-themes": "^0.3.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-highlight-words": "^0.20.0",
|
||||
"remark": "^15.0.1",
|
||||
"remark-gfm": "^4.0.0",
|
||||
"remark-mdx": "^3.0.0",
|
||||
"shiki": "^0.14.7",
|
||||
"remark-mdx": "^3.0.1",
|
||||
"shiki": "0.14.7",
|
||||
"simple-functional-loader": "^1.2.1",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"typescript": "^5.3.3",
|
||||
"tailwindcss": "^3.4.6",
|
||||
"typescript": "^5.5.3",
|
||||
"unist-util-filter": "^5.0.1",
|
||||
"unist-util-visit": "^5.0.0",
|
||||
"zustand": "^4.3.2"
|
||||
"zustand": "^4.5.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.8.3",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-config-next": "^14.0.4",
|
||||
"prettier": "^3.1.1",
|
||||
"prettier-plugin-tailwindcss": "^0.5.11",
|
||||
"sharp": "0.33.1"
|
||||
"eslint": "^9.7.0",
|
||||
"eslint-config-next": "^14.2.5",
|
||||
"prettier": "^3.3.3",
|
||||
"prettier-plugin-tailwindcss": "^0.6.5",
|
||||
"sharp": "^0.33.4"
|
||||
},
|
||||
"trustedDependencies": ["@biomejs/biome"]
|
||||
"trustedDependencies": ["@biomejs/biome", "sharp"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue