hytopia 0.1.62 → 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 +5 -4
- package/package.json +1 -1
package/bin/scripts.js
CHANGED
@@ -27,6 +27,11 @@ const path = require('path');
|
|
27
27
|
if (command === 'init') {
|
28
28
|
const destDir = process.cwd();
|
29
29
|
|
30
|
+
// Grab the latest dependencies
|
31
|
+
execSync('bun init --yes');
|
32
|
+
execSync('bun add hytopia@latest');
|
33
|
+
execSync('bun add @hytopia.com/assets');
|
34
|
+
|
30
35
|
// Initialize project with latest HYTOPIA SDK
|
31
36
|
console.log('🔧 Initializing project with latest HYTOPIA SDK...');
|
32
37
|
|
@@ -45,10 +50,6 @@ const path = require('path');
|
|
45
50
|
|
46
51
|
execSync('bun install');
|
47
52
|
} else {
|
48
|
-
execSync('bun init --yes');
|
49
|
-
execSync('bun add hytopia@latest');
|
50
|
-
execSync('bun add @hytopia.com/assets');
|
51
|
-
|
52
53
|
// Init from boilerplate
|
53
54
|
console.log('🧑💻 Initializing project with boilerplate...');
|
54
55
|
|