@@ -17,14 +17,14 @@ import { NsisVersionInfo } from './common';
import { NsisComposer, NsisDiffer, Nsis7Zipper, nsisBuild } from './nsis-gen';
import { mergeOptions, findExecutable, findFFmpeg, findRuntimeRoot, findExcludableDependencies, tmpName, tmpFile, tmpDir, fixWindowsVersion, copyFileAsync, extractGeneric, compress } from './util';
-interface IParseOutputPatternOptions {
+export interface IParseOutputPatternOptions {
name: string;
version: string;
platform: string;
arch: string;
}
-interface IBuilderOptions {
+export interface IBuilderOptions {
win?: boolean;
mac?: boolean;
linux?: boolean;
@@ -6,7 +6,7 @@ const debug = require('debug')('build:downloader');
import { DownloaderBase } from './common/DownloaderBase';
import { mergeOptions } from './util';
-interface IDownloaderOptions {
+export interface IDownloaderOptions {
platform?: string;
arch?: string;
version?: string;
@@ -10,7 +10,7 @@ const progress = require('request-progress');
import { Event, DownloaderBase } from './common';
import { mergeOptions, extractGeneric } from './util';
-interface IRequestProgress {
+export interface IRequestProgress {
percent: number;
speed: number;
size: {
@@ -23,7 +23,7 @@ interface IRequestProgress {
};
-interface IFFmpegDownloaderOptions {
+export interface IFFmpegDownloaderOptions {
@@ -11,7 +11,7 @@ import { FFmpegDownloader } from './FFmpegDownloader';
import { BuildConfig } from './config';
import { mergeOptions, findExecutable, findFFmpeg, tmpDir, spawnAsync, extractGeneric } from './util';
-interface IRunnerOptions {
+export interface IRunnerOptions {
x86?: boolean;
x64?: boolean;
chromeApp?: boolean;
@@ -14,7 +14,7 @@ import { mergeOptions, extractGeneric } from '../util';
const DIR_CACHES = resolve(dirname(module.filename), '..', '..', '..', 'caches');
ensureDirSync(DIR_CACHES);
@@ -5,14 +5,14 @@ import { createHash } from 'crypto';
import { exists, readJson, writeJson, createReadStream } from 'fs-extra';
import * as semver from 'semver';
-interface IInstaller {
+export interface IInstaller {
path: string;
hash: string;
created: number;
-interface IUpdater {
+export interface IUpdater {
fromVersion: string;
@@ -20,7 +20,7 @@ interface IUpdater {
-interface IVersion {
+export interface IVersion {
changelog: string;
source: string;
@@ -28,7 +28,7 @@ interface IVersion {
updaters: IUpdater[];
-interface IVersionInfoData {
+export interface IVersionInfoData {
latest: string;
versions: IVersion[];
@@ -9,7 +9,7 @@ export * from './Nsis7Zipper';
const DIR_ASSETS = resolve(dirname(module.filename), '../../../assets/');
const DIR_NSIS = resolve(DIR_ASSETS, 'nsis');
-interface INsisBuildOptions {
+export interface INsisBuildOptions {
mute: boolean;
@@ -8,7 +8,7 @@ const debug = require('debug')('build:archive');
import { tmpFile, spawnAsync } from './';
-interface IExtractOptions {
+export interface IExtractOptions {
overwrite: boolean;