Skip to content

Commit

Permalink
fix missing package rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Dec 9, 2024
1 parent a7f5561 commit 08ab439
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getKeyPair } from "homeserver";
import type { Config } from "homeserver/src/plugins/config";
import { getKeyPair } from "@hs/homeserver";
import type { Config } from "@hs/homeserver/src/plugins/config";
const { CONFIG_FOLDER = "." } = process.env;

const getConfig = async (): Promise<Config> => {
Expand Down
6 changes: 3 additions & 3 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
// // /v1/hierarchy/{roomID}

import Elysia from "elysia";
import { app } from "homeserver";
import { fakeEndpoints } from "fake";
import { routerWithMongodb } from "homeserver/src/plugins/mongodb";
import { app } from "@hs/homeserver";
import { fakeEndpoints } from "@hs/fake";
import { routerWithMongodb } from "@hs/homeserver/src/plugins/mongodb";

import { config } from "./config";
import { db } from "./mongo";
Expand Down
3 changes: 2 additions & 1 deletion packages/homeserver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"bun-types": "latest"
},
"main": "./src/index.ts",
"types": "./src/index.ts"
"types": "./src/index.ts",
"files": ["src"]
}

0 comments on commit 08ab439

Please sign in to comment.