Skip to content
This repository was archived by the owner on May 22, 2022. It is now read-only.

Commit 8cac2ba

Browse files
committed
chore(deps): mark @sapphire/framework and discord.js as peer dependencies
1 parent 4cfdeef commit 8cac2ba

File tree

2 files changed

+26
-19
lines changed

2 files changed

+26
-19
lines changed

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,31 +25,35 @@
2525
"build": "rimraf tsconfig.tsbuildinfo dist && yarn tsc --listEmittedFiles --incremental",
2626
"build:watch": "yarn tsc -w --incremental",
2727
"esm:all": "yarn esm:default && yarn esm:register",
28-
"esm:default": "gen-esm-wrapper dist/main.js dist/main.mjs",
29-
"esm:register": "gen-esm-wrapper dist/register.js dist/register.mjs",
28+
"esm:default": "gen-esm-wrapper dist/main.js dist/main.mjs",
29+
"esm:register": "gen-esm-wrapper dist/register.js dist/register.mjs",
3030
"lint": "eslint src/ --ext .ts --cache",
3131
"lint:fix": "eslint src/ --fix --ext .ts --cache",
3232
"start": "yarn node dist/main.js"
3333
},
3434
"packageManager": "[email protected]",
3535
"dependencies": {
3636
"@sapphire/decorators": "4.2.5",
37-
"@sapphire/framework": "2.3.0",
38-
"@sapphire/pieces": "3.2.0",
39-
"discord.js": "13.6.0"
37+
"@sapphire/pieces": "3.2.0"
4038
},
4139
"devDependencies": {
4240
"@bitomic/eslint-config": "^1.0.0",
4341
"@commitlint/cli": "^16.2.1",
4442
"@commitlint/config-conventional": "^16.2.1",
43+
"@sapphire/framework": "^2.4.1",
4544
"@types/node": "^16.11.26",
4645
"@typescript-eslint/eslint-plugin": "^5.12.1",
4746
"@typescript-eslint/parser": "^5.12.1",
47+
"discord.js": "^13.6.0",
4848
"eslint": "^8.10.0",
4949
"gen-esm-wrapper": "^1.1.3",
5050
"husky": "^7.0.4",
5151
"lint-staged": "^12.3.4",
5252
"rimraf": "^3.0.2",
5353
"typescript": "^4.5.5"
54+
},
55+
"peerDependencies": {
56+
"@sapphire/framework": "*",
57+
"discord.js": "*"
5458
}
5559
}

yarn.lock

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,21 @@ __metadata:
4747
"@commitlint/cli": ^16.2.1
4848
"@commitlint/config-conventional": ^16.2.1
4949
"@sapphire/decorators": 4.2.5
50-
"@sapphire/framework": 2.3.0
50+
"@sapphire/framework": ^2.4.1
5151
"@sapphire/pieces": 3.2.0
5252
"@types/node": ^16.11.26
5353
"@typescript-eslint/eslint-plugin": ^5.12.1
5454
"@typescript-eslint/parser": ^5.12.1
55-
discord.js: 13.6.0
55+
discord.js: ^13.6.0
5656
eslint: ^8.10.0
5757
gen-esm-wrapper: ^1.1.3
5858
husky: ^7.0.4
5959
lint-staged: ^12.3.4
6060
rimraf: ^3.0.2
6161
typescript: ^4.5.5
62+
peerDependencies:
63+
"@sapphire/framework": "*"
64+
discord.js: "*"
6265
languageName: unknown
6366
linkType: soft
6467

@@ -371,7 +374,7 @@ __metadata:
371374
languageName: node
372375
linkType: hard
373376

374-
"@sapphire/discord-utilities@npm:^2.4.0, @sapphire/discord-utilities@npm:^2.8.0":
377+
"@sapphire/discord-utilities@npm:^2.8.0":
375378
version: 2.8.0
376379
resolution: "@sapphire/discord-utilities@npm:2.8.0"
377380
dependencies:
@@ -380,7 +383,7 @@ __metadata:
380383
languageName: node
381384
linkType: hard
382385

383-
"@sapphire/discord.js-utilities@npm:^4.1.5":
386+
"@sapphire/discord.js-utilities@npm:^4.8.1":
384387
version: 4.8.1
385388
resolution: "@sapphire/discord.js-utilities@npm:4.8.1"
386389
dependencies:
@@ -392,18 +395,18 @@ __metadata:
392395
languageName: node
393396
linkType: hard
394397

395-
"@sapphire/framework@npm:2.3.0":
396-
version: 2.3.0
397-
resolution: "@sapphire/framework@npm:2.3.0"
398+
"@sapphire/framework@npm:^2.4.1":
399+
version: 2.4.1
400+
resolution: "@sapphire/framework@npm:2.4.1"
398401
dependencies:
399-
"@sapphire/discord-utilities": ^2.4.0
400-
"@sapphire/discord.js-utilities": ^4.1.5
402+
"@sapphire/discord-utilities": ^2.8.0
403+
"@sapphire/discord.js-utilities": ^4.8.1
401404
"@sapphire/pieces": ^3.2.0
402-
"@sapphire/ratelimits": ^2.1.10
403-
"@sapphire/utilities": ^3.1.0
405+
"@sapphire/ratelimits": ^2.3.1
406+
"@sapphire/utilities": ^3.3.0
404407
lexure: ^0.17.0
405408
tslib: ^2.3.1
406-
checksum: 675c8322d4351b2e7349f2dc6df18df9fcf93d1279acad9ff2ad7b4244f01733022f6c8fc807744f8c9471bd3bd6dd36a090ce9f681a1589eace5c1d56f7d00f
409+
checksum: e6a540de098be8d3141633ff8aa88e1b4fa6bc2bd7e03a4402879dafa5e6e9e03e7b029f060ca257c592bb0c430118eaa2a6a9bd176b4efe584e12bcd492837a
407410
languageName: node
408411
linkType: hard
409412

@@ -418,7 +421,7 @@ __metadata:
418421
languageName: node
419422
linkType: hard
420423

421-
"@sapphire/ratelimits@npm:^2.1.10":
424+
"@sapphire/ratelimits@npm:^2.3.1":
422425
version: 2.3.1
423426
resolution: "@sapphire/ratelimits@npm:2.3.1"
424427
dependencies:
@@ -1184,7 +1187,7 @@ __metadata:
11841187
languageName: node
11851188
linkType: hard
11861189

1187-
"discord.js@npm:13.6.0":
1190+
"discord.js@npm:^13.6.0":
11881191
version: 13.6.0
11891192
resolution: "discord.js@npm:13.6.0"
11901193
dependencies:

0 commit comments

Comments
 (0)