mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-01 20:33:50 +00:00
Ship OpenFleet contracts and the OpenWall draft proposal (#177)
* feat: add OpenFleet membership and CoinPay rental contracts * Propose OpenWall broadcasts and direct messaging contracts * release: prepare OpenFleet and OpenWall public contracts * fix: use tested npm for compatible CLI installs
This commit is contained in:
parent
a333726a1e
commit
45c7629953
35 changed files with 2021 additions and 12 deletions
|
|
@ -134,7 +134,21 @@ do_install() {
|
|||
ok "downloaded${short_sha:+ ($short_sha)}"
|
||||
|
||||
info "installing dependencies (this can take a minute)…"
|
||||
( cd "$STAGE" && npm install --no-audit --no-fund --ignore-scripts ) >"$BUILD_LOG" 2>&1 \
|
||||
# Git dependency preparation can break under a newer system npm even with
|
||||
# --ignore-scripts. Use the repo's tested npm where its Node engine permits
|
||||
# it, while retaining the documented older-Node CLI installation path.
|
||||
( cd "$STAGE" &&
|
||||
npm_spec="" &&
|
||||
# Older tags predate the selector; preserve their install behavior too.
|
||||
if [ -f scripts/install-npm.cjs ]; then
|
||||
npm_spec="$(node scripts/install-npm.cjs)" || exit 1
|
||||
fi
|
||||
if [ -n "$npm_spec" ]; then
|
||||
npm exec --yes --package="$npm_spec" -- npm install --no-audit --no-fund --ignore-scripts
|
||||
else
|
||||
npm install --no-audit --no-fund --ignore-scripts
|
||||
fi
|
||||
) >"$BUILD_LOG" 2>&1 \
|
||||
|| step_fail "npm install failed"
|
||||
info "building the CLI…"
|
||||
( cd "$STAGE" && npm run build:cli ) >>"$BUILD_LOG" 2>&1 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue