Go to file
Bertie690 9815c5eebf
[Test] Revamped MockConsoleLog with color support (#6218)
* Added mock console and fixed up many many things

* Cleaned up handling of colors and such

* Added minor comment

* Fix Focus Punch test

* Fix typo

* Remove redundant comment

* Update vitest.setup.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Added color map inside new folder

* Made constants not object bc i was told to

* Update src/constants/colors.ts

* Removed all moves init check

* Removed import

* Fixed up some stuff + added aquamarine color to settings helper

* Added logging for test end

* Removed intentionally failing test

* Fixed console log to use inheritance to not override vitest's wrapping

* Added a custom Vitest reporter to not log the test name every 2 lines

* Moved coloration to a hook to prevent misplacing things

* Fixed import issue by copypasting vitest soure

* Removed intentionally failing test

look i need to check that `test:silent` works on github ok

* Added REUSE annotations to copied parts of source

* Fixed import issue

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-09-07 09:18:47 -05:00
.devcontainer [Dev] Added devcontainer.json and VS code config files (#6190) 2025-08-17 13:26:20 -07:00
.github [GitHub] [Docs] Use rsync in workflow run 2025-09-06 11:16:31 -05:00
.vscode [Dev] Added devcontainer.json and VS code config files (#6190) 2025-08-17 13:26:20 -07:00
docs [Docs] Add locale key naming info to localization.md (#6260) 2025-08-14 01:12:00 +00:00
public [Test] Revamped MockConsoleLog with color support (#6218) 2025-09-07 09:18:47 -05:00
scripts [Misc] Moved scrapeTrainerNames to a script; removed selfStatLowerMoves (#6258) 2025-08-22 16:09:33 -05:00
src [Test] Revamped MockConsoleLog with color support (#6218) 2025-09-07 09:18:47 -05:00
test [Test] Revamped MockConsoleLog with color support (#6218) 2025-09-07 09:18:47 -05:00
typedoc-plugins [Misc/Docs] Fix Typedoc workflow to not break the "go to main" link (#6502) 2025-09-06 17:43:26 -05:00
.dependency-cruiser.cjs [Dev] Migrate from npm to pnpm (#6018) 2025-06-23 17:05:59 -07:00
.editorconfig [Misc] add .editorconfig (#5246) 2025-02-03 18:55:44 +01:00
.env Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00
.env.beta [Misc] Disable some leftover debug code (#4546) 2024-10-02 13:13:16 -04:00
.env.development [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
.env.production Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00
.env.test Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00
.gitattributes [Misc] Add * -crlf to .gitattributes (#5539) 2025-03-18 21:52:49 -04:00
.gitignore [Dev] Added devcontainer.json and VS code config files (#6190) 2025-08-17 13:26:20 -07:00
.gitmodules [Refactor] External locales (#4529) 2024-10-01 23:41:09 +01:00
.ls-lint.yml [Dev] Added devcontainer.json and VS code config files (#6190) 2025-08-17 13:26:20 -07:00
.nvmrc [Dev][GitHub] Update to node 22 (#5586) 2025-04-14 12:37:26 -05:00
biome.jsonc [Dev] Added devcontainer.json and VS code config files (#6190) 2025-08-17 13:26:20 -07:00
CONTRIBUTING.md [Dev] Added devcontainer.json and VS code config files (#6190) 2025-08-17 13:26:20 -07:00
CREDITS.md [Audio] Add new Wasteland BGM track (#6285) 2025-08-18 09:27:37 -04:00
favicon.ico Replace favicon with no BG version 2024-03-25 12:45:45 -04:00
global.d.ts [Dev] Added Typedoc plugins + README badges (#6400) 2025-09-05 11:34:22 -07:00
index.css [UI/UX] Autofill login text color changed to gray (#5523) 2025-03-25 18:06:28 -07:00
index.html [Misc] Remove debug.js reference from index.html 2025-06-07 17:37:09 -07:00
lefthook.yml [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
LICENSE Update license to AGPL 3 2024-03-25 19:22:58 -04:00
package.json [Test] Revamped MockConsoleLog with color support (#6218) 2025-09-07 09:18:47 -05:00
pnpm-lock.yaml [Test] Revamped MockConsoleLog with color support (#6218) 2025-09-07 09:18:47 -05:00
pnpm-workspace.yaml [Dev] Remove warnings from pnpm interactions (#6061) 2025-07-04 04:08:53 +00:00
README.md [Misc] [Docs] Update README.md svg to actually go to discord (#6501) 2025-09-06 10:25:09 -05:00
RELEASE Stage release v1.10.0 2025-08-21 11:08:08 -05:00
tsconfig.json [Bug] Fix typecheck bug (#6415) 2025-08-25 16:25:53 -07:00
tsdoc.json [Docs] Add @module modifier tag to tsdoc.json 2025-07-27 18:03:34 -07:00
typedoc.config.js [Test] Revamped MockConsoleLog with color support (#6218) 2025-09-07 09:18:47 -05:00
vite.config.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
vitest.config.ts [Test] Revamped MockConsoleLog with color support (#6218) 2025-09-07 09:18:47 -05:00

PokéRogue

Discord Static Badge Docs Coverage Static Badge Testing Badge License: GNU AGPL v3

PokéRogue is a browser based Pokémon fangame heavily inspired by the roguelite genre. Battle endlessly while gathering stacking items, exploring many different biomes, fighting trainers, bosses, and more!

Contributing

See CONTRIBUTING.md, this includes instructions on how to set up the game locally.

📝 Credits

If this project contains assets you have produced and you do not see your name, please reach out, either here on GitHub or via Discord.

Thank you to all the wonderful people that have contributed to the PokéRogue project! You can find the credits here.