Commit graph

11080 commits

Author SHA1 Message Date
Miodec 594db598da chore(deps): bump firebase version 2024-07-31 00:50:21 +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
Miodec 20c2fbc116 impr: school email detection regex
!nuf
2024-07-30 22:04:39 +02:00
Miodec e55cd7bcb6 style(cookie modal): fix incorrect text colors 2024-07-30 21:15:56 +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
Rizwan Mustafa 1164f4a114
chore: bump throttle-debounce to 5.0.2 (#5684) 2024-07-30 14:53:04 +02:00
Christian Fehmer 6c6e1529a2
impr: use tsrest for presets endpoints (@fehmer) (#5675)
!nuf
2024-07-30 12:58:22 +02:00
dependabot[bot] 3b29ad4b1d
chore(deps): bump stemmer from 2.0.0 to 2.0.1 (#5679)
Bumps [stemmer](https://github.com/words/stemmer) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/words/stemmer/releases)
- [Commits](https://github.com/words/stemmer/compare/2.0.0...2.0.1)

---
updated-dependencies:
- dependency-name: stemmer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 12:33:31 +02:00
dependabot[bot] ccc483226d
chore(deps-dev): bump @types/bcrypt from 5.0.0 to 5.0.2 (#5677)
Bumps [@types/bcrypt](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/bcrypt) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/bcrypt)

---
updated-dependencies:
- dependency-name: "@types/bcrypt"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 12:33:10 +02:00
dependabot[bot] 80847dc6dc
chore(deps-dev): bump @release-it/conventional-changelog (#5676)
Bumps [@release-it/conventional-changelog](https://github.com/release-it/conventional-changelog) from 7.0.0 to 7.0.2.
- [Release notes](https://github.com/release-it/conventional-changelog/releases)
- [Commits](https://github.com/release-it/conventional-changelog/compare/7.0.0...7.0.2)

---
updated-dependencies:
- dependency-name: "@release-it/conventional-changelog"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 12:32:51 +02:00
Christian Fehmer df8d799781
ci: build fe/be if packages changed (@fehmer) (#5674)
* ci: build fe/be if packages changed (@fehmer)

Changes in the contracts should trigger be/fe builds

* trigger

* trigger
2024-07-30 12:09:10 +02:00
Miodec 033d43d87a impr(quotes): add quote 2024-07-29 16:39:44 +02:00
Miodec f594244e32 fix(quotes): user reports 2024-07-29 16:39:44 +02:00
Dagio2406 dd4a21edb1
fix(quotes): grammatical errors in spanish quotes (Dagio2406) (#5673)
* Fixed grammatical errors in spanish quotes.

* Changed length of fixed ID, as the fixes changed the amount of characters.
2024-07-29 16:17:47 +02:00
butterflycup c906bfbe26
feat: add keymap size (@butterflycup, @fehmer, @miodec) (#5659) 2024-07-29 14:39:57 +02:00
Miodec 936aac677f fix(caret): blind mode not stopping caret in tape mode word
closes #5672
2024-07-29 13:48:35 +02:00
Miodec b4fc3da2a6 impr(account page): add icons to titles
also slightly cleans up the css
2024-07-29 13:06:26 +02:00
Miodec 395bfae3aa impr(edit result tags): display unkown tags so that they can be removed from results 2024-07-29 12:33:01 +02:00
Dagio2406 29c78e8d51
impr(quotes): add Spanish quotes (@Dagio2406) (#5665) 2024-07-29 12:22:19 +02:00
Miodec 6f14d0ea04 fix(tooltips): remaining visible after clicking buttons with a mouse
they will still remain visible on keyboard focus
2024-07-29 12:19:53 +02:00
Miodec 6463abd2f0 chore: npm i 2024-07-29 12:12:02 +02:00
Miodec 471e844c6b chore: remove hard npm version requirement 2024-07-29 11:49:28 +02:00
Miodec cb65adc8c8 chore: release v24.31.0 2024-07-29 11:37:47 +02:00
Christian Fehmer 7f9f704dcd
impr: use tsrest/zod for config endpoints (@fehmer) (#5649)
!nuf
2024-07-29 11:31:14 +02:00
Miodec d96832c927 style: fix custom background filters media query 2024-07-29 11:20:34 +02:00
Marcos Castilhos aa74c5eaa0
test: updateAltGrState (@marcosatc147) (#5656) 2024-07-28 21:02:03 +02:00
PTLux1517 e8ddd7785e
feat(layout): add xenia_alt and hyperroll (@PTLux1517) (#5662) 2024-07-28 20:59:08 +02:00
Sanidhya Singh da555e6ba9
feat(practice): add option to practice missed biwords (@sanidhyas3s) (#5637)
also converts practice popup to a modal
2024-07-28 20:33:27 +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 cdb926e123 fix(tape mode): scrolling sometimes glitching out and not being smooth 2024-07-28 16:35:07 +02:00
Jack 6554f0b2a9
ci: move pretty check to one job, stop the rest of the ci from running when prettier errors (#5670)
* move prettier to a separate job, write fixes

* remove from assets

* break formatting

* fix ci

* remove exit

* typo

* ci

* permission

* use a different action

* Fix prettier

* commit author

* break formatting

* Fix prettier

* unnecessary ref, remove comments

* commit message

* split steps

* break fe

* break fe src

* fix if

* fix prettier

* remove write

* rename job

* break fe

* revert permission change

* fix

* rename scripts

---------

Co-authored-by: Miodec <Miodec@users.noreply.github.com>
Co-authored-by: George The Bot <monkeytypegeorge@gmail.com>
2024-07-28 14:15:11 +02:00
Jack daa930bcd8
ci: add prettier check in the assets job (#5668)
* Update _groups.json

test

* check pretty in assets step

* fix indentation
2024-07-28 11:32:53 +02:00
Jack 9606ddaaf4
Revert "feat(languages): add portuguese 320k (@jeffersonjpr) (#5648)" (#5669)
This reverts commit 962b1a79ec.
2024-07-28 11:25:26 +02:00
Miodec 47ef6575a6 fix: blind mode not working in highlight mode off
closes #5663
2024-07-27 19:39:41 +02:00
Miodec 751763cc82 fix: missing env definition
!nuf
2024-07-27 18:10:08 +02:00
Miodec 7e399b6b9f chore: release v24.30.0 2024-07-27 18:06:00 +02:00
Miodec 2305176253 impr(dev): add quick login button to frontend dev modal
!nuf
2024-07-27 16:48:58 +02:00
Miodec c6d1ea09cc impr(dev): disable ads in dev
!nuf
2024-07-27 16:47:00 +02:00
Miodec f4bfe27175 chore: notify user the config coming from the database is in the wrong format 2024-07-27 16:39:35 +02:00
Miodec c1afd13362 fix(tape mode): not scrolling for extra letters 2024-07-27 13:45:52 +02:00
Miodec f96b8efdaa impr: disable sw caching for version file
!nuf
2024-07-27 13:42:25 +02:00
Miodec 13a15c94d6 fix: reenable login inputs if loading user data fails 2024-07-26 19:05:15 +02:00
Miodec 906c15cfaf chore: update hotfix script 2024-07-26 18:38:42 +02:00
Miodec 0b3e3d9a32 chore: output version to version.json 2024-07-26 18:17:08 +02:00
Miodec c1bd66a82c fix(dev): missing outputs prop causing cached build to not output files 2024-07-26 18:02:00 +02:00
Miodec 93b2e0036f fix(dev): vite preview not working 2024-07-26 15:52:45 +02:00
Christian Fehmer ed4b072065
ci: optimize prime-cache checkout (@fehmer) (#5657)
* ci: optimize prime-cache checkout (@fehmer)

* capital c

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-07-26 13:18:42 +02:00