@playt/anybrain-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

@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 the dist 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 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 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.

Package Sidebar

Install

npm i @playt/anybrain-sdk

Weekly Downloads

50

Version

1.2.0

License

UNLICENSED

Unpacked Size

12.3 MB

Total Files

11

Last publish

Collaborators

  • jeysal
  • marwinburesch
  • phlgr