@fubotv/platform-angular-sdk
v8.0.0
Published
[](https://coveralls.io/github/fubotv/platform-angular-sdk) [ - add
PlatformAngularSdkModuleto your moduleimportsarray - import directive/pipe/service/component from this package into your class
Releases
The plat-ui/npm-release CircleCI job (defined in
platform-orbs) is triggered when a
maintainer pushes a git tag that matches v<MAJOR>.<MINOR>.<PATCH> (same
convention as platform-config-sdk and other Platform team SDKs). The job
checks out the tagged commit, builds dist/platform-angular-sdk/, sets the
package.json version from ${CIRCLE_TAG}, and runs npm publish. Nothing
about commit messages is parsed — the human picks the version, CI ships
exactly that.
How to cut a release
- Make sure
mastercontains the changes you want released and that all checks are green. - In the GitHub UI: Releases → Draft a new release → Choose a tag, type
the new version (e.g.
v7.0.0), targetmaster, write release notes, click Publish release. GitHub creates the tag and pushes it. - CircleCI sees the tag push and runs
npm-release. Watch the job in the CircleCI UI; the publish step will print the version and a confirmation from npm. - Verify with
npm view @fubotv/platform-angular-sdk version.
CLI alternative:
git checkout master && git pull --ff-only
git tag -a v7.0.0 -m "v7.0.0"
git push origin v7.0.0(Then create a GitHub release pointing at that tag if you want a written changelog.)
Versioning guidance
Standard semver. The SDK's major must bump whenever the peerDependencies
for @angular/common or @angular/core widen to a new Angular major — that's
a breaking change for consumers. Patch and minor bumps are fine for everything
else.
Required CircleCI context
platform-npm — must contain NPM_TOKEN with publish rights to
@fubotv/platform-angular-sdk. The job won't start without it.
Manual fallback
If CircleCI is unavailable, publish from a local checkout:
git checkout v7.0.0 # or whatever tag
npm ci
npm run build
npm --prefix dist/platform-angular-sdk version 7.0.0 --no-git-tag-version --allow-same-version
npm publish ./dist/platform-angular-sdkMake sure npm whoami shows a fubotv user with publish rights before running.
