{"id":18602,"library":"no-bump","title":"NoBump","description":"NoBump is a zero-configuration bundler built on top of Rollup, version 0.7.1. It aims to simplify the bundling process by providing sensible defaults while allowing customization through a config file (bump.config.js/.ts) or Node API. Unlike other zero-config bundlers, NoBump is minimalist and stays close to Rollup's internals. It ships TypeScript types and supports both ESM and CJS. Release cadence is irregular; project appears in active development.","status":"active","version":"0.7.1","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","bundler","rollup","typescript"],"install":[{"cmd":"npm install no-bump","lang":"bash","label":"npm"},{"cmd":"yarn add no-bump","lang":"bash","label":"yarn"},{"cmd":"pnpm add no-bump","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core bundling engine; NoBump is a wrapper around Rollup.","package":"rollup","optional":false}],"imports":[{"note":"ESM-only; CommonJS require will fail because no-bump is an ESM package.","wrong":"const { define } = require('no-bump')","symbol":"define","correct":"import { define } from 'no-bump'"},{"note":"build is exported from the main entry; there is no separate '/node' subpath.","wrong":"import { build } from 'no-bump/node'","symbol":"build","correct":"import { build } from 'no-bump'"},{"note":"watch is exported alongside build from the main entry.","wrong":null,"symbol":"watch","correct":"import { watch } from 'no-bump'"},{"note":"NoBumpConfig is a TypeScript type, not a runtime value; use type import.","wrong":"import { NoBumpConfig } from 'no-bump'","symbol":"NoBumpConfig","correct":"import type { NoBumpConfig } from 'no-bump'"}],"quickstart":{"code":"// Install: npm install no-bump -D\n\n// bump.config.ts\nimport { define } from 'no-bump';\n\nexport default define({\n  input: 'src/index.ts',\n  output: {\n    dir: 'dist',\n    format: 'esm'\n  }\n});\n\n// In package.json\n{\n  \"scripts\": {\n    \"build\": \"bump\"\n  }\n}\n\n// Then run: npm run build","lang":"typescript","description":"Basic setup: install, create a config file with define(), and build via CLI."},"warnings":[{"fix":"Use import syntax or run in an ESM context (e.g., \"type\": \"module\" in package.json).","message":"ESM-only package; require() will fail","severity":"breaking","affected_versions":">=0.1.0"},{"fix":"When using build() or watch() programmatically, pass options directly; they ignore bump.config.*.","message":"Node API does not read config file","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Only use Rollup-compatible plugins; Vite-specific plugins (e.g., vite-plugin-*) may fail.","message":"Vite plugins may not be compatible","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Use 'bump' script in package.json; running 'npx no-bump' will not work (use 'npx bump' instead).","message":"CLI command is 'bump', not 'no-bump'","severity":"deprecated","affected_versions":">=0.1.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Switch to import syntax or set \"type\": \"module\" in package.json.","cause":"Using CommonJS require() with an ESM-only package.","error":"Error [ERR_REQUIRE_ESM]: require() of ES Module not supported"},{"fix":"Use named import: import { define } from 'no-bump'.","cause":"Importing define as a default import instead of named import (e.g., import define from 'no-bump').","error":"TypeError: define is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}