Commit graph

314 commits

Author SHA1 Message Date
a96681aa61 Add original artwork for fourteen Gaia achievements 2026-11-14 12:17:54 +00:00
5499837e23 feat(engine): add achievement icons and reproducible portraits 2026-11-13 23:45:30 +01:00
7370ce31d1 feat(viewer): localize interface and tutorials in 15 languages 2026-09-25 16:30:19 +02:00
662e64891a feat(viewer): migrate build to Vite 8 + rolldown, tests to vitest 4 (v5.14.0)
The vue-cli/webpack 4 toolchain was the root cause of three shipped
production crashes this week (iterator-spread __spreadArrays RangeError,
stale cache-loader emitting raw vue_1.default for the vue external, and
the TDZ circular-import). Replace it:

- vite.config.ts: lib build of src/wrapper.ts -> dist/package/
  viewer.umd.js (IIFE, esnext, minified) + viewer.css + map. vue and
  bootstrap-vue stay external (window.Vue / window.BootstrapVue) via
  plain global reads - no .default interop possible. process.env is
  baked to ({}) via define, matching vue-cli's old defaults.
- vitest.config.ts: jsdom env, single fork, chai-compatible specs run
  unchanged. 879 tests pass (was 809 - the json-driven chart/resource
  suites now register their dynamic tests properly under vitest).
- import type correctness across the codebase: rolldown rejects
  value-imports of type-only exports, so type-only imports are now
  written as import type (and mixed imports split). Also fixes
  self-contained-state.ts's reassignment of a destructured const.
- Commands.spec.ts: split a two-render test into two its - two
  @testing-library renders of Commands in one test interfere under
  vitest.
- scripts: package/build -> vite build, test -> vitest run.
- devDeps: +vite +@vitejs/plugin-vue2 +vitest +jsdom +esbuild +events
  (browser polyfill for the engine's node 'events' import).

Verified in Chromium against the built bundle: loads with CDN Vue 2 +
BootstrapVue, Rotate sectors completes with and without rotations, zero
pageerrors; the bundle contains no __spreadArrays helpers.
2026-09-01 09:00:07 +00:00
2e6e4ce4d1
perf(engine): 10x federation enumeration — fixes >10s move timeouts in prod games (#325) 2026-08-19 12:19:05 +02:00
coyotte508
df7a7e6b5c 🔧 (all) Add commit message check 2021-03-27 23:34:13 +01:00
Gregor Zeitlinger
f073d0ef96
✨ Highlight recent actions + color of player who took a board action (#6) 2021-02-21 15:09:13 +01:00
coyotte508
d07610403e 🎨 Add global prettier settings / workflow 2021-02-21 10:29:45 +01:00
coyotte508
af0aeeb518 🚚 (viewer) Move to a subfolder 2021-02-21 01:05:36 +01:00
github-action
b68928e1f3 v5.8.0
Some checks are pending
Test / test_and_build (push) Waiting to run
2021-02-16 18:47:01 +00:00
coyotte508
4642ab5966 🏷️ Add @types/lodash 2021-02-16 19:40:10 +01:00
github-action
cc4c701eec v5.7.6 2021-02-13 22:55:34 +00:00
github-action
35b3af5ce8 v5.7.5 2021-02-13 14:37:37 +00:00
github-action
853f0cf05c v5.7.4 2021-02-13 11:02:31 +00:00
coyotte508
ff65660c49 👷 Automated version bump / publish 2021-02-13 11:58:51 +01:00
coyotte508
f6349e554a v5.7.3 2021-02-12 18:38:04 +01:00
coyotte508
95ac343211 Update contributors 2021-02-12 18:37:17 +01:00
coyotte508
ad9385c64b v5.7.2 2021-02-08 00:40:16 +01:00
coyotte508
14abdb942a v5.7.1 2021-02-08 00:12:45 +01:00
Gregor Zeitlinger
5c118d5bb1
use more icons in player board (#155)
- improve display of taken players in faction wheel
- use icons to show research progress in player area
- show taken sectors and power values of structures in and outside federations for all players
- satellite image is from https://upload.wikimedia.org/wikipedia/commons/2/27/FP_Satellite_icon.svg
2021-02-10 23:37:54 +01:00
coyotte508
88ff7cd5d0 v5.7.0 2021-02-07 11:51:05 +01:00
coyotte508
585999c812 v5.6.9 2021-02-07 11:38:16 +01:00
coyotte508
8209eb8677 v5.6.8 2021-02-02 10:42:20 +01:00
coyotte508
61fd86dad2 v5.6.7 2021-01-31 14:00:46 +01:00
coyotte508
49ce8fc13f v5.6.6 2020-09-18 18:28:13 +02:00
coyotte508
b3f09fd279 v5.6.5 2020-09-18 01:55:00 +02:00
coyotte508
4534c8763b Add warning messages 2020-09-18 01:54:13 +02:00
coyotte508
294d81012c v5.6.4 2020-09-16 20:22:50 +02:00
coyotte508
25dc9467e7 v5.6.3 2020-08-26 21:27:33 +02:00
coyotte508
f985639a0f v5.6.2 2020-08-23 10:01:19 +02:00
coyotte508
1453c9b841 v5.6.1 2020-08-18 15:35:38 +02:00
coyotte508
ea03c90fcf Fix 2p with X map 2020-08-18 15:34:55 +02:00
coyotte508
d69b7b76a4 v5.6.0 2020-08-18 15:34:55 +02:00
coyotte508
f58cb2f444 v5.5.22 2020-07-10 23:36:34 +02:00
coyotte508
2705fb5959 v5.5.21 2020-07-10 19:52:23 +02:00
Riccardo Zulian
aa6dbcee03 v5.5.20 2020-07-05 14:13:34 +02:00
Riccardo Zulian
9859c535bd v5.5.19 2020-07-04 13:58:32 +02:00
coyotte508
0c69127319 v5.5.18 2020-07-03 15:28:41 +02:00
Riccardo Zulian
c35a440b8a v5.5.16 2020-07-03 14:48:39 +02:00
coyotte508
db4494e752 v5.5.15 2020-07-02 22:37:36 +02:00
coyotte508
7d2109ba1d v5.5.14 2020-07-02 21:17:40 +02:00
coyotte508
18ab05bf41 v5.5.13 2020-07-02 20:22:29 +02:00
coyotte508
03a6d25d6c v5.5.12 2020-07-01 20:19:09 +02:00
Riccardo Zulian
df700c1896 v5.5.11 2020-07-01 17:27:08 +02:00
Riccardo Zulian
be69d50e2b v5.5.10 2020-07-01 11:50:55 +02:00
Riccardo Zulian
6c50a32d27 v5.5.9 2020-07-01 11:32:42 +02:00
Riccardo Zulian
73d2c6fb3f v5.5.8 2020-07-01 11:04:38 +02:00
coyotte508
970a096e88 v5.5.7 2020-07-01 01:25:22 +02:00
coyotte508
ec46ac0246 v5.5.6 2020-06-30 23:18:08 +02:00
coyotte508
cf89a3128c Bump engine 2020-06-29 00:23:22 +02:00