Commit graph

154 commits

Author SHA1 Message Date
Miodec
28b0c128b6 chore: release v23.47.0 2023-11-22 15:40:58 +00:00
Miodec
ba3c728a0d chore: release v23.46.1 2023-11-17 16:00:28 +00:00
Miodec
c1dc87918b build: add eslint-config-prettier
removed roles which conflict with prettier
2023-11-17 14:44:01 +00:00
Miodec
7f3ddc62fc chore: release v23.46.0 2023-11-13 14:00:28 +00:00
Bruce Berrios
e84f9ec5b7
refactor: add shared types (Bruception) (#4769)
* sharing is caring?

* replace 5 year old package with a more modern one

* ignore firebase config

* update import/resolver settings so that we no longer have to ignore @backend imports

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-09 14:03:56 +00:00
Miodec
f1ef1941a4 chore: release v23.45.0 2023-11-06 16:47:53 +00:00
Miodec
1b71d05a9f chore: release v23.43.1 2023-10-27 15:49:24 +01:00
Miodec
501dbe3b17 chore: release v23.43.0 2023-10-23 17:02:29 +01:00
Miodec
73953187e1 chore: release v23.42.0 2023-10-17 15:20:10 +01:00
Miodec
8852c592f7 chore: release v23.41.0 2023-10-11 13:21:36 +01:00
github-actions[bot]
cf2ff913eb
Prettier fix (#4708)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-10-07 21:02:58 -04:00
Miodec
18b4e62f13 chore: release v1.17.14 2023-09-25 14:15:45 +01:00
Miodec
f19063e1db chore: release v1.17.13 2023-09-19 14:37:55 +01:00
Miodec
fc7a672350 chore: release v1.17.12 2023-09-13 17:31:26 +01:00
Miodec
1310995cae chore: release v1.17.11 2023-08-31 21:14:47 +02:00
Miodec
ca230e2b4c chore: release v1.17.10 2023-08-22 14:49:23 +02:00
Miodec
4e81114556 chore: release v1.17.9 2023-08-17 17:11:12 +02:00
Miodec
c4df72b084 build: move changelog building to external file 2023-08-17 16:42:50 +02:00
Miodec
694252f32e build: update pre-commit to use lint-staged 2023-08-11 16:50:56 +02:00
Miodec
4c65ad8b9f build: add conventional changelog plugin 2023-08-11 16:28:20 +02:00
Miodec
db2386300c build: add typescript as backend dev dependency
also updated frontend typescript verison to match
2023-08-11 13:35:35 +02:00
Miodec
f68b0f4c9a build: add release-it 2023-08-11 11:19:31 +02:00
Miodec
5246ef0cb3 build: add comitlint 2023-08-10 22:51:58 +02:00
Miodec
0b69b2e1e3 added knip to find unused exports 2023-08-10 18:32:33 +02:00
Miodec
38a316715b moved to node 18.17.1 lts 2023-08-10 17:38:27 +02:00
Miodec
2830b32f54 updated eslint 2023-06-16 11:06:00 +02:00
Bruce Berrios
46d7a78ffe
Add Monkey CI (#3799)
* Split PR checks

* Split Jobs

* Test

* Fix path check

* Use checkout

* Undo

* oh boy

* .

* .

* .

* .

* test

* .

* .

* .

* .

* .

* .

* .

* yay

* Remove jsonschema from global dep

* monkey ci

* .

* oops

* test

* .

* .

* .

* .

* .

* .

* .

* ayy

* add permissions
2022-12-05 18:52:15 +01:00
Miodec
3d90c398d0 updated to husky 8 2022-10-21 14:51:44 +02:00
Miodec
58e7a92e23 updated package 2022-08-30 16:24:16 +02:00
Rizwan Mustafa
431d4117d5
Bump up concurrently version (#3072) 2022-06-05 14:41:46 +02:00
Rizwan Mustafa
fd002f1553
Save exact for all packages (#2853) 2022-04-23 19:42:20 +02:00
Bruce Berrios
ad8c433e45
Save exact (#2769) 2022-03-25 16:01:45 +01:00
Rizwan Mustafa
47c7fd42c7
Improve webpack - Reduced filesize by 18% by converting from node-object-hash to object-hash (#2768) rizwanmustafa
* Refreshed the PR

* not sending stringified result anymore

* removed length check

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-03-25 15:36:04 +01:00
Bruce Berrios
3567c15ffe
Remove unused packages (#2724) 2022-03-17 21:49:34 +01:00
Bruce Berrios
1ba7a76b86
Migrate middlewares to TypeScript (#2574)
* Migrate middlewares

* Update workflow

* Fix ignore

* Fix

* Fix

* Remove babel loader from root dependencies

* Remove mongoDb
2022-02-23 10:03:38 -05:00
Ferotiq
b99a979370
remove run-script-os and change the script back (#2573) 2022-02-23 01:07:48 +01:00
Bruce Berrios
f9d6f52c15
Api overhaul (#2555) by Bruception
* Feat:Update response structure (#2427)

* Fix:response and error structure

* update:response message

* update:response class

* update

* Update response message

Co-authored-by: Mustafiz Kaifee Mumtaz <mustafiz.mumtaz@freecharge.com>

* Add MonkeyToken foundation (#2487) by Bruception

* Api changes (#2492)

* API changes

* Remove unused import

* Add Ape client (#2513)

* Add all endpoints (#2514)

* Merged backend typescript into api overhaul (#2515)

* Install typescript and add backend tsconfig

Cannot yet build due to a number of compilation errors in JS code

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Fix typescript compilation errors

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Migrated backend to ES modules

Switched to import export syntax

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Add typescript declaration for anticheat

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Rename top level files to .ts

Fix service account json file typing

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Add dev build scripts for backend typescript

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Removed empty lines and switched to using db

Cleaned up imports by removing needless empty lines and migrated to the new db.js instead of mongodb.js.

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Fixed backend commonjs syntax to ES module syntax

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Add build to backend start script

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Migrate some endpoints to Ape

* Strict equals

* Remove artifact

* ape -> Ape

* Ape migration p2 (#2522)

* Migrate leaderboard endpoints to ape

* Fixed comment

* Init backend types

* Fail

* Return

* Migrate Quotes to Ape (#2528)

* Migrate quotes to Ape

* Fix backend response

* Fix issue

* Fix rate limit (#2533)

* fix rate limit

* Fix import

* Fix issues

* Ape migration p4 (#2547)

* Migrate results endpoints to ape

* Remove unused import

* Remove unused import

* Fix loaders

* Make function async

* Hide try saving results

* Migrate some users endpoints to Ape (#2548)

* Complete Ape Migration (#2553)

* Complete ape migration

* Fix preset

* Return preset data

* Add typings

* Move captcha reset

* Read from params

* Fix result tags endpoint

* Fix stuck loader

* fixed lb memory not saving

* fixed quote rating popup not showing up for new users

Co-authored-by: Mustafiz Kaifee <49086821+Mustafiz04@users.noreply.github.com>
Co-authored-by: Mustafiz Kaifee Mumtaz <mustafiz.mumtaz@freecharge.com>
Co-authored-by: Brian Evans <53117772+mrbrianevans@users.noreply.github.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-22 20:55:48 +01:00
Ferotiq
7cbd9d2722
Allow the process for setting up project and committing code on Windows to be much smoother (#2549)
* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Create install.cmd

* Update package.json

* Update CONTRIBUTING.md

* Update install.cmd

* Update install.cmd

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update package.json

* fix lint script so windows users can use it correctly

* adFd

* rename
2022-02-20 20:47:24 +00:00
Miodec
3891ddbe14 moved dependencies to frontend 2022-02-19 22:30:41 +01:00
Miodec
cfe7f9bd3e added tinycolor types 2022-02-19 22:17:37 +01:00
Miodec
0a9140ac09 added howler type 2022-02-19 21:56:49 +01:00
Ferotiq
71cdce20e3
TypeScript FrontEnd: Add Account Files (#2494)
* add account files, config, and db, fix other files, and make lint script work on cmd

* fuck operating systems

* remove project from eslint

* Merging and fixing some bugs

* fixed result ordering

* fixed quote filter stopping all results

* fixed words filter not working

* corrected type

* Update commandline-lists.ts

* Update types.d.ts

* removing explicit tag types

* mfing prettier

* small changes

* stuff

* fixes

* fix cannot read properties of undefined

* another check just to be safe

* okay that works

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-19 17:44:27 +01:00
Miodec
c85b644b88 added json schema validation. part of #2516 2022-02-17 23:36:40 +01:00
Ferotiq
319e179600
TypeScript FrontEnd: Some Changes (#2486)
* some changes

* f*** you select2

* Change type roots

* hopefully work

* change commonjs to es6

* parserOptions.project

* as;dfllaksdkjsadadfsldkjsfkdljdsfafdsk;alfsdjf
2022-02-13 18:35:06 +01:00
Bruce Berrios
eb2350bb1f
Move dependencies (#2483)
* Move dependencies

* Fixes

* Add stale pr action

* Update

* Fix cron schedule
2022-02-12 15:02:29 -05:00
Miodec
912ec63644 added select2 types 2022-02-12 19:14:27 +01:00
Rizwan Mustafa
1877cc31e7
(Draft) Replace Browserify with Webpack (Draft) (#2461) by rizwanmustafa
* Replaced browserify with webpack

* Modified gulpfile and webpack config

* Removed attempts of using undefined variables and functions

* fixed some incorrect changes

* setfunbox fix

* Added fallback for crypto-browserify and stream-browserify

* added circular dependency detection

* Created production tasks for gulp and updated webpack config

* fixed circular dependency in misc

* not failing on circular dependency

* Removed unused imports

* Added babel loader and plugins to webpack

* Removed unused dependencies and removed babel's plugins

* Workaround for test logic import in random quote

* Created a separate webpack config file for production

* Changed relative paths to absolute ones in webpack

* Added colored output for circular import number

* Removed comment from .eslintrc.json

* Added eslint plugin to webpack

* Moved 'buffer' and 'stream-browserify' to devDependencies

* Started using promises in webpack tasks

* Removed unused dependencies

* Updated package-lock.json

* Removed eslint plugin from webpack and added circular dependency detection in dev config as well

* Removed unrelated changes

* Updated production build command

* Added ability for webpack to be run with typescript conversion of project in process

* added gulp typscript dev dependency

* using const

* modified console logs on circular imports

* missing dev dependency

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-12 14:47:36 +01:00
Miodec
f66e872d68 installed jquery types 2022-02-11 19:06:12 +01:00
Sondre Kjempekjenn
26c57d2ad3
Compile both JS and TS (#2464) by sondrekje
* Compile both JS and TS

Builds upon Ferotiq's PR

* Compile both JS and TS

Builds upon Ferotiq's PR

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-11 19:02:21 +01:00
Rizwan Mustafa
759ff88de7
Created webpack config file for detecting circular imports (#2463)
* Created webpack config file for detecting circular imports

* missing packages, added script to run webpack to find circular dependencies

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-10 17:21:24 +01:00