@playt/anybrain-sdk
v1.2.0
Published
Distribution of the Anybrain SDK for the PLAYT client
Downloads
450
Readme
@playt/anybrain-sdk
Distribution of the Anybrain SDK for the PLAYT client
Not intended to be used directly, rather through the PLAYT Client.
Workflows
Update the Anybrain SDK
- Delete the
original
directory - Copy the new version of the Anybrain SDK to
original
- Run the
build
script - Check if the
dist
folder looks good, or manual changes are needed in thedist
folder, in particular:- Check for any parts of the patch that failed to apply
- Remove any
*.{orig,rej}
files due to uncleanly applied patches - Check if new Anybrain SDK functions need to be
export
ed and need typings
- Especially after any manual changes, do not forget the "Before any push or publish" workflow
Before any push or publish
- Make sure
original
contains exactly the SDK we receive from Anybrain - Make sure
dist
includes not only files we modify but also files we add, such as typings - Run the
update-patch
script- Do not worry if this exits with status code 1, this is expected. Do worry if it exits 0 or >1.