1.2.0 • Published 2 years ago
@playt/anybrain-sdk v1.2.0
@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
originaldirectory - Copy the new version of the Anybrain SDK to
original - Run the
buildscript - Check if the
distfolder looks good, or manual changes are needed in thedistfolder, 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
exported 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
originalcontains exactly the SDK we receive from Anybrain - Make sure
distincludes not only files we modify but also files we add, such as typings - Run the
update-patchscript- Do not worry if this exits with status code 1, this is expected. Do worry if it exits 0 or >1.