Developer Guide
Last updated
Welcome to the NGXS community! We're excited to have you here. This guide will help you set up your local development environment and contribute effectively. 🚀
Before you begin, ensure you have met the following requirements:
Follow these steps to set up your local environment:
Fork the repository if you haven't already. Learn how.
Clone the forked repository to your local machine using git.
Install project dependencies:
# Install root dependencies
yarn install
# Install dependencies for the "create-app" tutorial
yarn --cwd tutorials/create-appBuild all packages:
yarn build:packagesIf you want to contribute to the project by fixing bugs, adding new features, or creating new packages, follow the steps below.
@ngxs/storeRun development mode:
Run serve integration examples:
Make your changes...
Run tests to ensure everything works correctly:
Commit changes following the Conventional Commits format.
Create a pull request with a detailed description of the changes.
@ngxs/<my-super-plugin>Create a new package directory packages/<my-super-plugin>.
Create a template library with ngPackagr.
Add the package to package.json at the root level.
Run development mode:
Develop your plugin...
Build the package:
Run tests to ensure everything works correctly:
Commit changes following the Conventional Commits format.
Create a pull request with a detailed description of the changes.
Last updated
yarn build:packages --package store --watchyarn startyarn testyarn build:packages --package <my-super-plugin> --watchyarn build:packages --package <my-super-plugin>yarn test
