Commit Graph

130 Commits

Author SHA1 Message Date
Jed Fox
6fc4fc294a Update Yarn (#1042) 2023-05-17 18:54:06 -04:00
Matiss Janis Aboltins
759a018346 🔧 make start:browser the default cmd instead of start:desktop (#977) 2023-05-01 10:47:36 +01:00
Jed Fox
5d559afe30 Enable linting for all packages (#861)
<!-- Thank you for submitting a pull request! Make sure to follow the
instructions to write release notes for your PR — it should only take a
minute or two:
https://github.com/actualbudget/docs#writing-good-release-notes -->
2023-04-06 15:49:43 -04:00
Alberto Gasparin
c009a0c7fb Start Typescript inception (#816) 2023-03-28 16:49:51 -05:00
Jed Fox
3cb18683c6 nit: use curly apostrophes throughout the UI (#791) 2023-03-21 13:48:31 -04:00
Jed Fox
c7e531a26c Reduce client build size by 1MB (#750)
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!
2023-03-14 13:55:39 -04:00
Jed Fox
a82300e20f Remove outdated part of the postinstall script (#733) 2023-03-09 07:36:52 -05:00
Jed Fox
0688c25843 Remove/dedupe/upgrade several dependencies (#702)
* 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)
2023-02-28 15:47:53 -05:00
Matiss Janis Aboltins
18eae3ebf6 🏗️ moving back to create-react-app (#697) 2023-02-28 08:50:49 +00:00
Matiss Janis Aboltins
92d18868b6 ⬆️ upgrade yarn to v3.4.1 (latest stable) (#683)
* ⬆️  upgrade yarn to v3.4.1 (latest stable)

* Fix resolutions
2023-02-23 19:19:33 +00:00
Matiss Janis Aboltins
50a71335e6 test: bare-bones e2e testing with playwright (#416) 2023-01-12 22:43:32 +00:00
Matiss Janis Aboltins
e58e00d454 ⬆️ upgrade prettier and fix new issues (#442) 2023-01-12 18:34:08 +00:00
Matiss Janis Aboltins
ae7378252f 🔥 removal of react-native mobile apps (#443) 2023-01-12 18:19:38 +00:00
Matiss Janis Aboltins
d2b210088f chore: fix eslint issues and make warnings CI blocking 2022-12-30 18:46:57 +00:00
Tom French
4f0bfe4a1f ci: lint desktop-client in CI 2022-08-25 16:21:26 +01:00
Tom French
d61457716e chore: update remaining test scripts 2022-08-24 21:27:47 +01:00
Tom French
9be15eaee1 build: replace babel-jest with ts-jest 2022-08-24 20:21:35 +01:00
Tom French
8d0872c7a4 Merge branch 'master' into prettier
* 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
2022-08-23 12:31:04 +01:00
Tom French
58a0910996 build: remove deprecated nohoist settings and prevent hoisting of mobile dependencies 2022-08-22 22:35:07 -04:00
Tom French
5c96635d79 fix: wrap glob in quotes so that it's properly passed to npm-run-all 2022-08-22 22:35:07 -04:00
Tom French
5dad1070b6 chore: update root yarn scripts to use workspace command instead of cd 2022-08-22 22:35:07 -04:00
Tom French
ce5ee1b877 chore: update to yarnv3 and fix missing packages preventing install 2022-08-22 22:35:07 -04:00
James Long
2358c0875d Force react-error-overlay to 6.0.9 to fix error 2022-08-15 11:23:51 -04:00
Tom French
a44834c0d3 style: enforce prettier rules in linter 2022-07-24 08:53:04 +01:00
Trevor Farlow
33ca432ea6 build: Bump @babel/plugin-transform-modules-commonjs to get test transform working 2022-07-19 23:31:42 -04:00
Tom French
71599d0aff build: remove unused yarn scripts 2022-06-29 09:57:21 -04:00
S3BAS
753fd380c7 Add missing comma in package.json 2022-04-30 12:16:21 -04:00
Christian Oliff
19a0106a9e Add fields to package.json
useful for contributors
2022-04-30 01:38:21 +09:00
James Long
83cab80633 license 2022-04-29 10:40:12 -04:00
James Long
4d9fdfc590 Initial (open-source) 2022-04-28 22:44:38 -04:00