diff --git a/content/index.md b/content/index.md index f0995ca..46e73fa 100644 --- a/content/index.md +++ b/content/index.md @@ -46,7 +46,7 @@ Try the CPU-only, no-Python path from prepared example layers: **[Getting starte | [**@rig-c/core**](/docs/core/) | `{{version:core}}` | `npm i -D @rig-c/core` | The rig compiler: a rig spec and a motion spec in, Spine 4.3 skeleton data (`skeleton.json` + `.atlas`) and `skeleton.model.json` out — gated by named assertions before a byte is written (36 under the default `--profile spine`, all 50 under the opt-in `--profile rig-play`). | | [**@rig-c/review**](/docs/review/) | `{{version:review}}` | `npm i -D @rig-c/review` | Local human inspection workspace: compare setup geometry, compiled-model playback, source video/sheets, and export frame/bone/slot-bound feedback ready to become an issue. | | [**@rig-c/play**](/docs/play/) | `{{version:play}}` | `npm i @rig-c/play` | Plays `skeleton.model.json` in the browser with no Spine runtime — as plain DOM elements (`` with CSS `matrix()`) or one `` per player. | -| [**@rig-c/pixi**, **@rig-c/phaser**, **@rig-c/three**](/docs/adapters/) | `{{version:adapters}}` | `npm i @rig-c/pixi`
`npm i @rig-c/phaser`
`npm i @rig-c/three` | Plays a rig-c compiled model inside PixiJS 8, Phaser 4.2+, or Three.js 0.186+ through `@rig-c/play`'s posing core, with no Spine runtime. | +| [**@rig-c/pixi**](/docs/adapters/)
[**@rig-c/phaser**](/docs/adapters/)
[**@rig-c/three**](/docs/adapters/) | `{{version:adapters}}` | `npm i @rig-c/pixi`
`npm i @rig-c/phaser`
`npm i @rig-c/three` | Plays a rig-c compiled model inside PixiJS 8, Phaser 4.2+, or Three.js 0.186+ through `@rig-c/play`'s posing core, with no Spine runtime. | {{published-versions}} diff --git a/src/build.test.ts b/src/build.test.ts index 22e76bf..c38267c 100644 --- a/src/build.test.ts +++ b/src/build.test.ts @@ -58,6 +58,8 @@ describe('isolated deployable site', () => { const cell = row!.slice(row!.indexOf('href="/docs/adapters/"')).match(/<\/td>\s*([\s\S]*?)<\/td>/)?.[1]; expect(cell).toBe('@rig-c/pixi 100.0.5
@rig-c/phaser 100.0.6
@rig-c/three 100.0.7'); expect(cell).not.toContain('<br'); + // One adapter package per line in the package cell too, as in the version and install cells. + expect(row!.match(/([\s\S]*?)<\/td>/)?.[1]).toBe('@rig-c/pixi
@rig-c/phaser
@rig-c/three'); expect(html).toContain('"softwareVersion": "100.0.0"'); }); @@ -67,7 +69,7 @@ describe('isolated deployable site', () => { for (const name of NAMES) expect(text.split('\n')).toContain(`- \`${name}\`: \`${versions.get(name)}\``); expect(text).not.toContain('{{version:'); } - const row = read('index.md').split('\n').find((line) => line.startsWith('| [**@rig-c/pixi**, **@rig-c/phaser**, **@rig-c/three**]'))!; + const row = read('index.md').split('\n').find((line) => line.startsWith('| [**@rig-c/pixi**](/docs/adapters/)
[**@rig-c/phaser**](/docs/adapters/)
[**@rig-c/three**](/docs/adapters/) |'))!; expect(row).toContain('`@rig-c/pixi 100.0.5`; `@rig-c/phaser 100.0.6`; `@rig-c/three 100.0.7`'); expect(row.endsWith('|')).toBe(true); expect(row.split('|')).toHaveLength(6);