@zylem/game-lib 0.5.1 → 0.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zylem/game-lib",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "type": "module",
5
5
  "description": "A powerful and easy-to-use framework for creating simple 3D digital interactive applications using TypeScript.",
6
6
  "license": "MIT",
@@ -65,14 +65,6 @@
65
65
  "files": [
66
66
  "dist"
67
67
  ],
68
- "scripts": {
69
- "build": "tsup",
70
- "dev": "tsup --watch",
71
- "lint": "biome check .",
72
- "typecheck": "tsc --noEmit",
73
- "test": "vitest --reporter=verbose",
74
- "coverage": "vitest run --coverage"
75
- },
76
68
  "dependencies": {
77
69
  "@dimforge/rapier3d-compat": "^0.11.2",
78
70
  "@sinclair/typebox": "^0.34.41",
@@ -105,5 +97,13 @@
105
97
  "typescript": "5.8.2",
106
98
  "vite-plugin-solid": "^2.11.8",
107
99
  "vitest": "^4.0.9"
100
+ },
101
+ "scripts": {
102
+ "build": "tsup",
103
+ "dev": "tsup --watch",
104
+ "lint": "biome check .",
105
+ "typecheck": "tsc --noEmit",
106
+ "test": "vitest --reporter=verbose",
107
+ "coverage": "vitest run --coverage"
108
108
  }
109
- }
109
+ }
@@ -1,11 +0,0 @@
1
- import { Vector2 } from 'three';
2
- import { G as GameEntity } from './entity-bQElAdpo.js';
3
- import { a as Stage } from './stage-CrmY7V0i.js';
4
-
5
- interface EntitySpawner {
6
- spawn: (stage: Stage, x: number, y: number) => Promise<GameEntity<any>>;
7
- spawnRelative: (source: any, stage: Stage, offset?: Vector2) => Promise<any | void>;
8
- }
9
- declare function entitySpawner(factory: (x: number, y: number) => Promise<any> | GameEntity<any>): EntitySpawner;
10
-
11
- export { entitySpawner as e };