mirror of
https://github.com/discordjs/discord.js.git
synced 2024-07-16 07:27:35 +12:00
* feat: basic initialisation * fix: no scope * chore: add options for issues * feat: good word, Monbrey * feat: basic README.md * fix: no documentation for this * feat: install for them * chore: update licencing * chore: fix year * fix: build tsup * feat: add TypeScript option * feat: add `name` option * chore: ignore annoying errors * chore: add tsconfig.json * refactor: remove name We can just use the name of the directory instead. * chore: update cliff jumper rc * chore: bump dependencies * chore: bump dependencies * fix: build in prepack * fix: configure ESLint correctly * feat: infer package manager * docs(packageManager): document `install()` * fix(packageManager): do not emit a warning for `npm` * refactor: change project name colour to yellow * docs(constants): basic documentation * feat: add link * chore: add `verbatimModuleSyntax` * chore: bump discord.js * refactor: switch to @sapphire/ts-config * refactor: file name changes * refactor: tweak description * chore: update yarn.lock * fix: add .env * chore: bump dependencies * feat: event handler * refactor: use `default` * refactor: simpler event * chore: bump discord.js * fix: add release script and reorder * style: reorder package.json * chore: remove unneeded ignores * chore: bump minimum Node.js version * chore: add @types/node to TypeScript package.json * chore: apply requested changes Co-authored-by: Noel <buechler.noel@outlook.com> * style: run ESLint + Prettier * refactor: prefer "the" * refactor: remove some comments * feat: add ESLint + Prettier * chore: requested changes Co-authored-by: Noel <buechler.noel@outlook.com> * chore: more requested changes Co-authored-by: Noel <buechler.noel@outlook.com> --------- Co-authored-by: Noel <buechler.noel@outlook.com>
64 lines
2 KiB
TOML
64 lines
2 KiB
TOML
[changelog]
|
|
header = """
|
|
# Changelog
|
|
|
|
All notable changes to this project will be documented in this file.\n
|
|
"""
|
|
body = """
|
|
{% if version %}\
|
|
# [{{ version | trim_start_matches(pat="v") }}]\
|
|
{% if previous %}\
|
|
{% if previous.version %}\
|
|
(https://github.com/discordjs/discord.js/compare/{{ previous.version }}...{{ version }})\
|
|
{% else %}\
|
|
(https://github.com/discordjs/discord.js/tree/{{ version }})\
|
|
{% endif %}\
|
|
{% endif %} \
|
|
- ({{ timestamp | date(format="%Y-%m-%d") }})
|
|
{% else %}\
|
|
# [unreleased]
|
|
{% endif %}\
|
|
{% for group, commits in commits | group_by(attribute="group") %}
|
|
## {{ group | upper_first }}
|
|
{% for commit in commits %}
|
|
- {% if commit.scope %}\
|
|
**{{commit.scope}}:** \
|
|
{% endif %}\
|
|
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/discordjs/discord.js/commit/{{ commit.id }}))\
|
|
{% if commit.breaking %}\
|
|
{% for breakingChange in commit.footers %}\
|
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
|
{% endfor %}\
|
|
{% endif %}\
|
|
{% endfor %}
|
|
{% endfor %}\n
|
|
"""
|
|
trim = true
|
|
footer = ""
|
|
|
|
[git]
|
|
conventional_commits = true
|
|
filter_unconventional = true
|
|
commit_parsers = [
|
|
{ message = "^feat", group = "Features"},
|
|
{ message = "^fix", group = "Bug Fixes"},
|
|
{ message = "^docs", group = "Documentation"},
|
|
{ message = "^perf", group = "Performance"},
|
|
{ message = "^refactor", group = "Refactor"},
|
|
{ message = "^typings", group = "Typings"},
|
|
{ message = "^types", group = "Typings"},
|
|
{ message = ".*deprecated", body = ".*deprecated", group = "Deprecation"},
|
|
{ message = "^revert", skip = true},
|
|
{ message = "^style", group = "Styling"},
|
|
{ message = "^test", group = "Testing"},
|
|
{ message = "^chore", skip = true},
|
|
{ message = "^ci", skip = true},
|
|
{ message = "^build", skip = true},
|
|
{ body = ".*security", group = "Security"},
|
|
]
|
|
filter_commits = true
|
|
tag_pattern = "create-discord-bot@[0-9]*"
|
|
ignore_tags = ""
|
|
topo_order = true
|
|
sort_commits = "newest"
|