npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@huddly/camera-switch-proto

v0.0.6

Published

An npm package describing the protobuf api the huddly camera switch service

Downloads

17

Readme

Camera Switch Interface

Releasing NPM package

Making an npm release is done manually by one of the developers with publishing access to our huddly organization account on npmjs. The following procedure should be followed when wanting to make a new npm package release:

  • Bump the package version manually by running the script ./scripts/bumpversion.sh <NEWVERSION>
  • After having updated the package.json version, make sure you commit the changes to github
  • Last step is to make the actual release. You can do that by running the following command npm run publish-package. NOTE Running this command requires you to be logged in to npmjs through your terminal windows with the huddly account.

Releasing Nuget package

Making a nuget release is done manually by whomever has access to artifactory. The following procedure should be followed:

  • Go to artifactry.huddly.io and log in. Navigate to artifacts and locate huddly-nuget repository. Click on the repository and go to Set me Up
  • On the Set me up page of the nuget repository, enter you password and copy the information for setting up your nuget repository locally
  • The following command sets up a nuget repository (Note, if you enter the password on the set me up page, you can use the authentication key instead of the password on the next command):
nuget sources Add -Name Artifactory -Source https://artifactory.huddly.io/artifactory/api/nuget/nuget -username <USERNAME> -password <PASSWORD/API_KEY>
nuget sources Add -Name ArtifactoryNugetLocal -Source https://artifactory.huddly.io/artifactory/api/nuget/nuget-local -username <USERNAME> -password <PASSWORD/API_KEY>
  • After having run that command you need to make sure you authenticate yourself against that repository. The following command can be used:
nuget setapikey <USERNAME>:<PASSWORD/API_KEY> -Source Artifactory
nuget setapikey <USERNAME>:<PASSWORD/API_KEY> -Source ArtifactoryNugetLocal
  • Now you are good to publish any nuget packages to the nuget-local repository on artifactory.
  • By setting up the nuget repository locally, you can fetch nuget packages from the official nuget registry but also from our own one hosted on artifactory
    • nuget is a virtual repository
    • nuget-local is a local repository where we host our nuget packages
    • nuget-remote is a remote repository in artifactory pointing to official nuget registry (this one we dont have to set up as setting up the virtual one is sufficient)
  • Make sure your versions are matching on all packages (npm and nuget). TIP: you can use ./scripts/bump_version.sh script to bump the versions for the npm and nuget packages.
  • Pack and push your new nuget package using the following command:
nuget pack Huddly.CameraSwitchProto.nuspec
nuget push Huddly.CameraSwitchProto.nuspec -Source ArtifactoryNugetLocal
  • Locate your newly pushed nuget package on the nuget-local repository on artifactory.

NOTE: Afected projects when doing changes to this repository and/or making new releases include: