Contributing
We always welcome your contribution! This document provides how to contribute to cli-kintone.
Code of Conduct
Before starting contribution, please see Code of Conduct first.
Supporting resources
If you have any questions or feedbacks, you can check our supporting resources.
Issues
We use GitHub Issues for bug reports and feature requests.
Before submitting an Issue, please make sure that there is no related Issue already.
When creating an Issue, be sure to fill out the Issue template. Especially, a minimum reproduction is really important to fix a bug and directly lead to faster triage.
Pull Requests
If you are going to make a PR contribution, please make sure that a corresponding Issue exist first. In addition, we encourage you to make a proposal in the Issue before starting implementation.
Development
Setup repository
Node.js should be configured.
Clone and move into the repository
git clone git@github.com:kintone/cli-kintone.git
cd cli-kintone
Install dependencies
corepack enable
pnpm install
Run build command to check if the repository is ready.
pnpm build
Build
Currently, we have different build processes for the npm package and executables.
To build both of them, run build:all command:
pnpm build:all
Build npm package
Run build command:
pnpm build
To build in watch mode, run start command:
pnpm start
To check behavior, run the entrypoint file directly:
./cli.js
Build executables
Run build:artifacts command:
pnpm build:artifacts
Executables will be generated in bin directory.
bin
├── cli-kintone-linux-x64
├── cli-kintone-macos-arm64
└── cli-kintone-win-x64.exe