refactor!: migrate away from bun

- migrate package management to pnpm
- migrate test suite to vitest
- also remove Anify integration
This commit is contained in:
2025-12-12 19:24:28 -05:00
parent 748aaec100
commit 1140ffa8b8
64 changed files with 1837 additions and 9212 deletions

View File

@@ -272,7 +272,7 @@ export class AnilistDurableObject extends DurableObject {
}
async fetchFromAnilist<Result = any, Variables = any>(
query: TypedDocumentNode<Result, Variables>,
queryString: string,
variables: Variables,
token?: string | undefined,
): Promise<Result> {
@@ -286,7 +286,7 @@ export class AnilistDurableObject extends DurableObject {
// Use the query passed in, or fallback if needed (though we expect it to be passed)
// We print the query to string
const queryString = print(query);
// const queryString = print(query);
const response = await fetch(`${this.env.PROXY_URL}/proxy`, {
method: "POST",