gamedev 0.0.6 → 0.0.8
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/app-server/commands.js +2 -4
- package/bin/gamedev.mjs +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/public/admin.html +2 -2
- package/build/public/index.html +2 -2
- package/package.json +1 -1
- package/src/server/db.js +2 -2
- package/src/world/assets/The_Meadow.glb +0 -0
package/app-server/commands.js
CHANGED
|
@@ -317,7 +317,7 @@ export class HyperfyCLI {
|
|
|
317
317
|
|
|
318
318
|
const blueprintPath = path.join(appDir, `${appName}.json`)
|
|
319
319
|
const blueprint = {
|
|
320
|
-
model: 'assets/
|
|
320
|
+
model: 'assets/Model.glb',
|
|
321
321
|
scriptFormat: 'module',
|
|
322
322
|
image: {
|
|
323
323
|
url: 'assets/Model.png',
|
|
@@ -507,9 +507,7 @@ export class HyperfyCLI {
|
|
|
507
507
|
return false
|
|
508
508
|
}
|
|
509
509
|
|
|
510
|
-
const blueprints = listLocalBlueprints(this.appsDir).filter(item =>
|
|
511
|
-
appName ? item.appName === appName : true
|
|
512
|
-
)
|
|
510
|
+
const blueprints = listLocalBlueprints(this.appsDir).filter(item => (appName ? item.appName === appName : true))
|
|
513
511
|
if (!blueprints.length) {
|
|
514
512
|
console.error(`❌ No blueprints found${appName ? ` for ${appName}` : ''}`)
|
|
515
513
|
return false
|
package/bin/gamedev.mjs
CHANGED
|
@@ -176,7 +176,7 @@ async function checkForUpdates() {
|
|
|
176
176
|
const npxCommand = `npx ${pkg.name}@latest`
|
|
177
177
|
console.warn(
|
|
178
178
|
`Update available for ${pkg.name}: ${pkg.version} -> ${latest}\n` +
|
|
179
|
-
`Run "${updateCommand}" to update your project
|
|
179
|
+
`Run "${updateCommand}" to update your project.`
|
|
180
180
|
)
|
|
181
181
|
}
|
|
182
182
|
|
package/build/index.js
CHANGED
|
@@ -53343,12 +53343,12 @@ var migrations = [
|
|
|
53343
53343
|
data: JSON.stringify({
|
|
53344
53344
|
id: blueprintId,
|
|
53345
53345
|
version: 0,
|
|
53346
|
-
name: "
|
|
53346
|
+
name: "Scene",
|
|
53347
53347
|
image: null,
|
|
53348
53348
|
author: null,
|
|
53349
53349
|
url: null,
|
|
53350
53350
|
desc: null,
|
|
53351
|
-
model: "asset://
|
|
53351
|
+
model: "asset://Model.glb",
|
|
53352
53352
|
script: "asset://scene.js",
|
|
53353
53353
|
scriptEntry: "scene.js",
|
|
53354
53354
|
scriptFiles: {
|