mirror of
https://github.com/thedrewen/protojx-manager.git
synced 2026-03-21 01:48:54 +01:00
feat(database): add TypeORM configuration and initialize data source
- Added TypeORM and PostgreSQL dependencies to package.json. - Created data-source.ts to configure the database connection. - Initialized the data source in index.ts and added logging for successful connection. - Updated devDependencies to include @types/node for better type support.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/Under-scape/discordbot-ts-template#readme",
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.9.2",
|
||||
"typescript": "^5.9.2"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -31,6 +32,9 @@
|
||||
"cron": "^4.3.3",
|
||||
"discord.js": "^14.24.1",
|
||||
"dotenv": "^17.2.2",
|
||||
"ping": "^1.0.0"
|
||||
"pg": "^8.16.3",
|
||||
"ping": "^1.0.0",
|
||||
"reflect-metadata": "^0.2.2",
|
||||
"typeorm": "^0.3.27"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user