5 Commits

Author SHA1 Message Date
880b85f75d refactor(deps): migrate to nuxt v4 2026-02-10 00:31:04 +08:00
f1b9cea060 chore(deps): 升级 Nuxt 版本至 4.3.1 2026-02-10 00:09:19 +08:00
6a4685f588 chore: 更新项目名称和版本号
Some checks are pending
aigc/aigc_next_multi/pipeline/pr-main Build queued...
aigc/aigc_next_multi/pipeline/head This commit looks good
2026-02-10 00:01:59 +08:00
133c5c661b chore(deps): replace pinia-plugin-persistedstate 2026-02-09 23:55:11 +08:00
6a54ecd003 chore(ide): add Node.js version file for version management
Some checks are pending
aigc/aigc_next_multi/pipeline/pr-main Build queued...
aigc/aigc_next_multi/pipeline/head This commit looks good
2026-02-09 23:53:06 +08:00
91 changed files with 4603 additions and 5342 deletions

1
.node-version Normal file
View File

@@ -0,0 +1 @@
v22.22.0

View File

@@ -5,5 +5,8 @@
"editor.codeActionsOnSave": {
"source.fixAll.oxc": "always"
},
"typescript.tsdk": "node_modules\\typescript\\lib"
"typescript.tsdk": "node_modules\\typescript\\lib",
"[typescript]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
}
}

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 336 KiB

After

Width:  |  Height:  |  Size: 336 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

Before

Width:  |  Height:  |  Size: 411 KiB

After

Width:  |  Height:  |  Size: 411 KiB

View File

@@ -26,7 +26,7 @@ export const useHistory = defineStore(
},
{
persist: {
storage: persistedState.localStorage,
storage: piniaPluginPersistedstate.localStorage(),
},
}
)

View File

@@ -72,7 +72,7 @@ export const useLoginState = defineStore(
{
persist: {
key: 'xsh_assistant_persisted_state',
storage: persistedState.localStorage,
storage: piniaPluginPersistedstate.localStorage(),
paths: ['is_logged_in', 'token', 'user'],
},
}

View File

@@ -32,7 +32,7 @@ export const useTourState = defineStore(
{
persist: {
key: 'xsh_assistant_tour_state',
storage: persistedState.localStorage,
storage: piniaPluginPersistedstate.localStorage(),
paths: ['tourState'],
},
}

View File

@@ -15,7 +15,7 @@ export default defineNuxtConfig({
'radix-vue/nuxt',
'dayjs-nuxt',
'@pinia/nuxt',
'@pinia-plugin-persistedstate/nuxt',
'pinia-plugin-persistedstate',
'@vite-pwa/nuxt',
'@nuxtjs/google-fonts',
'@nuxt/image',

View File

@@ -1,6 +1,6 @@
{
"name": "xsh-assistant",
"version": "0.1.6",
"name": "xsh-assistant-next",
"version": "2.0.0",
"private": true,
"type": "module",
"scripts": {
@@ -31,8 +31,9 @@
"highlight.js": "^11.10.0",
"idb-keyval": "^6.2.1",
"markdown-it": "^14.1.0",
"nuxt": "^3.12.4",
"nuxt": "^4.3.1",
"nuxt-driver.js": "^0.0.11",
"pinia-plugin-persistedstate": "^4.7.1",
"radix-vue": "^1.9.2",
"v-calendar": "^3.1.2",
"vue": "^3.4.34",
@@ -42,22 +43,21 @@
"devDependencies": {
"@nuxt/ui": "^2.20.0",
"@nuxtjs/google-fonts": "^3.2.0",
"@pinia-plugin-persistedstate/nuxt": "^1.2.1",
"@pinia/nuxt": "^0.5.2",
"@pinia/nuxt": "^0.11.3",
"@tailwindcss/typography": "^0.5.13",
"@types/markdown-it": "^13.0.9",
"@types/node": "^25.2.2",
"@vite-pwa/nuxt": "^0.5.0",
"@vueuse/core": "^10.11.1",
"@vueuse/nuxt": "^10.11.1",
"dayjs-nuxt": "^2.1.9",
"@vite-pwa/nuxt": "^1.1.1",
"@vueuse/core": "^14.2.0",
"@vueuse/nuxt": "^14.2.0",
"dayjs-nuxt": "^2.1.11",
"oxfmt": "^0.28.0",
"oxlint": "^1.43.0",
"sass": "^1.77.8",
"typescript": "^5.9.3"
},
"peerDependencies": {
"dayjs": "^1.11.12",
"dayjs": "^1.11.19",
"tailwindcss": "^3.4.7"
}
}

9911
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff