About us

BPM (Bnlang Package Manager) hocche Bnlang package khuja, install, update, ebong publish korar standard tool. Eta predictable install, simple workflow, ar healthy community-driven ecosystem-ke prioritize kore.

BPM ki?

BPM holo Bnlang ecosystem-er jonno fast, deterministic package manager. Eta team-ke dependable vabe dependency install, project secure rakha, ar confidence diye library publish korte shahajjo kore.

Immutable lockfile, shared cache, ar clear workflow mile BPM install time komay, “works on my machine” issue komay, ar CI/CD pipeline-e smooth vabe kaj kore.

Core principles

BPM kivabe kaj kore (chokhe porar moto)

  1. Resolve: manifest ar lockfile pore SemVer rule-e version resolve kore.
  2. Fetch: configured registry/mirror theke archive download kore local cache-e rakhe.
  3. Verify: unpack-er age hash diye integrity check kore.
  4. Link: package project-e place kore ar executables global bin-e link kore.
  5. Record: final dependency graph lockfile-e likhe future reproducibility ensure kore.

Project toiri korun

Notun project initialize kore directory-te dhukben.

$ bpm init my-app
$ cd my-app

Dependency manage korun

Project-er proyojone package add/remove korun.

$ bpm install web-framework
$ bpm remove web-framework

Update thakun

Package upgrade korun, proyojone advisory audit korun.

$ bpm update
$ bpm audit   # optional

Scripts run korun

Project manifest-e defined scripts run korun.

$ bpm run dev
$ bpm run build
$ bpm run start

Package publish

  1. Prepare: manifest-e (name, version, entry points, files, scripts) fill-up korun.
  2. Login: registry-te authenticate korun.
  3. Pack & verify: BPM tarball ar integrity hash toiri kore.
  4. Publish: package upload hoy ar registry-te notun version record hoy.
Commands
$ bpm login
$ bpm publish

Configuration & files

Security model (summary)

Tips