We would love for you to contribute to Nx Plus! Read this document to see how.
If you find a bug in the source code or a mistake in the documentation, you can help us by submitting an issue. Even better, you can submit a PR with a fix.
Source code and documentation are included in the top-level folders listed below:
Folder | Purpose |
---|---|
apps |
Contains the e2e tests associated with a plugin. |
libs |
Contains the source code for plugins. |
tools |
Contains miscellaneous scripts. |
To install dependencies after cloning the repo, run the following:
yarn
To build all plugins, run the following:
nx run-many --target build --all
To test your changes in a Nx workspace you can create a playground. To create a playground, run the following:
yarn create-playground
To update an existing playground, run the following:
yarn update-playground
To run unit tests for all plugins, run the following:
nx run-many --target test --all
To run unit tests for a specific plugin such as Vue, run the following:
nx test vue
To run e2e tests for all plugins, run the following:
nx run-many --target e2e --all
To run e2e tests for a specific plugin such as Vue, run the following:
nx e2e vue
Before submitting an issue please check that the issue you intend to create doesn't already exist. You can create new issues here.
Before submitting a PR please check the following:
- Your code is properly formatted
- To format all code, run
nx format:write --all
- To format all code, run
- You haven't introduced any lint errors or warnings
- All unit tests are passing
- All e2e test are passing (this may take a while, so you can delegate this to CI)