Merge branch 'beta' into romanian-workspace
|
@ -29,4 +29,4 @@ jobs:
|
|||
- name: Install Node.js dependencies
|
||||
run: npm ci
|
||||
- name: Run tests
|
||||
run: npx vitest --project ${{ inputs.project }} --shard=${{ inputs.shard }}/${{ inputs.totalShards }} ${{ !runner.debug && '--silent' || '' }}
|
||||
run: npx vitest --project ${{ inputs.project }} --no-isolate --shard=${{ inputs.shard }}/${{ inputs.totalShards }} ${{ !runner.debug && '--silent' || '' }}
|
||||
|
|
|
@ -15,29 +15,8 @@ on:
|
|||
types: [checks_requested]
|
||||
|
||||
jobs:
|
||||
pre-test:
|
||||
name: Run Pre-test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
path: tests-action
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
- name: Install Node.js dependencies
|
||||
working-directory: tests-action
|
||||
run: npm ci
|
||||
- name: Run Pre-test
|
||||
working-directory: tests-action
|
||||
run: npx vitest run --project pre ${{ !runner.debug && '--silent' || '' }}
|
||||
|
||||
run-tests:
|
||||
name: Run Tests
|
||||
needs: [pre-test]
|
||||
strategy:
|
||||
matrix:
|
||||
shard: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
||||
|
|
|
@ -50,7 +50,8 @@
|
|||
"noUndeclaredVariables": "off",
|
||||
"noUnusedVariables": "error",
|
||||
"noSwitchDeclarations": "warn", // TODO: refactor and make this an error
|
||||
"noVoidTypeReturn": "warn" // TODO: Refactor and make this an error
|
||||
"noVoidTypeReturn": "warn", // TODO: Refactor and make this an error
|
||||
"noUnusedImports": "error"
|
||||
},
|
||||
"style": {
|
||||
"noVar": "error",
|
||||
|
|
|
@ -68,6 +68,10 @@ input:-internal-autofill-selected {
|
|||
background-clip: text;
|
||||
}
|
||||
|
||||
input:-webkit-autofill {
|
||||
-webkit-text-fill-color: #a1a1a1;
|
||||
}
|
||||
|
||||
/* Need adjust input font-size */
|
||||
input {
|
||||
font-size: 3.2rem;
|
||||
|
|
|
@ -8,12 +8,6 @@ pre-commit:
|
|||
skip:
|
||||
- merge
|
||||
- rebase
|
||||
|
||||
pre-push:
|
||||
commands:
|
||||
biome-lint:
|
||||
glob: "*.{js,ts,jsx,tsx}"
|
||||
run: npx @biomejs/biome check --write --reporter=summary {push_files} --no-errors-on-unmatched
|
||||
|
||||
post-merge:
|
||||
commands:
|
||||
|
|
56
package.json
|
@ -9,10 +9,10 @@
|
|||
"build": "vite build",
|
||||
"build:beta": "vite build --mode beta",
|
||||
"preview": "vite preview",
|
||||
"test": "vitest run --project pre && vitest run --project main",
|
||||
"test:cov": "vitest run --project pre && vitest run --project main --coverage",
|
||||
"test:watch": "vitest run --project pre && vitest watch --project main --coverage",
|
||||
"test:silent": "vitest run --project pre && vitest run --project main --silent",
|
||||
"test": "vitest run",
|
||||
"test:cov": "vitest run --coverage --no-isolate",
|
||||
"test:watch": "vitest watch --coverage --no-isolate",
|
||||
"test:silent": "vitest run --silent --no-isolate",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"eslint": "eslint --fix .",
|
||||
"eslint-ci": "eslint .",
|
||||
|
@ -29,41 +29,41 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "1.9.4",
|
||||
"@eslint/js": "^9.3.0",
|
||||
"@hpcc-js/wasm": "^2.18.0",
|
||||
"@stylistic/eslint-plugin-ts": "^2.6.0-beta.0",
|
||||
"@eslint/js": "^9.23.0",
|
||||
"@hpcc-js/wasm": "^2.22.4",
|
||||
"@stylistic/eslint-plugin-ts": "^4.1.0",
|
||||
"@types/jsdom": "^21.1.7",
|
||||
"@types/node": "^20.12.13",
|
||||
"@typescript-eslint/eslint-plugin": "^8.0.0-alpha.54",
|
||||
"@typescript-eslint/parser": "^8.0.0-alpha.54",
|
||||
"@vitest/coverage-istanbul": "^2.1.9",
|
||||
"@typescript-eslint/eslint-plugin": "^8.28.0",
|
||||
"@typescript-eslint/parser": "^8.28.0",
|
||||
"@vitest/coverage-istanbul": "^3.0.9",
|
||||
"dependency-cruiser": "^16.3.10",
|
||||
"eslint": "^9.7.0",
|
||||
"eslint-plugin-import-x": "^4.2.1",
|
||||
"inquirer": "^11.0.2",
|
||||
"jsdom": "^24.0.0",
|
||||
"lefthook": "^1.6.12",
|
||||
"msw": "^2.4.9",
|
||||
"eslint": "^9.23.0",
|
||||
"eslint-plugin-import-x": "^4.9.4",
|
||||
"inquirer": "^12.4.2",
|
||||
"jsdom": "^26.0.0",
|
||||
"lefthook": "^1.11.5",
|
||||
"msw": "^2.7.3",
|
||||
"phaser3spectorjs": "^0.0.8",
|
||||
"typedoc": "^0.26.4",
|
||||
"typescript": "^5.5.3",
|
||||
"typescript-eslint": "^8.0.0-alpha.54",
|
||||
"vite": "^5.4.14",
|
||||
"vite-tsconfig-paths": "^4.3.2",
|
||||
"vitest": "^2.1.9",
|
||||
"typedoc": "^0.28.1",
|
||||
"typescript": "^5.8.2",
|
||||
"typescript-eslint": "^8.28.0",
|
||||
"vite": "^6.2.0",
|
||||
"vite-tsconfig-paths": "^5.1.4",
|
||||
"vitest": "^3.0.9",
|
||||
"vitest-canvas-mock": "^0.3.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@material/material-color-utilities": "^0.2.7",
|
||||
"crypto-js": "^4.2.0",
|
||||
"i18next": "^23.11.1",
|
||||
"i18next-browser-languagedetector": "^7.2.1",
|
||||
"i18next-http-backend": "^2.6.1",
|
||||
"i18next": "^24.2.2",
|
||||
"i18next-browser-languagedetector": "^8.0.4",
|
||||
"i18next-http-backend": "^3.0.2",
|
||||
"i18next-korean-postposition-processor": "^1.0.0",
|
||||
"json-stable-stringify": "^1.1.0",
|
||||
"json-stable-stringify": "^1.2.0",
|
||||
"jszip": "^3.10.1",
|
||||
"phaser": "^3.70.0",
|
||||
"phaser3-rex-plugins": "^1.1.84"
|
||||
"phaser": "^3.88.2",
|
||||
"phaser3-rex-plugins": "^1.80.14"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
|
|
|
@ -4599,8 +4599,6 @@
|
|||
"728",
|
||||
"729",
|
||||
"730",
|
||||
"730_2",
|
||||
"730_2",
|
||||
"747",
|
||||
"748",
|
||||
"753",
|
||||
|
|
14703
public/images/items.json
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 556 B After Width: | Height: | Size: 308 B |
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 243 B |
Before Width: | Height: | Size: 234 B After Width: | Height: | Size: 236 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 317 B |
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 235 B After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 236 B After Width: | Height: | Size: 247 B |
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 253 B |
Before Width: | Height: | Size: 293 B After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 290 B After Width: | Height: | Size: 282 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 261 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 695 B |
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 247 B |
Before Width: | Height: | Size: 653 B After Width: | Height: | Size: 596 B |
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 390 B After Width: | Height: | Size: 327 B |
Before Width: | Height: | Size: 275 B After Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 354 B After Width: | Height: | Size: 328 B |
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 263 B |
Before Width: | Height: | Size: 275 B After Width: | Height: | Size: 258 B |
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 313 B |
Before Width: | Height: | Size: 218 B After Width: | Height: | Size: 219 B |
Before Width: | Height: | Size: 374 B After Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 258 B After Width: | Height: | Size: 246 B |
Before Width: | Height: | Size: 248 B After Width: | Height: | Size: 243 B |
Before Width: | Height: | Size: 285 B After Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 308 B After Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 243 B After Width: | Height: | Size: 247 B |
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 400 B After Width: | Height: | Size: 324 B |
Before Width: | Height: | Size: 396 B After Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 280 B |
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 511 B After Width: | Height: | Size: 316 B |
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 280 B |
Before Width: | Height: | Size: 322 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 251 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 248 B |
Before Width: | Height: | Size: 243 B After Width: | Height: | Size: 248 B |
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 856 B After Width: | Height: | Size: 785 B |
Before Width: | Height: | Size: 404 B After Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 283 B After Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 329 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 255 B |
Before Width: | Height: | Size: 392 B After Width: | Height: | Size: 320 B |
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 823 B After Width: | Height: | Size: 752 B |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 358 B |
Before Width: | Height: | Size: 298 B After Width: | Height: | Size: 235 B |
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 235 B After Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 239 B After Width: | Height: | Size: 256 B |
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 293 B After Width: | Height: | Size: 275 B |
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 308 B After Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 275 B |
Before Width: | Height: | Size: 378 B After Width: | Height: | Size: 341 B |
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 308 B After Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 298 B After Width: | Height: | Size: 291 B |
Before Width: | Height: | Size: 269 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 907 B After Width: | Height: | Size: 834 B |
Before Width: | Height: | Size: 308 B After Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 397 B After Width: | Height: | Size: 345 B |
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 300 B After Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 258 B After Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 601 B |
Before Width: | Height: | Size: 632 B After Width: | Height: | Size: 341 B |
Before Width: | Height: | Size: 386 B After Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 341 B |
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 267 B |
Before Width: | Height: | Size: 448 B After Width: | Height: | Size: 254 B |
Before Width: | Height: | Size: 386 B After Width: | Height: | Size: 347 B |