-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workaround
electron-rebuild
bug (#10429)
* workaround electron-rebuild bug See electron/rebuild#888 The way we invoke `electron-rebuild` should allow Theia application developers to run `theia rebuild:*` from the root of their monorepos, but because of a bug in `electron-rebuild` it will only build dependencies listed in the `package.json` file located in `cwd`. Implement a workaround that modifies or creates a `package.json` file to list the dependencies to rebuild. Add exit hooks to cleanup in case users do `Ctrl+C` while theia rebuild is running so that we don't pollute user workspaces.
- Loading branch information
1 parent
6b9e099
commit e8b739e
Showing
1 changed file
with
195 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters