Hullabaloo Config Manager

raw JSON →
1.1.1 verified Sat Apr 25 auth: no javascript maintenance

Version 1.1.1 – Utility to manage complex Babel configuration chains, avoiding duplicated work and enabling effective caching. Built specifically for testing Babel transpilation pipelines, it resolves Babel configs at a project level and caches results to speed up subsequent runs. Differentiates from direct Babel usage by handling multi-step config inheritance and caching internally. Release cadence is low; no updates since 2019. Requires Node >=4.

error Error: Cannot find module 'babel-core'
cause babel-core is a required peer dependency not installed.
fix
npm install babel-core@^6.0.0
error Cannot read property 'presets' of undefined
cause build() resolved with no config due to missing or invalid Babel config file.
fix
Ensure babel.config.js exists and is a valid Babel config object.
deprecated Package is no longer actively maintained; use with caution for new projects.
fix Consider using @babel/core and @babel/config directly.
npm install hullabaloo-config-manager
yarn add hullabaloo-config-manager
pnpm add hullabaloo-config-manager

Shows how to create a Manager instance, pass a Babel config path, and build the resolved config.

const { Manager } = require('hullabaloo-config-manager');
const manager = new Manager({ config: './babel.config.js' });
const result = manager.build().then(config => {
    console.log(config.presets);
}).catch(err => console.error(err));