We welcome contributions! Please read our contributing guidelines for more information.
Plugins within this repository are built for applications to deploy with Zephyr. This repository also includes utility packages for building npm plugins with Zephyr.
create-zephyr-apps
- Create new applications with Zephyr integrationparcel-reporter-zephyr
- A Parcel reporter plugin for deploying with Zephyrrollup-plugin-zephyr
- A Rollup plugin for deploying with Zephyrvite-plugin-zephyr
- A Vite plugin for deploying with Zephyrzephyr-modernjs-plugin
- A Modern.js plugin for deploying with Zephyrzephyr-repack-plugin
- A Rspack plugin for deploying with Zephyr building with React Native and Re.Packzephyr-rolldown-plugin
- A Rolldown plugin for deploying with Zephyrzephyr-rspack-plugin
- A Rspack plugin for deploying with Zephyrzephyr-webpack-plugin
- A Webpack plugin for deploying with Zephyr
zephyr-agent
- The main internal package to build bundler integration with Zephyr. Public plugins mostly interact with this package.zephyr-xpack-internal
- Sharing types, module federation capabilities and utilities for bundler built on top of webpack or Rspack.zephyr-edge-contract
- Provide typings, constants and smaller utilites for Zephyr plugins.
This is an Nx monorepo.
libs
- Contains all the plugins and utility packages.examples
- Contains examples to use and test the plugins.
pnpm install
pnpm dev
- Starts the development serverpnpm build
- Builds the application for productionpnpm start
- Runs the production build
pnpm test
- Runs the test suitepnpm test:watch
- Runs tests in watch mode
pnpm lint
- Checks code for linting errorspnpm format
- Formats code using Prettier
-
pnpm bump-patch
- Automated patch version bump across all packagesThis script automates the complete patch version release process:
- Increments patch version in root and all lib package.json files
- Creates a commit with conventional commit message
- Creates a git tag (vX.X.X)
- If on main/master branch, creates a new feature branch and opens a PR
- Pushes changes and tags to origin
Requirements:
- Clean working directory (no uncommitted changes)
- gh CLI installed and authenticated (for automatic PR creation)
- Git configured with push access to origin
Note: Please ensure you have run pnpm install
before executing any of these commands.