Skip to content

All the stremio official add-ons, in an array of AddonDescriptors

License

Notifications You must be signed in to change notification settings

Stremio/stremio-official-addons

Repository files navigation

stremio-official-addons

npm downloads

npm downloads crates.io version badge Crates.io Downloads (latest version)

All the stremio official add-ons, in AddonCollection.load() format

The index.js file is meant to be generated from the output of AddonCollection.save()

Changing the official add-ons

To change what's contained in this module, you have to change scripts/gen.js for version 1 and official-addons-v2/scripts/build.js for version 2.

Besides changing this module, you have to update all it's dependant packages, most notably:

Release new version

Version 1.XX.XX

To release a new version for v1 npm package you need to:

  1. Bump package.json

1.1. Make sure to update package-lock.json:

npm i --package-lock-only

  1. Make a new tag

git tag -a v1.XX.XX -m "Tag for releases v1.XX.XX"

  1. Push it to the repo

git push -u origin v1.XX.XX

  1. Create a new release using the version as a title, e.g. v1.5.6 and automatically generate changes from previous tag.

  2. The publish workflow will run the v1 job and will:

    1. Build stremio-official-addons@1 package
    2. Publish the package on npm

Version 2.XX.XX

To release a new version for v2 npm and crate packages you need to:

  1. Bump official-addons-v2/package.json

1.1. Make sure to update package-lock.json:

npm i --package-lock-only

  1. Bump official-addons-v2/Cargo.toml

2.1. Make sure to update Cargo.lock:

cargo update -p stremio-official-addons

  1. Make a new tag

git tag -a v2.XX.XX -m "Tag for releases v2.XX.XX"

  1. Push it to the repo

git push -u origin v2.XX.XX

  1. Create a new release using the version as a title, e.g. v2.0.12 and automatically generate changes from previous tag.

  2. The publish workflow will run the v2 job and will:

    1. Build @stremio/stremio-official-addons@2 package
    2. Publish the package on npm
    3. Publish the crate on crates.io

License

Both packages are licensed under the MIT license:

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the project by you, shall be licensed as MIT, without any additional terms or conditions.

About

All the stremio official add-ons, in an array of AddonDescriptors

Resources

License

Stars

Watchers

Forks

Packages

No packages published