No description
  • TypeScript 77.1%
  • Vue 18.7%
  • JavaScript 3.2%
  • SCSS 0.6%
  • HTML 0.2%
  • Other 0.2%
Find a file
coyotte508 bb39d47586 fix: RangeError on Rotate sectors + bundle load crash (viewer 5.13.1, engine 4.10.3)
- Replace all iterator spreads ([...map.values()] etc) with Array.from() across
  engine and viewer: under the TS->babel downlevel chain they compiled to
  __spreadArrays, which reads .length on an iterator and produced
  'RangeError: invalid array length' on 'Sector rotations finished' (the
  reported boardgamers.space crash), plus several latent same-class sites.
- Break the research-tracks.ts -> ../index barrel import cycle (imports
  Event/Expansion from leaf modules now): the cycle left Engine in TDZ and
  the whole bundle failed with 'Cannot access engine_Engine before
  initialization' at module eval under the rebuilt module order.
- Fix stale cache-loader output producing raw vue_1.default accesses for the
  vue webpack external (window.Vue has no .default): 'Cannot read properties
  of undefined (reading extend)' at load. Clean rebuild emits babel interop
  wrappers correctly. vue-global-shim.js added as belt-and-braces doc for the
  external's shape.
- Add autoprefixer as an explicit viewer devDependency (pnpm 11 no longer
  hoists it; the lib build failed on postCSS plugin load).
- Update stale spec type signatures surfaced by the import change (tile
  position as EventSource, loadFaction arity, ChargeRequest literal cast,
  AvailableCommand data narrowing, FederationInfo new fields).

Verified: engine 750 passing / 4 pending; viewer 809 passing; lint + prettier
clean; rebuilt UMD has zero iterator-spread call sites and loads + completes
sector rotation (with and without rotations) in Chromium against the real
bundle with CDN-provided Vue 2.
2026-09-01 08:09:31 +00:00
.github Merge gaia-lost-fleet: Lost Fleet expansion, sandbox mode, sealed-bid auctions (#328) 2026-08-25 00:07:03 +02:00
.husky Merge gaia-lost-fleet: Lost Fleet expansion, sandbox mode, sealed-bid auctions (#328) 2026-08-25 00:07:03 +02:00
.vscode perf(engine): 10x federation enumeration — fixes >10s move timeouts in prod games (#325) 2026-08-19 12:19:05 +02:00
docs/lost-fleet Merge gaia-lost-fleet: Lost Fleet expansion, sandbox mode, sealed-bid auctions (#328) 2026-08-25 00:07:03 +02:00
engine fix: RangeError on Rotate sectors + bundle load crash (viewer 5.13.1, engine 4.10.3) 2026-09-01 08:09:31 +00:00
old-ui Merge gaia-lost-fleet: Lost Fleet expansion, sandbox mode, sealed-bid auctions (#328) 2026-08-25 00:07:03 +02:00
viewer fix: RangeError on Rotate sectors + bundle load crash (viewer 5.13.1, engine 4.10.3) 2026-09-01 08:09:31 +00:00
.editorconfig Lint project 2020-05-08 19:43:35 +02:00
.gitignore 🔧 Ignore .playwright-mcp artifacts 2026-08-12 20:20:35 +02:00
.gitpod.dockerfile 👷 Add gitpod integration 2021-03-24 21:51:25 +01:00
.gitpod.yml 🔧 (all) Add VS Code gitmoji extension to gitpod 2021-03-27 20:57:56 +01:00
.npmrc 🏗 Use pnpm / pnpm workspace 2021-02-21 01:05:37 +01:00
.prettierignore Merge gaia-lost-fleet: Lost Fleet expansion, sandbox mode, sealed-bid auctions (#328) 2026-08-25 00:07:03 +02:00
.prettierrc perf(engine): 10x federation enumeration — fixes >10s move timeouts in prod games (#325) 2026-08-19 12:19:05 +02:00
.tool-versions 🐛 (viewer) fix warnings for board and special actions 2021-10-04 08:56:57 +02:00
AGENTS.md fix: RangeError on Rotate sectors + bundle load crash (viewer 5.13.1, engine 4.10.3) 2026-09-01 08:09:31 +00:00
package.json perf(engine): 10x federation enumeration — fixes >10s move timeouts in prod games (#325) 2026-08-19 12:19:05 +02:00
pnpm-lock.yaml fix: RangeError on Rotate sectors + bundle load crash (viewer 5.13.1, engine 4.10.3) 2026-09-01 08:09:31 +00:00
pnpm-workspace.yaml perf(engine): 10x federation enumeration — fixes >10s move timeouts in prod games (#325) 2026-08-19 12:19:05 +02:00
README.md Remove Gitpod badge from README 2026-08-07 23:47:06 +02:00

Gaia Project

Mono repo containing the viewer & the engine for Gaia Project

Checkout their READMEs:

Demo

Check out boardgamers.space! Reach out to us if you want to contribute.

Install

Do pnpm install in the main folder

Test locally

After the installation step, you can run the viewer with:

cd viewer
npm run serve

It will use the engine in its sibling folder

Commit messages

We try to follow the gitmoji initiative. Extensions are available on VS Code & IntelliJ.

The format of a commit message is: <gitmoji> (all|engine|viewer) Commit message

Merging PRs

If the PR's commit history is clean, and commit messages conform to the policy, prefer a rebase to a squash.

If you need to squash, take care to add the appropriate gitmoji & scope to the commit message.

If the PR has fixup commmits starting with fixup!, approve the PR first, let the contributor adjust their PR to remove the fixup commits, and then rebase.