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