feat: base api-client impl (#4694)

* feat: base api-client impl

* fix: doc

* feat: start work on module stuff

* feat: migrate v2/v3 projects into module system

* fix: lint & README.md contributing

* refactor: remove utils old api client prototype

* fix: lint

* fix: api url issues

* fix: baseurl in error.vue

* fix: readme

* fix typo in readme

* Update apps/frontend/src/providers/api-client.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Calum H. <hendersoncal117@gmail.com>

* Update packages/api-client/src/features/verbose-logging.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Calum H. <hendersoncal117@gmail.com>

* Update packages/api-client/src/features/retry.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Calum H. <hendersoncal117@gmail.com>

---------

Signed-off-by: Calum H. <hendersoncal117@gmail.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Calum H.
2025-11-12 20:29:12 +00:00
committed by GitHub
parent 590ba3ce55
commit 70e2138248
45 changed files with 3155 additions and 123 deletions

16
pnpm-lock.yaml generated
View File

@@ -218,6 +218,9 @@ importers:
'@ltd/j-toml':
specifier: ^1.38.0
version: 1.38.0
'@modrinth/api-client':
specifier: workspace:*
version: link:../../packages/api-client
'@modrinth/assets':
specifier: workspace:*
version: link:../../packages/assets
@@ -387,6 +390,19 @@ importers:
apps/labrinth: {}
packages/api-client:
dependencies:
'@tauri-apps/plugin-http':
specifier: ^2.0.0
version: 2.5.0
ofetch:
specifier: ^1.4.1
version: 1.4.1
devDependencies:
'@modrinth/tooling-config':
specifier: workspace:*
version: link:../tooling-config
packages/app-lib: {}
packages/assets: