Skip to content

Project Management

As Xane is a monorepo, you are able to run any command on top level such as installing dependencies, building the client, developing the frontend, running unit tests, etc.

Below are the commands you can run to manage the projects.

Common Commands

You can install all the dependencies with the command below:

Terminal window
pnpm install

You can run tests with the command below:

Terminal window
pnpm test

You can identify potential mistakes with the command below:

Terminal window
pnpm lint

You can format the source code with the command below:

Terminal window
pnpm format

You can remove installed dependencies and builds with the command below:

Terminal window
pnpm clean

Packages Commands

You can build the packages with the command below:

Terminal window
pnpm build:packages

Client Commands

You can build the rollup client with the command below:

Terminal window
pnpm build:client

Docs Commands

You can start a development server for the docs website with the command below:

Terminal window
pnpm dev:docs

You can build the docs website with the command below:

Terminal window
pnpm build:docs

Frontend Commands

You can build the frontend with the command below:

Terminal window
pnpm build:frontend

You can start a development server for the frontend with the command below:

Terminal window
pnpm dev:frontend