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:
pnpm installYou can run tests with the command below:
pnpm testYou can identify potential mistakes with the command below:
pnpm lintYou can format the source code with the command below:
pnpm formatYou can remove installed dependencies and builds with the command below:
pnpm cleanPackages Commands
You can build the packages with the command below:
pnpm build:packagesClient Commands
You can build the rollup client with the command below:
pnpm build:clientDocs Commands
You can start a development server for the docs website with the command below:
pnpm dev:docsYou can build the docs website with the command below:
pnpm build:docsFrontend Commands
You can build the frontend with the command below:
pnpm build:frontendYou can start a development server for the frontend with the command below:
pnpm dev:frontend