mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-13 11:12:14 +00:00
## About The Pull Request Prettier (an auto formatter) is set to only run within the tgui folder currently. This removes that limitation, allowing it to automatically format all supported files in the repo (.js, .html, .yml [etc](https://prettier.io/docs/)) I made a few exceptions for bundled and generated files ## Why It's Good For The Game I'm of the opinion that code should look uniform and am lazy enough to want CTRL-S to format files without having to think beyond that ## Changelog
121 lines
2.0 KiB
JavaScript
121 lines
2.0 KiB
JavaScript
/**
|
|
* A map of changelog phrases to meta-information.
|
|
*
|
|
* The first entry in the list is used in the changelog YML file as the key when
|
|
* used, but other than that all entries are equivalent.
|
|
*
|
|
* placeholders - The default messages, if the changelog has this then we pretend it
|
|
* doesn't exist.
|
|
*/
|
|
export const CHANGELOG_ENTRIES = [
|
|
[
|
|
["rscadd", "add", "adds"],
|
|
{
|
|
placeholders: [
|
|
"Added new mechanics or gameplay changes",
|
|
"Added more things",
|
|
],
|
|
},
|
|
],
|
|
|
|
[
|
|
["bugfix", "fix", "fixes"],
|
|
{
|
|
placeholders: ["fixed a few things"],
|
|
},
|
|
],
|
|
|
|
[
|
|
["rscdel", "del", "dels"],
|
|
{
|
|
placeholders: ["Removed old things"],
|
|
},
|
|
],
|
|
|
|
[
|
|
["qol"],
|
|
{
|
|
placeholders: ["made something easier to use"],
|
|
},
|
|
],
|
|
|
|
[
|
|
["sound"],
|
|
{
|
|
placeholders: ["added/modified/removed audio or sound effects"],
|
|
},
|
|
],
|
|
|
|
[
|
|
["image"],
|
|
{
|
|
placeholders: ["added/modified/removed some icons or images"],
|
|
},
|
|
],
|
|
|
|
[
|
|
["map"],
|
|
{
|
|
placeholders: ["added/modified/removed map content"],
|
|
},
|
|
],
|
|
|
|
[
|
|
["spellcheck", "typo"],
|
|
{
|
|
placeholders: ["fixed a few typos"],
|
|
},
|
|
],
|
|
|
|
[
|
|
["balance"],
|
|
{
|
|
placeholders: ["rebalanced something"],
|
|
},
|
|
],
|
|
|
|
[
|
|
["code_imp", "code"],
|
|
{
|
|
placeholders: ["changed some code"],
|
|
},
|
|
],
|
|
|
|
[
|
|
["refactor"],
|
|
{
|
|
placeholders: ["refactored some code"],
|
|
},
|
|
],
|
|
|
|
[
|
|
["config"],
|
|
{
|
|
placeholders: ["changed some config setting"],
|
|
},
|
|
],
|
|
|
|
[
|
|
["admin"],
|
|
{
|
|
placeholders: ["messed with admin stuff"],
|
|
},
|
|
],
|
|
|
|
[
|
|
["server"],
|
|
{
|
|
placeholders: ["something server ops should know"],
|
|
},
|
|
],
|
|
];
|
|
|
|
// Valid changelog openers
|
|
export const CHANGELOG_OPEN_TAGS = [":cl:", "??"];
|
|
|
|
// Valid changelog closers
|
|
export const CHANGELOG_CLOSE_TAGS = ["/:cl:", "/ :cl:", ":/cl:", "/??", "/ ??"];
|
|
|
|
// Placeholder value for an author
|
|
export const CHANGELOG_AUTHOR_PLACEHOLDER_NAME = "optional name here";
|