Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 2.01 KB

CONTRIBUTING.md

File metadata and controls

41 lines (27 loc) · 2.01 KB

How to contribute to nx-trumbitta

Thank you, thank you so much 🙏 for your interest in contributing to this repository!

This is a container of @nrwl/nx plugins I decided or needed to write.
At the time of writing, the only available plugin is nx-plugin-openapi.

Which kind of contributions can I... contribute?

You can contribute new features, add or update docs, fix or submit new issues, share feedback, basically anything you feel like contributing.

Ok but what if I want to propose a new feature or fix some bug

Well, go on and open a pull request!
But for me to feel comfortable accepting your code in my codebase, you'll need some tools:

Then, do your thing and make sure you code doesn't break any test.

# Unit tests
nx affected:test --base=main

# E2e tests
nx affected:e2e --base=main

Speaking of which, if you are contributing to nx-plugin-openapi, you can test it by following the official guide.
The gist of the thing is you first run:

nx e2e nx-plugin-openapi-e2e

And this will run the test suite but it will also create a working Nx workspace in tmp/nx-e2e/proj where you can run commands and fiddle with things.

Also please add new test cases if you are adding new features, or a test case specific for the bug you are fixing so that we can be reasonably safe against regressions.