Files
smartdata/.serena/memories/suggested_commands.md

1.3 KiB

Suggested Commands for @push.rocks/smartdata

Build & Development

  • pnpm build - Build the TypeScript project with web support
  • pnpm buildDocs - Generate documentation using tsdoc
  • tsbuild --web --allowimplicitany - Direct build command

Testing

  • pnpm test - Run all tests in test/ directory
  • pnpm testSearch - Run specific search test
  • tstest test/test.specific.ts --verbose - Run specific test with verbose output
  • tsbuild check test/**/* --skiplibcheck - Type check test files

Package Management

  • pnpm install - Install dependencies
  • pnpm install --save-dev <package> - Add dev dependency
  • pnpm add <package> - Add production dependency

Version Control

  • git status - Check current changes
  • git diff - View uncommitted changes
  • git log --oneline -10 - View recent commits
  • git mv <old> <new> - Move/rename files preserving history

System Utilities (Linux)

  • ls -la - List all files with details
  • grep -r "pattern" . - Search for pattern in files
  • find . -name "*.ts" - Find TypeScript files
  • ps aux | grep node - Find Node.js processes
  • lsof -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