@babylonjsmarket/arcade 0.3.1 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjsmarket/arcade",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Reusable arcade-style components (mesh, camera, lights, input, physics, scoring, animation) for the @babylonjsmarket/ecs framework",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "author": "BabylonJS Market",
12
12
  "bin": {
13
- "arcade": "./dist/cli/index.js"
13
+ "arcade": "dist/cli/index.js"
14
14
  },
15
15
  "exports": {
16
16
  ".": {
@@ -92,20 +92,20 @@
92
92
  "picocolors": "^1.1.1"
93
93
  },
94
94
  "peerDependencies": {
95
- "@babylonjsmarket/viz-pro": "*",
95
+ "@babylonjsmarket/viz": "*",
96
96
  "solid-js": "^1.8.0"
97
97
  },
98
98
  "peerDependenciesMeta": {
99
99
  "solid-js": {
100
100
  "optional": true
101
101
  },
102
- "@babylonjsmarket/viz-pro": {
102
+ "@babylonjsmarket/viz": {
103
103
  "optional": true
104
104
  }
105
105
  },
106
106
  "devDependencies": {
107
107
  "@babylonjsmarket/eslint-plugin": "*",
108
- "@babylonjsmarket/viz-pro": "*",
108
+ "@babylonjsmarket/viz": "*",
109
109
  "@solidjs/testing-library": "^0.8.10",
110
110
  "@types/node": "^20.0.0",
111
111
  "@typescript-eslint/parser": "^8.0.0",
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * LineOfSight debug panel. Builds a declarative spec and EMITS it via the free
3
- * PanelHost base (ecs/viz) — no viz-pro import, so arcade stays decoupled from
3
+ * PanelHost base (@babylonjsmarket/viz) — no viz/solid import, so arcade stays decoupled from
4
4
  * the (private, dev-only) renderer. Sliders tune every LineOfSightComponent in
5
5
  * the scene live (read first, write all — pooled enemies included), so you can
6
6
  * dial FOV / range / ray count / block radius / check interval to find the
@@ -14,7 +14,7 @@ import {
14
14
  PanelHostSystem,
15
15
  type PanelHostInput,
16
16
  type PanelSpec,
17
- } from '@babylonjsmarket/ecs/viz'
17
+ } from '@babylonjsmarket/viz'
18
18
  import { LineOfSightComponent, LineOfSightInputEvents } from './LineOfSight.core'
19
19
 
20
20
  const PANEL_ID = 'line-of-sight'
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Re-exports of the generic viz infrastructure that now lives in
3
- * `@babylonjsmarket/ecs/viz`. Kept here so existing arcade .viz.tsx files
3
+ * `@babylonjsmarket/viz`. Kept here so existing arcade .viz.tsx files
4
4
  * can keep importing from '../_shared/viz' without churn.
5
5
  */
6
6
  export {
@@ -13,7 +13,7 @@ export {
13
13
  EventBusDebuggerSystem,
14
14
  EventBusDebuggerEvents,
15
15
  EventBusDebuggerPanel,
16
- } from '@babylonjsmarket/ecs/viz';
16
+ } from '@babylonjsmarket/viz';
17
17
  export type {
18
18
  PanelState,
19
19
  PanelConfig,
@@ -22,7 +22,7 @@ export type {
22
22
  EventBusDebuggerPanelProps,
23
23
  EventEntry,
24
24
  EntityGroup,
25
- } from '@babylonjsmarket/ecs/viz';
25
+ } from '@babylonjsmarket/viz';
26
26
  export { EntityListPanel, type EntityListPanelProps, type EntityListRow } from './EntityListPanel';
27
27
  export { mountFpsOverlay, type FpsOverlayHandle } from './FpsOverlay';
28
28
  export {
@@ -9,7 +9,7 @@
9
9
  import { describe, it, expect, beforeEach, afterEach } from 'vitest';
10
10
  import { World, EventBus, MockRendererAdapter } from '@babylonjsmarket/ecs';
11
11
  import { mountArcadeViz } from './mountArcadeViz';
12
- import { vizStore } from '@babylonjsmarket/ecs/viz';
12
+ import { vizStore } from '@babylonjsmarket/viz';
13
13
 
14
14
  describe('mountArcadeViz', () => {
15
15
  let world: World;
@@ -25,7 +25,7 @@ import {
25
25
  unmountVizRoot,
26
26
  EventBusDebuggerComponent,
27
27
  EventBusDebuggerSystem,
28
- } from '@babylonjsmarket/ecs/viz';
28
+ } from '@babylonjsmarket/viz';
29
29
  import { EntityListPanel, type EntityListRow } from './EntityListPanel';
30
30
  import { mountFpsOverlay, type FpsOverlayHandle } from './FpsOverlay';
31
31
 
package/src/viz.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * `@babylonjsmarket/arcade/viz` — arcade-specific viz helpers + re-exports
3
- * of the generic viz infrastructure from `@babylonjsmarket/ecs/viz`.
3
+ * of the generic viz infrastructure from `@babylonjsmarket/viz`.
4
4
  *
5
5
  * Apps import `mountArcadeViz` from here (one-line app boot that mounts the
6
6
  * Entities panel + the EventBus debugger). The other viz/panel files are
@@ -26,7 +26,7 @@ export {
26
26
  EventBusDebuggerSystem,
27
27
  EventBusDebuggerEvents,
28
28
  type EventBusDebuggerInput,
29
- } from '@babylonjsmarket/ecs/viz';
29
+ } from '@babylonjsmarket/viz';
30
30
 
31
31
  // Per-component panels shipped as source.
32
32
  export * from './Components/MeshPrimitive/MeshPrimitive.viz';