mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 07:36:12 +08:00
[client-app] Include node-mac-notifier in build
Summary: Given that `lerna bootstrap` does not install optional dependencies, we need to manually run `npm install` inside `client-app` so `node-mac-notifier` get's correctly installed and included in the build See https://github.com/lerna/lerna/issues/121 Fixes T7887 Test Plan: manual Reviewers: halla, evan Reviewed By: evan Maniphest Tasks: T7887 Differential Revision: https://phab.nylas.com/D4076
This commit is contained in:
parent
fc2557051c
commit
c088e86110
1 changed files with 9 additions and 0 deletions
|
@ -131,7 +131,16 @@ async function main() {
|
|||
try {
|
||||
await installPrivateResources()
|
||||
await lernaBootstrap();
|
||||
|
||||
// Given that `lerna bootstrap` does not install optional dependencies, we
|
||||
// need to manually run `npm install` inside `client-app` so
|
||||
// `node-mac-notifier` get's correctly installed and included in the build
|
||||
// See https://github.com/lerna/lerna/issues/121
|
||||
console.log("\n---> Reinstalling client-app dependencies to include optional dependencies");
|
||||
await npm('install', {cwd: 'packages/client-app'})
|
||||
|
||||
await electronRebuild();
|
||||
|
||||
linkJasmineConfigs();
|
||||
linkIsomorphicCoreSpecs();
|
||||
} catch (err) {
|
||||
|
|
Loading…
Reference in a new issue