{"id":21178,"library":"docz-rollup","title":"docz-rollup","description":"An internal rollup configuration package for building packages within the docz ecosystem. Version 2.4.0 is the latest stable release. This package is not intended for direct use by most developers; it is used internally by docz to bundle its source code. It provides a shared rollup config to ensure consistent builds across docz monorepo packages. It requires TypeScript as a peer dependency and is part of the docz documentation toolchain. Differentiator: not a public utility, but a monorepo internal tool.","status":"maintenance","version":"2.4.0","language":"javascript","source_language":"en","source_url":"https://github.com/doczjs/docz","tags":["javascript"],"install":[{"cmd":"npm install docz-rollup","lang":"bash","label":"npm"},{"cmd":"yarn add docz-rollup","lang":"bash","label":"yarn"},{"cmd":"pnpm add docz-rollup","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required for TypeScript compilation in rollup config","package":"typescript","optional":false}],"imports":[{"note":"Internal package, ESM export. Unlikely to be imported directly.","wrong":"const config = require('docz-rollup')","symbol":"default (rollup config object)","correct":"import config from 'docz-rollup'"},{"note":"Exported as named export if using destructured import.","symbol":"rollupConfig","correct":"import { rollupConfig } from 'docz-rollup'"},{"note":"The config itself is a function returning rollup options.","symbol":"TypeScript","correct":"import { rollupConfig } from 'docz-rollup'\n// Used as: rollup({ plugins: [typescript()] })"}],"quickstart":{"code":"import config from 'docz-rollup';\nimport typescript from '@rollup/plugin-typescript';\n\nexport default {\n  input: 'src/index.ts',\n  output: {\n    dir: 'dist',\n    format: 'esm',\n  },\n  plugins: [\n    typescript({ tsconfig: './tsconfig.json' }),\n  ],\n  // ...additional options from config\n};\n","lang":"javascript","description":"Example of using docz-rollup config as base for a rollup build pipeline."},"warnings":[{"fix":"Use the main 'docz' package or wait for stable external API.","message":"This package is internal and may change without notice. Not recommended for direct use.","severity":"gotcha","affected_versions":"*"},{"fix":"Consider migrating to alternative documentation tooling.","message":"The docz project has been deprecated in favor of newer tools like Docusaurus or Storybook.","severity":"deprecated","affected_versions":">=2.0.0"},{"fix":"Install TypeScript: npm install --save-dev typescript","message":"Requires TypeScript peer dependency (^3.5.0 || ^4.0.0). Missing TypeScript will cause build failures.","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Check if the package is available in your project scope; use the main 'docz' package instead.","cause":"Package is internal and may not be published to npm registry in some environments.","error":"Module not found: Can't resolve 'docz-rollup'"},{"fix":"Use import config from 'docz-rollup' and access config properties directly.","cause":"Trying to call default export as function, but it's an object.","error":"TypeError: docz-rollup.default is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}