hytopia 0.1.61 → 0.1.63

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
@@ -27,13 +27,14 @@ const path = require('path');
27
27
  if (command === 'init') {
28
28
  const destDir = process.cwd();
29
29
 
30
- // Initialize project with latest HYTOPIA SDK
31
- console.log('🔧 Initializing project with latest HYTOPIA SDK...');
32
-
30
+ // Grab the latest dependencies
33
31
  execSync('bun init --yes');
34
32
  execSync('bun add hytopia@latest');
35
33
  execSync('bun add @hytopia.com/assets');
36
34
 
35
+ // Initialize project with latest HYTOPIA SDK
36
+ console.log('🔧 Initializing project with latest HYTOPIA SDK...');
37
+
37
38
  if (flags.template) {
38
39
  // Init from example template
39
40
  console.log(`🖨️ Initializing project with examples template "${flags.template}"...`);
@@ -46,6 +47,8 @@ const path = require('path');
46
47
  }
47
48
 
48
49
  fs.cpSync(templateDir, destDir, { recursive: true });
50
+
51
+ execSync('bun install');
49
52
  } else {
50
53
  // Init from boilerplate
51
54
  console.log('🧑‍💻 Initializing project with boilerplate...');
@@ -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.63",
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": {