Skip to content

Commit

Permalink
chore(core): upgrade @types/electron-packager
Browse files Browse the repository at this point in the history
Sync typings version with package version
  • Loading branch information
malept committed Sep 8, 2018
1 parent d2ef60b commit 2bab74c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"@types/chai-as-promised": "^7.1.0",
"@types/cross-spawn": "^6.0.0",
"@types/debug": "^0.0.30",
"@types/electron-packager": "^10.1.0",
"@types/electron-packager": "^12.0.0",
"@types/electron-winstaller": "^2.6.1",
"@types/express": "^4.11.1",
"@types/express-ws": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/core/src/api/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export default async ({

d('packaging with options', packageOpts);

await (packager as (opts: packager.Options) => Promise<void>)(packageOpts);
await packager(packageOpts);

await runHook(forgeConfig, 'postPackage');

Expand Down
4 changes: 2 additions & 2 deletions packages/utils/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"test": "echo No Tests For Shared Types"
},
"dependencies": {
"@types/electron-packager": "^10.1.0",
"@types/electron-packager": "^12.0.0",
"electron-rebuild": "^1.6.0",
"ora": "^2.0.0"
},
"engines": {
"node": ">= 6.0"
}
}
}
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -748,9 +748,9 @@
version "0.0.30"
resolved "https://registry.yarnpkg.com/@types/debug/-/debug-0.0.30.tgz#dc1e40f7af3b9c815013a7860e6252f6352a84df"

"@types/electron-packager@^10.1.0":
version "10.1.0"
resolved "https://registry.yarnpkg.com/@types/electron-packager/-/electron-packager-10.1.0.tgz#8d61ef76a2676936c59d14392a9c0c1853405953"
"@types/electron-packager@^12.0.0":
version "12.0.0"
resolved "https://registry.yarnpkg.com/@types/electron-packager/-/electron-packager-12.0.0.tgz#acbcf3c5895c1eeda3d2a325c2feeded6a639b1f"
dependencies:
"@types/node" "*"

Expand Down

0 comments on commit 2bab74c

Please sign in to comment.