1.1 KiB
1.1 KiB
Suggested Commands for npmextra Development
Build Commands
pnpm run build- Build the TypeScript project (uses tsbuild)pnpm test- Run tests using tstest
Development Commands
pnpm install- Install dependenciespnpm install --save-dev <package>- Add development dependenciestsx <script>- Run TypeScript files directly (tsx is globally available)
Git Commands
git status- Check current changesgit add .- Stage changesgit commit -m "message"- Commit changes (only when explicitly requested)git mv- Move/rename files to preserve history
Testing
pnpm test- Run all testststest test/test.some.ts --verbose- Run specific test file- Tests use @git.zone/tstest framework with tap-based structure
Type Checking
pnpm run build- Type check and build the projecttsbuild check test/**/* --skiplibcheck- Type check test files only
Directory Structure
- Source code in
ts/directory - Tests in
test/directory - Built output in
dist_ts/directory - Temporary/debug files in
.nogit/directory