You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/CLAUDE.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,15 +34,15 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
34
34
35
35
### Package-Specific Commands
36
36
37
-
-`cd packages/[package] && pnpm tsc` - TypeScript compilation for a specific package
37
+
-`cd packages/[package] && pnpm build` - Build and compile a specific package
38
38
-`cd packages/[package] && pnpm test` - Run tests for a specific package
39
39
-`cd packages/[package] && pnpm build` - Build a specific package
40
40
-**IMPORTANT**: When modifying packages like `util` that other packages depend on, you must run `pnpm build` in the dependency package before typechecking dependent packages
41
41
42
42
### Development
43
43
44
44
- After code changes, run `pretter -w [filename]` to ensure consistent styling
45
-
- After TypeScript or `*.tsx` changes, run `pnpm tsc` in the relevant package directory
45
+
- After TypeScript or `*.tsx` changes, run `pnpm build` in the relevant package directory
46
46
47
47
## Architecture Overview
48
48
@@ -120,14 +120,14 @@ CoCalc is organized as a monorepo with key packages:
120
120
121
121
### Development Workflow
122
122
123
-
1. Changes to TypeScript require compilation (`pnpm tsc` in relevant package)
123
+
1. Changes to TypeScript require compilation (`pnpm build` in relevant package)
124
124
2. Database must be running before starting hub
125
125
3. Hub coordinates all services and should be restarted after changes
126
126
4. Use `pnpm clean && pnpm build-dev` when switching branches or after major changes
127
127
128
128
# Workflow
129
129
130
-
- Be sure to typecheck when you're done making a series of code changes
130
+
- Be sure to build when you're done making a series of code changes
131
131
- Prefer running single tests, and not the whole test suite, for performance
0 commit comments