@helix3/helix-cli 0.1.18-helix3.271 → 0.1.18-helix3.273
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 +11 -0
- package/dist/index.js.map +1 -1
- package/dist/lib.d.ts +20 -0
- package/dist/lib.js +11 -1
- package/dist/lib.js.map +1 -1
- 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
|
@@ -1516,9 +1516,20 @@ item
|
|
|
1516
1516
|
if (result.initialDistribution) {
|
|
1517
1517
|
console.log(` route: ${result.initialDistribution.channel} · ${result.initialDistribution.priceLix === 0 ? 'Claim' : `Buy ${result.initialDistribution.priceLix} LIX`}`);
|
|
1518
1518
|
}
|
|
1519
|
+
const addOnPackage = result.addOnPackage;
|
|
1520
|
+
if (addOnPackage?.packagePin) {
|
|
1521
|
+
console.log(` package: addon ${addOnPackage.packagePin.packageId}@${addOnPackage.packagePin.version}`);
|
|
1522
|
+
}
|
|
1519
1523
|
console.log(` id: ${result.id}`);
|
|
1520
1524
|
for (const warning of result.verification.warnings)
|
|
1521
1525
|
console.log(` ⚠ ${warning}`);
|
|
1526
|
+
if (addOnPackage && (addOnPackage.state === 'failed' || addOnPackage.state === 'skipped')) {
|
|
1527
|
+
// Published, but not a Continuum Package yet: hidden from inventory and
|
|
1528
|
+
// listings until adopted. Republishing would mint a second item.
|
|
1529
|
+
console.error(`✖ Published, but sealing its add-on Package ${addOnPackage.state === 'failed' ? `failed: ${addOnPackage.error ?? 'unknown error'}` : `was skipped: ${addOnPackage.reason ?? 'unknown reason'}`}.\n` +
|
|
1530
|
+
` Do not publish it again. An admin finishes it with POST /api/v1/admin/publications/add-on-packages {"itemIds":["${result.id}"],"dryRun":false}.`);
|
|
1531
|
+
process.exitCode = 3;
|
|
1532
|
+
}
|
|
1522
1533
|
}
|
|
1523
1534
|
catch (err) {
|
|
1524
1535
|
fail(err instanceof lib_1.ApiError
|