Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 1.68 KB

CONTRIBUTING.md

File metadata and controls

64 lines (40 loc) · 1.68 KB

Contributing

secco is released under the MIT license

PRs welcome!

Hi! We're excited that you are interested in contributing to secco. Before submitting your contribution, please read through the follow guide. Thanks!

Setup

Make sure that you have at least Node.js 18 or later installed. The secco repository uses pnpm as its package manager so you'll also need to install pnpm. We'd recommend using corepack enable.

Install the dependencies:

pnmp install

You can build the CLI to dist/cli.mjs by running:

pnmp run build

You can build the source in watch mode like this:

pnmp run watch

Testing

Unit Testing

You can run all unit tests like so:

pnmp run test

Integration Testing

You can run all integration tests like so:

pnmp run test:integration

Testing with example project

You can also use your local version of the CLI in an example project.

For this, you should run pnpm run watch in the secco repository to build the CLI in watch mode.

Inside your example project, execute the CLI like so:

`node <path-to-secco-repo>/dist/cli.mjs`

Documentation

Found a typo in the docs or want to contribute a new guide? Great! All docs live inside the docs folder. Its README has all the information you need to author new content for docs.