Skip to content

feat(core): implement Phase 1 analysis pipeline with CLI integration - #1

Merged
millareskenneth merged 1 commit into
mainfrom
feat/parser
Jun 5, 2026
Merged

feat(core): implement Phase 1 analysis pipeline with CLI integration#1
millareskenneth merged 1 commit into
mainfrom
feat/parser

Conversation

@millareskenneth

Copy link
Copy Markdown
Member
  • Add analyze() function orchestrating file scanning, parsing, extraction, and graph building
  • Implement file scanner with TypeScript/JavaScript detection and ignore list support
  • Add AST parser using swc for extracting import statements from source files
  • Implement dependency extractor with relative path resolution and extension handling
  • Add graph builder creating nodes, edges, and detecting isolated files and cycles
  • Implement terminal renderer with ASCII output and optional external package filtering
  • Update CLI to invoke analysis pipeline with --show-external and --ignore options
  • Add comprehensive test suites for parser, scanner, and graph builder
  • Update tsup config to generate both ESM and CommonJS outputs with proper entry points
  • Update package exports to include analyze function and type definitions

- Add `analyze()` function orchestrating file scanning, parsing, extraction, and graph building
- Implement file scanner with TypeScript/JavaScript detection and ignore list support
- Add AST parser using swc for extracting import statements from source files
- Implement dependency extractor with relative path resolution and extension handling
- Add graph builder creating nodes, edges, and detecting isolated files and cycles
- Implement terminal renderer with ASCII output and optional external package filtering
- Update CLI to invoke analysis pipeline with --show-external and --ignore options
- Add comprehensive test suites for parser, scanner, and graph builder
- Update tsup config to generate both ESM and CommonJS outputs with proper entry points
- Update package exports to include analyze function and type definitions
@millareskenneth
millareskenneth merged commit 3b9e03d into main Jun 5, 2026
0 of 2 checks passed
@millareskenneth
millareskenneth deleted the feat/parser branch June 5, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant