Skip to content

Commit e0b853b

Browse files
committed
feat: 更改部署方式
1 parent 338bde1 commit e0b853b

File tree

4 files changed

+4788
-3740
lines changed

4 files changed

+4788
-3740
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Fighting Design Build Docs
44
on:
55
push:
66
branches:
7-
- master
7+
- next
88
# paths:
99
# - 'packages/fighting-design/package.json'
1010

@@ -40,7 +40,7 @@ jobs:
4040

4141
# 创建并提交 CNAME 文件
4242
- name: Create CNAME file
43-
run: echo 'fighting.tianyuhao.cn' > docs/.vitepress/dist/CNAME
43+
run: echo 'design.justdev.cn' > docs/.vitepress/dist/CNAME
4444
- name: Commit CNAME file
4545
run: |
4646
git config --local user.email '[email protected]'

CNAME

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
fighting.tianyuhao.cn
1+
design.justdev.cn

GEMINI.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Gemini Code Assistant Context
2+
3+
## Project Overview
4+
5+
`fighting-design` is a Vue.js component library that provides over 60 reusable components for building interactive user interfaces. The library is built with Vite, written in TypeScript, and has no third-party dependencies, making it lightweight and fast. It supports both full and on-demand import, providing flexibility for different project needs.
6+
7+
The project is structured as a monorepo using pnpm workspaces, with the main packages being:
8+
9+
- `packages/fighting-design`: The core component library.
10+
- `docs`: The documentation site, built with VitePress.
11+
- `start`: A project for quick starting.
12+
13+
## Building and Running
14+
15+
The following commands are essential for working with the project:
16+
17+
- **Installation:**
18+
```bash
19+
pnpm install
20+
```
21+
- **Running the documentation site:**
22+
```bash
23+
pnpm dev:docs
24+
```
25+
- **Building the library:**
26+
```bash
27+
pnpm build
28+
```
29+
- **Running tests:**
30+
```bash
31+
pnpm test
32+
```
33+
- **Linting and formatting:**
34+
```bash
35+
pnpm lint
36+
pnpm format
37+
```
38+
39+
## Development Conventions
40+
41+
The project follows a set of development conventions to ensure code quality and consistency:
42+
43+
- **Package Manager:** `pnpm` is used for package management.
44+
- **Monorepo:** The project is organized as a monorepo using pnpm workspaces.
45+
- **Build Tool:** Vite is used for building the library and documentation site.
46+
- **Component Development:** Components are written in TypeScript and Vue.
47+
- **Styling:** The project uses Sass for styling.
48+
- **Linting and Formatting:** ESLint and Prettier are used for code linting and formatting.
49+
- **Commit Messages:** Commit messages are standardized using Commitizen and Commitlint.
50+
- **Documentation:** The documentation is generated using VitePress.

0 commit comments

Comments
 (0)