Skip to content

Commit 269b677

Browse files
fix: add custom instruction
1 parent fdc3d09 commit 269b677

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/copilot-instructions.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,22 @@
44

55
This repository contains the documentation website source code for **ast-grep**, a lightning-fast and user-friendly tool for code searching, linting, and rewriting at large scale. The website is built using VitePress and serves as the comprehensive documentation hub for the ast-grep project.
66

7+
## Documentation Only Changes
8+
9+
If your change is only related to markdown, do NOT try building the whole project. Go ahead and change the markdown without wasting time on building and setting up the project.
10+
711
## Technology Stack
812

913
- **Frontend Framework**: VitePress (static site generator based on Vue.js)
10-
- **Programming Languages**:
14+
- **Programming Languages**:
1115
- TypeScript/JavaScript (website functionality)
1216
- Rust (WASM compilation for in-browser ast-grep functionality)
1317
- **Package Manager**: **pnpm** (NOT npm - this is important!)
14-
- **Build Tools**:
18+
- **Build Tools**:
1519
- wasm-pack (for Rust to WASM compilation)
1620
- Vite (bundling and development server)
1721
- Vue TypeScript compiler (vue-tsc)
18-
- **Linting/Formatting**:
22+
- **Linting/Formatting**:
1923
- oxlint (JavaScript/TypeScript linting)
2024
- dprint (code formatting)
2125

@@ -32,7 +36,7 @@ The project has a `pnpm-lock.yaml` file and is configured to work specifically w
3236

3337
## Development Setup
3438

35-
1. **Prerequisites**:
39+
1. **Prerequisites**:
3640
- Install Rust toolchain
3741
- Install wasm-pack: `cargo install wasm-pack`
3842
- Install pnpm: `npm install -g pnpm`
@@ -41,10 +45,10 @@ The project has a `pnpm-lock.yaml` file and is configured to work specifically w
4145
```bash
4246
# Build WASM package
4347
wasm-pack build --target web
44-
48+
4549
# Install dependencies
4650
pnpm install
47-
51+
4852
# Start development server
4953
pnpm dev
5054
```

0 commit comments

Comments
 (0)