before:
```
kcab.worker.4bdc73a8d45eb2115156.js (2.1 MiB)
xfo.kcab.worker.4bdc73a8d45eb2115156.js (1010 KiB)
```
after:
```
kcab.worker.39f5fba82d7bc7477962.js (1.41 MiB)
xfo.kcab.worker.39f5fba82d7bc7477962.js (1000 KiB)
```
What’s changed:
- `loot-core` did not have a `browserslist` config, so
`@babel/preset-env` assumes we want to [transpile all the way back to
ES5](https://babeljs.io/docs/options#no-targets). I’ve removed the
`browserslist` config from each of the `package.json` files and moved it
to the root so this doesn’t happen again.
- I updated the target from `electron 3.0` to `electron 12.0` to match
our Electron dependency
- I’ve added `defaults` (currently equivalent to `> 0.5%, last 2
versions, Firefox ESR, not dead`) which is [recommended by
browserslist](https://browsersl.ist/#q=defaults). We could consider
tightening this, but it doesn’t offer a ton of space savings at this
point to just target Electron 12.
- Since much less transpilation will be happening, stack traces (dev and
prod) will be much easier to read!
* Run `yarn dedupe`
* Update to better-sqlite3@latest
* Remove react-native
* Remove a bunch more unused deps
* Update mitt to 3.0
* Remove a few more
* Remove react-native-gesture-handler
* Revert "Update to better-sqlite3@latest"
This reverts commit d436bc8d73f2745f484def4e40596322d0c56458.
* Dedupe better-sqlite3 versions
* snapshots!
* Fix jsdom error
* Revert "Dedupe better-sqlite3 versions"
This reverts commit f99d2ab6f9.
* Add back jest-watch-typeahead
* Fix conflicting Jest version
(The jest-environment-jsdom package that is magically available seems to only be compatible with Jest 27)
* master:
fix: correct import of merkle in test
chore: move snapshot to new dir
refactor: move crdt files into separate directory
revert: revert pruning of svg imports
style: nicer re-exporting syntax
refactor: remove unused imports
chore: update package scripts to take advantage of yarn v3
build: add missing eslint dependency to loot-core
build: add cross-env dependency to desktop-client package.json
build: remove deprecated nohoist settings and prevent hoisting of mobile dependencies
fix: move downshift patch to monorepo root
CI: update CI definition to use yarn v3
fix: wrap glob in quotes so that it's properly passed to npm-run-all
chore: update root yarn scripts to use `workspace` command instead of cd
chore: fix broken builds
chore: update to yarnv3 and fix missing packages preventing install
Force react-error-overlay to 6.0.9 to fix error
Add docs for building for windows (contributed by @ejmurra)
add: tsconfig.json