🚀 Feature: Hydration script should call the same GitHub APIs as the setup script #451
Closed
3 tasks done
Labels
status: accepting prs
Please, send a pull request to resolve this!
type: feature
New enhancement or request
Bug Report Checklist
main
branch of the repository.Overview
This repo has two scripts that can run to set up a repository:
Right now, the setup script calls to GitHub APIs to set up repository labels and assorted other GitHub repository settings. But the hydration script doesn't do that...
...yet! Let's have the hydration script call to those same APIs.
Additional Info
I think we should find a way to share code between the two scripts. It'd be annoying to have the code exist in two locations. Perhaps moving the setup script to inside#468src/
? Note that the setup script should be written in.js
files so that folks don't have to runpnpm build
before running it. We'd want to enablecheckJs
intsconfig.json
, I think.We'll also want at least one
--skip-*
flag the same way that the setup script does. I'd want to be able to run this thing without modifying the main/upstream repository!The text was updated successfully, but these errors were encountered: