Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature: Add a mode for repository initialization #45

Closed
2 tasks done
JoshuaKGoldberg opened this issue Dec 13, 2024 · 0 comments · Fixed by #69
Closed
2 tasks done

🚀 Feature: Add a mode for repository initialization #45

JoshuaKGoldberg opened this issue Dec 13, 2024 · 0 comments · Fixed by #69
Assignees
Labels
status: accepting prs Please, send a pull request to resolve this! 🙏 type: feature New enhancement or request

Comments

@JoshuaKGoldberg
Copy link
Owner

JoshuaKGoldberg commented Dec 13, 2024

Bug Report Checklist

Overview

Right now, producer and runner APIs don't understand the idea of a "mode": whether a repository is being newly created, initialized from a template, or migrated/updated from older/other templating. But each of those three modes has added logic to run.

This issue tracks the creation mode: creating a new repository and linking it to one on GitHub.

Additional Info

Tracking issue in CTA: JoshuaKGoldberg/create-typescript-app#1764

create-typescript-app does this by deleting the dependencies and files from its own source that are unnecessary - thus leaving files behind. I think from the template's perspective it'd be cleaner to just delete everything in the repository and then re-run creation.

💖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepting prs Please, send a pull request to resolve this! 🙏 type: feature New enhancement or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant