{"id":21900,"library":"rollup-documentation","title":"rollup-documentation","description":"rollup-documentation (v0.0.12) is a deprecated package providing default react-styleguidist configuration for Yeutech Company Limited. It was part of the rollup-umd ecosystem, designed for generating documentation for UMD modules. The package is no longer actively maintained and has been superseded by other tools. Key differentiators: specific to Yeutech's internal tooling, tightly coupled with rollup-umd v0.8.11. Release cadence: not specified, but appears inactive since around 2018. Alternatives include react-styleguidist directly or modern documentation generators like Storybook.","status":"deprecated","version":"0.0.12","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","yeutech","rollup-umd"],"install":[{"cmd":"npm install rollup-documentation","lang":"bash","label":"npm"},{"cmd":"yarn add rollup-documentation","lang":"bash","label":"yarn"},{"cmd":"pnpm add rollup-documentation","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Package primarily exports a default configuration object. ESM import recommended, but CJS require also works.","wrong":"const config = require('rollup-documentation')","symbol":"default","correct":"import config from 'rollup-documentation'"},{"note":"Named export may exist but is less common. Default import is the standard pattern.","wrong":"","symbol":"rollupDocumentation","correct":"import { rollupDocumentation } from 'rollup-documentation'"},{"note":"Package does not ship TypeScript types. Use @types/rollup-documentation if available, or declare module.","wrong":"","symbol":"TypeScript types","correct":"import type { Config } from 'rollup-documentation'"}],"quickstart":{"code":"// rollup.config.js\nimport documentation from 'rollup-documentation';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'umd',\n    name: 'MyLibrary'\n  },\n  plugins: [\n    documentation({\n      // Configuration options\n      title: 'My Library Documentation',\n      components: 'src/**/*.js'\n    })\n  ]\n};","lang":"javascript","description":"Basic setup using rollup-documentation plugin in a Rollup configuration for generating UMD documentation."},"warnings":[{"fix":"Migrate to react-styleguidist or Storybook.","message":"rollup-documentation is no longer maintained. Use react-styleguidist directly or modern alternatives like Storybook.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Use rollup 0.x or switch to a different documentation plugin.","message":"Incompatible with rollup >=1.0.0. The plugin expects rollup 0.x API.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Ensure your project follows rollup-umd conventions or avoid this package.","message":"The package expects a specific file structure from rollup-umd. Custom setups may break.","severity":"gotcha","affected_versions":">=0.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 install rollup-documentation --save-dev","cause":"Package not installed or missing in node_modules.","error":"Error: Cannot find module 'rollup-documentation'"},{"fix":"Use import documentation from 'rollup-documentation' (default import) instead of named import.","cause":"Incorrect import style; default export is not a function.","error":"TypeError: documentation is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}