Skip to content

Commit

Permalink
chore(maker): update debian/redhat/snap installer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Jan 9, 2019
1 parent f93da7a commit 2c22f1b
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 129 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@
"typescript": "3.1.6"
},
"optionalDependencies": {
"electron-installer-debian": "^1.0.0",
"electron-installer-debian": "^1.1.0",
"electron-installer-dmg": "^2.0.0",
"electron-installer-flatpak": "^0.8.0",
"electron-installer-redhat": "^0.5.0",
"electron-installer-snap": "^3.0.1",
"electron-installer-redhat": "^1.0.0",
"electron-installer-snap": "^3.1.0",
"electron-windows-store": "^2.1.0",
"electron-winstaller": "^2.5.0",
"electron-wix-msi": "^2.1.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/deb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"@electron-forge/shared-types": "6.0.0-beta.30"
},
"optionalDependencies": {
"electron-installer-debian": "^1.0.0"
"electron-installer-debian": "^1.1.0"
}
}
5 changes: 2 additions & 3 deletions packages/maker/rpm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.30",
"@electron-forge/shared-types": "6.0.0-beta.30",
"pify": "^4.0.0"
"@electron-forge/shared-types": "6.0.0-beta.30"
},
"optionalDependencies": {
"electron-installer-redhat": "^0.5.0"
"electron-installer-redhat": "^1.0.0"
}
}
3 changes: 1 addition & 2 deletions packages/maker/rpm/src/MakerRpm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import MakerBase, { MakerOptions } from '@electron-forge/maker-base';
import { ForgeArch, ForgePlatform } from '@electron-forge/shared-types';

import path from 'path';
import pify from 'pify';

import { MakerRpmConfig } from './Config';

Expand Down Expand Up @@ -45,7 +44,7 @@ export default class MakerRpm extends MakerBase<MakerRpmConfig> {
rename: undefined,
});

await pify(installer)(rpmConfig);
await installer(rpmConfig);
return [outPath];
}
}
2 changes: 1 addition & 1 deletion packages/maker/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"@electron-forge/shared-types": "6.0.0-beta.30"
},
"optionalDependencies": {
"electron-installer-snap": "^3.0.1"
"electron-installer-snap": "^3.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/publisher/snapcraft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"fs-extra": "^7.0.0"
},
"optionalDependencies": {
"electron-installer-snap": "^3.0.1"
"electron-installer-snap": "^3.1.0"
}
}
Loading

0 comments on commit 2c22f1b

Please sign in to comment.