0.2.8 • Published 4 years ago

devops-buddy v0.2.8

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

Azure DevOps NPM Auth

The purpose of this package is to provide a cross platform and interactive authentication experience like vsts-npm-auth, but without the limitation of it being Windows only.

Installation

Because of the size of the package, it is recommended to just install it globally like this:

npm install -g devops-buddy

or

yarn global add devops-buddy

When the size is reduced, the global installation guidance would be lifted

Usage

To use it, run it at the root of the repository that has a .npmrc file:

# cd project
# devops-buddy

A window would open for you to authenticate. Then it'll proceed to get a new accesstoken for you to use to install from npm feeds from Azure Artifacts.

The Stack

  1. an Azure DevOps registered application
  2. a cross-platform application with a webview - handles the interactive prompt (used for 1st time)
  3. a CLI app that manages access tokens and refresh tokens - saves the tokens securely via keytar

Future Work

Currently the interactive app is based on Electron. It is completely overkill (@ 170mb) and carries a huge installation burden. There are alternatives:

  1. webview
  2. WebWindow
  3. build our own node.js binding for webview to reduce the installation size
0.2.8

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.4

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago