twitch-integrations1
TypeScript icon, indicating that this package has built-in type declarations

5.139.0 • Public • Published

Twitch Integrations

Twitch Integrations allows Twilight to surface additional functionality on browsers that support the proper integration methods. This is how browsers such as the Twitch Desktop App and Twitch Studio have different functionality that is still written within the Twilight codebase. However, twitch-integrations is not limited to only surfacing additional information in these browsers. It can be utilized for other browser specific scenarios in the future.

To find out more about twitch-integrations check out the article on our docs portal here. Information on testing new integrations locally can be found here.

Publishing twitch-integrations

Twitch Integrations is published by TeamCity build agents. We have added several useful utility scripts for publishing. These scripts will automatically run yarn build, yarn version and git push --tags with various arguments so be careful, because the tags will be automatically pushed for team city to begin publishing.

Publishing a new version

Simply run one of the following commands to have team city publish a new version. If you are not a Desktop Platform team developer, you should coordinate with them before publishing a non-prerelease version on your own.

  • yarn release:major (Ex. v1.0.0 -> v2.0.0)
  • yarn release:minor (Ex. v1.0.0 -> v1.1.0)
  • yarn release:patch (Ex. v1.0.0 -> v1.0.1)

Review https://semver.org/ if you aren't sure which piece of the version number to bump.

Publishing a prerelease or test version

Sometimes we just want to publish a test version so that we can put together a working PR for functional QA to review. In this case run one of the following commands.

  • yarn testrelease:major (Ex. v1.0.0 -> v2.0.0-0)
  • yarn testrelease:minor (Ex. v1.0.0 -> v1.1.0-0)
  • yarn testrelease:patch (Ex. v1.0.0 -> v1.0.1-0)
  • yarn testrelease:next (Ex. v1.0.0 -> v1.0.0-0)

Or specify a prefix

  • yarn testrelease:major pre (Ex. v1.0.0 -> v2.0.0-pre.0)
  • yarn testrelease:minor pre (Ex. v1.0.0 -> v1.1.0-pre.0)
  • yarn testrelease:patch pre (Ex. v1.0.0 -> v1.0.1-pre.0)
  • yarn testrelease:next pre (Ex. v1.0.0-pre.0 -> v1.0.1-pre.1)

Or a different a prefix

  • yarn testrelease:major mods (Ex. v1.0.0 -> v2.0.0-mods.0)
  • yarn testrelease:minor mods (Ex. v1.0.0 -> v1.1.0-mods.0)
  • yarn testrelease:patch mods (Ex. v1.0.0 -> v1.0.1-mods.0)
  • yarn testrelease:next pre (Ex. v1.0.0-mods.0 -> v1.0.1-mods.1)

Readme

Keywords

none

Package Sidebar

Install

npm i twitch-integrations1

Weekly Downloads

1

Version

5.139.0

License

UNLICENSED

Unpacked Size

707 kB

Total Files

573

Last publish

Collaborators

  • frgjdhskxjogu