Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 1.69 KB

CONTRIBUTING.md

File metadata and controls

67 lines (43 loc) · 1.69 KB

Contributing to dualsense-ts

Thanks for caring enough about this project to check out these guidelines - new contributors are always welcome!

Bugs & Feature Requests

Please let us know by opening an issue.

Development Process

Dependencies

  • node v16
  • yarn

Building and Testing

git clone https://github.com/nsfm/dualsense-ts
cd dualsense-ts
yarn install

# Compiles the project to `dist/`
yarn build

# Check lint and style adherence
yarn lint

# Run unit tests
yarn test

# Run unit tests with code coverage
yarn coverage

# Run the node example app, with live compilation and source mapping for the Inspector
yarn debug

# Run the webhid example app at localhost:3000
# This will update automatically as you save changes to the app, but if you
# modify the core library you must stop the server and run `yarn build`
yarn --cwd webhid_example start

Operating System

The project and tools have been tested on these operating systems:

  • Arch Linux x64 (kernel 5.16.15 onwards)
  • Ubuntu 20.04.4 x64

If your system isn't covered here and everything works, please open a PR and let us know!

Changes facilitating compatibility with new platforms are always welcome.

Dependencies

This project prefers to maintain a minimal dependency footprint within the final build.

  • dependencies will face scrutiny; they should demonstrate significant value and come from a stable source.
  • optionalDependencies are preferred over dependencies.
  • devDependencies should simplify or improve the dev experience.

PR Merge Requirements

  • CI checks must pass
  • Test coverage maintained where appropriate
  • Change should improve the repo 👍