|
1 | | -# Context |
| 1 | +# Apex Log Analyzer |
2 | 2 |
|
3 | | -**Apex Log Analyzer** - VS Code extension for analyzing Salesforce debug logs with interactive visualizations (flame charts, call trees, SOQL/DML breakdowns). |
| 3 | +VS Code extension for Salesforce debug log analysis. |
4 | 4 |
|
5 | | -## Monorepo Structure |
| 5 | +## Structure |
6 | 6 |
|
7 | | -- lana/: VS Code extension (TypeScript) |
8 | | -- log-viewer/: Webview UI (TypeScript) |
9 | | -- lana-docs-site/: Docusaurus documentation |
10 | | -- sample-app/: Sample Salesforce app with test logs |
| 7 | +- `lana/` - VS Code extension |
| 8 | +- `log-viewer/` - Webview UI (NO vscode imports allowed) |
11 | 9 |
|
12 | | -## Technology + Tooling |
| 10 | +## Commands |
13 | 11 |
|
14 | | -- TypeScript |
15 | | -- lit, html, css, js |
| 12 | +pnpm watch | build | test | lint | prettier-format |
16 | 13 |
|
17 | | -Always use pnpm |
| 14 | +## Standards |
18 | 15 |
|
19 | | -## Key Commands |
| 16 | +See `.specify/memory/constitution.md` for full guidelines. |
20 | 17 |
|
21 | | -- pnpm watch: Dev build with hot reload |
22 | | -- pnpm build: Production build |
23 | | -- pnpm test: Run tests before commiting |
24 | | -- pnpm lint: Type + lint check |
25 | | -- pnpm prettier-format: Auto-format all files |
26 | | - |
27 | | -## Development Guidelines |
28 | | - |
29 | | -- Strict TypeScript enabled |
30 | | -- `log-viewer/` + `lana/` must remain independent + `log-viewer/` can not import VSCode APIs |
31 | | -- Write tests first (TDD) |
32 | | -- Fast performance + Handle 50MB+ logs (500k+ lines) |
33 | | - |
34 | | -## Important notes |
35 | | - |
36 | | -- See `.specify/memory/constitution.md` for Core principles, development standards, Release process |
37 | | -- Conventional commit messages |
38 | | -- Don't auto commit |
| 18 | +- Strict TypeScript, no `any` |
| 19 | +- Performance: <3s for 10MB logs |
| 20 | +- Tests required for features |
| 21 | +- Conventional commits, no auto-commit |
0 commit comments