rollup-umd-scripts

raw JSON →
0.13.0 verified Mon Apr 27 auth: no javascript maintenance

rollup-umd-scripts is a CLI tool for managing rollup-umd projects, providing commands for building, testing, and publishing UMD bundles with Rollup. Current stable version is 0.13.0. It is designed to work with the rollup-umd ecosystem and follows semantic versioning. Key differentiators include integration with rollup-umd's custom configuration and CI pipeline. However, the package appears to be enterprise-oriented and has limited adoption. Release cadence is not clearly specified; it seems to be in maintenance mode with no recent updates.

error Error: Cannot find module 'rollup-umd'
cause rollup-umd is a peer dependency not installed
fix
Run 'npm install rollup-umd@latest --save-dev'
error rollup-umd-scripts: command not found
cause Local installation not in PATH or global install missing
fix
Use 'npx rollup-umd-scripts' or install globally: 'npm install -g rollup-umd-scripts'
error TypeError: Cannot read property 'build' of undefined
cause Incorrect config export from rollup-umd-scripts/config
fix
Use named import: import { config } from 'rollup-umd-scripts/config'
breaking Version 0.12.0 changed the CLI command structure; 'build' now requires '--config' flag
fix Update scripts to include '--config rollup.config.js' or use default config.
deprecated The 'publish' command is deprecated in 0.13.0 and will be removed in next major release
fix Use 'npm publish' directly or migrate to rollup-umd publish.
gotcha Node engine requirement is >=8, but some features (e.g., async/await) need Node >=10
fix Use Node >=10 for full compatibility, especially for async command execution.
gotcha Documentation links in README require access (private), no public docs available
fix Refer to source code or rollup-umd monorepo for usage details.
npm install rollup-umd-scripts
yarn add rollup-umd-scripts
pnpm add rollup-umd-scripts

Shows basic CLI usage for building, testing, and publishing a rollup-umd project.

// Install globally or locally
npm install -g rollup-umd-scripts@0.13.0

# Build your project
rollup-umd-scripts build

# Run tests
rollup-umd-scripts test

# Publish
rollup-umd-scripts publish