Skip to content

ZephyrCloudIO/zephyr-packages

Repository files navigation

Zephyr Plugins

Plugins

Plugins within this repository are built for applications to deploy with Zephyr. This repository also includes utility packages for building npm plugins with Zephyr.

Public Plugins

Utility Packages

  • 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.

Repository Structure

This is an Nx monorepo.

  • libs - Contains all the plugins and utility packages.
  • examples - Contains examples to use and test the plugins.

Using this repository

pnpm install

Available Scripts

Development

  • pnpm dev - Starts the development server
  • pnpm build - Builds the application for production
  • pnpm start - Runs the production build

Testing

  • pnpm test - Runs the test suite
  • pnpm test:watch - Runs tests in watch mode

Linting & Formatting

  • pnpm lint - Checks code for linting errors
  • pnpm format - Formats code using Prettier

Note: Please ensure you have run pnpm install before executing any of these commands.