azureauth 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +26 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # node-azureauth
2
+
3
+ This package wraps the https://github.com/AzureAD/microsoft-authentication-cli with a node.js exec wrapper.
4
+
5
+ That way the `azureauth` CLI can be downloaded automatically, and therefore scoped to the `./node_modules/.bin` allowing for multiple versions of the AzureAuth CLI
6
+ to exist on one machine at once.
7
+
8
+ ## Usage
9
+
10
+ Install the package wiwth
11
+
12
+ ```bash
13
+ > npm i azureauth
14
+ ```
15
+
16
+ Use the `azureauth` CLI by calling it from NPM scripts.
17
+
18
+ ```json
19
+ "scripts": {
20
+ "authcli": "azureauth --version"
21
+ }
22
+ ```
23
+
24
+ ```bash
25
+ > npm run authcli
26
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azureauth",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "node-azure auth wrapps the AzureAuth CLI wrapper for performing AAD Authentication",
5
5
  "bin": {
6
6
  "azureauth": "./cli.js"