* mock default overrides in test setup
* change beforeEach to beforeALl
* move some more enums into the enums directory
* replace modules that import i18n into overrides with modules that don't
* add pre tests and update vitest configs, scripts
* replace tabs with spaces
* fix vitest server port overlap warning
* add missing overrides and clean up workspace config
* change test name
* include spec files in main test suite
* feat: Add deployment workflow for beta environment
This commit adds a new GitHub Actions workflow file, deploy-beta.yml, which is responsible for deploying the application to the beta environment. The workflow is triggered on push and pull request events. It checks if the repository is 'pagefaultgames/pokerogue' before running the deployment steps. The deployment includes checking out the code, setting up the Node.js environment, installing dependencies, building the application, setting up SSH for secure communication, deploying the build on the server using rsync, and purging the Cloudflare cache. The deployment is only performed when the push event is triggered on the default branch.
It also changes the deploy.yml workflow to be triggered only when a release is generated.
* feat: Update deployment workflow for beta environment
* Update deploy-beta name
* chore: Update deploy-beta.yml to use 'f-fsantos:beta-environment' as the ref name
* chore: Update deploy-beta.yml to use 'f-fsantos:beta-environment' as the ref name
* chore: Update deploy-beta.yml to use '2595/merge' as the ref name
* chore: Update deploy-beta.yml to include event name in deployment message
* chore: Update deploy-beta.yml to use 'pull_request' event and '2595/merge' as the ref name
* chore: Update deploy-beta.yml to include SSH public key
* chore: Update deploy-beta.yml to include SSH public key
---------
Co-authored-by: Temps Ray <temps.ray@gmail.com>
* 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)
* replace forceBypass with bypassFaint flag
* add another path alias for src/test
* make form override work for the whole party instead of the first pokemon
* add tests for all abilities that are touched by this change
* remove unnecessary overrides from tests
* move SpeciesFormChangeTimeOfDayTrigger outside arena reset logic
* remove alll resetMock calls, rename it to test
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.
* 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>