generator-rollup-init

raw JSON →
0.3.0 verified Mon Apr 27 auth: no javascript maintenance

A Yeoman generator that scaffolds Rollup configuration and package files, automating the setup of a project with Rollup as the bundler. Version 0.3.0 is the latest. This generator prompts for project details and creates a minimal config with basic plugins. Differentiates from manual setup by offering a quick CLI workflow. Released under MIT license with limited maintenance. Suitable for rapid prototyping but not actively developed; alternatives like create-react-app or custom templates may be more robust.

error Error: yo is not recognized as an internal or external command
cause Yeoman not installed globally
fix
Run: npm install -g yo
error You don't seem to have a generator with the name "rollup-init" installed.
cause generator-rollup-init not installed globally
fix
Run: npm install -g generator-rollup-init
error Cannot find module 'yeoman-generator'
cause Incomplete installation or missing dependencies
fix
Reinstall: npm install -g generator-rollup-init
gotcha Generator must be installed globally
fix Use npm install -g generator-rollup-init
deprecated The generator is not actively maintained; may not support Rollup 2+ plugins options
fix Consider manual Rollup setup or use a more modern tool like Vite.
gotcha Requires Node.js 8+ and npm 5+
fix Upgrade Node.js and npm to compatible versions.
gotcha Prompts may override existing package.json without warning
fix Run in an empty directory or backup existing files.
npm install generator-rollup-init
yarn add generator-rollup-init
pnpm add generator-rollup-init

Shows how to install the generator globally and scaffold a new Rollup project using Yeoman.

npm install -g yo generator-rollup-init
mkdir my-project
cd my-project
yo rollup-init
# Answer prompts about project name, description, etc.