Registry / devops / bobril-build

bobril-build

JSON →
library2.4.0jsnpmunverified

bobril-build is the build tool for Bobril applications, providing npm-driven download, compilation, bundling, and testing. Current stable version is 5.4.0, released with locale quote metadata generation. It is actively maintained with a release cadence of minor versions every few months. Key differentiators include deep TypeScript 5.x/6.x support, headless browser integration for tests, and a caching system optimized for large Bobril projects. It is the only build system designed specifically for the Bobril framework.

npm install bobril-build
INSTALL
IMPORT
SIG · BOBRIL-BUILD
B
bobril-build
devopsjavascriptv2.4.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

build
import { build } from 'bobril-build'
const build = require('bobril-build')
ESM-only since v5.
test
import { test } from 'bobril-build'
const { test } = require('bobril-build')
ESM-only since v5.
run
import { run } from 'bobril-build'
const run = require('bobril-build').run
ESM-only since v5.

Shows how to programmatically invoke a Bobril build with options.

import { build } from 'bobril-build'; await build({ root: './src', outputDir: './dist', entry: 'index.tsx', minify: true });
bobril-build --version
Debug
Known issues
breakingESM-only since v5.0.0: require() will throw.
fix
Use import statements or update to ESM-compatible Node.js.
affects: >=5.0.0
deprecatedTypeScript 6 compatibility is fixed in v5.2.0, older versions may fail.
fix
Upgrade to v5.2.0 or later.
affects: <5.2.0
breakingCache table version bump in v5.3.2 invalidates old transpilation caches.
fix
Incremental builds may re-transpile; no user action needed but expect one-time slower build.
affects: >=5.3.2 <5.4.0
gotchaHeadless browser logs only print in verbose mode (v5.1.2+); without --verbose, failures may be silent.
fix
Pass --verbose flag or set log level to debug.
affects: >=5.1.2
Errors
Common errors & fixes
ERR_REQUIRE_ESM: require() of ES Module not supported
Using require() on an ESM-only version of bobril-build (v5+).
fix
Switch to import syntax or use dynamic import().
TypeScript compiler error: 'Namespace' is not assignable to type 'typeof import'
Using old TypeScript interop with bobril-build v5.3.0 or older, after TS 6.0.2 changes.
fix
Update to bobril-build v5.3.1 or later, or adjust TypeScript module settings.
Error: DiskCache child lookup race condition
Concurrent refresh operations in versions before v5.2.1.
fix
Upgrade to bobril-build v5.2.1 or later.
Upgrade
Version history
2.4.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
bobril-build — npm install bobril-build · libregistry