chore(deadcode): add deadcode scanning and remove unused lockfile deps (#22468)

* chore(deadcode): add deadcode scanning and remove unused lockfile deps

* chore(changelog): mention deadcode CI scan pass

* ci: disable deadcode job temporarily

* docs(changelog): add PR ref and thanks for deadcode scan entry

* ci: comment out deadcode job condition while keeping it disabled
This commit is contained in:
Vincent Koc
2026-02-21 01:29:20 -05:00
committed by GitHub
parent e7eba01efc
commit d3bb924709
5 changed files with 53 additions and 213 deletions

View File

@@ -1,26 +0,0 @@
declare module "proper-lockfile" {
export type RetryOptions = {
retries?: number;
factor?: number;
minTimeout?: number;
maxTimeout?: number;
randomize?: boolean;
};
export type LockOptions = {
retries?: number | RetryOptions;
stale?: number;
update?: number;
realpath?: boolean;
};
export type ReleaseFn = () => Promise<void>;
export function lock(path: string, options?: LockOptions): Promise<ReleaseFn>;
const lockfile: {
lock: typeof lock;
};
export default lockfile;
}