An open API service indexing awesome lists of open source software.

https://github.com/bengsfort/irsdk-node

An iRacing SDK addon for Node.js, allowing you to use + control the iRacing SDK from Node.
https://github.com/bengsfort/irsdk-node

iracing iracing-api javascript node-addon nodejs sdk typescript

Last synced: 11 months ago
JSON representation

An iRacing SDK addon for Node.js, allowing you to use + control the iRacing SDK from Node.

Awesome Lists containing this project

README

          

# @irsdk-node/workspace

This is the root of the `irsdk-node` workspace. `irsdk-node` is a node.js wrapper for the C++ iRacing SDK. It provides native bindings and a simple API to interact with it, allowing you to very easily consume data from the SDK or write apps to set up macros and other commands.

You can find the main module via the [irsdk-node](./packages/irsdk-node) package.

## Sub-packages

- [irsdk-node](./packages/irsdk-node): The main `irsdk-node` package.
- [@irsdk-node/types](./packages/irsdk-node-types): Package containing TypeScript implementations of the native types within the iRacing SDK.
- [@irsdk-node/native](./packages/irsdk-node-native): Package containing the native node.js addon that implements the bindings and interacts with the SDK. Consumed by `irsdk-node`.

## Updating packages

The packages in this repo are managed via yarn workspaces. We utilize the yarn workspaces and yarn version plugins to make this process much easier.

Use [`yarn version`](https://yarnpkg.com/cli/version) to version the different packages, preferrably in `--deferred` mode. You can use the interactive prompt to do this.

When ready to publish, just run `yarn publish` from the root and the script should take care of everything. Make sure to add a git tag after. Ideally this would be automated via github actions + changesets, but maybe in the future.