@frsource/babylon-box3d 1.1.0 → 1.1.2
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/README.md +11 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -71,10 +71,18 @@ compiled `box3d-wasm@0.2.0` binary by instantiating it and inspecting the live p
|
|
|
71
71
|
raw access. Both are ambient module declarations; `index.ts` pulls them into the program via triple-slash
|
|
72
72
|
references, so any package that does `import { Box3DPlugin } from '@frsource/babylon-box3d'` gets them for free --
|
|
73
73
|
no `tsconfig.json` changes needed, _as long as you access box3d-wasm's types only through `Box3DPlugin` itself_
|
|
74
|
-
(e.g. `plugin.world.createWheelJoint(...)`).
|
|
74
|
+
(e.g. `plugin.world.createWheelJoint(...)`).
|
|
75
|
+
|
|
76
|
+
If your own code also writes a direct `import ... from 'box3d-wasm'`,
|
|
75
77
|
TypeScript won't honor a dependency's augmentation of an already-resolved-but-untyped module for that import (see
|
|
76
|
-
TS2665)
|
|
77
|
-
|
|
78
|
+
TS2665). In that case, we recommend adding "include" property into your tsconfig.json like on the example:
|
|
79
|
+
|
|
80
|
+
```json
|
|
81
|
+
// tsconfig.json
|
|
82
|
+
{
|
|
83
|
+
"include": ["node_modules/@frsource/babylon-box3d/dist"]
|
|
84
|
+
}
|
|
85
|
+
```
|
|
78
86
|
|
|
79
87
|
## Demo
|
|
80
88
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frsource/babylon-box3d",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Babylon.js Physics V2 plugin backed by box3d-wasm (Erin Catto's Box3D compiled to WebAssembly)",
|
|
5
5
|
"repository": "https://github.com/FRSOURCE/babylon-box3d.git",
|
|
6
6
|
"homepage": "https://github.com/FRSOURCE/babylon-box3d",
|
|
@@ -49,16 +49,16 @@
|
|
|
49
49
|
"@frsource/eslint-config": "1.85.2",
|
|
50
50
|
"@frsource/prettier-config": "1.47.2",
|
|
51
51
|
"@frsource/semantic-release-config": "1.116.2",
|
|
52
|
-
"@vitest/coverage-v8": "4.1.
|
|
53
|
-
"@vitest/ui": "4.1.
|
|
52
|
+
"@vitest/coverage-v8": "4.1.10",
|
|
53
|
+
"@vitest/ui": "4.1.10",
|
|
54
54
|
"del-cli": "7.0.0",
|
|
55
55
|
"eslint": "10.5.0",
|
|
56
56
|
"globals": "17.7.0",
|
|
57
57
|
"tsup": "8.5.1",
|
|
58
58
|
"prettier": "3.8.4",
|
|
59
|
-
"semantic-release": "25.0.
|
|
59
|
+
"semantic-release": "25.0.8",
|
|
60
60
|
"typescript": "^6.0.3",
|
|
61
|
-
"vitest": "4.1.
|
|
61
|
+
"vitest": "4.1.10"
|
|
62
62
|
},
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|