@asyra/render 0.5.2 → 0.5.3
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/README.md +40 -8
- package/package.json +15 -9
package/README.md
CHANGED
|
@@ -1,17 +1,49 @@
|
|
|
1
1
|
# `@asyra/render`
|
|
2
2
|
|
|
3
|
-
Engine-neutral
|
|
4
|
-
|
|
3
|
+
Engine-neutral projection, layers, strategies, interaction bridges, viewport orchestration, and demand-driven frames.
|
|
4
|
+
|
|
5
|
+
## Requirements
|
|
6
|
+
|
|
7
|
+
- Node.js 24.x
|
|
8
|
+
- Yarn 4.3.1 for this repository's maintained workflows
|
|
9
|
+
|
|
10
|
+
## Install
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install @asyra/render
|
|
14
|
+
```
|
|
5
15
|
|
|
6
16
|
```ts
|
|
7
17
|
import { RenderAdapter, RenderGraphics } from '@asyra/render'
|
|
8
18
|
```
|
|
9
19
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
20
|
+
Use only the package root and the explicitly documented public subpaths.
|
|
21
|
+
|
|
22
|
+
## Owns
|
|
23
|
+
|
|
24
|
+
- canonical-to-render projection, render registration, provider lifecycle through the abstract contract, interaction mapping, resources, and frame orchestration
|
|
25
|
+
|
|
26
|
+
## Does not own
|
|
27
|
+
|
|
28
|
+
- canonical documents, App Feature decisions, concrete SDK objects, Preset provider policy, or patch output for upstream bugs
|
|
29
|
+
|
|
30
|
+
## Start here
|
|
31
|
+
|
|
32
|
+
Compose it when canonical information needs visual projection or engine-backed interaction. Register strategies, layers, and targets before startup.
|
|
33
|
+
|
|
34
|
+
## Lifecycle and composition
|
|
35
|
+
|
|
36
|
+
Initialization validates and activates the selected provider. Dirty work requests one frame and explicit flush produces output. Provider, strategy, layer, interaction, resource, or cleanup failures remain explicit and never fall through to another engine.
|
|
37
|
+
|
|
38
|
+
## Learn more
|
|
39
|
+
|
|
40
|
+
- [Complete package guide](https://github.com/karote00/asyra/blob/main/docs/public/reference/packages/render.md)
|
|
41
|
+
- [Framework release support](https://github.com/karote00/asyra/blob/main/docs/ai/framework/RELEASE_SUPPORT.md)
|
|
13
42
|
|
|
14
|
-
##
|
|
43
|
+
## Support and policy
|
|
15
44
|
|
|
16
|
-
|
|
17
|
-
|
|
45
|
+
This repository does not accept external issues or contributions. You may use,
|
|
46
|
+
inspect, and fork the package under the [MIT License](https://github.com/karote00/asyra/blob/main/LICENSE).
|
|
47
|
+
Follow the [security policy](https://github.com/karote00/asyra/blob/main/SECURITY.md) for
|
|
48
|
+
security-sensitive reports and the [root policy](https://github.com/karote00/asyra) for the
|
|
49
|
+
current support boundary.
|
package/package.json
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asyra/render",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Render engine",
|
|
5
5
|
"author": "Asa Tsai",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/karote00/asyra.git",
|
|
10
|
+
"directory": "packages/render"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://asyra-framework.vercel.app",
|
|
7
13
|
"type": "module",
|
|
8
14
|
"engines": {
|
|
9
15
|
"node": "24.x"
|
|
@@ -41,18 +47,18 @@
|
|
|
41
47
|
"test:ci": "yarn has:test && vitest run --coverage --reporter=default --reporter=junit || echo 'No test files found. Skipping test:ci.'"
|
|
42
48
|
},
|
|
43
49
|
"dependencies": {
|
|
44
|
-
"@asyra/factory": "
|
|
45
|
-
"@asyra/reactive-events": "
|
|
46
|
-
"@asyra/render-engine": "
|
|
47
|
-
"@asyra/scene-tree": "
|
|
48
|
-
"@asyra/selection": "
|
|
49
|
-
"@asyra/utils": "
|
|
50
|
+
"@asyra/factory": "workspace:*",
|
|
51
|
+
"@asyra/reactive-events": "workspace:*",
|
|
52
|
+
"@asyra/render-engine": "workspace:*",
|
|
53
|
+
"@asyra/scene-tree": "workspace:*",
|
|
54
|
+
"@asyra/selection": "workspace:*",
|
|
55
|
+
"@asyra/utils": "workspace:*",
|
|
50
56
|
"earcut": "^2.2.4"
|
|
51
57
|
},
|
|
52
58
|
"devDependencies": {
|
|
53
59
|
"@types/earcut": "^2.1.4",
|
|
54
|
-
"@vitest/coverage-v8": "^2.
|
|
60
|
+
"@vitest/coverage-v8": "^3.2.6",
|
|
55
61
|
"typescript": "^5.7.2",
|
|
56
|
-
"vitest": "^2.
|
|
62
|
+
"vitest": "^3.2.6"
|
|
57
63
|
}
|
|
58
64
|
}
|