@threenative/playtest 0.2.0 → 0.3.1

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,10 +1,30 @@
1
1
  {
2
2
  "name": "@threenative/playtest",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
+ "license": "MIT",
4
5
  "description": "Scenario-driven playtest harness for Three.js games. Runs on plain Three.js with zero ThreeNative dependencies.",
6
+ "keywords": [
7
+ "threenative",
8
+ "three",
9
+ "threejs",
10
+ "testing",
11
+ "playwright",
12
+ "e2e",
13
+ "gamedev"
14
+ ],
15
+ "homepage": "https://github.com/ThreeNativeHQ/threenative#readme",
16
+ "bugs": {
17
+ "url": "https://github.com/ThreeNativeHQ/threenative/issues"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/ThreeNativeHQ/threenative.git",
22
+ "directory": "packages/playtest"
23
+ },
5
24
  "type": "module",
6
25
  "files": [
7
- "dist"
26
+ "dist",
27
+ "README.md"
8
28
  ],
9
29
  "main": "./dist/index.js",
10
30
  "module": "./dist/index.js",
@@ -14,10 +34,18 @@
14
34
  "types": "./dist/index.d.ts",
15
35
  "import": "./dist/index.js"
16
36
  },
37
+ "./protocol": {
38
+ "types": "./dist/protocol.d.ts",
39
+ "import": "./dist/protocol.js"
40
+ },
17
41
  "./three": {
18
42
  "types": "./dist/three/index.d.ts",
19
43
  "import": "./dist/three/index.js"
20
44
  },
45
+ "./capture": {
46
+ "types": "./dist/capture.d.ts",
47
+ "import": "./dist/capture.js"
48
+ },
21
49
  "./runner": {
22
50
  "types": "./dist/runner/index.d.ts",
23
51
  "import": "./dist/runner/index.js"
@@ -56,8 +84,8 @@
56
84
  "typescript": "5.9.3"
57
85
  },
58
86
  "scripts": {
59
- "build": "tsup --config tsup.config.ts && publint",
87
+ "build": "pnpm --workspace-root exec tsx scripts/generate-assertion-validators.ts --check && tsup --config tsup.config.ts && publint",
60
88
  "typecheck": "tsc --noEmit",
61
- "test": "pnpm run build && pnpm --dir ../.. exec vitest run --config vitest.config.ts && bash __tests__/orphan-cleanup.sh"
89
+ "test": "bash __tests__/orphan-cleanup.sh && publint --strict"
62
90
  }
63
91
  }