index.d.ts 2.8 KB

123456789101112131415161718192021222324252627282930313233
  1. import { PublishOptions } from "electron-publish/out/publisher";
  2. import { Packager } from "./packager";
  3. import { PackagerOptions } from "./packagerApi";
  4. export { Packager, BuildResult } from "./packager";
  5. export { PackagerOptions, ArtifactCreated, ArtifactBuildStarted } from "./packagerApi";
  6. export { TargetConfiguration, Platform, Target, DIR_TARGET, BeforeBuildContext, SourceRepositoryInfo, TargetSpecificOptions, TargetConfigType, DEFAULT_TARGET, CompressionLevel, } from "./core";
  7. export { getArchSuffix, Arch, archFromString } from "builder-util";
  8. export { Configuration, AfterPackContext, MetadataDirectories } from "./configuration";
  9. export { ElectronBrandingOptions, ElectronDownloadOptions, ElectronPlatformName } from "./electron/ElectronFramework";
  10. export { PlatformSpecificBuildOptions, AsarOptions, FileSet, Protocol, ReleaseInfo } from "./options/PlatformSpecificBuildOptions";
  11. export { FileAssociation } from "./options/FileAssociation";
  12. export { MacConfiguration, DmgOptions, MasConfiguration, MacOsTargetName, DmgContent, DmgWindow } from "./options/macOptions";
  13. export { PkgOptions, PkgBackgroundOptions, BackgroundAlignment, BackgroundScaling } from "./options/pkgOptions";
  14. export { WindowsConfiguration } from "./options/winOptions";
  15. export { AppXOptions } from "./options/AppXOptions";
  16. export { MsiOptions } from "./options/MsiOptions";
  17. export { MsiWrappedOptions } from "./options/MsiWrappedOptions";
  18. export { CommonWindowsInstallerConfiguration } from "./options/CommonWindowsInstallerConfiguration";
  19. export { NsisOptions, NsisWebOptions, PortableOptions, CommonNsisOptions } from "./targets/nsis/nsisOptions";
  20. export { LinuxConfiguration, DebOptions, CommonLinuxOptions, LinuxTargetSpecificOptions, AppImageOptions, FlatpakOptions } from "./options/linuxOptions";
  21. export { SnapOptions } from "./options/SnapOptions";
  22. export { Metadata, AuthorMetadata, RepositoryInfo } from "./options/metadata";
  23. export { AppInfo } from "./appInfo";
  24. export { SquirrelWindowsOptions } from "./options/SquirrelWindowsOptions";
  25. export { WindowsSignOptions, CustomWindowsSignTaskConfiguration, WindowsSignTaskConfiguration, CustomWindowsSign, FileCodeSigningInfo, CertificateFromStoreInfo, } from "./codeSign/windowsCodeSign";
  26. export { CancellationToken, ProgressInfo } from "builder-util-runtime";
  27. export { PublishOptions, UploadTask } from "electron-publish";
  28. export { PublishManager } from "./publish/PublishManager";
  29. export { PlatformPackager } from "./platformPackager";
  30. export { Framework, PrepareApplicationStageDirectoryOptions } from "./Framework";
  31. export { buildForge, ForgeOptions } from "./forge-maker";
  32. export declare function checkBuildRequestOptions(options: PackagerOptions & PublishOptions): void;
  33. export declare function build(options: PackagerOptions & PublishOptions, packager?: Packager): Promise<Array<string>>;