mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Preflight and integration npx (#1096)
This commit is contained in:
16
GEMINI.md
16
GEMINI.md
@@ -1,18 +1,14 @@
|
||||
## Building and running
|
||||
|
||||
Every time we make a set of changes you should run the following commands:
|
||||
Before submitting any changes, it is crucial to validate them by running the full preflight check. This command will build the repository, run all tests, check for type errors, and lint the code.
|
||||
|
||||
Build the repo:
|
||||
npm run build
|
||||
To run the full suite of checks, execute the following command:
|
||||
|
||||
Run tests:
|
||||
npm run test
|
||||
|
||||
Type Check:
|
||||
npm run typecheck
|
||||
|
||||
Lint and final checks:
|
||||
```bash
|
||||
npm run preflight
|
||||
```
|
||||
|
||||
This single command ensures that your changes meet all the quality gates of the project. While you can run the individual steps (`build`, `test`, `typecheck`, `lint`) separately, it is highly recommended to use `npm run preflight` to ensure a comprehensive validation.
|
||||
|
||||
## Writing Tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user