From dd986bcd7caa465cbcd4c7cb3f6bc8f43b075491 Mon Sep 17 00:00:00 2001 From: Zyronon Date: Sun, 9 Nov 2025 21:16:35 +0800 Subject: [PATCH 1/7] save --- pnpm-lock.yaml | 58 -------------------------------------------------- 1 file changed, 58 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8fc6dd6c..acaf46fb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -171,9 +171,6 @@ importers: vite-plugin-externals: specifier: ^0.6.2 version: 0.6.2(vite@7.1.2(@types/node@24.3.0)(jiti@2.5.1)(sass@1.90.0)) - vite-plugin-mpa: - specifier: ^1.2.0 - version: 1.2.0 vue-tsc: specifier: ^3.0.1 version: 3.0.5(typescript@5.9.2) @@ -1547,9 +1544,6 @@ packages: cliui@3.2.0: resolution: {integrity: sha512-0yayqDxWQbqk3ojkYqUKqaAQ6AfNKeKWRNA8kR0WXzAsdHpP4BIaOmMAG87JGuO6qcobyW4GjxHd9PmhEd+T9w==} - cliui@7.0.4: - resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} - cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} @@ -1637,10 +1631,6 @@ packages: confbox@0.2.2: resolution: {integrity: sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ==} - connect-history-api-fallback@1.6.0: - resolution: {integrity: sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==} - engines: {node: '>=0.8'} - consola@3.4.2: resolution: {integrity: sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==} engines: {node: ^14.18.0 || >=16.10.0} @@ -3176,11 +3166,6 @@ packages: resolution: {integrity: sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==} engines: {node: '>=0.10.0'} - shelljs@0.8.5: - resolution: {integrity: sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==} - engines: {node: '>=4'} - hasBin: true - side-channel-list@1.0.0: resolution: {integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==} engines: {node: '>= 0.4'} @@ -3646,9 +3631,6 @@ packages: peerDependencies: vite: '>=2.0.0' - vite-plugin-mpa@1.2.0: - resolution: {integrity: sha512-A1G+CnnUkDuff2i+Z/RWeQMb8yj3FH9n7+KTEXxkOSeMRQ7v3Xy/tKtaMjPxW6n8zSOE/BbyzQAAX0RAoUd2AA==} - vite@7.1.2: resolution: {integrity: sha512-J0SQBPlQiEXAF7tajiH+rUooJPo0l8KQgyg4/aMunNtrOa7bwuZJsJbDWzeljqQpgftxuq5yNJxQ91O9ts29UQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -3800,10 +3782,6 @@ packages: yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} - yargs-parser@20.2.9: - resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} - engines: {node: '>=10'} - yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} @@ -3811,10 +3789,6 @@ packages: yargs-parser@5.0.1: resolution: {integrity: sha512-wpav5XYiddjXxirPoCTUPbqM0PXvJ9hiBMvuJgInvo4/lAOTZzUprArw17q2O1P2+GHhbBr18/iQwjL5Z9BqfA==} - yargs@16.2.0: - resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} - engines: {node: '>=10'} - yargs@17.7.2: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} @@ -5415,12 +5389,6 @@ snapshots: strip-ansi: 3.0.1 wrap-ansi: 2.1.0 - cliui@7.0.4: - dependencies: - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 7.0.0 - cliui@8.0.1: dependencies: string-width: 4.2.3 @@ -5517,8 +5485,6 @@ snapshots: confbox@0.2.2: {} - connect-history-api-fallback@1.6.0: {} - consola@3.4.2: {} content-type@1.0.5: {} @@ -7159,12 +7125,6 @@ snapshots: is-plain-object: 2.0.4 split-string: 3.1.0 - shelljs@0.8.5: - dependencies: - glob: 7.2.3 - interpret: 1.4.0 - rechoir: 0.6.2 - side-channel-list@1.0.0: dependencies: es-errors: 1.3.0 @@ -7720,12 +7680,6 @@ snapshots: magic-string: 0.25.9 vite: 7.1.2(@types/node@24.3.0)(jiti@2.5.1)(sass@1.90.0) - vite-plugin-mpa@1.2.0: - dependencies: - connect-history-api-fallback: 1.6.0 - shelljs: 0.8.5 - yargs: 16.2.0 - vite@7.1.2(@types/node@24.3.0)(jiti@2.5.1)(sass@1.90.0): dependencies: esbuild: 0.25.9 @@ -7845,8 +7799,6 @@ snapshots: yallist@3.1.1: {} - yargs-parser@20.2.9: {} - yargs-parser@21.1.1: {} yargs-parser@5.0.1: @@ -7854,16 +7806,6 @@ snapshots: camelcase: 3.0.0 object.assign: 4.1.7 - yargs@16.2.0: - dependencies: - cliui: 7.0.4 - escalade: 3.2.0 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 - y18n: 5.0.8 - yargs-parser: 20.2.9 - yargs@17.7.2: dependencies: cliui: 8.0.1 From 584c5588dcd44ac830314d319b0bf2f1705e9257 Mon Sep 17 00:00:00 2001 From: Zyronon Date: Tue, 11 Nov 2025 23:00:39 +0800 Subject: [PATCH 2/7] fix:update home.html --- components.d.ts | 3 +++ public/static-home.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components.d.ts b/components.d.ts index 59240612..a0a5b346 100644 --- a/components.d.ts +++ b/components.d.ts @@ -39,6 +39,7 @@ declare module 'vue' { IconFluentAddSquare20Regular: typeof import('~icons/fluent/add-square20-regular')['default'] IconFluentArrowBounce20Regular: typeof import('~icons/fluent/arrow-bounce20-regular')['default'] IconFluentArrowCircleRight16Regular: typeof import('~icons/fluent/arrow-circle-right16-regular')['default'] + IconFluentArrowClockwise20Regular: typeof import('~icons/fluent/arrow-clockwise20-regular')['default'] IconFluentArrowLeft16Regular: typeof import('~icons/fluent/arrow-left16-regular')['default'] IconFluentArrowMove20Regular: typeof import('~icons/fluent/arrow-move20-regular')['default'] IconFluentArrowRight16Regular: typeof import('~icons/fluent/arrow-right16-regular')['default'] @@ -60,6 +61,7 @@ declare module 'vue' { IconFluentDismissCircle16Regular: typeof import('~icons/fluent/dismiss-circle16-regular')['default'] IconFluentDismissCircle20Filled: typeof import('~icons/fluent/dismiss-circle20-filled')['default'] IconFluentErrorCircle20Filled: typeof import('~icons/fluent/error-circle20-filled')['default'] + IconFluentErrorCircle20Regular: typeof import('~icons/fluent/error-circle20-regular')['default'] IconFluentEye16Regular: typeof import('~icons/fluent/eye16-regular')['default'] IconFluentEyeOff16Regular: typeof import('~icons/fluent/eye-off16-regular')['default'] IconFluentHome20Regular: typeof import('~icons/fluent/home20-regular')['default'] @@ -90,6 +92,7 @@ declare module 'vue' { IconFluentWeatherMoon16Regular: typeof import('~icons/fluent/weather-moon16-regular')['default'] IconFluentWeatherSunny16Regular: typeof import('~icons/fluent/weather-sunny16-regular')['default'] IconIconParkOutlineAddMusic: typeof import('~icons/icon-park-outline/add-music')['default'] + IconIxWechatLogo: typeof import('~icons/ix/wechat-logo')['default'] IconPhExportLight: typeof import('~icons/ph/export-light')['default'] IconSystemUiconsImport: typeof import('~icons/system-uicons/import')['default'] InputNumber: typeof import('./src/components/base/InputNumber.vue')['default'] diff --git a/public/static-home.html b/public/static-home.html index 4eaf4a10..aa67bc36 100644 --- a/public/static-home.html +++ b/public/static-home.html @@ -492,7 +492,7 @@ -
蜀ICP备2025157466号
+
蜀ICP备2025157466号
From e280a54e063417f2d128fd5de8a52f74b8be6f92 Mon Sep 17 00:00:00 2001 From: Zyronon Date: Thu, 13 Nov 2025 02:42:06 +0000 Subject: [PATCH 3/7] feat:add a new option "Ignore symbols and Numbers" --- components.d.ts | 3 -- scripts/do.js | 1 + src/config/env.ts | 2 +- .../article/components/TypingArticle.vue | 28 +++++++++++-------- src/pages/setting/Setting.vue | 6 +++- src/stores/setting.ts | 12 ++++---- 6 files changed, 30 insertions(+), 22 deletions(-) diff --git a/components.d.ts b/components.d.ts index a0a5b346..59240612 100644 --- a/components.d.ts +++ b/components.d.ts @@ -39,7 +39,6 @@ declare module 'vue' { IconFluentAddSquare20Regular: typeof import('~icons/fluent/add-square20-regular')['default'] IconFluentArrowBounce20Regular: typeof import('~icons/fluent/arrow-bounce20-regular')['default'] IconFluentArrowCircleRight16Regular: typeof import('~icons/fluent/arrow-circle-right16-regular')['default'] - IconFluentArrowClockwise20Regular: typeof import('~icons/fluent/arrow-clockwise20-regular')['default'] IconFluentArrowLeft16Regular: typeof import('~icons/fluent/arrow-left16-regular')['default'] IconFluentArrowMove20Regular: typeof import('~icons/fluent/arrow-move20-regular')['default'] IconFluentArrowRight16Regular: typeof import('~icons/fluent/arrow-right16-regular')['default'] @@ -61,7 +60,6 @@ declare module 'vue' { IconFluentDismissCircle16Regular: typeof import('~icons/fluent/dismiss-circle16-regular')['default'] IconFluentDismissCircle20Filled: typeof import('~icons/fluent/dismiss-circle20-filled')['default'] IconFluentErrorCircle20Filled: typeof import('~icons/fluent/error-circle20-filled')['default'] - IconFluentErrorCircle20Regular: typeof import('~icons/fluent/error-circle20-regular')['default'] IconFluentEye16Regular: typeof import('~icons/fluent/eye16-regular')['default'] IconFluentEyeOff16Regular: typeof import('~icons/fluent/eye-off16-regular')['default'] IconFluentHome20Regular: typeof import('~icons/fluent/home20-regular')['default'] @@ -92,7 +90,6 @@ declare module 'vue' { IconFluentWeatherMoon16Regular: typeof import('~icons/fluent/weather-moon16-regular')['default'] IconFluentWeatherSunny16Regular: typeof import('~icons/fluent/weather-sunny16-regular')['default'] IconIconParkOutlineAddMusic: typeof import('~icons/icon-park-outline/add-music')['default'] - IconIxWechatLogo: typeof import('~icons/ix/wechat-logo')['default'] IconPhExportLight: typeof import('~icons/ph/export-light')['default'] IconSystemUiconsImport: typeof import('~icons/system-uicons/import')['default'] InputNumber: typeof import('./src/components/base/InputNumber.vue')['default'] diff --git a/scripts/do.js b/scripts/do.js index c7789da4..2a60b8fe 100644 --- a/scripts/do.js +++ b/scripts/do.js @@ -10,6 +10,7 @@ async function generateSitemap() { // 静态路由(首页、练习页等) const staticPages = [ + {url: '/index.html', changefreq: 'monthly', priority: 1.0}, {url: '/', changefreq: 'daily', priority: 1.0}, {url: '/words', changefreq: 'daily', priority: 0.9}, {url: '/articles', changefreq: 'daily', priority: 0.9}, diff --git a/src/config/env.ts b/src/config/env.ts index 33442a67..5f21988a 100644 --- a/src/config/env.ts +++ b/src/config/env.ts @@ -51,7 +51,7 @@ export const SAVE_DICT_KEY = { } export const SAVE_SETTING_KEY = { key: 'typing-word-setting', - version: 16 + version: 17 } export const EXPORT_DATA_KEY = { key: 'typing-word-export', diff --git a/src/pages/article/components/TypingArticle.vue b/src/pages/article/components/TypingArticle.vue index ad6932b2..82fbe26e 100644 --- a/src/pages/article/components/TypingArticle.vue +++ b/src/pages/article/components/TypingArticle.vue @@ -1,25 +1,24 @@