# Plugins

Every official plugin and those the community publishes, and how to list yours.

Plugins teach Axle other languages and tools. Add one to a repository by its name:

```sh
axle add vite
```

[`axle plugins`](https://axlers.dev/docs/reference/plugins.md#finding-plugins) shows the same lists in the terminal, with the plugins the repository uses.

## Official

Built and tested alongside Axle. Each has a page with its tasks and settings.

- [.NET](https://axlers.dev/docs/official-plugins/dotnet.md) (`dotnet`): Build and test the C# and F# projects of .NET solutions alongside the rest of a repository.
- [Angular](https://axlers.dev/docs/official-plugins/angular.md) (`angular`): Build, serve and test every Angular workspace, with the build output cached.
- [Astro](https://axlers.dev/docs/official-plugins/astro.md) (`astro`): Build, serve, preview and check every Astro site, with the build output cached.
- [Biome](https://axlers.dev/docs/official-plugins/biome.md) (`biome`): Lint and check every package with a Biome config, cached per package.
- [Conformance](https://axlers.dev/docs/official-plugins/conformance.md) (`conformance`): Rules every project follows, such as a README, a license and required scripts, checked by axle boundaries.
- [Cypress](https://axlers.dev/docs/official-plugins/cypress.md) (`cypress`): Run the end-to-end and component tests of every package with a Cypress config.
- [Docker](https://axlers.dev/docs/official-plugins/docker.md) (`docker`): Build an image for every Dockerfile after the package it ships, and cache it as an archive when you ask.
- [esbuild](https://axlers.dev/docs/official-plugins/esbuild.md) (`esbuild`): Build every package that uses esbuild, with the bundle cached.
- [ESLint](https://axlers.dev/docs/official-plugins/eslint.md) (`eslint`): Lint every package with an ESLint flat config, cached per package.
- [Go](https://axlers.dev/docs/official-plugins/go.md) (`go`): Build and test the Go modules of a repository alongside everything else.
- [Gradle](https://axlers.dev/docs/official-plugins/gradle.md) (`gradle`): Build and test the projects of Gradle builds alongside the rest of a repository.
- [Jest](https://axlers.dev/docs/official-plugins/jest.md) (`jest`): Run and cache the tests of every package with a Jest config.
- [Maven](https://axlers.dev/docs/official-plugins/maven.md) (`maven`): Build and test the modules of Maven builds alongside the rest of a repository.
- [NestJS](https://axlers.dev/docs/official-plugins/nestjs.md) (`nestjs`): Build, serve and start every NestJS app, with the build output cached.
- [Next.js](https://axlers.dev/docs/official-plugins/next.md) (`next`): Build, serve and start every Next.js app, with the build output cached.
- [Nuxt](https://axlers.dev/docs/official-plugins/nuxt.md) (`nuxt`): Build, serve and preview every Nuxt app, with the build output cached.
- [Owners](https://axlers.dev/docs/official-plugins/owners.md) (`owners`): Write CODEOWNERS for GitHub, GitLab or Bitbucket from each project's owners, and keep it in step with axle sync.
- [Oxlint](https://axlers.dev/docs/official-plugins/oxlint.md) (`oxlint`): Lint every package with an Oxlint config, cached per package.
- [Playwright](https://axlers.dev/docs/official-plugins/playwright.md) (`playwright`): Run the end-to-end tests of every package with a Playwright config.
- [Prettier](https://axlers.dev/docs/official-plugins/prettier.md) (`prettier`): Check and write the formatting of every package Prettier is set up for, with the check cached.
- [Prisma](https://axlers.dev/docs/official-plugins/prisma.md) (`prisma`): Generate the Prisma client of every package with a Prisma schema, cached until the schema changes.
- [Python](https://axlers.dev/docs/official-plugins/python.md) (`python`): Build, test and cache Python projects managed by uv or Poetry alongside JavaScript packages.
- [React Native](https://axlers.dev/docs/official-plugins/react-native.md) (`react-native`): Start Metro for every React Native and Expo app, and cache Expo exports.
- [React Router](https://axlers.dev/docs/official-plugins/react-router.md) (`react-router`): Build, serve, start and type-check every React Router app, with the build output cached.
- [Rollup](https://axlers.dev/docs/official-plugins/rollup.md) (`rollup`): Build every package with a Rollup config, with the bundle cached.
- [Rsbuild](https://axlers.dev/docs/official-plugins/rsbuild.md) (`rsbuild`): Build, serve and preview every package with an Rsbuild config.
- [Rspack](https://axlers.dev/docs/official-plugins/rspack.md) (`rspack`): Build every package with an Rspack config, with the bundle cached.
- [Rust](https://axlers.dev/docs/official-plugins/cargo.md) (`cargo`): Build, test and lint the crates of Cargo workspaces alongside the rest of a repository.
- [Storybook](https://axlers.dev/docs/official-plugins/storybook.md) (`storybook`): Build and serve the Storybook of every package that has one, with the static build cached.
- [Stylelint](https://axlers.dev/docs/official-plugins/stylelint.md) (`stylelint`): Lint the CSS of every package with a Stylelint config, cached per package.
- [SvelteKit](https://axlers.dev/docs/official-plugins/sveltekit.md) (`sveltekit`): Build, serve, preview and check every SvelteKit app, with the build output cached.
- [tsdown](https://axlers.dev/docs/official-plugins/tsdown.md) (`tsdown`): Build every library with a tsdown or tsup config, with the bundle cached.
- [TypeScript](https://axlers.dev/docs/official-plugins/typescript.md) (`typescript`): Type-check every package with a tsconfig.json, and build those whose build script runs tsc, cached until a source file or tsconfig changes.
- [Vite](https://axlers.dev/docs/official-plugins/vite.md) (`vite`): Build, serve and preview every package with a Vite config, with the build output cached.
- [Vitest](https://axlers.dev/docs/official-plugins/vitest.md) (`vitest`): Run and cache the tests of every package with a Vitest config.
- [webpack](https://axlers.dev/docs/official-plugins/webpack.md) (`webpack`): Build every package with a webpack config, with the bundle cached.

## Community

Written and published by their authors. Read a plugin's code before you run it, as with any dependency.

No community plugins are listed yet. Add yours as described below.

## Add yours

[Write a plugin](https://axlers.dev/docs/extending-axle/writing-a-plugin.md) in any language and publish it, usually to npm. Then open a pull request that adds it to [`plugins/community/plugins.json`](https://github.com/axle-rs/axle/blob/main/plugins/community/plugins.json):

```json
{
    "name": "cobol",
    "description": "Builds and tests COBOL programs with GnuCOBOL",
    "source": "npm:axle-plugin-cobol",
    "repository": "https://github.com/example/axle-plugin-cobol",
    "generators": ["program"]
}
```

`name` is what `axle add` takes, so it can't be one another plugin has. `source` says where the plugin is, as under `[plugins]` in `axle.toml`, usually an npm package without a version so `axle add` picks the latest. Once the pull request is merged, the plugin shows up here, and in `axle plugins` and `axle add` from the next version of Axle. `generators` lists the generators the plugin ships, by their folder names, so people see them before adding it; leave it out when there are none.
