Skip to content

Commit

Permalink
chore: use set-github-repository-labels and populate-all-contributors…
Browse files Browse the repository at this point in the history
…-for-repository internally (#1772)

## PR Checklist

- [x] Addresses an existing open issue: fixes #1768
- [x] That issue was marked as [`status: accepting
prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22)
- [x] Steps in
[CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md)
were taken

## Overview

Brings on a few utilities I recently extracted:

* https://github.com/JoshuaKGoldberg/octokit-from-auth
*
https://github.com/JoshuaKGoldberg/populate-all-contributors-for-repository
* https://github.com/JoshuaKGoldberg/set-github-repository-labels

These should all have the same functionality as before. This should be a
`chore:` PR, not a `feat:` or `fix:`.

The utility here is that the latter two are now used as standalone
scripts in onboarding to the "create" engine. I thought they'd be done
as network requests (#1752), but in this way I found it a lot simpler to
have them as standalone scripts (#1751,
JoshuaKGoldberg/create#60).

💖
  • Loading branch information
JoshuaKGoldberg authored Dec 16, 2024
1 parent df464d8 commit 340b8fb
Show file tree
Hide file tree
Showing 28 changed files with 570 additions and 934 deletions.
1 change: 1 addition & 0 deletions knip.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://unpkg.com/knip@latest/schema.json",
"entry": ["script/*e2e.js", "src/index.ts!", "src/**/*.test.*"],
"ignoreDependencies": ["all-contributors-cli"],
"ignoreExportsUsedInFile": { "interface": true, "type": true },
"project": ["src/**/*.ts!", "script/**/*.js"]
}
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@
"dependencies": {
"@clack/prompts": "^0.8.2",
"@prettier/sync": "^0.5.2",
"all-contributors-for-repository": "^0.3.0",
"chalk": "^5.3.0",
"create": "0.1.0-alpha.3",
"create": "0.1.0-alpha.4",
"execa": "^9.5.1",
"get-github-auth-token": "^0.1.0",
"git-remote-origin-url": "^4.0.0",
"git-url-parse": "^16.0.0",
"input-from-file": "0.1.0-alpha.0",
Expand All @@ -56,14 +54,17 @@
"lazy-value": "^3.0.0",
"npm-user": "^6.1.1",
"octokit": "^4.0.2",
"octokit-from-auth": "^0.2.0",
"parse-author": "^2.0.0",
"parse-package-name": "^1.0.0",
"populate-all-contributors-for-repository": "^0.1.0",
"prettier": "^3.4.1",
"replace-in-file": "^8.2.0",
"rimraf": "^6.0.1",
"set-github-repository-labels": "^0.1.0",
"sort-package-json": "^2.12.0",
"title-case": "^4.3.2",
"zod": "^3.23.8",
"zod": "^3.24.1",
"zod-validation-error": "^3.4.0"
},
"devDependencies": {
Expand All @@ -78,9 +79,10 @@
"@types/parse-author": "2.0.3",
"@vitest/coverage-v8": "2.1.8",
"@vitest/eslint-plugin": "1.1.14",
"all-contributors-cli": "^6.26.1",
"c8": "10.1.2",
"console-fail-test": "0.5.0",
"create-testers": "0.1.0-alpha.3",
"create-testers": "0.1.0-alpha.4",
"cspell": "8.16.1",
"eslint": "9.16.0",
"eslint-plugin-jsdoc": "50.6.0",
Expand Down
Loading

0 comments on commit 340b8fb

Please sign in to comment.