Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(theme): 🔥 split theme #429

Merged
merged 5 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/preview-pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
# 第一步:检出主仓库代码
- name: 检出主仓库代码
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
fetch-depth: 0
Expand All @@ -30,9 +30,7 @@ jobs:
# 第三步:安装 pnpm
- name: 安装 pnpm
uses: pnpm/action-setup@v3
with:
version: latest
uses: pnpm/action-setup@v4

# 第四步:安装依赖
- name: 安装依赖
Expand Down
1 change: 1 addition & 0 deletions docs/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ export default defineConfig({
},
},
},
ssr: { noExternal: true },
})
23 changes: 9 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,37 @@
"name": "rle-wiki",
"type": "module",
"version": "1.0.0",
"packageManager": "pnpm@9.10.0+sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c",
"packageManager": "pnpm@9.11.0+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b",
"description": "RLE 指北",
"license": "CC-BY-SA-4.0",
"scripts": {
"dev": "vitepress dev docs",
"dev:wrangler": "wrangler pages dev ./docs/.vitepress/dist/",
"build": "vitepress build docs",
"preview": "vitepress preview docs",
"update-package": "pnpm dlx vp-update",
"postinstall": "pnpm --filter @project-trans/* build"
"update-package": "pnpm dlx vp-update"
},
"devDependencies": {
"@antfu/eslint-config": "^2.21.1",
"@cloudflare/workers-types": "^4.20240620.0",
"@iconify-json/carbon": "^1.1.36",
"@iconify-json/icon-park-outline": "^1.1.15",
"@iconify-json/octicon": "^1.1.55",
"@iconify-json/carbon": "^1.2.1",
"@iconify-json/icon-park-outline": "^1.2.0",
"@iconify-json/octicon": "^1.2.0",
"@project-trans/suggestion-box": "^0.0.9",
"@project-trans/vitepress-theme-project-trans": "workspace:*",
"@types/markdown-it": "^13.0.8",
"@types/markdown-it-footnote": "^3.0.4",
"@project-trans/vitepress-theme-project-trans": "^0.3.1726924363",
"@unocss/eslint-plugin": "^0.59.4",
"eslint": "^8.57.0",
"eslint-plugin-format": "^0.1.2",
"simple-git": "^3.25.0",
"unbuild": "^2.0.0",
"unocss": "^0.58.9",
"unocss": "^0.62.4",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.3.1",
"vitepress": "^1.2.3",
"vitepress-sidebar": "^1.23.2",
"vue": "^3.4.30"
},
"pnpm": {
"overrides": {
"hasown": "npm:@nolyfill/hasown@latest"
"hasown": "npm:@nolyfill/hasown@^1",
"is-core-module": "npm:@nolyfill/is-core-module@^1"
}
}
}
44 changes: 0 additions & 44 deletions packages/vitepress-theme-project-trans/README.md

This file was deleted.

33 changes: 0 additions & 33 deletions packages/vitepress-theme-project-trans/build.config.ts

This file was deleted.

71 changes: 0 additions & 71 deletions packages/vitepress-theme-project-trans/package.json

This file was deleted.

50 changes: 0 additions & 50 deletions packages/vitepress-theme-project-trans/src/Layout.vue

This file was deleted.

19 changes: 0 additions & 19 deletions packages/vitepress-theme-project-trans/src/components.ts

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions packages/vitepress-theme-project-trans/src/components/AppSBox.vue

This file was deleted.

Loading
Loading