mirror of https://github.com/YunYouJun/valaxy
feat: upgrade vite@7 & remove sass modern api config
This commit is contained in:
parent
11fe19396f
commit
45c85386b1
|
@ -10,8 +10,8 @@
|
|||
"typedoc": "typedoc --options ./typedoc.json"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typedoc": "^0.28.5",
|
||||
"typedoc-plugin-markdown": "^4.6.4",
|
||||
"typedoc": "^0.28.6",
|
||||
"typedoc-plugin-markdown": "^4.7.0",
|
||||
"typedoc-vitepress-theme": "^1.1.2",
|
||||
"vitepress": "^1.6.3"
|
||||
}
|
||||
|
|
20
package.json
20
package.json
|
@ -3,7 +3,7 @@
|
|||
"type": "module",
|
||||
"version": "0.23.5",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.12.1",
|
||||
"packageManager": "pnpm@10.12.4",
|
||||
"description": "📄 Vite & Vue powered static blog generator.",
|
||||
"author": {
|
||||
"email": "me@yunyoujun.cn",
|
||||
|
@ -82,36 +82,36 @@
|
|||
"valaxy-theme-yun": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^4.14.1",
|
||||
"@antfu/eslint-config": "^4.16.1",
|
||||
"@iconify-json/logos": "catalog:",
|
||||
"@iconify-json/vscode-icons": "catalog:",
|
||||
"@microsoft/api-extractor": "^7.52.8",
|
||||
"@playwright/test": "^1.53.0",
|
||||
"@playwright/test": "^1.53.1",
|
||||
"@types/debug": "^4.1.12",
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@types/markdown-it-attrs": "^4.1.3",
|
||||
"@types/markdown-it-container": "^2.0.10",
|
||||
"@types/markdown-it-emoji": "^3.0.1",
|
||||
"@types/node": "^24.0.1",
|
||||
"@types/node": "^24.0.7",
|
||||
"@types/prompts": "^2.4.9",
|
||||
"bumpp": "^10.1.1",
|
||||
"bumpp": "^10.2.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^9.29.0",
|
||||
"eslint": "^9.30.0",
|
||||
"https-localhost": "^4.7.1",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^16.1.2",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prompts": "^2.4.2",
|
||||
"rimraf": "^6.0.1",
|
||||
"stylelint": "^16.20.0",
|
||||
"stylelint-config-recommended-vue": "^1.6.0",
|
||||
"stylelint": "^16.21.0",
|
||||
"stylelint-config-recommended-vue": "^1.6.1",
|
||||
"stylelint-config-standard-scss": "^15.0.1",
|
||||
"tsup": "^8.5.0",
|
||||
"tsx": "^4.20.3",
|
||||
"typescript": "catalog:",
|
||||
"unbuild": "catalog:",
|
||||
"vite-node": "^3.2.3",
|
||||
"vitest": "^3.2.3",
|
||||
"vite-node": "^3.2.4",
|
||||
"vitest": "^3.2.4",
|
||||
"vue-tsc": "2.2.0",
|
||||
"zx": "catalog:"
|
||||
},
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
"release": "bumpp && pnpm publish"
|
||||
},
|
||||
"dependencies": {
|
||||
"@rollup/pluginutils": "^5.1.4",
|
||||
"@rollup/pluginutils": "^5.2.0",
|
||||
"axios": "^1.10.0",
|
||||
"body-parser": "^2.2.0",
|
||||
"cors": "^2.8.5",
|
||||
|
@ -42,7 +42,7 @@
|
|||
"js-yaml": "^4.1.0",
|
||||
"pathe": "^2.0.3",
|
||||
"sirv": "^3.0.1",
|
||||
"vite-dev-rpc": "^1.0.7"
|
||||
"vite-dev-rpc": "^1.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@advjs/gui": "0.0.7-beta.7",
|
||||
|
@ -57,7 +57,7 @@
|
|||
"splitpanes": "^4.0.4",
|
||||
"typescript": "catalog:",
|
||||
"unbuild": "catalog:",
|
||||
"unplugin-vue-router": "^0.12.0",
|
||||
"unplugin-vue-router": "^0.13.0",
|
||||
"vite": "catalog:",
|
||||
"vue-i18n": "catalog:"
|
||||
}
|
||||
|
|
|
@ -17,14 +17,6 @@ export default defineConfig(() => {
|
|||
return {
|
||||
base: './',
|
||||
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
api: 'modern-compiler',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
resolve: {
|
||||
alias: {
|
||||
'~/': __dirname,
|
||||
|
|
|
@ -17,6 +17,6 @@
|
|||
"crc": "^4.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vitest": "^3.2.3"
|
||||
"vitest": "^3.2.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import { onUnmounted } from 'vue'
|
||||
|
||||
// eslint-disable-next-line import/no-mutable-exports
|
||||
export let contentUpdatedCallbacks: (() => any)[] = []
|
||||
|
||||
/**
|
||||
|
|
|
@ -40,13 +40,6 @@ export const customElements = new Set([
|
|||
|
||||
/**
|
||||
* @see https://vitejs.dev/config/shared-options.html#css-preprocessoroptions for sass@2
|
||||
* vite@7 default use sass modern api
|
||||
*/
|
||||
export const defaultViteConfig: UserConfig = {
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
api: 'modern-compiler',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
export const defaultViteConfig: UserConfig = {}
|
||||
|
|
|
@ -65,17 +65,17 @@
|
|||
"@clack/prompts": "^0.11.0",
|
||||
"@iconify-json/ri": "catalog:",
|
||||
"@intlify/unplugin-vue-i18n": "^6.0.8",
|
||||
"@shikijs/transformers": "^3.6.0",
|
||||
"@shikijs/transformers": "^3.7.0",
|
||||
"@types/katex": "^0.16.7",
|
||||
"@unhead/addons": "catalog:",
|
||||
"@unhead/schema-org": "catalog:",
|
||||
"@unhead/vue": "catalog:",
|
||||
"@valaxyjs/devtools": "workspace:*",
|
||||
"@valaxyjs/utils": "workspace:*",
|
||||
"@vitejs/plugin-vue": "^5.2.4",
|
||||
"@vitejs/plugin-vue": "^6.0.0",
|
||||
"@vue/devtools-api": "7.7.2",
|
||||
"@vueuse/core": "^13.3.0",
|
||||
"@vueuse/integrations": "^13.3.0",
|
||||
"@vueuse/core": "^13.4.0",
|
||||
"@vueuse/integrations": "^13.4.0",
|
||||
"beasties": "^0.3.4",
|
||||
"birpc": "^2.4.0",
|
||||
"consola": "catalog:",
|
||||
|
@ -109,7 +109,7 @@
|
|||
"markdown-it-table-of-contents": "^0.9.0",
|
||||
"markdown-it-task-lists": "^2.1.1",
|
||||
"medium-zoom": "^1.1.0",
|
||||
"mermaid": "^11.6.0",
|
||||
"mermaid": "^11.7.0",
|
||||
"mlly": "^1.7.4",
|
||||
"nprogress": "^0.2.0",
|
||||
"open": "10.1.0",
|
||||
|
@ -120,23 +120,23 @@
|
|||
"qrcode": "^1.5.4",
|
||||
"resolve-global": "^2.0.0",
|
||||
"sass": "^1.89.2",
|
||||
"shiki": "^3.6.0",
|
||||
"shiki": "^3.7.0",
|
||||
"star-markdown-css": "^0.5.3",
|
||||
"table": "^6.9.0",
|
||||
"unhead": "catalog:",
|
||||
"unocss": "^66.2.0",
|
||||
"unocss": "^66.3.2",
|
||||
"unplugin-vue-components": "28.0.0",
|
||||
"unplugin-vue-markdown": "^28.3.1",
|
||||
"unplugin-vue-router": "^0.12.0",
|
||||
"unplugin-vue-markdown": "^29.0.0",
|
||||
"unplugin-vue-router": "^0.13.0",
|
||||
"vanilla-lazyload": "^19.1.3",
|
||||
"vite": "catalog:",
|
||||
"vite-dev-rpc": "^1.0.7",
|
||||
"vite-dev-rpc": "^1.1.0",
|
||||
"vite-plugin-vue-devtools": "^7.7.7",
|
||||
"vite-plugin-vue-layouts": "^0.11.0",
|
||||
"vite-ssg": "^27.0.1",
|
||||
"vite-ssg": "^28.0.0",
|
||||
"vite-ssg-sitemap": "^0.9.0",
|
||||
"vitepress-plugin-group-icons": "^1.6.0",
|
||||
"vue": "^3.5.16",
|
||||
"vue": "^3.5.17",
|
||||
"vue-i18n": "catalog:",
|
||||
"vue-router": "^4.5.1",
|
||||
"yargs": "^18.0.0",
|
||||
|
@ -166,5 +166,8 @@
|
|||
"gh-pages": "^6.3.0",
|
||||
"https-localhost": "^4.7.1",
|
||||
"rollup-plugin-visualizer": "^6.0.3"
|
||||
},
|
||||
"resolutions": {
|
||||
"vite": "catalog:"
|
||||
}
|
||||
}
|
||||
|
|
3571
pnpm-lock.yaml
3571
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -8,20 +8,20 @@ packages:
|
|||
- scripts
|
||||
catalog:
|
||||
'@iconify-json/ant-design': ^1.2.5
|
||||
'@iconify-json/carbon': ^1.2.9
|
||||
'@iconify-json/carbon': ^1.2.10
|
||||
'@iconify-json/logos': ^1.2.4
|
||||
'@iconify-json/ri': ^1.2.5
|
||||
'@iconify-json/simple-icons': ^1.2.38
|
||||
'@iconify-json/simple-icons': ^1.2.40
|
||||
'@iconify-json/vscode-icons': ^1.2.23
|
||||
'@unhead/addons': ^2.0.10
|
||||
'@unhead/schema-org': ^2.0.10
|
||||
'@unhead/vue': ^2.0.10
|
||||
'@unhead/addons': ^2.0.11
|
||||
'@unhead/schema-org': ^2.0.11
|
||||
'@unhead/vue': ^2.0.11
|
||||
consola: ^3.4.2
|
||||
typescript: ^5.8.3
|
||||
unbuild: ^3.5.0
|
||||
unhead: ^2.0.10
|
||||
vite: ^6.3.5
|
||||
vue-i18n: ^11.1.5
|
||||
zx: ^8.5.5
|
||||
unhead: ^2.0.11
|
||||
vite: ^7.0.0
|
||||
vue-i18n: ^11.1.7
|
||||
zx: ^8.6.0
|
||||
onlyBuiltDependencies:
|
||||
- vue-demi
|
||||
|
|
Loading…
Reference in New Issue