You’ll need to have Node 16.17.0 or later on your local development machine (but it’s not required on the server). You can use fnm to easily switch Node versions between different projects.
git clone https://github.com/nanlabs/nancy.js
cd nancy.js
fnm use
npm install
We use Changesets to publish packages. This is a tool that allows us to publish packages to NPM with a single command. It also allows us to create a changelog for each package.
To publish a package, you need to run the following command:
# Add a new changeset
npm run changeset
# Build the packages, update the versions and publish them
npm run publish-packages
Contributions are welcome! Pull requests are welcome.
If you have a more representative example of some of the components, hooks, helpers, feel free to create a new story and create a pull request.
Read the CONTRIBUTING guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to React.