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", "license": "UNLICENSED",
"dependencies": { "dependencies": {
"@sern/handler": "^2.0.0", "@sern/handler": "^2.5.0",
"discord.js": "^14.7.1" "discord.js": "^14.7.1"
}, },
"devDependencies": { "devDependencies": {

View File

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

View File

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

View File

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

View File

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

View File

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