@plasius/scene-object 0.1.4 → 0.1.6

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.
Files changed (2) hide show
  1. package/README.md +21 -0
  2. package/package.json +8 -4
package/README.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @plasius/scene-object
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@plasius/scene-object.svg)](https://www.npmjs.com/package/@plasius/scene-object)
4
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/Plasius-LTD/scene-object/ci.yml?branch=main&label=build&style=flat)](https://github.com/Plasius-LTD/scene-object/actions/workflows/ci.yml)
5
+ [![coverage](https://img.shields.io/codecov/c/github/Plasius-LTD/scene-object)](https://codecov.io/gh/Plasius-LTD/scene-object)
6
+ [![License](https://img.shields.io/github/license/Plasius-LTD/scene-object)](./LICENSE)
7
+ [![Code of Conduct](https://img.shields.io/badge/code%20of%20conduct-yes-blue.svg)](./CODE_OF_CONDUCT.md)
8
+ [![Security Policy](https://img.shields.io/badge/security%20policy-yes-orange.svg)](./SECURITY.md)
9
+ [![Changelog](https://img.shields.io/badge/changelog-md-blue.svg)](./CHANGELOG.md)
10
+
3
11
  Reusable contracts for scene objects, transforms, bounds, attachments, and snapshot state.
4
12
 
5
13
  ## Installation
@@ -43,3 +51,16 @@ npm run pack:check
43
51
  - state visibility and object references must be structurally valid
44
52
  - Player System anchors must reference exported object attachment points
45
53
  - focus screens must bind to `focus-pane` anchors and declare a bounded presentation variant
54
+
55
+ <!-- BEGIN PLASIUS RELEASE INTEGRITY -->
56
+ ## Release integrity
57
+
58
+ CI keeps the administrative contributor registry outside Git and npm package
59
+ artifacts using exact, case-normalised path checks. CI runs on approved
60
+ GitHub-hosted runners for same-repository pull requests and `main`, with
61
+ package-manager cache finalization disabled; fork PR code is denied.
62
+ Publication uses the GitHub-hosted `production` job with Node 24 and a pinned
63
+ npm 11.6.2 client. It is token-free and proceeds only while the prepared SHA
64
+ is the exact `main` head after successful push-triggered CI. Do not dispatch CD
65
+ until the npm trusted-publisher binding is verified.
66
+ <!-- END PLASIUS RELEASE INTEGRITY -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/scene-object",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Reusable scene-object transforms, bounds, attachment points, and snapshot contracts",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -31,7 +31,8 @@
31
31
  "prepare": "npm run build",
32
32
  "clean": "rimraf dist",
33
33
  "test:coverage": "vitest run --coverage",
34
- "pack:check": "node scripts/verify-public-package.cjs"
34
+ "pack:check": "node scripts/verify-public-package.cjs",
35
+ "prepublishOnly": "npm run build && npm run pack:check"
35
36
  },
36
37
  "keywords": [
37
38
  "scene-object",
@@ -61,13 +62,13 @@
61
62
  "@types/node": "^25.7.0",
62
63
  "@typescript-eslint/eslint-plugin": "^8.59.3",
63
64
  "@typescript-eslint/parser": "^8.59.3",
64
- "@vitest/coverage-v8": "^4.1.6",
65
+ "@vitest/coverage-v8": "^4.1.11",
65
66
  "eslint": "^10.3.0",
66
67
  "globals": "^17.6.0",
67
68
  "tsup": "^8.5.1",
68
69
  "tsx": "^4.21.0",
69
70
  "typescript": "^6.0.3",
70
- "vitest": "^4.1.6"
71
+ "vitest": "^4.1.11"
71
72
  },
72
73
  "publishConfig": {
73
74
  "access": "public"
@@ -83,6 +84,9 @@
83
84
  }
84
85
  ],
85
86
  "overrides": {
87
+ "brace-expansion": "5.0.9",
88
+ "nanoid": "3.3.18",
89
+ "esbuild": "^0.28.1",
86
90
  "minimatch": "^10.2.1"
87
91
  },
88
92
  "engines": {