Bare standalone packaging — scripts/bare-standalone.cjs, make.cjs, hosts.cjs, prepare-pack.mjs (kernel sync, node_modules flatten, optional sshcrypto.node omit)
Release rolling / release (push) Failing after 1m32s

Entries + OTA — bin/bare-os-*.mjs + lib/bare-os-ota.mjs (pear-runtime, --no-updates / BARE_OS_OTA_DISABLE)
Upgrade links on seeder/booter package.json
Gitea rolling — .gitea/workflows/release-rolling.yml + scripts/gitea-rolling-release.sh (RELEASE_TOKEN)
by-arch + pear-ci — scripts/pear-stage-by-arch.sh, ci/snapshot-*.json (PEAR_PRIMARY_KEY)
pear run retired from npm/PM2/docs; see docs/BINARY-RELEASE.md
This commit is contained in:
Raven Scott
2026-07-31 11:44:04 -04:00
parent 026b7ba4ab
commit 2b7025b22d
35 changed files with 2672 additions and 380 deletions
+32
View File
@@ -0,0 +1,32 @@
/**
* Canonical Bare OS binary host list (64-bit only — no ia32 / armv7).
* Used by make.cjs, bare-standalone.cjs, and release scripts.
*/
'use strict'
/** @type {readonly string[]} */
const ALL_64 = Object.freeze([
'linux-x64',
'linux-arm64',
'darwin-x64',
'darwin-arm64',
'win32-x64',
'win32-arm64',
])
/**
* @param {string|undefined} envVal comma-separated override
* @param {readonly string[]} fallback
*/
function parseHostList(envVal, fallback = ALL_64) {
if (!envVal || !String(envVal).trim()) return [...fallback]
return String(envVal)
.split(',')
.map((s) => s.trim())
.filter(Boolean)
}
module.exports = {
ALL_64,
parseHostList,
}