hytopia 0.1.61 → 0.1.62

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 CHANGED
@@ -30,10 +30,6 @@ const path = require('path');
30
30
  // Initialize project with latest HYTOPIA SDK
31
31
  console.log('🔧 Initializing project with latest HYTOPIA SDK...');
32
32
 
33
- execSync('bun init --yes');
34
- execSync('bun add hytopia@latest');
35
- execSync('bun add @hytopia.com/assets');
36
-
37
33
  if (flags.template) {
38
34
  // Init from example template
39
35
  console.log(`🖨️ Initializing project with examples template "${flags.template}"...`);
@@ -46,7 +42,13 @@ const path = require('path');
46
42
  }
47
43
 
48
44
  fs.cpSync(templateDir, destDir, { recursive: true });
45
+
46
+ execSync('bun install');
49
47
  } else {
48
+ execSync('bun init --yes');
49
+ execSync('bun add hytopia@latest');
50
+ execSync('bun add @hytopia.com/assets');
51
+
50
52
  // Init from boilerplate
51
53
  console.log('🧑‍💻 Initializing project with boilerplate...');
52
54
 
@@ -8,7 +8,8 @@
8
8
  },
9
9
  "author": "",
10
10
  "license": "ISC",
11
- "devDependencies": {
12
- "@hytopia.com/assets": "^0.1.6"
11
+ "dependencies": {
12
+ "hytopia": "latest",
13
+ "@hytopia.com/assets": "latest"
13
14
  }
14
15
  }
@@ -9,7 +9,8 @@
9
9
  "keywords": [],
10
10
  "author": "",
11
11
  "license": "ISC",
12
- "devDependencies": {
13
- "@hytopia.com/assets": "^0.1.6"
12
+ "dependencies": {
13
+ "hytopia": "latest",
14
+ "@hytopia.com/assets": "latest"
14
15
  }
15
16
  }
@@ -9,7 +9,8 @@
9
9
  "keywords": [],
10
10
  "author": "",
11
11
  "license": "ISC",
12
- "devDependencies": {
13
- "@hytopia.com/assets": "^0.1.6"
12
+ "dependencies": {
13
+ "hytopia": "latest",
14
+ "@hytopia.com/assets": "latest"
14
15
  }
15
16
  }
@@ -9,7 +9,8 @@
9
9
  "keywords": [],
10
10
  "author": "",
11
11
  "license": "ISC",
12
- "devDependencies": {
13
- "@hytopia.com/assets": "^0.1.6"
12
+ "dependencies": {
13
+ "hytopia": "latest",
14
+ "@hytopia.com/assets": "latest"
14
15
  }
15
16
  }
@@ -9,7 +9,8 @@
9
9
  "keywords": [],
10
10
  "author": "",
11
11
  "license": "ISC",
12
- "devDependencies": {
13
- "@hytopia.com/assets": "^0.1.6"
12
+ "dependencies": {
13
+ "hytopia": "latest",
14
+ "@hytopia.com/assets": "latest"
14
15
  }
15
16
  }
@@ -9,7 +9,8 @@
9
9
  "keywords": [],
10
10
  "author": "",
11
11
  "license": "ISC",
12
- "devDependencies": {
13
- "@hytopia.com/assets": "^0.1.6"
12
+ "dependencies": {
13
+ "hytopia": "latest",
14
+ "@hytopia.com/assets": "latest"
14
15
  }
15
16
  }
@@ -9,7 +9,8 @@
9
9
  "keywords": [],
10
10
  "author": "",
11
11
  "license": "ISC",
12
- "devDependencies": {
13
- "@hytopia.com/assets": "^0.1.6"
12
+ "dependencies": {
13
+ "hytopia": "latest",
14
+ "@hytopia.com/assets": "latest"
14
15
  }
15
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hytopia",
3
- "version": "0.1.61",
3
+ "version": "0.1.62",
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": {