Commit Graph

11 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins bde148f286 chore(server): migrating fully to ESM (#5042)
* wip

* some extra fixes

* stuff kinda works?

* need to figure out mocks

* need to figure out mocks

* fix db listener

* gqlgen fix

* minor gqlgen watch adjustment

* lint fixes

* delete old codegen file

* converting migrations to ESM

* getModuleDIrectory

* vitest sort of works

* added back ts-vitest

* resolve gql double load

* fixing test timeout configs

* TSC lint fix

* fix automate tests

* moar debugging

* debugging

* more debugging

* codegen update

* server works

* yargs migrated

* chore(server): getting rid of global mocks for Server ESM (#5046)

* got rid of email mock

* got rid of comment mocks

* got rid of multi region mocks

* got rid of stripe mock

* admin override mock updated

* removed final mock

* fixing import.meta.resolve calls

* another import.meta.resolve fix

* added requested test

* nyc ESM fix

* removed unneeded deps + linting

* yarn lock forgot to commit

* tryna fix flakyness

* email capture util fix

* sendEmail fix

* fix TSX check

* sender transporter fix + CR comments

* merge main fix

* test fixx

* circleci fix

* gqlgen bigint fix

* error formatter fix

* more error formatting improvements

* esmloader added to Dockerfile

* more dockerfile fixes

* bg jobs fix
2025-07-14 10:26:19 +03:00
Iain Sproat 0d2af686f9 chore(server/stats): disable deprecated ServerStats (#3714) 2024-12-19 10:32:47 +00:00
Kristaps Fabians Geikins 3e1c88fbd9 chore(server): stats IoC 8 - getUserHistoryFactory 2024-09-10 15:13:23 +03:00
Kristaps Fabians Geikins 7da728753f chore(server): stats IoC 7 - getObjectHistoryFactory 2024-09-10 15:09:54 +03:00
Kristaps Fabians Geikins 6ff39dde82 chore(server): stats IoC 6 - getCommitHistoryFactory 2024-09-10 15:06:42 +03:00
Kristaps Fabians Geikins f59916f4cc chore(server): stats IoC 5 - getStreamHistoryFactory 2024-09-10 15:03:19 +03:00
Kristaps Fabians Geikins 339516edb4 chore(server): stats IoC 4 - getTotalUserCountFactory 2024-09-10 15:00:31 +03:00
Kristaps Fabians Geikins 9d6441aceb chore(server): stats IoC 3 - getTotalObjectCountFactory 2024-09-10 14:57:46 +03:00
Kristaps Fabians Geikins a29672b49e chore(server): stats IoC 2 - getTotalCommitCountFactory 2024-09-10 14:55:28 +03:00
Kristaps Fabians Geikins 93734491c6 chore(server): stats IoC 1 - getTotalStreamCountFactory 2024-09-10 14:53:09 +03:00
Kristaps Fabians Geikins a30073c725 chore: refactor stats module to ts 2024-09-10 09:38:16 +03:00