Skip to content

32 add astro support#40

Merged
chrislyons-dev merged 24 commits intomainfrom
32-add-astro-support
Oct 28, 2025
Merged

32 add astro support#40
chrislyons-dev merged 24 commits intomainfrom
32-add-astro-support

Conversation

@chrislyons-dev
Copy link
Copy Markdown
Owner


name: Pull Request
about: Propose changes to Archlette
title: 'issue#30: create an astros extractor'
labels: enhancement
assignees: ''

🧩 Summary

Add astros extractor

🔍 Context

Complete standard dev stack coverage for chrislyons-dev microservices apps

✅ Checklist

  • Code compiles and runs locally
  • npm run format:check passes
  • npm run lint passes
  • npm run typecheck passes
  • npm test passes
  • CHANGELOG.md updated (under “Unreleased”)
  • Docs / README updated (if relevant)
  • License notices unchanged or updated as needed
  • CI checks pass

🧠 Notes for Reviewers


🧱 Archlette Motto

“Code speaks. Archlette listens. Architecture evolves.”

…s from directory structure

Remove reliance on explicit doc tags for component detection.
Components will now be inferred from the directory structure and file names.

Written-by: Chris Lyons
- Created the project structure for basic-astro
- Created astro types
- Automated unit tests for the scaffolding
- Created basic smoke tests to verify setup

Written-by: Chris Lyons
- find astro files
- find and parse package.json files
- test the new logic

Written-by: Chris Lyons
  - process .astro files
  - extract code between --- markers
  - parses import statements with regex
  - find <slot> tags in template
  - detect hydration directives
  - find imported components used in markup

Written-by: Chris Lyons
created main entry point for the astro extractor
tested the end to end workflow
added tests for astro extractor

Written-by: Chris Lyons
…ro extractor

- regex error truncated component names
- default component ids were not being generated with folder/file names, not just file

Written-by: Chris Lyons
Extract a default "render" function from all astro files

Written-by: Chris Lyons
Components were being generated from folders inappropriately.

Written-by: Chris Lyons
…ython extractors

Automatically detect component relationships in the node and python extractors.
This enhancement improves the accuracy of architecture models by reflecting
actual code dependencies.

Written-by: Chris Lyons
@chrislyons-dev chrislyons-dev merged commit 7e6c258 into main Oct 28, 2025
6 checks passed
@chrislyons-dev chrislyons-dev deleted the 32-add-astro-support branch October 29, 2025 02:48
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.

2 participants