-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow
skipLibCheck: false
(#8813)
Tasks: - Extract common `undefined | null` logic everywhere to reuse (now-exported) type `Nullish` - Expose `FileMatcher` by removing `@internal` flag (why was it internal to begin with?) - Created base type `ObjectMap` to reduce writing `{ [key: string]: <anything> }` everywhere. - Updated eslint to register `test/tsconfig.json` - Fixes `skipLibCheck: false` by forcing UUID.ts to return a `Buffer` instead of `Buffer<ArrayBuffer>`, which the compiler doesn't like depending on version of node you're on
- Loading branch information
Showing
40 changed files
with
124 additions
and
87 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,8 @@ | ||
--- | ||
"app-builder-lib": patch | ||
"builder-util": patch | ||
"builder-util-runtime": patch | ||
"dmg-builder": patch | ||
--- | ||
|
||
chore: extract common `undefined | null` to reuse current (unexported) type `Nullish`. Expose `FileMatcher` instead of `@internal` flag |
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
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
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
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
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
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,14 +1,14 @@ | ||
import { Lazy } from "lazy-val" | ||
import { WindowsSignOptions } from "./windowsCodeSign" | ||
import { Target } from "../core" | ||
import { MemoLazy } from "builder-util-runtime" | ||
import { MemoLazy, Nullish } from "builder-util-runtime" | ||
import { FileCodeSigningInfo, CertificateFromStoreInfo } from "./windowsSignToolManager" | ||
import { WindowsConfiguration } from "../options/winOptions" | ||
|
||
export interface SignManager { | ||
readonly computedPublisherName: Lazy<Array<string> | null> | ||
readonly cscInfo: MemoLazy<WindowsConfiguration, FileCodeSigningInfo | CertificateFromStoreInfo | null> | ||
computePublisherName(target: Target, publisherName: string | null | undefined): Promise<string> | ||
computePublisherName(target: Target, publisherName: string | Nullish): Promise<string> | ||
initialize(): Promise<void> | ||
signFile(options: WindowsSignOptions): Promise<boolean> | ||
} |
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
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
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
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
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
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
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
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
Oops, something went wrong.