Let main-process listen to renderer, renderer listen to main-process, Electron listen to you.
npm i @cycle-mega-driver/electron electron @cycle/rxjs-run -D
Firstly, You should import '@cycle-mega-driver/electron/dist/preload'
in your preload script.
then use @cycle-mega-driver/electron/lib/main
and @cycle-mega-driver/electron/lib/renderer
in your code.
npm i @cycle-mega-driver/database @cycle/rxjs-run -D
-
Fix typescript@~4.7 parcel-bundler/parcel#8419
-
Lerna
patch-package
cannot patchrx-pouch
inpackages/database
.
Have to place rx-pouch as devDependencies, so rollup can bundle it. But how about its dependencies? I have nothing to do but add them as dependencies:- "deep-array-filter": "^1.0.4",
- "fast-sort": "^1.5.4",
- "pouchdb-adapter-http": "^7.0.0",
- "pouchdb-core": "^7.0.0",
- "pouchdb-mapreduce": "^7.0.0",
- "pouchdb-replication": "^7.0.0",
Dirty, but works.