{"id":21371,"library":"generator-rollup-init","title":"generator-rollup-init","description":"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.","status":"maintenance","version":"0.3.0","language":"javascript","source_language":"en","source_url":"https://github.com/NShahri/generator-rollup-init","tags":["javascript","Rollup","init","yeoman-generator"],"install":[{"cmd":"npm install generator-rollup-init","lang":"bash","label":"npm"},{"cmd":"yarn add generator-rollup-init","lang":"bash","label":"yarn"},{"cmd":"pnpm add generator-rollup-init","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"requires Yeoman to run the generator","package":"yo","optional":false}],"imports":[{"note":"Must be installed globally with -g to be used as a Yeoman generator.","wrong":"npm install generator-rollup-init (without -g)","symbol":"generator-rollup-init","correct":"npm install -g generator-rollup-init"},{"note":"Yeoman must be global to run 'yo rollup-init'.","wrong":"npm install yo (without -g)","symbol":"yo","correct":"npm install -g yo"},{"note":"Run via Yeoman subcommand 'rollup-init', not as a direct script.","wrong":"rollup-init or generator-rollup-init rollup-init","symbol":"rollup-init","correct":"yo rollup-init"}],"quickstart":{"code":"npm install -g yo generator-rollup-init\nmkdir my-project\ncd my-project\nyo rollup-init\n# Answer prompts about project name, description, etc.","lang":"javascript","description":"Shows how to install the generator globally and scaffold a new Rollup project using Yeoman."},"warnings":[{"fix":"Use npm install -g generator-rollup-init","message":"Generator must be installed globally","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Consider manual Rollup setup or use a more modern tool like Vite.","message":"The generator is not actively maintained; may not support Rollup 2+ plugins options","severity":"deprecated","affected_versions":">=0.3.0"},{"fix":"Upgrade Node.js and npm to compatible versions.","message":"Requires Node.js 8+ and npm 5+","severity":"gotcha","affected_versions":">=0.3.0"},{"fix":"Run in an empty directory or backup existing files.","message":"Prompts may override existing package.json without warning","severity":"gotcha","affected_versions":">=0.3.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run: npm install -g yo","cause":"Yeoman not installed globally","error":"Error: yo is not recognized as an internal or external command"},{"fix":"Run: npm install -g generator-rollup-init","cause":"generator-rollup-init not installed globally","error":"You don't seem to have a generator with the name \"rollup-init\" installed."},{"fix":"Reinstall: npm install -g generator-rollup-init","cause":"Incomplete installation or missing dependencies","error":"Cannot find module 'yeoman-generator'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}