Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 (`<img>` with CSS `matrix()`) or one `<canvas>` per player. |
| [**@rig-c/pixi**, **@rig-c/phaser**, **@rig-c/three**](/docs/adapters/) | `{{version:adapters}}` | `npm i @rig-c/pixi`<br>`npm i @rig-c/phaser`<br>`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/)<br>[**@rig-c/phaser**](/docs/adapters/)<br>[**@rig-c/three**](/docs/adapters/) | `{{version:adapters}}` | `npm i @rig-c/pixi`<br>`npm i @rig-c/phaser`<br>`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}}

Expand Down
4 changes: 3 additions & 1 deletion src/build.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ describe('isolated deployable site', () => {
const cell = row!.slice(row!.indexOf('href="/docs/adapters/"')).match(/<\/td>\s*<td>([\s\S]*?)<\/td>/)?.[1];
expect(cell).toBe('<code>@rig-c/pixi 100.0.5</code><br><code>@rig-c/phaser 100.0.6</code><br><code>@rig-c/three 100.0.7</code>');
expect(cell).not.toContain('&lt;br');
// One adapter package per line in the package cell too, as in the version and install cells.
expect(row!.match(/<td>([\s\S]*?)<\/td>/)?.[1]).toBe('<a href="/docs/adapters/"><strong>@rig-c/pixi</strong></a><br><a href="/docs/adapters/"><strong>@rig-c/phaser</strong></a><br><a href="/docs/adapters/"><strong>@rig-c/three</strong></a>');
expect(html).toContain('"softwareVersion": "100.0.0"');
});

Expand All @@ -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/)<br>[**@rig-c/phaser**](/docs/adapters/)<br>[**@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);
Expand Down
Loading