Hi! We're excited that you are interested in contributing to secco. Before submitting your contribution, please read through the follow guide. Thanks!
Make sure that you have at least Node.js 18.19.0 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
You can run all unit tests like so:
pnmp run test
You can run all integration tests like so:
pnmp run test:integration
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`
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.