hytopia 0.5.2 → 0.5.4
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/bin/scripts.js +1 -0
- package/bin/writeVersion.js +1 -1
- package/bun.lock +2 -1
- package/examples/ai-agents/package.json +2 -1
- package/examples/big-world/package.json +2 -1
- package/examples/block-entity/package.json +2 -1
- package/examples/child-entity/package.json +2 -1
- package/examples/custom-ui/package.json +2 -1
- package/examples/entity-controller/package.json +2 -1
- package/examples/entity-spawn/package.json +2 -1
- package/examples/hole-in-wall-game/package.json +2 -1
- package/examples/hygrounds/package.json +2 -1
- package/examples/lighting/package.json +2 -1
- package/examples/mobile-controls/package.json +2 -1
- package/examples/pathfinding/package.json +2 -1
- package/examples/payload-game/package.json +2 -1
- package/examples/player-persistence/package.json +2 -1
- package/examples/wall-dodge-game/package.json +2 -1
- package/examples/world-switching/package.json +2 -1
- package/examples/zombies-fps/package.json +2 -1
- package/package.json +5 -3
- package/server.js +1 -1
package/bin/scripts.js
CHANGED
package/bin/writeVersion.js
CHANGED
@@ -6,7 +6,7 @@ const package = JSON.parse(fs.readFileSync('./package.json', 'utf8'));
|
|
6
6
|
const server = fs.readFileSync('./server.js', 'utf8');
|
7
7
|
|
8
8
|
if (!server.includes('__DEV_SDK_VERSION__')) {
|
9
|
-
throw new Error('__DEV_SDK_VERSION__ not found in server.js. Please create a fresh build before publishing
|
9
|
+
throw new Error('__DEV_SDK_VERSION__ not found in server.js. Please create a fresh build before publishing! You can do this by running: cd ../server && bun run build.');
|
10
10
|
}
|
11
11
|
|
12
12
|
fs.writeFileSync('./server.js', server.replace(/__DEV_SDK_VERSION__/g, package.version));
|
package/bun.lock
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "hytopia",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.4",
|
4
4
|
"description": "The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.",
|
5
5
|
"main": "server.js",
|
6
6
|
"bin": {
|
@@ -48,12 +48,14 @@
|
|
48
48
|
},
|
49
49
|
"homepage": "https://github.com/hytopiagg/sdk#readme",
|
50
50
|
"dependencies": {
|
51
|
+
"@gltf-transform/cli": "4.1.1",
|
51
52
|
"archiver": "^7.0.1",
|
52
53
|
"mediasoup": "3.15.7",
|
53
|
-
"
|
54
|
+
"sharp": "0.33.5"
|
54
55
|
},
|
55
56
|
"trustedDependencies": [
|
56
|
-
"mediasoup"
|
57
|
+
"mediasoup",
|
58
|
+
"sharp"
|
57
59
|
],
|
58
60
|
"scripts": {
|
59
61
|
"prepublishOnly": "node ./bin/writeVersion.js"
|