NightKev
232f26a60d
[Dev] Migrate from npm
to pnpm
( #6018 )
...
* Replace `package-lock.json` with `pnpm-lock.yaml`
* Update `package.json`
* Update `lefthook.yml`
* Update GitHub workflows
* Update references to `npm`/`npx`
* Update `CONTRIBUTING.md`
* Update `linting.md` and `comments.md`
* Update comment in `create-test.js`
* Add missing dependency `chalk` for `create-test.js`
2025-06-23 17:05:59 -07:00
Bertie690
6547e1d5ce
[Dev] Update depcruiser to enforce no non-type export in src/@types/
...
https://github.com/pagefaultgames/pokerogue/pull/5949
* Add depcruiser rule to enforce no non-type export in `src/@types`
* Add missing field in config
* Fixed type import inside `move.ts`
2025-06-22 18:34:06 -07:00
NightKev
f8d8a3de84
[Dev] Enable dependency cruiser workflow ( #5966 )
...
* Update `.dependency-cruiser.cjs` config file
* Update GitHub workflow
* Have `depcruise` check `test/` as well
* Remove circular import between `battle-anims.ts` and `battler-tags.ts`
2025-06-15 00:51:21 -07:00
Bertie690
a41de39d4f
[Misc] Run biome on all files; update some rules to be errors now
...
https://github.com/pagefaultgames/pokerogue/pull/5962/
* Fixed lint issue; ran biome on entire repository
* Fixed biome.jsonc
* Trimmed trailing whitespace... again...
* Fixed PR template md
* Fixed package json
* Fixed void return issues + ran biome again
* ran biome
2025-06-14 00:59:34 -07:00
Sirz Benjie
fb6d6f5b69
[Dev] Add non type imports depcruiser check ( #5901 )
...
* Forbid non type imports in type and enum files
* Allow orphans in src/@types
2025-06-04 21:57:10 -07:00
Sirz Benjie
408b66f913
[Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter ( #5495 )
...
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-03-09 14:13:25 -07:00
Sirz Benjie
a51a504155
[Test] Move test folder out of src ( #5398 )
...
* move test folder
* Update vitest files
* rename test/utils to test/testUtils
* Remove stray utils/gameManager
Got put back from a rebase
2025-02-22 22:52:07 -06:00
Devin Korb
728ee3809a
Add dependency cruiser command ( #2192 )
...
* add dependency cruiser and fix all default errors
* create svg render of dependencies in command
* move configs to ts files, await font loading
* fix i18n
* fix dependencies...
* fix typedoc generation and tsconfig exclusions
* revert github-pages fix for another pr
* no-circular -> no-circular-at-runtime for type imports (future)
2024-06-16 00:26:37 -04:00