Preflight and integration npx (#1096)

This commit is contained in:
matt korwel
2025-06-16 08:27:29 -07:00
committed by GitHub
parent a600588c20
commit df938d6ee8
24 changed files with 703 additions and 73 deletions

View File

@@ -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