1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-11-05 14:48:17 +08:00

chore: 更新构建脚本并移除思维导图相关依赖

站点源目录改为项目根,同步调整 dev/build 命令与 eslint、gitignore 配置。
This commit is contained in:
chufan
2026-09-21 17:16:19 +08:00
parent 64e308700e
commit 7f9436b5b8
4 changed files with 50 additions and 610 deletions

3
.gitignore vendored
View File

@@ -15,4 +15,7 @@ typings/
.nuxt
dist
.temp
.vuepress/dist
.vuepress/.temp
.vuepress/.cache
.vercel

View File

@@ -3,6 +3,10 @@ import { defineVipEslintConfig } from '@142vip/eslint-config'
export default defineVipEslintConfig({
ignores: [
'**/CHANGELOG.md',
'.vuepress/dist/**',
'.vuepress/.temp/**',
'.vuepress/.cache/**',
'vuepress.config.ts.*.mjs',
],
rules: {},
})

View File

@@ -22,10 +22,9 @@
"clean:hooks": "npx fa clean --git-hooks --all --ignore-tips",
"lint": "npx fa lint",
"lint:fix": "npx fa lint --fix",
"dev": "pnpm build:mark-map && npx vuepress dev docs",
"build": "npx vuepress build docs --clean-temp --clean-cache",
"build:proxy": "NEED_PROXY=true npx vuepress build docs --clean-temp --clean-cache",
"build:mark-map": "npx node --loader ts-node/esm --no-warnings scripts/core/mark-map.ts",
"dev": "npx vuepress dev",
"build": "npx vuepress build --clean-temp --clean-cache",
"build:proxy": "NEED_PROXY=true npx vuepress build --clean-temp --clean-cache",
"release": "npx fa release --vip --check-branch next --check-branch main",
"check:commit": "npx node --loader ts-node/esm --no-warnings scripts/core/verify-commit.ts"
},
@@ -36,11 +35,9 @@
"@142vip/open-source": "0.0.1-alpha.4",
"@142vip/utils": "0.0.1-alpha.58",
"@142vip/vuepress": "0.0.1-alpha.24",
"markmap-cli": "0.18.11",
"only-allow": "1.2.1",
"simple-git-hooks": "2.13.0",
"ts-node": "10.9.2",
"xmind-embed-viewer": "1.2.0"
"ts-node": "10.9.2"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint:fix",

642
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff