@blcklab/anyo-avatar-vue 0.2.0-alpha.7 → 0.2.0-alpha.8
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/CHANGELOG.md +15 -0
- package/README.md +5 -6
- package/package.json +8 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0-alpha.8
|
|
4
|
+
|
|
5
|
+
- Simplified installation so consumers only need `@blcklab/anyo-avatar-vue` in an existing Vue 3 app.
|
|
6
|
+
- Moved `@blcklab/anyo-avatar-viewer`, `@blcklab/anyo-avatar`, and `@blcklab/sekai64` from peer dependencies to runtime dependencies.
|
|
7
|
+
- Kept `vue` as the only peer dependency so the host application continues to own its Vue instance.
|
|
8
|
+
- Updated package contract checks to validate dependency ownership without hardcoding a specific prerelease version.
|
|
9
|
+
- Simplified the manual-loader example to consume only Vue and the local adapter package.
|
|
10
|
+
|
|
11
|
+
## 0.2.0-alpha.7
|
|
12
|
+
|
|
13
|
+
- Added object-form `view` configuration with optional `elevation` for eye-level and subtle low/high-angle portrait composition.
|
|
14
|
+
- Exposed `setElevation(angleRadians)` through the public Vue viewer handle.
|
|
15
|
+
- Updated the Avatar Viewer compatibility baseline to `0.2.0-alpha.13` for elevation-aware semantic views.
|
|
16
|
+
- Kept responsive framing and semantic front/back/left/right view direction stable while adjusting camera elevation.
|
|
17
|
+
|
|
3
18
|
## 0.2.0-alpha.6
|
|
4
19
|
|
|
5
20
|
- Added declarative `view="front" | "back" | "left" | "right"` support backed by Avatar Viewer's version-aware semantic camera views.
|
package/README.md
CHANGED
|
@@ -2,17 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Vue 3 plugin and dynamic avatar component for `@blcklab/anyo-avatar-viewer`, including portfolio/viewer/studio presets, full viewer controls, manual file loading, JSON scene props, per-prop animation, and high-end glTF loading options.
|
|
4
4
|
|
|
5
|
-
> `0.2.0-alpha.
|
|
5
|
+
> `0.2.0-alpha.8` is the current prerelease line. Published prereleases use the `next` npm dist-tag.
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install
|
|
11
|
-
@blcklab/anyo-avatar-viewer@next \
|
|
12
|
-
@blcklab/anyo-avatar \
|
|
13
|
-
@blcklab/sekai64@next
|
|
10
|
+
npm install @blcklab/anyo-avatar-vue@next
|
|
14
11
|
```
|
|
15
12
|
|
|
13
|
+
`vue` remains a peer dependency owned by the host application. The Vue adapter installs its compatible BLCK LAB runtime stack (`@blcklab/anyo-avatar-viewer`, `@blcklab/anyo-avatar`, and `@blcklab/sekai64`) automatically.
|
|
14
|
+
|
|
16
15
|
```ts
|
|
17
16
|
import { createApp } from 'vue'
|
|
18
17
|
import App from './App.vue'
|
|
@@ -34,7 +33,7 @@ import '@blcklab/anyo-avatar-vue/style.css'
|
|
|
34
33
|
|
|
35
34
|
The package build copies `src/style.css` to `dist/style.css`; the CSS is preserved by the package `sideEffects` contract. Run `npm run check` before publishing: it verifies that the CSS, JavaScript entry point, and declarations are **actually included** in the npm pack manifest. The check deliberately uses `npm pack --ignore-scripts --dry-run`, so an omitted build artifact cannot be silently restored by `prepack`.
|
|
36
35
|
|
|
37
|
-
`
|
|
36
|
+
Run `npm run check` before publishing a prerelease. The package contract verifies the Vue peer, bundled BLCK LAB runtime dependencies, generated exports, and packed npm contents.
|
|
38
37
|
|
|
39
38
|
## Portfolio
|
|
40
39
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blcklab/anyo-avatar-vue",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.8",
|
|
4
4
|
"description": "Vue 3 adapter, dynamic avatar component, and high-end host scene layer for @blcklab/anyo-avatar-viewer.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -26,18 +26,17 @@
|
|
|
26
26
|
"prepack": "npm run build",
|
|
27
27
|
"prepublishOnly": "npm run check"
|
|
28
28
|
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@blcklab/anyo-avatar-viewer": "0.2.0-alpha.13",
|
|
31
|
+
"@blcklab/anyo-avatar": "0.2.2",
|
|
32
|
+
"@blcklab/sekai64": "0.8.0-rc.56"
|
|
33
|
+
},
|
|
29
34
|
"peerDependencies": {
|
|
30
|
-
"vue": "^3.5.0"
|
|
31
|
-
"@blcklab/anyo-avatar-viewer": "^0.2.0-alpha.13",
|
|
32
|
-
"@blcklab/anyo-avatar": "^0.2.0",
|
|
33
|
-
"@blcklab/sekai64": ">=0.8.0-0 <0.9.0"
|
|
35
|
+
"vue": "^3.5.0"
|
|
34
36
|
},
|
|
35
37
|
"devDependencies": {
|
|
36
38
|
"typescript": "5.8.3",
|
|
37
|
-
"vue": "^3.5.0"
|
|
38
|
-
"@blcklab/anyo-avatar-viewer": "0.2.0-alpha.13",
|
|
39
|
-
"@blcklab/anyo-avatar": "0.2.2",
|
|
40
|
-
"@blcklab/sekai64": "0.8.0-rc.56"
|
|
39
|
+
"vue": "^3.5.0"
|
|
41
40
|
},
|
|
42
41
|
"engines": {
|
|
43
42
|
"node": ">=22.12.0"
|