feat: bump version (#20)

This commit is contained in:
Jacob Nguyen
2023-02-01 11:27:09 -06:00
committed by GitHub
parent 37207f8eec
commit a0ff9c8063
6 changed files with 9 additions and 9 deletions

View File

@@ -13,7 +13,7 @@
],
"license": "UNLICENSED",
"dependencies": {
"@sern/handler": "^2.0.0",
"@sern/handler": "^2.5.0",
"discord.js": "^14.7.1"
},
"devDependencies": {

View File

@@ -22,8 +22,8 @@ const client = new Client({
export const useContainer = Sern.makeDependencies({
build: (root) =>
root
.add({ '@sern/client': single(client) })
.add({ '@sern/logger': single(new DefaultLogging()) }),
.add({ '@sern/client': single(() => client) })
.upsert({ '@sern/logger': single(() => new DefaultLogging()) }), //using upsert because it replaces the default provided
});
//View docs for all options

View File

@@ -13,7 +13,7 @@
],
"license": "UNLICENSED",
"dependencies": {
"@sern/handler": "^2.0.0",
"@sern/handler": "^2.5.0",
"discord.js": "^14.7.1"
},
"devDependencies": {

View File

@@ -22,8 +22,8 @@ const client = new Client({
export const useContainer = Sern.makeDependencies({
build: (root) =>
root
.add({ '@sern/client': single(client) })
.add({ '@sern/logger': single(new DefaultLogging()) }),
.add({ '@sern/client': single(() => client) })
.upsert({ '@sern/logger': single(() => new DefaultLogging()) }), //using upsert because it replaces the default provided
});
//View docs for all options

View File

@@ -15,7 +15,7 @@
],
"license": "UNLICENSED",
"dependencies": {
"@sern/handler": "^2.0.0",
"@sern/handler": "^2.5.0",
"discord.js": "^14.7.1"
},
"devDependencies": {

View File

@@ -33,8 +33,8 @@ interface MyDependencies extends Dependencies {
export const useContainer = Sern.makeDependencies<MyDependencies>({
build: (root) =>
root
.add({ '@sern/client': single(client) })
.add({ '@sern/logger': single(new DefaultLogging()) }),
.add({ '@sern/client': single(() => client) })
.upsert({ '@sern/logger': single(() => new DefaultLogging()) }), //using upsert because it replaces the default provided
});
//View docs for all options