mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor: ♻️ Rewrite build system to fit the monorepo architecture
This commit is contained in:
parent
7de4b573e3
commit
90b6399407
217 changed files with 2143 additions and 1858 deletions
|
|
@ -2,13 +2,13 @@ import { mock } from "bun:test";
|
|||
import { Client as VersiaClient } from "@versia/client";
|
||||
import { config } from "@versia-server/config";
|
||||
import { db, Note, setupDatabase, Token, User } from "@versia-server/kit/db";
|
||||
import { searchManager } from "@versia-server/kit/search";
|
||||
import { Notes, Users } from "@versia-server/kit/tables";
|
||||
import { solveChallenge } from "altcha-lib";
|
||||
import { env, randomUUIDv7 } from "bun";
|
||||
import { asc, type InferSelectModel, inArray, like } from "drizzle-orm";
|
||||
import { generateChallenge } from "@/challenges";
|
||||
import { randomString } from "@/math";
|
||||
import { searchManager } from "~/classes/search/search-manager";
|
||||
import { appFactory } from "~/packages/api/app";
|
||||
|
||||
env.DISABLE_RATE_LIMIT = "true";
|
||||
|
|
|
|||
|
|
@ -6,8 +6,7 @@
|
|||
"private": true,
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./index.ts",
|
||||
"default": "./index.ts"
|
||||
"import": "./index.ts"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@ await setupDatabase();
|
|||
await deleteOldTestUsers();
|
||||
|
||||
// Start workers
|
||||
await import("~/packages/worker/index.ts");
|
||||
await import("../../worker.ts");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue