refactor: use bun for package management

+ add package.json to each packages
+ update import path
This commit is contained in:
Justin Lin committed 2026-10-11 16:50:01 +11:00
1 parent fb7dc0eb73
commit 2feedc329c
47 files changed
+2893 -8818

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import express from 'express'
import { engine } from 'express-handlebars'
import basicAuth from 'express-basic-auth'
import { connectDB } from '../../../packages/models'
import { connectDB } from '@odyssey/models'
import config from './config'
import router from './router'
+1 -1
View File
@@ -1,4 +1,4 @@
import { Command } from '../../../../packages/models'
import { Command } from '@odyssey/models'
import Pagination from './pagination'
// eslint-disable-next-line import/prefer-default-export
+1 -1
View File
@@ -1,4 +1,4 @@
import { UserProfile } from '../../../../packages/models'
import { UserProfile } from '@odyssey/models'
export interface QuestProgress {
_id: string
+1 -1
View File
@@ -1,4 +1,4 @@
import { Command, Session } from '../../../../packages/models'
import { Command, Session } from '@odyssey/models'
import Pagination from './pagination'
import {
CommandObject,
+1 -1
View File
@@ -1,5 +1,5 @@
import { HydratedDocument, Types } from 'mongoose'
import { Session, User, IUser, ISession } from '../../../../packages/models'
import { Session, User, IUser, ISession } from '@odyssey/models'
import Pagination from './pagination'
import { UserSessionDetail } from '../interface'