Jack
a067a32b7a
chore: move main linting to oxlint (@miodec) ( #7144 )
...
- main linting is now done by oxlint. eslint remains for linting json
files in the frontend (until oxlint adds support)
- move type checking to the lint step (with --type-check)
this improves performance by removing a duplicated typescript parse task
(instead of parsing for linting then again for type checking, it parses
once for both)
- add a `lint-fast` npm script to get some fast fail behavior. it simply
lints with no type information
- oxc plugins are still in preview, so the custom plugin that checks for
`__testing` usage outside of tests runs outside the main linting job
until performance is improved
- fixes some type issues (and config issues) that were not visible due
to a missing type check on some files. now type checking will run on
every file that is linted
- split up oxc config for easier management
waiting https://github.com/oxc-project/tsgolint/pull/494
seeing around 3x improvement in type aware linting
2025-12-15 22:16:16 +01:00
Jack
660668c530
chore: use oxfmt for formatting (@miodec) ( #7187 )
...
8 times faster formatting,
calls prettier internally for unsupported files
waiting on https://github.com/oxc-project/oxc/issues/16637
https://github.com/oxc-project/oxc/issues/16598
https://github.com/oxc-project/oxc/issues/16621
---------
Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2025-12-15 16:53:50 +01:00
Jack
f910c8a567
chore: prettier upgrade (@miodec) ( #7159 )
2025-11-27 00:20:09 +01:00
Miodec
cc9eee1986
chore: reorder folders
2025-11-23 22:21:02 +01:00
Miodec
31a7a2de08
fix(workspace): frontend debugging not working
...
!nuf
2025-09-11 12:24:35 +02:00
Christian Fehmer
01ed9322ec
test: update to vitest3 (@fehmer) ( #6811 )
...
- **test: use mongodb testcontainer (@fehmer)**
- **don't run integration tests in parallel**
- **fix premium test**
- **refactor, cleanup**
- **refactor, cleanup**
- **test: add integration tests for daily leaderboards (@fehmer)**
- **trigger**
- **trigger**
- **test: update to vitest3 (@fehmer)**
2025-08-04 15:55:10 +02:00
Christian Fehmer
e50d5e9cdd
feat(settings): add deep links to specific sections (@fehmer) ( #6661 )
...
Allow to deep-link to a specific config setting.
Users in discord often ask how to enable a specific setting. Instead of
guiding them manually to the correct settings we can use a deep-link:
https://github.com/user-attachments/assets/90b99660-13ae-49bf-8ff2-c5e6da290070
Added a link next to the group on mouse over to copy the deep link to
the clipboard:

---------
Co-authored-by: Miodec <jack@monkeytype.com>
2025-07-01 20:46:43 +02:00
Jack
cac8835c77
chore: add oxlint (@miodec) ( #6455 )
...
Use oxlint for general linting to provide much quicker feedback. Keep
eslint for type-aware rules. Fully switch to oxlint once it supports
type-aware.
2025-04-16 17:18:50 +02:00
Christian Fehmer
41ee26a725
chore: move vscode extension recommendations to workspace file (@fehmer) ( #6310 )
2025-02-26 17:49:12 +01:00
Christian Fehmer
3719ac0496
refactor: update setting automaticallyOpenTestResults in workspace file (@fehmer) ( #6232 )
...
Setting was renamed by vscode
https://code.visualstudio.com/docs/getstarted/settings

2025-02-04 11:02:58 +01:00
Miodec
f23ea56fe0
chore(workspace): move contracts back to the packages folder
2024-09-20 11:56:37 +02:00
Christian Fehmer
e03a25fb92
impr: use ts-rest for results endpoint (@fehmer) ( #5758 )
...
!nuf
2024-08-23 12:13:50 +02:00
Miodec
6ad4330946
chore: add search ignore paths
2024-08-06 01:24:32 +02:00
Christian Fehmer
7f9f704dcd
impr: use tsrest/zod for config endpoints (@fehmer) ( #5649 )
...
!nuf
2024-07-29 11:31:14 +02:00
Miodec
ff2ac031b6
chore(dev): update vscode workspace file
2024-07-24 11:48:36 +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
Jack
8f4d291fcf
Revert "impr: use tsrest/zod for type-safety on both ends (@fehmer) ( #5479 )" ( #5619 )
...
This reverts commit 4c9e949f10 .
2024-07-16 17:29:09 +02:00
Christian Fehmer
4c9e949f10
impr: use tsrest/zod for type-safety on both ends (@fehmer) ( #5479 )
...
!nuf
2024-07-16 15:24:06 +02:00
Christian Fehmer
6b352a5e4f
chore: move launch configuration to workspace file (@fehmer) ( #5502 )
2024-06-17 17:52:14 +02:00
Christian Fehmer
9bdbf5c595
test: replace jest with vitest on backend (fehmer) ( #5314 )
...
* test: replace jest with vitest on backend
* fix
2024-04-17 13:39:10 +02:00
Christian Fehmer
2dd752fbcb
fix: prettier not formating on save (fehmer) ( #5289 )
...
!nuf
2024-04-08 13:48:18 +02:00
Christian Fehmer
8eb3206c8a
refactor: get actual rank with the user data instead of using lbmemory (fehmer) ( #5189 )
...
Co-authored-by: Jack <jack@monkeytype.com>
2024-03-11 20:29:18 +01:00
Christian Fehmer
b20df42f2f
test: replace jest with vitest on frontend (fehmer) ( #5105 )
...
* test: replace jest with vitest on frontend
* vscode config
* use prettier to format modfifications on save
2024-02-26 12:23:50 +01:00
Miodec
6e929c7f8d
refactor: pretty fix
2024-02-07 17:46:47 +01:00
Christian Fehmer
848e851973
test: fix typescript setup in tests ( #5014 )
2024-02-07 16:32:48 +01:00
Christian Fehmer
774057d262
chore: configure vscode-jest extension ( #4962 )
2024-01-24 20:44:43 +01:00