parent
249e531845
commit
6fe7cd6d96
2
.github/ISSUE_TEMPLATE/001-bug-report.yml
vendored
2
.github/ISSUE_TEMPLATE/001-bug-report.yml
vendored
@ -1,5 +1,5 @@
|
||||
# FOR DEVELOPMENT, DO NOT EDIT THIS FILE! EDIT THE TEMPlATES INSTEAD!
|
||||
# See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-1:-Contributing-Information#section-5-template-information!
|
||||
# See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-2:-Contributing-Information#section-5-template-information!
|
||||
name: Bug Report
|
||||
description: "Crashes or unintended behaviors arising from Nomi CEu's mods, configurations, or custom scripts."
|
||||
labels: bug
|
||||
|
@ -1,5 +1,5 @@
|
||||
# FOR DEVELOPMENT, DO NOT EDIT THIS FILE! EDIT THE TEMPlATES INSTEAD!
|
||||
# See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-1:-Contributing-Information#section-5-template-information!
|
||||
# See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-2:-Contributing-Information#section-5-template-information!
|
||||
name: Feature Request
|
||||
description: Suggest an idea, including mod additions or addon scripts, for Nomi CEu.
|
||||
labels: enhancement
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"_comment": "FOR DEVELOPMENT, DO NOT EDIT THIS FILE! EDIT THE TEMPlATES INSTEAD! See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-1:-Contributing-Information#section-5-template-information!",
|
||||
"_comment": "FOR DEVELOPMENT, DO NOT EDIT THIS FILE! EDIT THE TEMPlATES INSTEAD! See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-2:-Contributing-Information#section-5-template-information!",
|
||||
"buttons": {
|
||||
"akliz": {
|
||||
"action": {
|
||||
|
@ -1,5 +1,5 @@
|
||||
# FOR DEVELOPMENT, DO NOT EDIT THIS FILE! EDIT THE TEMPlATES INSTEAD!
|
||||
# See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-1:-Contributing-Information#section-5-template-information!
|
||||
# See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-2:-Contributing-Information#section-5-template-information!
|
||||
# Configuration file
|
||||
|
||||
general {
|
||||
@ -16,5 +16,3 @@ general {
|
||||
# Max: 2147483647
|
||||
I:manualFixVersion=1
|
||||
}
|
||||
|
||||
|
||||
|
@ -797,7 +797,7 @@ async function parseTOMLWithRootToList<T>(
|
||||
|
||||
function getEndMessage(delimiter: string) {
|
||||
const normal = dedent`
|
||||
Try checking the TOML syntax in https://www.toml-lint.com/, checking the object tree in https://www.convertsimple.com/convert-toml-to-json/, checking syntax in https://toml.io/en/v1.0.0, and looking through https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-2:-Maintainer-Information#62-create-changelog!
|
||||
Try checking the TOML syntax in https://www.toml-lint.com/, checking the object tree in https://www.convertsimple.com/convert-toml-to-json/, checking syntax in https://toml.io/en/v1.0.0, and looking through https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-3:-Maintainer-Information#12-create-changelog!
|
||||
Also check that you have surrounded the TOML in '${delimiter}'!`;
|
||||
if (data.isTest) return normal;
|
||||
return normal.concat("\nSkipping...");
|
||||
|
@ -111,7 +111,7 @@ async function modifyFile(
|
||||
// Add warning to not edit file
|
||||
if (addWarning)
|
||||
modifiedData = dedent`# FOR DEVELOPMENT, DO NOT EDIT THIS FILE! EDIT THE TEMPlATES INSTEAD!
|
||||
# See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-1:-Contributing-Information#section-5-template-information!
|
||||
# See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-2:-Contributing-Information#section-5-template-information!
|
||||
${modifiedData}`;
|
||||
|
||||
// Write the modified content back to the file
|
||||
@ -190,7 +190,7 @@ async function updateMainMenuConfig(): Promise<void> {
|
||||
|
||||
// Add warning to not edit file
|
||||
modifiedData["_comment"] =
|
||||
"FOR DEVELOPMENT, DO NOT EDIT THIS FILE! EDIT THE TEMPlATES INSTEAD! See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-1:-Contributing-Information#section-5-template-information!";
|
||||
"FOR DEVELOPMENT, DO NOT EDIT THIS FILE! EDIT THE TEMPlATES INSTEAD! See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-2:-Contributing-Information#section-5-template-information!";
|
||||
|
||||
// Sort keys so that comment appears first
|
||||
modifiedData = sortKeysRecursive(modifiedData);
|
||||
|
@ -176,7 +176,7 @@ export async function transformQuestBook(): Promise<void> {
|
||||
lines.push(
|
||||
"# DO NOT EDIT THIS FILE!",
|
||||
"# THIS IS A SOURCE FILE ONLY!",
|
||||
"# See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-1:-Contributing-Information#section-2-quest-book-contributing FOR HOW TO EDIT THE QUEST BOOK!",
|
||||
"# See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-2:-Contributing-Information#section-2-quest-book-contributing FOR HOW TO EDIT THE QUEST BOOK!",
|
||||
"",
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user