generated from JoshuaKGoldberg/create-typescript-app
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: run build:release in .husky/pre-commit
- Loading branch information
1 parent
ff06351
commit d956a96
Showing
15 changed files
with
61,848 additions
and
45,590 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/prepare | ||
- run: pnpm build:release | ||
|
||
name: Build (Release) | ||
|
||
on: | ||
pull_request: ~ | ||
push: | ||
branches: | ||
- main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
npx lint-staged | ||
pnpm build:release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ | |
"infile", | ||
"knip", | ||
"lcov", | ||
"outro", | ||
"packagejson", | ||
"quickstart", | ||
"wontfix", | ||
"outro" | ||
"wontfix" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
interface RepoFile { | ||
content: string; | ||
encoding: "base64"; | ||
type: "file"; | ||
content: string; | ||
encoding: "base64"; | ||
type: "file"; | ||
} | ||
export declare function dataIsRepoFile(data: unknown): data is RepoFile; | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,118 +1,97 @@ | ||
import { Locator, Octokit } from "./types.js"; | ||
export declare function doesPullAlreadyHaveComment( | ||
octokit: Octokit, | ||
locator: Locator, | ||
id: number | ||
): Promise< | ||
| { | ||
id: number; | ||
node_id: string; | ||
url: string; | ||
body?: string | undefined; | ||
body_text?: string | undefined; | ||
body_html?: string | undefined; | ||
html_url: string; | ||
user: { | ||
name?: string | null | undefined; | ||
email?: string | null | undefined; | ||
login: string; | ||
id: number; | ||
node_id: string; | ||
avatar_url: string; | ||
gravatar_id: string | null; | ||
url: string; | ||
html_url: string; | ||
followers_url: string; | ||
following_url: string; | ||
gists_url: string; | ||
starred_url: string; | ||
subscriptions_url: string; | ||
organizations_url: string; | ||
repos_url: string; | ||
events_url: string; | ||
received_events_url: string; | ||
type: string; | ||
site_admin: boolean; | ||
starred_at?: string | undefined; | ||
} | null; | ||
created_at: string; | ||
updated_at: string; | ||
issue_url: string; | ||
author_association: | ||
| "COLLABORATOR" | ||
| "CONTRIBUTOR" | ||
| "FIRST_TIMER" | ||
| "FIRST_TIME_CONTRIBUTOR" | ||
| "MANNEQUIN" | ||
| "MEMBER" | ||
| "NONE" | ||
| "OWNER"; | ||
performed_via_github_app?: | ||
| { | ||
id: number; | ||
slug?: string | undefined; | ||
node_id: string; | ||
owner: { | ||
name?: string | null | undefined; | ||
email?: string | null | undefined; | ||
login: string; | ||
id: number; | ||
node_id: string; | ||
avatar_url: string; | ||
gravatar_id: string | null; | ||
url: string; | ||
html_url: string; | ||
followers_url: string; | ||
following_url: string; | ||
gists_url: string; | ||
starred_url: string; | ||
subscriptions_url: string; | ||
organizations_url: string; | ||
repos_url: string; | ||
events_url: string; | ||
received_events_url: string; | ||
type: string; | ||
site_admin: boolean; | ||
starred_at?: string | undefined; | ||
} | null; | ||
name: string; | ||
description: string | null; | ||
external_url: string; | ||
html_url: string; | ||
created_at: string; | ||
updated_at: string; | ||
permissions: { | ||
issues?: string | undefined; | ||
checks?: string | undefined; | ||
metadata?: string | undefined; | ||
contents?: string | undefined; | ||
deployments?: string | undefined; | ||
} & { | ||
[key: string]: string; | ||
}; | ||
events: string[]; | ||
installations_count?: number | undefined; | ||
client_id?: string | undefined; | ||
client_secret?: string | undefined; | ||
webhook_secret?: string | null | undefined; | ||
pem?: string | undefined; | ||
} | ||
| null | ||
| undefined; | ||
reactions?: | ||
| { | ||
url: string; | ||
total_count: number; | ||
"+1": number; | ||
"-1": number; | ||
laugh: number; | ||
confused: number; | ||
heart: number; | ||
hooray: number; | ||
eyes: number; | ||
rocket: number; | ||
} | ||
| undefined; | ||
} | ||
| undefined | ||
>; | ||
export declare function doesPullAlreadyHaveComment(octokit: Octokit, locator: Locator, id: number): Promise<{ | ||
id: number; | ||
node_id: string; | ||
url: string; | ||
body?: string | undefined; | ||
body_text?: string | undefined; | ||
body_html?: string | undefined; | ||
html_url: string; | ||
user: { | ||
name?: string | null | undefined; | ||
email?: string | null | undefined; | ||
login: string; | ||
id: number; | ||
node_id: string; | ||
avatar_url: string; | ||
gravatar_id: string | null; | ||
url: string; | ||
html_url: string; | ||
followers_url: string; | ||
following_url: string; | ||
gists_url: string; | ||
starred_url: string; | ||
subscriptions_url: string; | ||
organizations_url: string; | ||
repos_url: string; | ||
events_url: string; | ||
received_events_url: string; | ||
type: string; | ||
site_admin: boolean; | ||
starred_at?: string | undefined; | ||
} | null; | ||
created_at: string; | ||
updated_at: string; | ||
issue_url: string; | ||
author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"; | ||
performed_via_github_app?: { | ||
id: number; | ||
slug?: string | undefined; | ||
node_id: string; | ||
owner: { | ||
name?: string | null | undefined; | ||
email?: string | null | undefined; | ||
login: string; | ||
id: number; | ||
node_id: string; | ||
avatar_url: string; | ||
gravatar_id: string | null; | ||
url: string; | ||
html_url: string; | ||
followers_url: string; | ||
following_url: string; | ||
gists_url: string; | ||
starred_url: string; | ||
subscriptions_url: string; | ||
organizations_url: string; | ||
repos_url: string; | ||
events_url: string; | ||
received_events_url: string; | ||
type: string; | ||
site_admin: boolean; | ||
starred_at?: string | undefined; | ||
} | null; | ||
name: string; | ||
description: string | null; | ||
external_url: string; | ||
html_url: string; | ||
created_at: string; | ||
updated_at: string; | ||
permissions: { | ||
[key: string]: string | undefined; | ||
issues?: string | undefined; | ||
checks?: string | undefined; | ||
metadata?: string | undefined; | ||
contents?: string | undefined; | ||
deployments?: string | undefined; | ||
}; | ||
events: string[]; | ||
installations_count?: number | undefined; | ||
client_id?: string | undefined; | ||
client_secret?: string | undefined; | ||
webhook_secret?: string | null | undefined; | ||
pem?: string | undefined; | ||
} | null | undefined; | ||
reactions?: { | ||
url: string; | ||
total_count: number; | ||
"+1": number; | ||
"-1": number; | ||
laugh: number; | ||
confused: number; | ||
heart: number; | ||
hooray: number; | ||
eyes: number; | ||
rocket: number; | ||
} | undefined; | ||
} | undefined>; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
import { Locator, Octokit } from "./types.js"; | ||
export type ExistingContributions = Record<string, Set<string> | undefined>; | ||
export declare function getExistingContributors( | ||
octokit: Octokit, | ||
locator: Locator | ||
): Promise<ExistingContributions>; | ||
export declare function getExistingContributors(octokit: Octokit, locator: Locator): Promise<ExistingContributions>; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
import { ContributorContributions } from "all-contributors-for-repository"; | ||
import { ExistingContributions } from "./getExistingContributors.js"; | ||
export declare function getMissingContributions( | ||
contributor: string, | ||
contributions: ContributorContributions, | ||
existingContributors: ExistingContributions | ||
): ContributorContributions; | ||
export declare function getMissingContributions(contributor: string, contributions: ContributorContributions, existingContributors: ExistingContributions): ContributorContributions; |
Oops, something went wrong.