Commit Graph

37 Commits

Author SHA1 Message Date
Dakurei a0b1220fd6
Fix high severity vulnerability (#2446) 2024-06-20 14:04:21 +01: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
Matthew dc30dd33b2
[QoL] Reorganize Enum Locations (#2185)
* moving enums

* import updates

* fix tsconfig paths importing (#2184)

* reverse index.ts addition

---------

Co-authored-by: Devin Korb <meepdarknessmeep@gmail.com>
2024-06-13 18:44:23 -04:00
Yurical e0fd11746f
[Localization] Use proper postpositional particle for Korean (#1759)
In Korean, postpositional particles vary depending on whether the
preceding syllable ends in a consonant or a vowel. Currently there
is no ability differentiate between the two types of particles, so both
forms are being used at the same time.
To remedy this problem, I added the relevant i18next processor to
properly select and print the correct form of the particle.
2024-06-03 21:38:52 -04:00
Benjamin Odom 378ce95636
[QoL] Add TypeDoc as a Valid Doc Generator (#1609)
* Adds TypeDoc as a Valid Doc Generator

Run `npm install typedoc --save-dev`
then
Run `npx typedoc`

* Rename Revert

* Add Script
2024-05-30 20:05:38 -05:00
Benjamin Odom dcd7a11b01
Add @types/node to the package lock to resolve node_module errors (#1571)
Devs will need to run npm install --save-dev @types/node on their end as well
2024-05-29 15:22:46 -04:00
José Ricardo Fleury Oliveira 7e003d68a9
Indicator when a candy upgrade is available (#1083)
* initial implementation

* updated logic

* reverse retTint

* added candy overlays and colors

* added settings and minor fixes

* german changes

* logic fix

* german changes pt2

* german changes pt3

* setting name changed

* Update battle-scene.ts

* initial animation implementation

* minor fixes

* main compatibility

* minor fix

* logic for animations

* eslint fixes

* final generation logic

* Pause Animation when Selected or Purchased

* Disable Indicator if not Root Species

* Add to Reload and Add Anchor

* Fix Animation on Change

* Fix Icon on Change

* Code Cleanup

* fix

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-28 13:49:15 -04:00
Matthew f7a7b23dd1
Update README and package, re-add money formatter (#1286) 2024-05-23 12:29:18 -04:00
Greenlamp2 bac6c22973
ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224)
* eslint config + packages

* updated eslint config

* fix the issue eslint adding ;;;; at interfaces

* first round with eslint --fix .

* removed config for unused export

* Revert "first round with eslint --fix ."

This reverts commit 77a88e0895.

* removed config for camelCase

* for real this time, first round of eslint --fix .

* halfway to manual eslint fix

* eslint done

* added "how to setup" the hook to eslint --fix each new file before commit (if wanted)

* removed eslintrc config file duplicat

* fix human error + ignore build folder + merge overrides

* added curly brace style + eslint

* applied double quote linter rule

* added lefthook

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* github action to run eslint

* added node_modules to ignore eslint

* different action for typescript

* no need for different glob (default src)

* node 20

* node 20

* removed no longer needed install file

* remove hooks part from README

* eslint fixes

---------

Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
2024-05-23 11:03:10 -04:00
Dakurei c44009738a Add auto detect user language
+ prLang used to override langague detected if necessary
2024-04-30 16:48:37 -04:00
Nero 55dc339647
Bug Fixes and QoL: Minor changes to UI related bugs (#356)
* bug fix: updates move description correctly

viewing the description of move slot 1 in a pokemon's move summary UI only updated the first time it was viewed per session, exiting the party UI and re-entering caused the moves in a pokemon's summary screen to not automatically populate the description box unless you moved the cursor down to move 2 and then back up to move 1

* slight logic changes to fix party UI controls

when battlerCount = 2 (double battle), starting in party slot 1 and pressing DOWN -> UP -> RIGHT would move the cursor back down when it should be moving it to the right: these changes fix that

* finalised the minor UI changes

* finalising

* refactor

* removed console logs used for testing

* bug fix: updates move description correctly

viewing the description of move slot 1 in a pokemon's move summary UI only updated the first time it was viewed per session, exiting the party UI and re-entering caused the moves in a pokemon's summary screen to not automatically populate the description box unless you moved the cursor down to move 2 and then back up to move 1

* slight logic changes to fix party UI controls

when battlerCount = 2 (double battle), starting in party slot 1 and pressing DOWN -> UP -> RIGHT would move the cursor back down when it should be moving it to the right: these changes fix that

* finalised the minor UI changes

* finalising

* refactor

* removed console logs used for testing
2024-04-30 12:42:20 -04:00
Ishan Patel 1f9834d1f6
Fixed when roost removes flying type (#148)
* Initial push with roost fix

* Roost fix

* Added GROUNDED to Levitate

* Cleaned up GROUNDED code
2024-04-16 14:31:30 -04:00
James Lin 73c9625df1
Add i18next framework to enable further contributions (#96)
* prototype

* Update with comments and type safety
2024-04-11 23:47:03 -04:00
Flashfyre 5bed242002 Add Lock Capsule item and update reroll logic 2024-04-05 10:14:49 -04:00
Flashfyre eb6ee79b3e Add cache busting 2024-03-31 23:58:03 -04:00
Devin Korb 53def01b51
Add unit testing support with vitest (#18)
* update loose files and add vitest

* update test scripts

* more support for vitest

* more test support

* update vscode settings
2024-03-30 20:47:47 -04:00
Flashfyre 02e35aad83 Update Phaser version 2024-02-25 23:38:58 -05:00
Flashfyre aa13562433 Fix item icon overflow visibility 2024-02-21 21:31:56 -05:00
Flashfyre 0b70effd02 Revert "Update Phaser to 3.80.0 beta 2"
This reverts commit 993ab264e7.
2024-02-18 23:01:44 -05:00
Flashfyre 993ab264e7 Update Phaser to 3.80.0 beta 2 2024-02-18 22:59:03 -05:00
Flashfyre e62bb6e225 Add female trainer and male rival 2024-02-06 16:15:35 -05:00
Flashfyre 6dc868272f Add summary memo text 2024-01-05 11:29:34 -05:00
Flashfyre 8063472bac Add accounts, login, and registration 2023-12-30 20:19:33 -05:00
Flashfyre e107349a98 Add data save and load 2023-12-26 14:49:23 -05:00
Flashfyre 8ed7b77868 Add most gen 9 move animations 2023-12-21 20:58:00 -05:00
Flashfyre e8b82d2d55 Soft implement gen 6-9 moves 2023-11-30 16:37:16 -05:00
Flashfyre 4d02432606 Add palette swaps for fusions 2023-11-23 23:52:13 -05:00
Flashfyre cbbb8e972b Add achievement system and UI
Add achievement system and UI; fix counting invalid inputs in UI handlers for input delay
2023-11-12 00:31:40 -05:00
Flashfyre 23a21af173 Update Vite and add sound for item rewards 2023-10-25 23:15:54 -04:00
Flashfyre 46c31f9595 Add scaling level cap and party switch option after load
Add scaling level cap and party switch option after load; update Phaser to newest beta version
2023-10-03 12:50:31 -04:00
Flashfyre 9e0a8a3030 Fix hanging after catching Pokemon without releasing 2023-07-03 10:59:56 -04:00
Flashfyre 0cc87b4ba0 Add sprite shadows and update engine 2023-06-04 21:47:43 -04:00
Flashfyre c9c4e82f7f Add WiP move attributes system 2023-04-03 23:38:31 -04:00
Flashfyre 1cf81869d0 Add Pokemon Reborn move animations 2023-04-03 20:47:41 -04:00
Flashfyre 71cc5291d0 Add Typescript dev dependency 2023-03-31 23:06:52 -04:00
Flashfyre 0effdfa7fb Various updates and changes 2023-03-31 16:04:39 -04:00
Flashfyre 2f17903d30 Initial commit 2023-03-28 14:54:52 -04:00