Skip to content

Commit

Permalink
fix(shared-types): don't use @types/electron-packager
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Jun 27, 2020
1 parent dc4f8bf commit cdeddce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/utils/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"typings": "index.d.ts",
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.51",
"@types/electron-packager": "^14.0.0",
"electron-packager": "^15.0.0",
"electron-rebuild": "^1.8.6",
"ora": "^4.0.3"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/utils/types/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { ChildProcess } from 'child_process';
// eslint-disable-next-line import/no-extraneous-dependencies
import { Options } from 'electron-packager';
import { ArchOption, Options, TargetPlatform } from 'electron-packager';
import { RebuildOptions } from 'electron-rebuild/lib/src/rebuild';

export type ElectronProcess = ChildProcess & { restarted: boolean };

export type ForgePlatform = 'darwin' | 'mas' | 'win32' | 'linux';
export type ForgeArch = 'ia32' | 'x64' | 'armv7l' | 'arm64' | 'arm' | 'all';
export type ForgePlatform = TargetPlatform;
export type ForgeArch = ArchOption;
export type ForgeHookFn = (forgeConfig: ForgeConfig, ...args: any[]) => Promise<any>;
export type ForgeConfigPublisher = IForgeResolvablePublisher | IForgePublisher | string;
export interface IForgePluginInterface {
Expand Down

0 comments on commit cdeddce

Please sign in to comment.