Files
npmextra/.serena/memories/suggested_commands.md

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 dependencies
  • pnpm install --save-dev <package> - Add development dependencies
  • tsx <script> - Run TypeScript files directly (tsx is globally available)

Git Commands

  • git status - Check current changes
  • git add . - Stage changes
  • git commit -m "message" - Commit changes (only when explicitly requested)
  • git mv - Move/rename files to preserve history

Testing

  • pnpm test - Run all tests
  • tstest 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 project
  • tsbuild 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