Skip to main content

Module approve

Module approve 

Source
Expand description

bynk approve (packaging slice 5, #2296, decision D): review and approve the npm packages that fetched (git or registry) packages’ adapters bring into the build, recording each approval in bynk.lock.

An approval is per [[npm]] row — one npm package at one range (decision A). The compile refuses a reached adapter’s unapproved requirement (bynk.requires.unapproved, decision B); this command is how a project clears it. It rewrites only approved fields and never resolves.

Enums§

Mode
What approve should do.

Functions§

after_write
#2296: after bynk add, fetch or update wrote the lock with pending rows, ask about each on a terminal; otherwise say what awaits approval and how to approve it. Never fails the command (decision D).
run
bynk approve for the project holding project.