Skip to content

feat: improve autopr template handling#134

Open
semihpolat wants to merge 1 commit intomainfrom
autopr-update
Open

feat: improve autopr template handling#134
semihpolat wants to merge 1 commit intomainfrom
autopr-update

Conversation

@semihpolat
Copy link
Copy Markdown
Contributor

Purpose of this pull request:
Make autopr.sh more suitable for sending templates, and add autopr.sh to postinstall.js

TODO: figure out how to handle template-specific packages, i.e., how to merge dependencies from the template’s package.json with the user’s project when they include packages that don’t exist in Statue.

  - Copy entire src/ directory instead of just src/routes for templates
  - Filter static/ directory to exclude default statue-ssg resources
  - Add proper cleanup for temp directories created during filtering
@semihpolat semihpolat requested a review from fredxfred January 10, 2026 02:47
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