Registry / devops / rollup-plugin-zephyr

rollup-plugin-zephyr

JSON →
library1.0.2jsnpmunverified

Rollup plugin for Zephyr, a cloud deployment platform. Current stable version is 1.0.2 (released after v1.0.0 breaking changes). This plugin integrates Rollup builds with Zephyr's deployment pipeline, enabling automatic upload of build artifacts. It requires Rollup ^4.0.0 as a peer dependency. Key differentiators: built-in support for Zephyr's staged deployments, automatic version tracking, and integration with Zephyr's cloud infrastructure. Release cadence is irregular with patches for dependency updates and security fixes.

npm install rollup-plugin-zephyr
INSTALL
IMPORT
SIG · ROLLUP-PLUGIN-ZEPH
R
rollup-plugin-zephyr
devopsjavascriptv1.0.2
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
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 18–223 runs
build_error
glibc
node 18–223 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default (plugin)
✓ import zephyr from 'rollup-plugin-zephyr'
✗ import { zephyr } from 'rollup-plugin-zephyr'
Default export is the plugin function. Named export 'zephyr' does not exist. Valid for ESM.
zephyrPlugin (named)
✓ import { zephyrPlugin } from 'rollup-plugin-zephyr'
✗ const zephyrPlugin = require('rollup-plugin-zephyr')
Named export available in ESM. CommonJS require yields default export, not named.
type ZephyrOptions
✓ import type { ZephyrOptions } from 'rollup-plugin-zephyr'
✗ import { ZephyrOptions } from 'rollup-plugin-zephyr'
Type import to avoid runtime overhead. Type is exported for TypeScript users.
require (CommonJS)
✓ const zephyr = require('rollup-plugin-zephyr')
✗ const { zephyrPlugin } = require('rollup-plugin-zephyr')
CommonJS require returns the default export. Named destructuring will be undefined.

Basic Rollup configuration using rollup-plugin-zephyr with environment variables for authentication and deployment settings.

import zephyr from 'rollup-plugin-zephyr'; export default { input: 'src/index.js', output: { dir: 'dist', format: 'esm', }, plugins: [ zephyr({ // Zephyr deployment configuration url: process.env.ZEPHYR_URL ?? '', apiKey: process.env.ZEPHYR_API_KEY ?? '', // Optional: specify project project: 'my-app', }), ], };
Debug
Known issues
breakingVersion 1.0.0 introduced breaking changes. Check migration guide from v0.x.
fix
Update plugin configuration to match v1 API. Review changelog at https://github.com/ZephyrCloudIO/zephyr-packages/releases/tag/v1.0.0
affects: >=1.0.0
deprecatedPlugin now requires Rollup ^4.0.0; older Rollup versions are not supported.
fix
Upgrade Rollup to v4+: npm install rollup@^4.0.0
affects: >=1.0.0
gotchaNamed export 'zephyrPlugin' is available but default export is the plugin function. CommonJS require only gives default.
fix
Use default import: import zephyr from 'rollup-plugin-zephyr' or require('rollup-plugin-zephyr') (no destructuring).
affects: >=0.1.0
gotchaPlugin may require specific Node.js version or Zephyr agent. Check documentation for compatibility.
fix
Ensure Node.js >=18 and zephyr-agent properly installed (if applicable).
affects: >=0.1.0
deprecatedOlder versions (v0.1.x) may have security vulnerabilities; remediations in v1.0.1+ include pnpm advisory patches.
fix
Upgrade to v1.0.2: npm install rollup-plugin-zephyr@latest
affects: <1.0.1
Errors
Common errors & fixes
TypeError: zephyr is not a function
Using default import incorrectly (e.g., named import '{ zephyr }' instead of default).
fix
Change to: import zephyr from 'rollup-plugin-zephyr'
Error: Cannot find module 'rollup'
Missing peer dependency rollup ^4.0.0.
fix
Install rollup: npm install rollup@^4.0.0
SyntaxError: Unexpected token 'export'
Using CommonJS require with named destructuring on a default export package.
fix
Use: const zephyr = require('rollup-plugin-zephyr')
Upgrade
Version history
1.0.2latest on npm
Audit
Dependencies
rolluprequiredPeer dependency: requires Rollup ^4.0.0 for plugin API.
Agent activity
24 hits · last 30 days
node
20
Resources
rollup-plugin-zephyr — npm install rollup-plugin-zephyr · libregistry