pixiboardjs 0.1.0-alpha.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/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # Changelog
2
+
3
+ All notable changes to `pixiboardjs` will be documented here.
4
+
5
+ ## Unreleased
6
+
7
+ - Added the P6 publishability workflow and artifact checks.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Xindong
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/README.md ADDED
@@ -0,0 +1,54 @@
1
+ # pixiboardjs
2
+
3
+ [![npm](https://img.shields.io/npm/v/pixiboardjs)](https://www.npmjs.com/package/pixiboardjs)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/xindong/pixiboardSDK/blob/main/LICENSE)
5
+
6
+ The single public PixiBoardJS package — a high-performance infinite canvas SDK
7
+ for large, media-heavy boards. It composes Core, Pixi renderer, capabilities,
8
+ and platform ports behind the `createPixiBoard()` facade without exposing the
9
+ mutable store or Pixi scene.
10
+
11
+ [Live demo](https://xindong.github.io/pixiboardSDK/) · [Full documentation & source](https://github.com/xindong/pixiboardSDK)
12
+
13
+ The facade performs one full renderer rebuild at mount. Later Core commits
14
+ forward detached immutable changed-node updates directly to the renderer, so a
15
+ single-node render commit does not create or scan a full document snapshot.
16
+
17
+ Install target for SDK consumers:
18
+
19
+ ```sh
20
+ pnpm add pixiboardjs
21
+ ```
22
+
23
+ The public surface is the package root. `./browser`, `./node` and `./types`
24
+ are explicit subpath contracts so consumers can select platform ports without
25
+ depending on internal workspace packages.
26
+
27
+ ```ts
28
+ import { createPixiBoard } from "pixiboardjs";
29
+
30
+ const board = await createPixiBoard({ container });
31
+ await board.ready;
32
+ const node = await board.nodes.create({
33
+ type: "card",
34
+ x: 0,
35
+ y: 0,
36
+ width: 240,
37
+ height: 120,
38
+ });
39
+ node.x(100);
40
+ await board.destroy();
41
+ ```
42
+
43
+ See [`VERSIONING.md`](VERSIONING.md) for the separate SDK, document, node,
44
+ plugin and Agent-tool version dimensions.
45
+
46
+ `pnpm build:release` reproducibly creates ESM JavaScript, source maps and
47
+ declaration artifacts under `dist/`. The public facade bundles private workspace
48
+ implementation packages and keeps `pixi.js` as its only registry runtime
49
+ dependency.
50
+
51
+ `pnpm api:report` refreshes the approved API reports. `pnpm release:check`
52
+ requires those real artifacts, packs the facade, and installs the tarball into
53
+ clean Node and Vite consumers outside the repository before checking API and
54
+ bundle-size budgets. It never creates or substitutes release artifacts.
package/VERSIONING.md ADDED
@@ -0,0 +1,24 @@
1
+ # Versioning policy
2
+
3
+ `pixiboardjs` follows normal SemVer. Until the first stable release, prerelease
4
+ identifiers (for example `0.1.0-alpha.0`) communicate internal-alpha status.
5
+
6
+ The following compatibility dimensions remain independent and must not be
7
+ encoded as one shared number:
8
+
9
+ - SDK package SemVer (`pixiboardjs` and public `@pixi-board/core` are intended
10
+ to move lockstep in 1.x).
11
+ - `schemaVersion` for persisted documents.
12
+ - `node typeVersion` for custom node payloads.
13
+ - Plugin API version (new SDK host starts at v3; no v2 adapter).
14
+ - Agent tool schema version.
15
+
16
+ Changesets keeps `pixiboardjs` and `@pixi-board/core` in a fixed version group.
17
+ Private workspace packages retain their internal versioning independently; they
18
+ are bundled into the main package and are not registry dependencies.
19
+
20
+ `pnpm release:check` verifies the real packed manifest and only runs external
21
+ consumers when generated JavaScript, declarations and API reports exist. It does
22
+ not build or invent artifacts. Internal packages stay private unless an ADR
23
+ explicitly makes them public; the planned `@pixi-board/plugin-sdk` is not the
24
+ current private `@pixi-board/plugin-api-v3` package.