mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 07:07:33 +00:00
feat: replace cheerio and update build-and-shoot (#683)
* Implement fast-xml-parser replacing cheerio for farmingsim * Add extra player raw fields * Update buildandshoot for server 0.75 which uses json. * Remove cheerio * Add changelog entry * Add notes for build and shoot query server * Update CHANGELOG.md * Update package.json to fix version * Update buildandshoot.js * update lock * Add specific key and value to bas config in note * Add spacing for import * Run eslint on bas protocol * Use includes for check. Add doc notes to games.js * Updates GAMES_LIST.md * fix: support stable and master * attempt to manually fix conflict * fix players * fix fx * Update CHANGELOG.md --------- Co-authored-by: CosminPerRam <cosmin.p@live.com>
This commit is contained in:
parent
58f045dd36
commit
47c9182bed
8 changed files with 129 additions and 404 deletions
|
|
@ -55,10 +55,10 @@ Object.entries(sortedGames).forEach(([id, game]) => {
|
|||
if (game?.extra?.doc_notes) {
|
||||
notes.push('[Notes](#' + game.extra.doc_notes + ')')
|
||||
}
|
||||
if (game.options.protocol === 'valve' || game.options.protocol === 'dayz') {
|
||||
if (['valve', 'dayz'].includes(game.options.protocol)) {
|
||||
notes.push('[Valve Protocol](#valve)')
|
||||
}
|
||||
if (game.options.protocol === 'epic' || game.options.protocol === 'asa' || game.options.protocol === 'theisleevrima' || game.options.protocol === 'renown') {
|
||||
if (['epic', 'asa', 'theisleevrima', 'renown'].includes(game.options.protocol)) {
|
||||
notes.push('[EOS Protocol](#epic)')
|
||||
}
|
||||
lineArray[HeaderType.Notes] = notes.join(', ')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue