Registry / devops / generator-rollup-init

generator-rollup-init

JSON →
library0.3.0jsnpmunverified

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.

npm install generator-rollup-init
INSTALL
IMPORT
SIG · GENERATOR-ROLLUP-I
G
generator-rollup-init
devopsjavascriptv0.3.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 18223 runs
build_error
glibc
node 18223 runs
build_error
Code
Verified usage

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

generator-rollup-init
npm install -g generator-rollup-init
npm install generator-rollup-init (without -g)
Must be installed globally with -g to be used as a Yeoman generator.
yo
npm install -g yo
npm install yo (without -g)
Yeoman must be global to run 'yo rollup-init'.
rollup-init
yo rollup-init
rollup-init or generator-rollup-init rollup-init
Run via Yeoman subcommand 'rollup-init', not as a direct script.

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.
Debug
Known issues
gotchaGenerator must be installed globally
fix
Use npm install -g generator-rollup-init
affects: >=0.0.0
deprecatedThe 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.
affects: >=0.3.0
gotchaRequires Node.js 8+ and npm 5+
fix
Upgrade Node.js and npm to compatible versions.
affects: >=0.3.0
gotchaPrompts may override existing package.json without warning
fix
Run in an empty directory or backup existing files.
affects: >=0.3.0
Errors
Common errors & fixes
Error: yo is not recognized as an internal or external command
Yeoman not installed globally
fix
Run: npm install -g yo
You don't seem to have a generator with the name "rollup-init" installed.
generator-rollup-init not installed globally
fix
Run: npm install -g generator-rollup-init
Cannot find module 'yeoman-generator'
Incomplete installation or missing dependencies
fix
Reinstall: npm install -g generator-rollup-init
Upgrade
Version history
0.3.0latest on npm
Audit
Dependencies
yorequiredrequires Yeoman to run the generator
Agent activity
2 hits · last 30 days
node
2
Resources
generator-rollup-init — npm install generator-rollup-init · libregistry