From 0fd619c6ed7d0c5e1dd255abb7eecc105c9c626a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E5=AF=B8=E7=81=B0?= Date: Mon, 8 Sep 2025 11:04:38 +0800 Subject: [PATCH] =?UTF-8?q?chore(other):=20=F0=9F=94=A7=20update=20the=20E?= =?UTF-8?q?SLint=20validation=20configuration=20to=20support=20more=20file?= =?UTF-8?q?=20types.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(other): :wrench: update the ESLint validation configuration to support more file types. * chore(packages): :pencil: update Vite version to 7 in documentation. --- .vscode/settings.json | 23 ++++++++++++++++------- README.en_US.md | 4 ++-- README.md | 4 ++-- package.json | 4 ++-- 4 files changed, 22 insertions(+), 13 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index fbf4356..ee081a6 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,22 +1,31 @@ { - "editor.tabSize": 2, - "editor.quickSuggestions": { - "strings": true - }, "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit", "source.organizeImports": "never" }, "editor.formatOnSave": false, - "eslint.validate": ["html", "css", "scss", "json", "jsonc"], + "eslint.validate": [ + "html", + "css", + "scss", + "json", + "jsonc", + "javascript", + "javascriptreact", + "typescript", + "typescriptreact", + "vue" + ], "i18n-ally.displayLanguage": "zh-cn", "i18n-ally.enabledParsers": ["ts"], "i18n-ally.enabledFrameworks": ["vue"], "i18n-ally.editor.preferEditor": true, "i18n-ally.keystyle": "nested", "i18n-ally.localesPaths": ["src/locales/langs"], + "i18n-ally.parsers.typescript.compilerOptions": { + "moduleResolution": "node" + }, "prettier.enable": false, "typescript.tsdk": "node_modules/typescript/lib", - "unocss.root": ["./"], - "vue.server.hybridMode": true + "unocss.root": ["./"] } diff --git a/README.en_US.md b/README.en_US.md index af34ea5..72b29f6 100644 --- a/README.en_US.md +++ b/README.en_US.md @@ -26,12 +26,12 @@ ## Introduction -[`SoybeanAdmin`](https://github.com/soybeanjs/soybean-admin) is a clean, elegant, beautiful and powerful admin template, based on the latest front-end technology stack, including Vue3, Vite6, TypeScript, Pinia and UnoCSS. It has built-in rich theme configuration and components, strict code specifications, and an automated file routing system. In addition, it also uses the online mock data solution based on ApiFox. `SoybeanAdmin` provides you with a one-stop admin solution, no additional configuration, and out of the box. It is also a best practice for learning cutting-edge technologies quickly. +[`SoybeanAdmin`](https://github.com/soybeanjs/soybean-admin) is a clean, elegant, beautiful and powerful admin template, based on the latest front-end technology stack, including Vue3, Vite7, TypeScript, Pinia and UnoCSS. It has built-in rich theme configuration and components, strict code specifications, and an automated file routing system. In addition, it also uses the online mock data solution based on ApiFox. `SoybeanAdmin` provides you with a one-stop admin solution, no additional configuration, and out of the box. It is also a best practice for learning cutting-edge technologies quickly. ## Features -- **Cutting-edge technology application**: using the latest popular technology stack such as Vue3, Vite6, TypeScript, Pinia and UnoCSS. +- **Cutting-edge technology application**: using the latest popular technology stack such as Vue3, Vite7, TypeScript, Pinia and UnoCSS. - **Clear project architecture**: using pnpm monorepo architecture, clear structure, elegant and easy to understand. - **Strict code specifications**: follow the [SoybeanJS specification](https://docs.soybeanjs.cn/standard), integrate eslint, prettier and simple-git-hooks to ensure the code is standardized. - **TypeScript**: support strict type checking to improve code maintainability. diff --git a/README.md b/README.md index 02a6886..3f29f6e 100644 --- a/README.md +++ b/README.md @@ -25,11 +25,11 @@ ## 简介 -[`SoybeanAdmin`](https://github.com/soybeanjs/soybean-admin) 是一个清新优雅、高颜值且功能强大的后台管理模板,基于最新的前端技术栈,包括 Vue3, Vite6, TypeScript, Pinia 和 UnoCSS。它内置了丰富的主题配置和组件,代码规范严谨,实现了自动化的文件路由系统。此外,它还采用了基于 ApiFox 的在线Mock数据方案。`SoybeanAdmin` 为您提供了一站式的后台管理解决方案,无需额外配置,开箱即用。同样是一个快速学习前沿技术的最佳实践。 +[`SoybeanAdmin`](https://github.com/soybeanjs/soybean-admin) 是一个清新优雅、高颜值且功能强大的后台管理模板,基于最新的前端技术栈,包括 Vue3, Vite7, TypeScript, Pinia 和 UnoCSS。它内置了丰富的主题配置和组件,代码规范严谨,实现了自动化的文件路由系统。此外,它还采用了基于 ApiFox 的在线Mock数据方案。`SoybeanAdmin` 为您提供了一站式的后台管理解决方案,无需额外配置,开箱即用。同样是一个快速学习前沿技术的最佳实践。 ## 特性 -- **前沿技术应用**:采用 Vue3, Vite6, TypeScript, Pinia 和 UnoCSS 等最新流行的技术栈。 +- **前沿技术应用**:采用 Vue3, Vite7, TypeScript, Pinia 和 UnoCSS 等最新流行的技术栈。 - **清晰的项目架构**:采用 pnpm monorepo 架构,结构清晰,优雅易懂。 - **严格的代码规范**:遵循 [SoybeanJS 规范](https://docs.soybeanjs.cn/zh/standard),集成了eslint, prettier 和 simple-git-hooks,保证代码的规范性。 - **TypeScript**: 支持严格的类型检查,提高代码的可维护性。 diff --git a/package.json b/package.json index b35d6e9..804be3d 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@sa/elp", "type": "module", "version": "1.3.15", - "description": "A fresh and elegant admin template, based on Vue3、Vite6、TypeScript、ElementPlus and UnoCSS. 一个基于Vue3、Vite6、TypeScript、ElementPlus and UnoCSS的清新优雅的中后台模版。", + "description": "A fresh and elegant admin template, based on Vue3、Vite7、TypeScript、ElementPlus and UnoCSS. 一个基于Vue3、Vite7、TypeScript、ElementPlus and UnoCSS的清新优雅的中后台模版。", "author": { "name": "Soybean", "email": "soybeanjs@outlook.com", @@ -19,7 +19,7 @@ "keywords": [ "Vue3 admin ", "vue-admin-template", - "Vite6", + "Vite7", "TypeScript", "element-plus", "element-plus-admin",