Commit Graph

23 Commits

Author SHA1 Message Date
DJ Mountney
0045d9212e Bundle loot-core types into the API (#2053)
* Bundle loot-core types into the API

So we can have loot-core be the source of truth
for some types that get passed through

- Improves downstream development with API by including types
- Use path aliases for dist vs dev tsconfigs
- Convert api index to typescript as example
- Permit ts-ignore for issues with our version of typescript

---------

Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv>
2024-01-20 10:30:23 -08:00
Matiss Janis Aboltins
6ce794ffcc 🔥 (ofx) removing old parser (#2215)
* 🔥 (ofx) removing old parser

* Release notes

* Patch unit test
2024-01-12 07:27:18 -08:00
Matiss Janis Aboltins
f41763b0b9 🔥 remove unused scripts; simplify version script (#1227)
1. Removed some more unused scripts
2. Simplified the way we build `version` in to the source
2023-06-29 19:25:54 +01:00
Jed Fox
c88038e95e Clean up the public/ folder (#1187)
- Remove unused CSS files
- Set up the `.wasm` files to be automatically copied in
- `sql-wasm-debug.wasm` is removed entirely since we never use the
debug/dev build of sql.js. This reduces the app download size by 1MB on
the server side. It may be worth enabling the debug build automatically
in the future?
2023-06-28 15:41:26 -04:00
Jed Fox
f06edd723d Update loot-core to webpack 5 (#1115)
~based on #1114~

This brings its build process up to date with the rest of the project.
We can now use Node 20 to build successfully.

Closes #918
2023-06-10 12:59:51 -04:00
Eike Siewertsen
1e2bc29a60 change copy-migrations shebang to bash (#1056) 2023-05-24 10:26:03 -04:00
Jed Fox
ad9cd5fc4d Remove usage of realpath (#893)
It turns out this command is not installed by default on macOS.
Fortunately the code doesn’t really require it to be used.
2023-04-12 16:38:26 -04:00
Alberto Gasparin
cd00da76ef Convert commonjs to esm (#877)
This PR converts everything (aside from electron) from CommonJS to ESM.
It is needed to reduce the changes that will happen during the migration
to Typescript (as TS does not play nice with CJS).

Basically:
- rewrite `require()` to `import`
- rewrite `module.exports` to `exports`
- introduce `ts-node` to run importers so we can convert them to TS too

Lastly, sorry for this larg-ish PR, not my preference but when I tried
to reduce its scope, I would end up with mixed commons/esm that was even
more tricky to handle.
2023-04-10 20:40:40 +01:00
Jed Fox
bf05b759aa Remove duplicate migration and default-db.sqlite files (#870)
These files will be automatically recreated by `yarn build:api`,
`yarn build:browser`, and `yarn start:browser`, so we don’t need
them in the repo.
2023-04-09 14:21:59 -04: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
Matiss Janis Aboltins
18eae3ebf6 🏗️ moving back to create-react-app (#697) 2023-02-28 08:50:49 +00:00
Matiss Janis Aboltins
851a25a62a 🔥 removing sentry (#448) 2023-01-14 19:35:49 +00:00
Matiss Janis Aboltins
ae7378252f 🔥 removal of react-native mobile apps (#443) 2023-01-12 18:19:38 +00:00
Tom French
5f0da9deb8 fix: replace last usages of | 0 2022-11-12 22:33:49 -05:00
Tom French
0fcfffea57 refactor: create index.js for aql directory (#68) 2022-08-31 22:46:28 +01:00
Tom French
e638cdf467 fix: use correct comment style 2022-08-30 20:35:57 +01:00
bdoherty
18e6eac116 Conditionally set MSYS
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
2022-08-31 07:31:03 +12:00
Tom French
fecca411b0 Merge branch 'master' into windows 2022-08-30 15:07:32 +01:00
Tom French
6967698d32 refactor: move crdt files into separate directory 2022-08-22 23:09:08 -04:00
Brendan Doherty
90f7a205a6 changes needed to build on windows 2022-08-13 05:48:24 +12:00
Tom French
7dc5646555 fix: correct other scripts which use sh shebang but bash features 2022-06-29 10:31:58 -04:00
Tom French
8c56fa46b5 build: sort contents of data-file-index.txt 2022-06-29 09:57:00 -04:00
James Long
4d9fdfc590 Initial (open-source) 2022-04-28 22:44:38 -04:00