Commit graph

63 commits

Author SHA1 Message Date
James Long
412c34f6d9 Fix test 2022-11-12 22:28:26 -05:00
James Long
e8a79c8dbf Fix lint 2022-11-12 22:13:25 -05:00
James Long
496ef039b7 Move safeNumber to shared util and tweak implementation 2022-11-10 12:37:05 -05:00
Tom French
6cbc22312f feat: add explicit value checking on saving to / reading from budget 2022-11-10 12:35:20 -05:00
Tom French
3a925948e2 fix: replace last usages of | 0 2022-11-10 12:33:19 -05:00
Tom French
9a442361ad fix: use Math.round in place of truncating digits 2022-11-10 12:33:19 -05:00
Tom French
f5417bcc8d fix: use Math.round in place of truncating digits 2022-11-10 12:33:19 -05:00
Tom French
fb3e12b8a7 fix: replace custom isInteger function with Number.isInteger 2022-11-10 12:33:19 -05:00
Tom French
75da379079 fix: use 64bit compatible integer check in aql compiler 2022-11-10 12:33:18 -05:00
Tom French
423f355766 fix: use integer check which doesn't require value to be 32 bit 2022-11-10 12:33:18 -05:00
Tom French
9c0df36e16
Sort import in alphabetical order (#238)
* style: enforce sorting of imports

* style: alphabetize imports

* style: merge duplicated imports
2022-09-02 15:07:24 +01:00
Tom French
dc53a74459
Separate external, monorepo and internal imports (#237)
* style: enforce ordering of imports

* style: sort imports in loot-core

* style: sort imports in desktop-client

* style: sort imports in loot-design

* style: manual fixes
2022-09-02 12:43:37 +01:00
Tom French
01d0eb2f0a
style: run linter (#232) 2022-08-31 23:32:25 +01:00
Tom French
0fcfffea57
refactor: create index.js for aql directory (#68) 2022-08-31 22:46:28 +01:00
Tom French
4be86c3d42
Revert "build: update yarn.lock" (#230)
This reverts commit ae8ef2674f.

Revert "Merge pull request #204 from TomAFrench/yarn-workspace-dependencies"

This reverts commit b0ed8d5149, reversing
changes made to 5505a1439a.
2022-08-31 22:44:52 +01:00
Tom French
89128faf3f
Merge pull request #164 from bdoherty/windows
build on windows
2022-08-30 21:52:16 +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
b0ed8d5149
Merge pull request #204 from TomAFrench/yarn-workspace-dependencies
Use workspace ranges for monorepo dependencies
2022-08-30 16:35:57 +01:00
Tom French
fecca411b0
Merge branch 'master' into windows 2022-08-30 15:07:32 +01:00
Trevor Farlow
3773ab9892
adm-zip to 0.5.6 2022-08-26 10:10:15 -06:00
Tom French
203ab791f2 fix: correct some re-exports which were breaking things 2022-08-24 21:15:16 +01:00
Tom French
c77273742b fix: stop trying to transform node_modules 2022-08-24 21:15:00 +01:00
Tom French
0e0b46ed5e fix: stop the web tests from running in node environment 2022-08-24 21:14:16 +01:00
Tom French
3118cf26e3 fix: add ts-jest presets which are equivalent to the old transform properties 2022-08-24 21:13:04 +01:00
Tom French
9be15eaee1 build: replace babel-jest with ts-jest 2022-08-24 20:21:35 +01:00
Tom French
f7c977dc12 build: use workspace ranges for monorepo dependencies 2022-08-24 00:07:06 +01:00
Tom French
5a49d65b72 test: skip failing test suites 2022-08-23 17:25:56 +01:00
Tom French
8f3e9d4b37 Merge branch 'master' into fix-splitfreq-weights
* master:
  style: apply prettier fixes
  style: switch prettier to enforce single quotes
  style: enforce prettier rules in linter
  chore: silence erroneous warning for missing moment.js install
2022-08-23 15:57:50 +01:00
Tom French
57e0d713da Merge branch 'master' into fix-splitfreq-weights
* master: (39 commits)
  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
  build: replace jwl-dev-utils with react-dev-utils
  ...
2022-08-23 12:37:46 +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
8a91006c7b fix: correct import of merkle in test 2022-08-22 23:09:08 -04:00
Tom French
0dcff8e671 chore: move snapshot to new dir 2022-08-22 23:09:08 -04:00
Tom French
6967698d32 refactor: move crdt files into separate directory 2022-08-22 23:09:08 -04:00
Tom French
d705cd351b refactor: remove unused imports 2022-08-22 22:51:01 -04:00
Tom French
1fb6e193f0 build: add missing eslint dependency to loot-core 2022-08-22 22:35:07 -04:00
Tom French
b41ee56c81 chore: fix broken builds 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
Brendan Doherty
90f7a205a6 changes needed to build on windows 2022-08-13 05:48:24 +12:00
James Long
a92e740c88 Add docs for building for windows (contributed by @ejmurra) 2022-08-12 09:48:38 -04:00
Tom French
d30067b5b9 style: apply prettier fixes 2022-07-24 08:53:05 +01:00
Tom French
a44834c0d3 style: enforce prettier rules in linter 2022-07-24 08:53:04 +01:00
Arthur E. Jones
37ca3c005a feat: add get-server-version handler 2022-07-23 00:33:09 -04:00
Trevor Farlow
3273b2723d refactor: currency-formatter -> Intl.NumberFormat 2022-07-19 23:31:42 -04:00
Tom French
91967ef920 fix: revert remaining changed weights 2022-07-16 10:31:26 +01:00
Tom French
c6335b4f57 Merge branch 'master' into fix-splitfreq-weights
* master: (43 commits)
  build: move dev dependencies from dependencies array and remove unused dependencies
  build: fix offical node version to 16.15.0
  chore: delete unused directory `browser/build`
  docs: remove holiday text from README
  build: update downshift patch to match installed version
  style: revert to using var to minimise diff
  style: replace var with const
  fix: enforce proper length constraints on timestamp counter and node id
  test: fix test to properly pass in invalid inputs individually
  ci: re-add runner os specific caches
  ci: turn boilerplate into composite action
  ci: only build electron app on master
  docs: add comment explaining how to reactivate code signing
  build: remove signing config
  ci: avoid attempting to get CSC_KEY_PASSWORD interactively in github actions
  ci: always use bash as the shell
  ci: cache node_modules per runner os
  ci: avoid duplicate linting in CI
  ci: add electron build to CI
  ci: build api and web packages in CI
  ...
2022-07-08 21:21:51 +01:00
Tom French
2846166a8e fix: revert changes to weights and pin fast-check version to 2.13.0 2022-07-08 21:19:48 +01:00
Tom French
7e4728d646 build: move dev dependencies from dependencies array and remove unused dependencies 2022-07-07 18:28:46 -04:00
Tom French
96e797dca4 style: revert to using var to minimise diff 2022-06-29 13:28:03 -04:00
Tom French
6f9e51191d style: replace var with const 2022-06-29 13:28:03 -04:00