Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
dbd6180
01.文件初引入
sakukae Aug 2, 2025
f38bff9
02.安装了sass
sakukae Aug 2, 2025
a689777
03.修改tag适应新版本
sakukae Aug 2, 2025
5168bd4
04.修改后的tag
sakukae Aug 3, 2025
a724fad
05.修改frontmatter插件,适应新版本
sakukae Aug 4, 2025
de0293f
06.使用引回ts配置
sakukae Aug 4, 2025
2b7b10c
将members移动到layout
sakukae Aug 5, 2025
c46e3c0
搭建projects部分-layout
sakukae Aug 5, 2025
a49e363
修复前的配置
sakukae Aug 6, 2025
927f2f8
lint后的文档
sakukae Aug 6, 2025
4caf193
07.完善部分eslint配置
sakukae Aug 7, 2025
566b600
08.主体配色修改
sakukae Aug 7, 2025
e287e8a
透明卡片底色
sakukae Aug 8, 2025
8a1da2f
完成卡片修改
sakukae Aug 9, 2025
eaac462
完成背景替换
sakukae Aug 11, 2025
34d0543
10.community部分完成
sakukae Aug 12, 2025
354b8a2
11.主页完成
sakukae Aug 13, 2025
644b4fe
12.完成成员页面
sakukae Aug 14, 2025
718d95f
13.完成成员部分细节
sakukae Aug 14, 2025
1913818
14.首页鼠标光效组件化
sakukae Aug 14, 2025
520be3b
15.完成项目页面背景以及取消项目组的hover部分
sakukae Aug 15, 2025
7f253a3
项目列表大致布局已完善
sakukae Aug 16, 2025
1dd02f8
16.项目列表动态效果初步设定
sakukae Aug 16, 2025
9bd7dcd
17.项目组button完善
sakukae Aug 17, 2025
e10e15f
18.项目组完成
sakukae Aug 18, 2025
687e9de
19.siteSection获取frontmatter修复
sakukae Aug 19, 2025
58b7bd1
20.修复news
sakukae Aug 19, 2025
022d6c7
21.修改大部分layout
sakukae Aug 21, 2025
33ae74d
22.完善部分细节
sakukae Aug 21, 2025
12cfd96
移除已跟踪的node_modules目录
sakukae Aug 23, 2025
febb028
从Git跟踪中移除vuepress的缓存、临时和构建目录
sakukae Aug 23, 2025
7df3ff5
refactor: clean up redundant ../ in path names
sakukae Sep 2, 2025
86fbea2
refactor: remove redundant comments
sakukae Sep 2, 2025
cab74d5
docs: update articles from September to October
sakukae Sep 2, 2025
1c3623b
docs: update articles for October and November
sakukae Sep 2, 2025
7707f67
docs:update articles
sakukae Sep 2, 2025
53a2227
chore: update article date to February 2025
sakukae Sep 3, 2025
ec413a2
docs: update articles to May
sakukae Sep 3, 2025
9bb9538
docs: update all articles to latest version
sakukae Sep 3, 2025
667a6ec
feat:Add sidebar functionality
sakukae Sep 4, 2025
f5139dd
refactor: clean up code and add sidebar toggle functionality
sakukae Sep 4, 2025
a9e7f26
docs: update images
sakukae Sep 5, 2025
f05ad84
refactor: remove redundant code
sakukae Sep 5, 2025
71275d3
chore: update package.json to set pnpm start as launch command
sakukae Sep 5, 2025
3b27272
fix: resolve user login failure issue
sakukae Sep 5, 2025
ec1a411
chore: install cross-env as dev dependency
sakukae Sep 5, 2025
88d8a92
docs:update img
sakukae Sep 6, 2025
5490d0c
Merge branch 'update' into new_update
sakukae Sep 6, 2025
ab1f94f
Update code from branch while preserving original branch history
sakukae Sep 6, 2025
778af31
chore: Add Node.js version restriction to avoidversion incompatibilit…
sakukae Sep 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 所有文件默认使用 LF,提交时转换为 LF,检出时不转换 (避免不同系统间的换行符冲突)
* text=auto eol=lf

# 二进制文件(如图片、可执行文件)不转换
*.png binary
*.jpg binary
*.exe binary
5 changes: 1 addition & 4 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
# if your docs needs submodules, uncomment the following line
# submodules: true

- name: Install pnpm
uses: pnpm/action-setup@v2
Expand All @@ -30,7 +28,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20.19.3
cache: pnpm

- name: Build Docs
Expand All @@ -44,6 +42,5 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
with:
# This is the branch where the docs are deployed to
branch: gh-pages
folder: src/.vuepress/dist
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ src/.vuepress/dist/
.idea/
.DS_Store
.npmrc

6 changes: 5 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
{ "singleQuote": false, "semi": true, "trailingComma": "none" }
{
"endOfLine": "auto",
"printWidth": 80
}

95 changes: 95 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
import pluginJs from "@eslint/js";
import pluginTs from "@typescript-eslint/eslint-plugin";
import pluginVue from "eslint-plugin-vue";
import vueEslintParser from "vue-eslint-parser";
import tsEslintParser from "@typescript-eslint/parser";
import pluginPrettier from "eslint-plugin-prettier";

export default [
// 1. 优先排除不需要检查的文件(放在最前面)
{
ignores: [
"node_modules/**",
"src/.vuepress/dist/**",
"src/.vuepress/.temp/**",
"src/.vuepress/.cache/**",
],
},

// 2. 基础推荐规则(对所有文件生效)
pluginJs.configs.recommended,
...pluginVue.configs["flat/essential"],

// 3. 全局语言选项配置(对所有文件生效)
{
languageOptions: {
ecmaVersion: "latest",
sourceType: "module",
globals: {
window: "readonly",
document: "readonly",
process: "readonly",
fetch: "readonly",
console: "readonly",
requestAnimationFrame: "readonly",
location: "readonly",
frontmatter: "readonly",
cancelAnimationFrame: "readonly",
clearTimeout: "readonly",
getComputedStyle: "readonly",
},
},
},

// 4. TypeScript 和 Vue 特定配置(针对 .ts 和 .vue 文件)
{
files: ["**/*.{ts,vue}"],
languageOptions: {
parser: vueEslintParser, // 解析 .vue 文件
parserOptions: {
parser: tsEslintParser, // 解析 <script lang="ts"> 中的 TypeScript
project: "./tsconfig.json",
extraFileExtensions: [".vue"],
},
},
plugins: {
"@typescript-eslint": pluginTs, // 启用 TypeScript 插件
vue: pluginVue, // 启用 Vue 插件
prettier: pluginPrettier,
},
rules: {
// 通用规则
semi: ["error", "always"],
// Vue 规则
"vue/multi-word-component-names": "off",
"vue/no-v-model-argument": "off",
// Prettier 规则
"prettier/prettier": "error",

"@typescript-eslint/semi": "off",

// 允许函数不显式声明返回类型
"@typescript-eslint/explicit-function-return-type": "off",

// 允许使用 any 类型(关闭禁止 any 的检查)
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
// 关闭严格的布尔表达式检查(允许 0、"" 等作为 falsy 值)
"@typescript-eslint/strict-boolean-expressions": "off",

// 关闭优先使用空值合并运算符(??)的检查
"@typescript-eslint/prefer-nullish-coalescing": "off",
},
},

// 5. JavaScript 文件的额外配置(如果需要)
{
files: ["**/*.js"],
plugins: {
prettier: pluginPrettier,
},
rules: {
"prettier/prettier": "error",
},
},
];
70 changes: 40 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,52 @@
{
"name": "dromara",
"name": "dromara.github.io",
"description": "A official website for dromara",
"version": "2.0.0",
"description": "dromara official website from vuepress-theme-hope",
"license": "MIT",
"type": "module",
"engines": {
"node": ">=20.19.3"
},
"scripts": {
"docs:build": "vuepress build src",
"docs:clean-dev": "vuepress dev src --clean-cache",
"docs:dev": "vuepress dev src",
"docs:build": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vuepress-vite build src",
"docs:clean-dev": "vuepress-vite dev src --clean-cache",
"docs:dev": "vuepress-vite dev src",
"start": "vuepress-vite dev src",
"docs:update-package": "pnpm dlx vp-update",
"start": "eslint --fix --ext .vue src/.vuepress/ && vuepress dev src",
"lint": "eslint --ext .ts,.vue src/.vuepress/ --fix"
"lint": "eslint . --ext .js,.ts,.vue",
"lint:fix": "eslint . --ext .js,.ts,.vue --fix"
},
"packageManager": "pnpm@8.10.2",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^8.18.0",
"@vuepress/bundler-vite": "2.0.0-rc.19",
"eslint": "^8.57.1",
"eslint-config-standard-with-typescript": "^39.1.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.6.0",
"eslint-plugin-vue": "^9.32.0",
"sass-embedded": "^1.83.0",
"sass-loader": "^13.3.3",
"style-loader": "^3.3.4",
"swiper": "^11.1.15",
"typescript": "^5.7.2",
"vue": "^3.5.13",
"vuepress": "2.0.0-rc.19",
"vuepress-plugin-search-pro": "2.0.0-rc.59",
"vuepress-shared": "2.0.0-rc.59",
"vuepress-theme-hope": "2.0.0-rc.64"
"@eslint/js": "^9.32.0",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"@vuepress/bundler-vite": "2.0.0-rc.24",
"@vuepress/plugin-register-components": "2.0.0-rc.112",
"@vuepress/plugin-slimsearch": "2.0.0-rc.112",
"cross-env": "^10.0.0",
"eslint": "^9.32.0",
"eslint-plugin-prettier": "^5.5.3",
"eslint-plugin-vue": "^10.4.0",
"prettier": "^3.6.2",
"sass": "^1.89.2",
"sass-embedded": "^1.89.2",
"sass-loader": "^16.0.5",
"v-viewer": "^3.0.22",
"viewerjs": "^1.11.7",
"vue": "^3.5.17",
"vue-eslint-parser": "^10.2.0",
"vuepress": "2.0.0-rc.24",
"vuepress-theme-hope": "2.0.0-rc.94"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
},
"dependencies": {
"@vuepress/helper": "2.0.0-rc.66",
"v-viewer": "^3.0.21",
"viewerjs": "^1.11.7"
"@vuepress/helper": "2.0.0-rc.112",
"dromara.github.io": "link:",
"ogl": "^1.0.11",
"swiper": "^11.2.10"
}
}
Loading