chore: update dependencies

This commit is contained in:
radishzzz 2025-02-04 15:23:40 +00:00
parent 3bd8e6ad1c
commit 35b2542ec8
3 changed files with 357 additions and 405 deletions

23
.vscode/settings.json vendored
View file

@ -6,12 +6,17 @@
"strings": "on" "strings": "on"
} }
}, },
// Disable the default formatter, use eslint instead
"prettier.enable": false, "prettier.enable": false,
"editor.formatOnSave": false, "editor.formatOnSave": false,
// Auto fix
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit", "source.fixAll.eslint": "explicit",
"source.organizeImports": "never" "source.organizeImports": "never"
}, },
// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [ "eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off", "fixable": true }, { "rule": "style/*", "severity": "off", "fixable": true },
{ "rule": "format/*", "severity": "off", "fixable": true }, { "rule": "format/*", "severity": "off", "fixable": true },
@ -24,6 +29,8 @@
{ "rule": "*quotes", "severity": "off", "fixable": true }, { "rule": "*quotes", "severity": "off", "fixable": true },
{ "rule": "*semi", "severity": "off", "fixable": true } { "rule": "*semi", "severity": "off", "fixable": true }
], ],
// Enable eslint for all supported languages
"eslint.validate": [ "eslint.validate": [
"javascript", "javascript",
"javascriptreact", "javascriptreact",
@ -46,8 +53,22 @@
"pcss", "pcss",
"postcss" "postcss"
], ],
"typescript.tsdk": "node_modules/typescript/lib", "typescript.tsdk": "node_modules/typescript/lib",
"files.associations": { "files.associations": {
"*.mdx": "markdown" "*.mdx": "markdown"
} },
"cSpell.words": [
"antfu",
"astrojs",
"attributify",
"katex",
"mdast",
"overlayscrollbars",
"partytown",
"photoswipe",
"rehype",
"unocss",
"vite"
]
} }

View file

@ -15,13 +15,13 @@
}, },
"dependencies": { "dependencies": {
"@astrojs/check": "^0.9.4", "@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^4.0.7", "@astrojs/mdx": "^4.0.8",
"@astrojs/partytown": "^2.1.3", "@astrojs/partytown": "^2.1.3",
"@astrojs/rss": "^4.0.11", "@astrojs/rss": "^4.0.11",
"@astrojs/sitemap": "^3.2.1", "@astrojs/sitemap": "^3.2.1",
"@rehype-pretty/transformers": "^0.13.2", "@rehype-pretty/transformers": "^0.13.2",
"@unocss/reset": "^65.4.3", "@unocss/reset": "^65.4.3",
"astro": "^5.1.10", "astro": "^5.2.4",
"astro-compress": "^2.3.6", "astro-compress": "^2.3.6",
"astro-robots-txt": "^1.0.0", "astro-robots-txt": "^1.0.0",
"hastscript": "^9.0.0", "hastscript": "^9.0.0",
@ -45,10 +45,10 @@
"vite": "^6.0.11" "vite": "^6.0.11"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^4.1.0", "@antfu/eslint-config": "^4.1.1",
"@types/markdown-it": "^14.1.2", "@types/markdown-it": "^14.1.2",
"@types/mdast": "^4.0.4", "@types/mdast": "^4.0.4",
"@types/node": "^22.12.0", "@types/node": "^22.13.1",
"@types/sanitize-html": "^2.13.0", "@types/sanitize-html": "^2.13.0",
"@unocss/eslint-plugin": "^65.4.3", "@unocss/eslint-plugin": "^65.4.3",
"@unocss/preset-attributify": "^65.4.3", "@unocss/preset-attributify": "^65.4.3",

731
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff