{"id":21902,"library":"rollup-generator","title":"rollup-generator","description":"A CLI tool to quickly scaffold a Rollup project with minimal configuration. It generates a basic Rollup setup including entry file, output configuration, and package.json. The tool supports custom input/output file names, output formats (e.g., iife, umd), global module names, and source map options. Ideal for developers who want to avoid repetitive setup when starting new Rollup-based libraries or bundles. Version 1.0.18 is the latest stable release. The package has low activity and may not be actively maintained. It is a niche alternative to using Rollup's own init or templates like create-rollup-app.","status":"maintenance","version":"1.0.18","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","quickly","generator","build","rollup","project"],"install":[{"cmd":"npm install rollup-generator","lang":"bash","label":"npm"},{"cmd":"yarn add rollup-generator","lang":"bash","label":"yarn"},{"cmd":"pnpm add rollup-generator","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"rollup-generator is a CLI tool, not a library. Use npx or global install, not require/import in code.","wrong":"require('rollup-generator')","symbol":"cli","correct":"npx rollup-generator"}],"quickstart":{"code":"# Install globally\nnpm i -g rollup-generator\n\n# Generate a new Rollup project\nrollup-go\n\n# Or specify project directory\nrollup-go init my-project\n\n# Enter project\ncd my-project\n\n# Install dependencies\nnpm install\n\n# Build and watch\nnpm start\n","lang":"javascript","description":"Shows how to install rollup-generator globally and scaffold a Rollup project with default or custom directory."},"warnings":[{"fix":"Consider using Rollup's official create-rollup-app or manually setting up Rollup via npm init.","message":"Package appears unmaintained; last release was in 2019 or earlier.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"After generation, update Rollup in package.json to the latest version.","message":"CLI generates a project with a fixed Rollup version that may be outdated.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run `npm i -g rollup-generator` or use `npx rollup-go`.","cause":"Global install not working or not in PATH.","error":"bash: rollup-go: command not found"},{"fix":"Use the CLI via command line: `rollup-go` or `npx rollup-generator`.","cause":"Attempting to require the package as a library in Node.js code.","error":"Error: Cannot find module 'rollup-generator'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}