30 lines
1.1 KiB
Markdown
30 lines
1.1 KiB
Markdown
# Suggested Commands for Qenv Development
|
|
|
|
## Build & Test Commands
|
|
- `pnpm test` - Run tests with tstest
|
|
- `pnpm build` - Build the project with tsbuild (includes --web --allowimplicitany flags)
|
|
- `pnpm buildDocs` - Generate documentation with tsdoc
|
|
|
|
## Development Tools
|
|
- `tsx <file>` - Execute TypeScript files directly (globally available)
|
|
- `tstest test/test.some.ts --verbose` - Run specific test file with verbose output
|
|
|
|
## Package Management
|
|
- `pnpm install` - Install dependencies
|
|
- `pnpm install --save-dev <package>` - Add development dependency
|
|
- `pnpm install <package>` - Add production dependency
|
|
|
|
## Git Operations
|
|
- `git mv <old> <new>` - Move/rename files preserving history
|
|
- `git status` - Check current repository status
|
|
- `git diff` - View uncommitted changes
|
|
|
|
## Type Checking
|
|
- `tsbuild check test/**/* --skiplibcheck` - Type check test files
|
|
- `pnpm run build` - Type check and build module files
|
|
|
|
## System Commands (Linux)
|
|
- `ls` - List files
|
|
- `find . -name "pattern"` - Find files by pattern
|
|
- `rg "pattern"` - Search file contents (ripgrep)
|
|
- `curl` - Make HTTP requests for testing/debugging |