chore: deps

This commit is contained in:
iCrawl
2022-07-17 19:14:05 +02:00
parent 00a705707e
commit 7b7cc1c6cb
4 changed files with 1565 additions and 1227 deletions

4
.cliff-jumperrc.json Normal file
View File

@@ -0,0 +1,4 @@
{
"name": "discord.js",
"tagTemplate": "{{new-version}}"
}

View File

@@ -1,33 +1,36 @@
[changelog] [changelog]
header = """ header = """
# Changelog # Changelog
All notable changes to this project will be documented in this file.\n All notable changes to this project will be documented in this file.\n
""" """
body = """ body = """
{% if version %}\ {% if version %}\
# [{{ version | trim_start_matches(pat="v") }}]\ # [{{ version | trim_start_matches(pat="v") }}]\
{% if previous %}\ {% if previous %}\
{% if previous.version %}\ {% if previous.version %}\
(https://github.com/discordjs/discord.js/compare/{{ previous.version }}...{{ version }})\ (https://github.com/discordjs/discord.js/compare/{{ previous.version }}...{{ version }})\
{% else %} {% else %}\
(https://github.com/discordjs/discord.js/tree/{{ version }}\ (https://github.com/discordjs/discord.js/tree/{{ version }})\
{% endif %}\ {% endif %}\
{% endif %} \ {% endif %} \
- ({{ timestamp | date(format="%Y-%m-%d") }}) - ({{ timestamp | date(format="%Y-%m-%d") }})
{% else %}\ {% else %}\
# [unreleased] # [unreleased]
{% endif %}\ {% endif %}\
{% for group, commits in commits | group_by(attribute="group") %} {% for group, commits in commits | group_by(attribute="group") %}
## {{ group | upper_first }} ## {{ group | upper_first }}
{% for commit in commits %} {% for commit in commits %}
- {% if commit.breaking %}\ - {% if commit.scope %}\
[**breaking**] \ **{{commit.scope}}:** \
{% endif %}\ {% endif %}\
{% if commit.scope %}\ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/discordjs/discord.js/commit/{{ commit.id }}))\
**{{commit.scope}}:** \ {% if commit.breaking %}\
{% endif %}\ {% for breakingChange in commit.footers %}\
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/discordjs/discord.js/commit/{{ commit.id }}))\ \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
{% endfor %} {% endfor %}\
{% endif %}\
{% endfor %}
{% endfor %}\n {% endfor %}\n
""" """
trim = true trim = true
@@ -37,25 +40,25 @@ footer = ""
conventional_commits = true conventional_commits = true
filter_unconventional = true filter_unconventional = true
commit_parsers = [ commit_parsers = [
{ message = "^feat", group = "Features"}, { message = "^feat", group = "Features"},
{ message = "^fix", group = "Bug Fixes"}, { message = "^fix", group = "Bug Fixes"},
{ message = "^docs", group = "Documentation"}, { message = "^docs", group = "Documentation"},
{ message = "^perf", group = "Performance"}, { message = "^perf", group = "Performance"},
{ message = "^refactor", group = "Refactor"}, { message = "^refactor", group = "Refactor"},
{ message = "^typings", group = "Typings"}, { message = "^typings", group = "Typings"},
{ message = "^types", group = "Typings"}, { message = "^types", group = "Typings"},
{ message = ".*deprecated", body = ".*deprecated", group = "Deprecation"}, { message = ".*deprecated", body = ".*deprecated", group = "Deprecation"},
{ message = "^revert", skip = true}, { message = "^revert", skip = true},
{ message = "^style", group = "Styling"}, { message = "^style", group = "Styling"},
{ message = "^test", group = "Testing"}, { message = "^test", group = "Testing"},
{ message = "^chore", skip = true}, { message = "^chore", skip = true},
{ message = "^ci", skip = true}, { message = "^ci", skip = true},
{ message = "^build", skip = true}, { message = "^build", skip = true},
{ body = ".*security", group = "Security"}, { body = ".*security", group = "Security"},
] ]
filter_commits = true filter_commits = true
tag_pattern = "[0-9]*" tag_pattern = "[0-9]*"
skip_tags = "v[0-9]*|11|12" skip_tags = "v[0-9]*|11|12|@discordjs"
ignore_tags = "" ignore_tags = ""
topo_order = false topo_order = false
sort_commits = "newest" sort_commits = "newest"

2681
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -13,7 +13,8 @@
"docs": "docgen --source src --custom docs/index.yml --output docs/docs.json", "docs": "docgen --source src --custom docs/index.yml --output docs/docs.json",
"docs:test": "docgen --source src --custom docs/index.yml", "docs:test": "docgen --source src --custom docs/index.yml",
"prepublishOnly": "npm run test", "prepublishOnly": "npm run test",
"changelog": "git cliff --prepend CHANGELOG.md -u" "changelog": "git cliff --prepend CHANGELOG.md -u",
"release": "cliff-jumper"
}, },
"main": "./src/index.js", "main": "./src/index.js",
"types": "./typings/index.d.ts", "types": "./typings/index.d.ts",
@@ -50,36 +51,37 @@
}, },
"homepage": "https://discord.js.org", "homepage": "https://discord.js.org",
"dependencies": { "dependencies": {
"@discordjs/builders": "^0.14.0", "@discordjs/builders": "^0.16.0",
"@discordjs/collection": "^0.7.0", "@discordjs/collection": "^0.7.0",
"@sapphire/async-queue": "^1.3.1", "@sapphire/async-queue": "^1.3.1",
"@types/node-fetch": "^2.6.1", "@types/node-fetch": "^2.6.2",
"@types/ws": "^8.5.3", "@types/ws": "^8.5.3",
"discord-api-types": "^0.33.3", "discord-api-types": "^0.33.3",
"form-data": "^4.0.0", "form-data": "^4.0.0",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.7",
"ws": "^8.7.0" "ws": "^8.8.1"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^17.0.2", "@commitlint/cli": "^17.0.3",
"@commitlint/config-angular": "^17.0.0", "@commitlint/config-angular": "^17.0.3",
"@discordjs/docgen": "^0.11.1", "@discordjs/docgen": "^0.11.1",
"@favware/cliff-jumper": "^1.8.5",
"@favware/npm-deprecate": "^1.0.4", "@favware/npm-deprecate": "^1.0.4",
"@types/node": "^16.11.38", "@types/node": "^16.11.45",
"conventional-changelog-cli": "^2.2.2", "conventional-changelog-cli": "^2.2.2",
"dtslint": "^4.2.1", "dtslint": "^4.2.1",
"eslint": "^8.17.0", "eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0", "eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1", "husky": "^8.0.1",
"is-ci": "^3.0.1", "is-ci": "^3.0.1",
"jest": "^28.1.0", "jest": "^28.1.3",
"lint-staged": "^13.0.0", "lint-staged": "^13.0.3",
"prettier": "^2.6.2", "prettier": "^2.7.1",
"tsd": "^0.20.0", "tsd": "^0.22.0",
"tslint": "^6.1.3", "tslint": "^6.1.3",
"typescript": "^4.7.3" "typescript": "^4.7.4"
}, },
"engines": { "engines": {
"node": ">=16.6.0", "node": ">=16.6.0",