feat: publish api-client to npm (#6016)

* feat: publish api-client to npm

* feat: change hosting wording + examples

* GPL -> LGPL

* fix: remove manual publishing + git url

* fix: lint

* fix: lint
This commit is contained in:
Calum H.
2026-05-06 23:39:06 +01:00
committed by GitHub
parent de07bcff7d
commit c69f24f94d
14 changed files with 469 additions and 772 deletions

View File

@@ -1,4 +1,4 @@
import type { Labrinth } from '@modrinth/api-client/src/modules/labrinth/types'
import type { Labrinth } from '@modrinth/api-client'
import type { Ref } from 'vue'
import { createContext } from './create-context'

View File

@@ -1,4 +1,4 @@
import type { Labrinth } from '@modrinth/api-client/src/modules/types'
import type { Labrinth } from '@modrinth/api-client'
import type { UseQueryReturnType } from '@tanstack/vue-query'
import type { ComputedRef, Reactive, Ref } from 'vue'

View File

@@ -1,4 +1,4 @@
import type { Labrinth } from '@modrinth/api-client/src/modules/types'
import type { Labrinth } from '@modrinth/api-client'
import type { Ref } from 'vue'
import { createContext } from '.'