* feat: add prek pre-commit hooks and dependabot Pre-commit hooks (via prek): - Basic hygiene: trailing-whitespace, end-of-file-fixer, check-yaml, check-added-large-files, check-merge-conflict - Security: detect-secrets, zizmor (GitHub Actions audit) - Linting: shellcheck, actionlint, oxlint, swiftlint - Formatting: oxfmt, swiftformat Dependabot: - npm and GitHub Actions ecosystems - Grouped updates (production/development/actions) - 7-day cooldown for supply chain protection Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * docs: add prek install instruction to AGENTS.md --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
33 lines
609 B
TypeScript
33 lines
609 B
TypeScript
export type MapConfig = {
|
|
ensureLogins?: string[];
|
|
displayName?: Record<string, string>;
|
|
nameToLogin?: Record<string, string>;
|
|
emailToLogin?: Record<string, string>;
|
|
placeholderAvatar?: string;
|
|
seedCommit?: string;
|
|
};
|
|
|
|
export type ApiContributor = {
|
|
login?: string;
|
|
html_url?: string;
|
|
avatar_url?: string;
|
|
name?: string;
|
|
email?: string;
|
|
contributions?: number;
|
|
};
|
|
|
|
export type User = {
|
|
login: string;
|
|
html_url: string;
|
|
avatar_url: string;
|
|
};
|
|
|
|
export type Entry = {
|
|
key: string;
|
|
login?: string;
|
|
display: string;
|
|
html_url: string;
|
|
avatar_url: string;
|
|
lines: number;
|
|
};
|