Commit graph

11046 commits

Author SHA1 Message Date
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
Miodec 642a2b22a1 chore: update backend out dir 2024-07-25 19:59:05 +02:00
Jefferson Michael 962b1a79ec
feat(languages): add portuguese 320k (@jeffersonjpr) (#5648)
* Adding portuguese_320k

* Removing duplicates
2024-07-25 18:27:59 +02:00
Jack 1d8930cb0d
docs: move files to docs folder (#5654)
* docs

* fix links
2024-07-25 18:21:20 +02:00
Miodec 5c58270bde build(frontend): check ts on build 2024-07-25 16:04:55 +02:00
Miodec c832f7eb39 build: split vite config 2024-07-25 15:51:19 +02:00
Jack ac0e24e388
perf(ci): cache dependencies (#5653)
* add dependency cache

* ci trigger

* ci

* run scripts, no clean, ci trigger

* assets

* missing dependency

* ci, trigger

* trigger

* a

* typos

* ci

* flags

* ci

* trigger

* needs pre-ci

* ci, trigger

* v4, trigger

* update action versions

* revert test changes
2024-07-25 13:49:18 +02:00
Nikola Perović bdaca701cb
impr(languages): serbian 10k lists (@Fooftilly) (#5652)
* Add Serbian 10k option

* Add Serbian to groups and list

* Removed potentially problematic words

* fixed names

* word quality improvements

fixed typos and removed word that are not from Serbian, removed fantasy words, words from Latin, words that probably do not exist...
2024-07-25 11:30:54 +02:00
dependabot[bot] d717ae0058
chore(deps): bump express from 4.17.3 to 4.19.2 in /backend (#5650)
* chore(deps): bump express from 4.17.3 to 4.19.2 in /backend

Bumps [express](https://github.com/expressjs/express) from 4.17.3 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.3...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* lock update

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Miodec <jack@monkeytype.com>
2024-07-25 11:16:48 +02:00
Miodec 4034880d08 chore: update master pre-push script 2024-07-25 11:13:25 +02:00
Miodec c24bf0fa80 fix: incorrect portuguese group array 2024-07-25 11:09:07 +02:00
Miodec a1a94db1a3 impr(authentication): error message when sign in popup was blocked by the browser
fixes #5530
2024-07-25 11:09:07 +02:00
Christian Fehmer 2a28bee7c4
docs: update contributing advanced (@fehmer) (#5646)
* docs: update contributing advanced (@fehmer)

* rename `manually` to `locally`

* Revert "rename `manually` to `locally`"

This reverts commit d9f1b1c729.
2024-07-25 11:08:32 +02:00
Breno Queiroz Lima c0f7e25726
fix(util): hexToRgb function (brenob6) (#5643)
* fix: invalid return values

* add: hexToRgb test suite

* test: update hexToRgb test value

* add more tests

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-07-25 11:08:02 +02:00
Miodec 2eb9b7aa25 chore: add supporter 2024-07-25 10:46:56 +02:00
Christian Fehmer 40514cd248
chore: start application in dev mode using docker (@fehmer) (#5647)
* chore: start application in dev mode using docker (@fehmer)

* expose port env variable

* regen lock

* regen lock

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-07-24 19:48:01 +02:00
Miodec 9889bfa546 chore: regen package lock 2024-07-24 19:11:05 +02:00
Miodec ee49c79d6f fix(word generator): custom mode with time limit generating the wrong amount of starting words
closes #5627
2024-07-24 12:07:53 +02:00
Christian Fehmer c856cf12f8
ci: configure dependabot (@fehmer) (#5642) 2024-07-24 12:04:08 +02:00
github-actions[bot] a2b4cee021
refactor: run prettier (#5636)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-07-24 11:51:18 +02:00
Miodec ff2ac031b6 chore(dev): update vscode workspace file 2024-07-24 11:48:36 +02:00
Miodec cac4c7b233 chore(dev): prevent terminal screen from being cleared in watch mode 2024-07-24 11:41:50 +02:00
Miodec be304906e9 chore(dev): prevent terminal screen from being cleared by vite 2024-07-24 11:40:23 +02:00
Miodec 5f7565a695 chore(dev): fix tsconfig path 2024-07-24 11:39:09 +02:00
Miodec 93f6a9c0f7 chore(dev): use --force param for dev turbo dev 2024-07-24 11:39:00 +02:00
Miodec 8d9875f4eb fix(caret): block width going down to 0 when typing with blind mode on 2024-07-24 11:28:16 +02:00
Miodec 799902949b fix(blind mode): tape mode still scrolling when making mistakes
closes #5635
2024-07-24 11:28:16 +02:00
StickminBruv e7afa12632
docs: update example code (#5633)
Added the part at the end about adding the thing to _list.json. Pretty much made it, so people will know what to actually add when you do themes. I don't know if this change will matter.
2024-07-24 10:58:59 +02:00
Miodec eaa766fc76 chore: update file extension 2024-07-22 16:58:49 +02:00
Miodec 8de977a45f chore: bump ua-parser 2024-07-22 16:56:50 +02:00
Miodec b9f9a01740 chore: add full check command 2024-07-22 16:56:26 +02:00
Miodec 93767fecf6 chore: regenerate package lock 2024-07-22 16:47:39 +02:00
dependabot[bot] b5444d827d
chore(deps-dev): bump vite from 5.1.2 to 5.1.7 in /frontend (#5639)
* chore(deps-dev): bump vite from 5.1.2 to 5.1.7 in /frontend

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.1.2 to 5.1.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.1.7/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.1.7/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* package-lock.json

---------

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 <cfe@sexy-developer.com>
2024-07-22 16:11:31 +02:00
dependabot[bot] 26c60c683b
chore(deps-dev): bump postcss from 8.4.27 to 8.4.31 in /frontend (#5640)
* chore(deps-dev): bump postcss from 8.4.27 to 8.4.31 in /frontend

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* package-lock.json

---------

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 <cfe@sexy-developer.com>
2024-07-22 16:11:17 +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