Skip to content

Commit f8a49e7

Browse files
CopilotTechQuery
andcommitted
Address PR feedback: translate to English, fix package manager refs, update dependency names
Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
1 parent f2709c0 commit f8a49e7

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/copilot-instructions.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Open Source Bazaar - GitHub Copilot Instructions
22

3-
Open Source Bazaar 是一个基于 Next.js 15TypeScriptReact Bootstrap MobX 构建的开源项目展示平台。它包含许可证过滤器、Wiki 知识库、志愿者展示、Lark 集成等功能。
3+
Open Source Bazaar is an open-source project showcase platform built with Next.js 15, TypeScript, React Bootstrap, and MobX. It includes license filters, Wiki knowledge base, volunteer showcase, Lark integration, and other features.
44

55
Always reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here.
66

@@ -10,7 +10,7 @@ Always reference these instructions first and fallback to search or bash command
1010

1111
- Check Node.js version: `node --version`
1212
- Development and linting commands work on Node.js 20+
13-
- Use **PNPM** as package manager, not npm or yarn
13+
- Use **PNPM** as package manager, not NPM or Yarn
1414

1515
## Working Effectively
1616

@@ -57,7 +57,7 @@ ALWAYS run before committing changes:
5757

5858
```bash
5959
pnpm lint # Fix linting issues automatically
60-
pnpm test # Runs linting + staged file checks
60+
npm test # Runs linting + staged file checks
6161
```
6262

6363
## Key Project Structure
@@ -84,10 +84,10 @@ pnpm test # Runs linting + staged file checks
8484
- **Next.js 15** - React framework
8585
- **React Bootstrap 2.10** - UI component library
8686
- **MobX 6.13** - State management
87-
- **mobx-github 0.4** - GitHub API integration
88-
- **mobx-i18n 0.7** - Internationalization
89-
- **license-filter 0.2** - License filtering functionality
90-
- **marked 16.2** - Markdown processing
87+
- **MobX-GitHub 0.4** - GitHub API integration
88+
- **MobX-i18n 0.7** - Internationalization
89+
- **License-Filter 0.2** - License filtering functionality
90+
- **Marked 16.2** - Markdown processing
9191

9292
## Development Standards and Best Practices
9393

@@ -100,7 +100,7 @@ Based on comprehensive PR review analysis, follow these critical development sta
100100
- **ALWAYS use React Bootstrap components** instead of custom HTML elements
101101
- Use `<Button>`, `<Badge>`, `<Breadcrumb>`, `<Card>`, `<Container>` from 'react-bootstrap'
102102
- Import from existing configured clients: use `githubClient` from `models/Base.ts`
103-
- Use utilities from established libraries: `treeFrom` from 'web-utility'
103+
- Use utilities from established libraries: 'web-utility'
104104
- Import `'./Base'` in model files for proper configuration
105105

106106
#### Data and API Integration

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pnpm test
1+
npm test

0 commit comments

Comments
 (0)