1.3 KiB
1.3 KiB
Suggested Commands for @push.rocks/smartdata
Build & Development
pnpm build- Build the TypeScript project with web supportpnpm buildDocs- Generate documentation using tsdoctsbuild --web --allowimplicitany- Direct build command
Testing
pnpm test- Run all tests in test/ directorypnpm testSearch- Run specific search testtstest test/test.specific.ts --verbose- Run specific test with verbose outputtsbuild check test/**/* --skiplibcheck- Type check test files
Package Management
pnpm install- Install dependenciespnpm install --save-dev <package>- Add dev dependencypnpm add <package>- Add production dependency
Version Control
git status- Check current changesgit diff- View uncommitted changesgit log --oneline -10- View recent commitsgit mv <old> <new>- Move/rename files preserving history
System Utilities (Linux)
ls -la- List all files with detailsgrep -r "pattern" .- Search for pattern in filesfind . -name "*.ts"- Find TypeScript filesps aux | grep node- Find Node.js processeslsof -i :80- Check process on port 80
Debug & Development
tsx <script.ts>- Run TypeScript file directly- Store debug scripts in
.nogit/debug/ - Curl endpoints for API testing