@helix3/helix-cli 0.1.18-helix3.309 → 0.1.18-helix3.310
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/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/lib.d.ts +7 -3
- package/dist/lib.js +72 -23
- package/dist/lib.js.map +1 -1
- package/dist/screenshot/captureScreenshots.d.ts +3 -0
- package/dist/screenshot/captureScreenshots.js +43 -7
- package/dist/screenshot/captureScreenshots.js.map +1 -1
- package/dist/screenshot/publishThumbnail.d.ts +4 -0
- package/dist/screenshot/publishThumbnail.js +56 -0
- package/dist/screenshot/publishThumbnail.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_abs.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_expression.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_jbeam.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_materials.cpython-312.pyc +0 -0
package/dist/index.js
CHANGED
|
@@ -961,7 +961,7 @@ program
|
|
|
961
961
|
.description('Publish a world to HELIX Instant')
|
|
962
962
|
.option('--placement-bindings <file>', 'JSON worldId/placements mapping from normal reservation receipts')
|
|
963
963
|
.argument('[directory]', 'bundle directory', '.')
|
|
964
|
-
.option('--thumbnail <file>', 'cover image (png, jpg/jpeg, webp, avif, or gif); otherwise
|
|
964
|
+
.option('--thumbnail <file>', 'cover image (png, jpg/jpeg, webp, avif, or gif); otherwise preserve a custom cover, use thumbnail.<ext>, or automatically capture the ready world')
|
|
965
965
|
.option('--skip-subpath-check', 'skip the pre-publish sub-path load check (not recommended: it is the only gate that serves the bundle the way production does)')
|
|
966
966
|
.option('--skip-realizability-check', 'skip the pre-publish server-realizability gate (not recommended: it is what stops you publishing a module world whose banks the server cannot resolve)')
|
|
967
967
|
.option('--description <text>', `catalog description, max ${lib_1.WORLD_DESCRIPTION_MAX} chars (pass "" to clear). helix.json cannot carry this — the manifest schema forbids unknown fields`)
|
|
@@ -1002,6 +1002,7 @@ program
|
|
|
1002
1002
|
console.log('Checking the bundle loads from a sub-path…');
|
|
1003
1003
|
const check = await (0, lib_1.verifySubPath)({
|
|
1004
1004
|
directory: (0, node_path_1.resolve)(directory),
|
|
1005
|
+
browser: 'bundled',
|
|
1005
1006
|
onProgress: (msg) => console.log(` ${msg}`),
|
|
1006
1007
|
});
|
|
1007
1008
|
if (check.findings.length) {
|
|
@@ -1011,8 +1012,8 @@ program
|
|
|
1011
1012
|
console.log(' ✔ loads from a sub-path');
|
|
1012
1013
|
}
|
|
1013
1014
|
catch (err) {
|
|
1014
|
-
|
|
1015
|
-
|
|
1015
|
+
fail(`✖ sub-path check could not run: ${err instanceof Error ? err.message : String(err)}\n` +
|
|
1016
|
+
'Nothing was published. Install the bundled browser with helix screenshot --install, or explicitly use --skip-subpath-check.');
|
|
1016
1017
|
}
|
|
1017
1018
|
}
|
|
1018
1019
|
try {
|