Registry / web-framework / docz-rollup

docz-rollup

JSON →
library2.4.0jsnpmunverified

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.

npm install docz-rollup
INSTALL
IMPORT
SIG · DOCZ-ROLLUP
D
docz-rollup
web-frameworkjavascriptv2.4.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.

default (rollup config object)
import config from 'docz-rollup'
const config = require('docz-rollup')
Internal package, ESM export. Unlikely to be imported directly.
rollupConfig
import { rollupConfig } from 'docz-rollup'
Exported as named export if using destructured import.
TypeScript
import { rollupConfig } from 'docz-rollup' // Used as: rollup({ plugins: [typescript()] })
The config itself is a function returning rollup options.

Example of using docz-rollup config as base for a rollup build pipeline.

import config from 'docz-rollup'; import typescript from '@rollup/plugin-typescript'; export default { input: 'src/index.ts', output: { dir: 'dist', format: 'esm', }, plugins: [ typescript({ tsconfig: './tsconfig.json' }), ], // ...additional options from config };
Debug
Known issues
gotchaThis package is internal and may change without notice. Not recommended for direct use.
fix
Use the main 'docz' package or wait for stable external API.
affects: *
deprecatedThe docz project has been deprecated in favor of newer tools like Docusaurus or Storybook.
fix
Consider migrating to alternative documentation tooling.
affects: >=2.0.0
breakingRequires TypeScript peer dependency (^3.5.0 || ^4.0.0). Missing TypeScript will cause build failures.
fix
Install TypeScript: npm install --save-dev typescript
affects: >=2.0.0
Errors
Common errors & fixes
Module not found: Can't resolve 'docz-rollup'
Package is internal and may not be published to npm registry in some environments.
fix
Check if the package is available in your project scope; use the main 'docz' package instead.
TypeError: docz-rollup.default is not a function
Trying to call default export as function, but it's an object.
fix
Use import config from 'docz-rollup' and access config properties directly.
Upgrade
Version history
2.4.0latest on npm
Audit
Dependencies
typescriptrequiredRequired for TypeScript compilation in rollup config
Agent activity
4 hits · last 30 days
node
4
Resources
docz-rollup — npm install docz-rollup · libregistry