@rig-c/play 0.0.0-stage → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 firejune (Joon Kyoung)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/NOTICE.md ADDED
@@ -0,0 +1,57 @@
1
+ # Third-party notices
2
+
3
+ ## Spine Runtimes
4
+
5
+ **The published package links nothing from Esoteric Software.** An install of
6
+ `rig-play` (or of `spine-html`, the same files under the name the package first
7
+ shipped as) carries one JavaScript module, `dist/index.js`, plus type
8
+ declarations, and that module bundles two things: the renderer, and
9
+ `rig-c/core` (MIT), rigc's own posing core, which poses the compiled model
10
+ document `rigc build` writes. No part of the
11
+ [Spine Runtimes](https://github.com/EsotericSoftware/spine-runtimes) is in it,
12
+ imported by it, or required beside it.
13
+
14
+ **This repository links no Spine runtime either**, since #63.
15
+ `@esotericsoftware/spine-core` and `@esotericsoftware/spine-webgl` are not
16
+ dependencies of any kind — not `dependencies`, not `peerDependencies`, not
17
+ `devDependencies` — and no lockfile entry names them. The test suite and the
18
+ benchmark compare the package's two render modes with each other; the poses
19
+ are rig-c's, held to the Spine runtime by rig-c's own CI, not here.
20
+ `tests/package.spec.ts` asserts all of that, and that nothing the published
21
+ package contains names an `@esotericsoftware/` package.
22
+
23
+ One thing in this repository is Spine data, and it is worth stating where it
24
+ sits. `rigc build`, which `scripts/fetch-assets.sh` runs to make the fixtures,
25
+ writes **Spine skeleton data** (`skeleton.json` and `skeleton.atlas`) beside
26
+ each model document, into the gitignored `public/rigs/`. Nothing here reads
27
+ it, and it is neither committed nor published.
28
+
29
+ ### What that means, as a chain of facts
30
+
31
+ rig-play's own code is MIT (see `LICENSE`). The following is a restatement of
32
+ Esoteric Software's terms, not a licence term of this project:
33
+
34
+ 1. rigc writes two things side by side: the model document this package plays,
35
+ and Spine skeleton data.
36
+ 2. A product that plays that Spine data with **a Spine Runtime** has integrated
37
+ the Spine Runtimes, licensed under the
38
+ [Spine Runtimes License Agreement](https://esotericsoftware.com/spine-runtimes-license).
39
+ 3. That licence permits integration **under the terms and conditions of
40
+ Section 2 of the
41
+ [Spine Editor License Agreement](https://esotericsoftware.com/spine-editor-license)**,
42
+ or otherwise **provided that each user of the Products obtains their own
43
+ Spine Editor license** and any redistribution of the Products includes the
44
+ licence and copyright notice — the two routes, in its words.
45
+ 4. Playing the model document with this package integrates no Spine runtime,
46
+ because the package links none.
47
+
48
+ > **What a consumer does with rigc's Spine-format output is governed by
49
+ > Esoteric Software's terms**, not by this package — rig-play neither adds those
50
+ > terms nor removes them.
51
+
52
+ ## Example assets
53
+
54
+ None are fetched or redistributed. The rigs the demo, the tests and the benchmark
55
+ read are rigc's gallery rigs — rigc's own procedural art, built from a pinned rigc
56
+ tag by `scripts/fetch-assets.sh` — and this repository's test rigs under
57
+ `tests/rigs/`, whose parts `tests/rigs/make_parts.ts` paints.