The `with-zephyr` package provides a codemod utility designed to automatically inject the `withZephyr` plugin into various JavaScript bundler configurations. This tool is essential for projects integrating with the Zephyr Cloud platform, facilitating features like Module Federation, Over-The-Air (OTA) updates, and streamlined deployments for micro-frontends. It supports a wide array of bundlers, including Webpack, Vite, Rollup, Rspack, and others within ecosystems like Astro and Modern. Currently at version 1.0.2, the package maintains an active development pace with frequent patch releases, often addressing security vulnerabilities and improving compatibility. Its primary differentiator is its role as an automated transformation tool, simplifying the integration of Zephyr-specific plugins into complex build setups without manual configuration edits. This package is distinct from the Zephyr Real-Time Operating System (RTOS).
npm install with-zephyrVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to invoke the `with-zephyr` codemod via the command line to initialize Zephyr plugin integration.
Refer to the GitHub changelog for `zephyr-packages` and consult Zephyr Cloud documentation for any new migration guides related to bundler configurations or plugin usage. Thoroughly test existing build pipelines.
Upgrade to the latest stable version of `with-zephyr` immediately to benefit from security remediations: `npm install with-zephyr@latest` or `pnpm update with-zephyr`.
Ensure your project's bundler configuration files are updated to a version of `with-zephyr` greater than or equal to `0.1.16` to correctly parse and modify plugin arrays. If using an older version, manually remove any trailing commas from plugin arrays in your bundler configuration files or upgrade.
Upgrade `with-zephyr` to `^0.1.16` or higher (`npm install with-zephyr@latest`). If the issue persists with an older version for specific reasons, manually remove any trailing commas from plugin arrays in your bundler configuration files.
Ensure you are running the command in the root of a project with a standard bundler configuration. Verify that your bundler configuration file follows common patterns. Consult Zephyr Cloud documentation for supported bundler versions and manual integration steps if the codemod fails to detect your setup.
No dependency data recorded yet.