Commit graph

42 commits

Author SHA1 Message Date
Christian Fehmer e03a25fb92
impr: use ts-rest for results endpoint (@fehmer) (#5758)
!nuf
2024-08-23 12:13:50 +02:00
Miodec ed8efe619d chore: release v24.34.0 2024-08-20 17:32:27 +02:00
dependabot[bot] 758ebd920b
chore(deps-dev): bump @typescript-eslint/parser from 8.0.1 to 8.2.0 (#5807)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.0.1 to 8.2.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.2.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christian Fehmer <fehmer@users.noreply.github.com>
2024-08-20 17:03:46 +02:00
Miodec 101beef87c chore(release package): catch github release api error, notify user 2024-08-14 13:49:26 +02:00
Miodec b131646db7 chore: release v24.33.0 2024-08-14 13:46:11 +02:00
Miodec 8c6be2cca4 fix(release package): incorrect path 2024-08-14 13:43:53 +02:00
dependabot[bot] 68efbcec21
chore(deps-dev): bump madge from 6.1.0 to 8.0.0 (@dependabot) (#5774)
Bumps [madge](https://github.com/pahen/madge) from 6.1.0 to 8.0.0.
- [Changelog](https://github.com/pahen/madge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pahen/madge/compare/v6.1.0...v8.0.0)

---
updated-dependencies:
- dependency-name: madge
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack <jack@monkeytype.com>
2024-08-14 12:21:24 +02:00
Jack 55e183e7bb
impr: add local storage with schema class to improve type safety (@miodec) (#5763)
!nuf
2024-08-12 17:04:01 +02:00
Miodec ed47fb73a8 chore: allow expressions in explicit-function-return-type rule 2024-08-12 14:31:58 +02:00
Christian Fehmer c6e8f413fc
impr: use tsrest for leaderboard endpoints (@fehmer) (#5717)
!nuf
2024-08-12 14:08:17 +02:00
Miodec 295e47638e chore: rebuild all files instead of just what changed 2024-08-09 17:01:10 +02:00
Miodec 8e343bc390 chore: replace all eslint warnings with errors 2024-08-09 13:20:59 +02:00
Jack 782eea643b
chore: remove some unnecessary root dependencies, move to correct packages (@miodec) (#5751)
* remove some, move some

* version
2024-08-09 13:19:53 +02:00
Miodec d27c622943 chore: move example.env to release package 2024-08-09 12:51:29 +02:00
Christian Fehmer c50535cd0f
impr: use tsrest for public endpoints (@fehmer) (#5716)
!nuf
2024-08-09 12:39:27 +02:00
Christian Fehmer 45d27b5e00
chore: add test for recordClientVersion (@fehmer) (#5746) 2024-08-08 18:27:00 +02:00
Miodec 0a0f175291 chore: export deploy backend script 2024-08-08 18:16:28 +02:00
Christian Fehmer 2d24fc323e
fix: remove tailing slashes from new endpoint urls (@fehmer) (#5745)
!nuf
2024-08-08 18:12:50 +02:00
Miodec c2d08096ed impr: export cf purge script
!nuf
2024-08-08 17:07:13 +02:00
Miodec d57e318cf1 fix: sh scripts sometimes not finding .env file
!nuf
2024-08-08 17:07:13 +02:00
Miodec cdfcc9e663 fix: incorrect paths
!nuf
2024-08-08 16:27:47 +02:00
Jack 1eebf748ba
refactor: move release code to a package (@miodec) (#5743) 2024-08-08 16:16:01 +02:00
Christian Fehmer f6ec006507
impr: use tsrest for psa endpoints (@fehmer) (#5712)
!nuf
2024-08-08 15:10:26 +02:00
dependabot[bot] dfdf3fc6cd
chore(deps-dev): bump typescript from 5.3.3 to 5.5.4 (@dependabot) (#5734) 2024-08-08 12:44:22 +02:00
Christian Fehmer 460f803bca
impr: use tsrest for admin endpoint (@fehmer) (#5713)
!nuf
2024-08-08 12:41:07 +02:00
dependabot[bot] aac2ef1313
chore(deps-dev): bump rimraf from 5.0.9 to 6.0.1 (@dependabot) (#5731)
Bumps [rimraf](https://github.com/isaacs/rimraf) from 5.0.9 to 6.0.1.
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v5.0.9...v6.0.1)

---
updated-dependencies:
- dependency-name: rimraf
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 12:11:05 +02:00
Nad Alaba 738574ed33
impr(pace caret): add tags pb mode (@NadAlaba) (#5715)
* impr(pace caret): add tags pb mode (@NadAlaba)

* update modes notice when clear tags from commandline

* remove all mode because it grabs only 1k results

* short circuit tag.active

* update setting name

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-08-02 21:50:56 +02:00
amarnathsama 8c7ece3721
impr(settings): replace sound volume with a slider (@amarnathsama) (#5702)
* replaced sound volume settings with a slider

* used SettingsGroup instead of custom class, minor css change

* use common structure, remove css

* notify if sound volume is out of range

* command input goes from 0 to 1

* fix test

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-08-02 21:15:40 +02:00
Nad Alaba feaff239f2
build(contracts): fix output paths for windows (@NadAlaba) (#5700) 2024-08-01 13:32:16 +02:00
Christian Fehmer 8a09acd8d5
impr: use tsrest for ape-keys endpoint (@fehmer) (#5706)
!nuf
2024-08-01 13:29:25 +02:00
Miodec 3917cc4354 chore(eslint): add 2 rules 2024-07-31 20:23:30 +02:00
Jack 2720c07664
chore: switch from npm to pnpm (#5690)
* pnpm

* v4, pnpm lock

* checkout, node setup

* cache dir

* path, name

* store path

* name

* setup pnpm, get store then check cache

* unnecessary if

* missing dependencies

* fix docker

* lock file name

* remove prop

* wip

* fix

* reduce image sizes

* save exact

* correct command

* lock

---------

Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2024-07-30 22:36:19 +02:00
Miodec 47438fa8d1 chore(lint): enable no unsafe return 2024-07-30 22:10:30 +02:00
Jack 1110248f7b
chore: upgrade node to 20.16.0 (#5688)
* nooOoOoOOoOoode

* ci

* nvm

* env is back baby, cache

* cache name, restore keys

* remove restore keys

* package lock

* conditional node setup

* unnecessary assertion

* update rule

* lock
2024-07-30 18:44:35 +02:00
Jack fe7a67d0fb
chore: add more eslint rules (#5687)
* duplicate

* no meaningless void

* no-unnecessary-boolean-literal-compare

* prefer includes

* fixes

* type cast

* ignore rule

* backend

* duplicate

* interface > type

* no-confusing-void-expression

* no-unnecessary-type-assertion

* extend plugin

* fix

* ignore
2024-07-30 18:17:58 +02:00
Christian Fehmer 6b9f4a0f18
chore: remove config from shared-types (@fehmer) (#5681)
* chore: remove config from shared-types (@fehmer)

* fix

* remove shared-types/user

* build before test

* fix

* add madge to contracts
2024-07-30 17:37:38 +02:00
Christian Fehmer 6c6e1529a2
impr: use tsrest for presets endpoints (@fehmer) (#5675)
!nuf
2024-07-30 12:58:22 +02:00
butterflycup c906bfbe26
feat: add keymap size (@butterflycup, @fehmer, @miodec) (#5659) 2024-07-29 14:39:57 +02:00
Christian Fehmer 7f9f704dcd
impr: use tsrest/zod for config endpoints (@fehmer) (#5649)
!nuf
2024-07-29 11:31:14 +02:00
Miodec f92e63975c chore: ignore unresolved import errors for internal packages
this will avoid pre-commit hook blocking commits when the project wasnt built
2024-07-28 17:33:49 +02:00
Miodec cac4c7b233 chore(dev): prevent terminal screen from being cleared in watch mode 2024-07-24 11:41:50 +02:00
Jack 3e88ac2f12
refactor: restructure project to a true monorepo (#5626)
* split ts files

* packages

* nomore workspace?

* blah

* build, exports

* declaration

* blargh

* turrrrbo

* fix fontawesome paths

* allow file in eslint, fix ts errors

* optimise package, update tsconfig

* fix ts

* update turbo config

* eslint split

* fix imports

* fix types

* lock

* add turbo task

* script

* test task

* pretty scripts

* update prettier ignore

* no cache for tests

* lint task

* turbo

* no out

* depend on env

* fix mono breaking things

* odl

* fix version dependency of mongodb-memory-server

* Revert "fix version dependency of mongodb-memory-server"

This reverts commit 52ffac47b1.

* update vitest-mongodb

* release scripts

* update ci

* update dev script

* ignore issues around firebase config

* add check ts tasks

* import isaxioserror

* shared types package

* replace tsnodedev with tsx

* fix import

* shared types

* module

* backend imports

* declaration

* node version

* test code

* assert json

* verbatim

* type

* lodash

* ts ver

* fix fix fix?

* remove assert

* remove module and resolution

* cleanup

* tsconfig

* fix frontend

* remove unecessary props

* more unused

* remove skiplib

* declaration map, dev script

* remove install scripts

* fix regex

* move shared types to package

* dont include shared types

* remove path

* update scripts

* test code

* test code

* fix backend types

* fully fix backend

* fix frontend d.ts

* add .js to imports

* remove module

* revert add .js

* update tsconfig

* use bundler module resolution

* almost all frontend types

* mooore

* date fns

* fix backend docker

* fix ape keys

* fix type

* clean rimraf type

* fix shared-types in workspace

* fix import resolving

* fix docker builds

* ignore type problems on slim-select until new version is released

* turrrrbo

* fix npm ci

* fix lint task

* expose env variables needed by frontend build

* fix dependencies

* package-lock

* backend watch ts and lint

* add fe and be build scripts to root

* fix dev not building packages

* shared-types missing eslint

* move shared types back to dev-deps

* add packages to labeler

* add packages step to ci

* typo

* filter update

* remove concurrently from root

* add scripts

* abbreviate

* rename

* yeet

* fixed path

* test pkg

* consistent ordering

* rename

* Revert "backend imports"

This reverts commit d715198829.

* fix missing imports, remove last .js

* remove test package

---------

Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2024-07-22 15:08:11 +02:00