@zeroheight/adoption-cli 0.4.1 → 0.4.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release notes
2
2
 
3
+ ## [0.4.2](https://www.npmjs.com/package/@zeroheight/adoption-cli/v/0.4.2) - 10th September 2024
4
+
5
+ - Update README
6
+
3
7
  ## [0.4.1](https://www.npmjs.com/package/@zeroheight/adoption-cli/v/0.4.1) - 9th August 2024
4
8
 
5
9
  - Update README
package/README.md CHANGED
@@ -12,13 +12,15 @@ npm i @zeroheight/adoption-cli
12
12
 
13
13
  ## Usage
14
14
 
15
+ ### Component usage analysis
16
+
15
17
  In the repository in which you wish to analyze the component usage, run the following command:
16
18
 
17
19
  ```bash
18
20
  zh-adoption analyze
19
21
  ```
20
22
 
21
- ### Options
23
+ #### Options
22
24
 
23
25
  `-e` / `--extensions`
24
26
 
@@ -52,11 +54,12 @@ Pass in `false` to disable the interactive mode e.g. when running in a CI enviro
52
54
  zh-adoption analyze --interactive false -r "My Repo"
53
55
  ```
54
56
 
55
- ---
57
+
56
58
 
57
59
  To send adoption data to your [zeroheight](https://zeroheight.com/) account you will need to authenticate using a Client ID and Access Token.
58
60
 
59
- ### Interactive mode
61
+ ### Authentication
62
+ #### Interactive mode
60
63
 
61
64
  When running the `analyze` command, you will be prompted to authenticate. This will save the Client ID and Access Token to your local machine.
62
65
 
@@ -66,7 +69,7 @@ Alternatively, you can authenticate by running the following command:
66
69
  zh-adoption auth
67
70
  ```
68
71
 
69
- ### Non-interactive mode
72
+ #### Non-interactive mode
70
73
 
71
74
  When running the `analyze` command with the `--interactive false` flag, you will need to provide the Client ID and Access Token as environment variables.
72
75
 
package/dist/cli.js CHANGED
@@ -10,7 +10,7 @@ const { output, cleanup } = render(React.createElement(HelpInfo, null));
10
10
  program
11
11
  .name("zh-adoption")
12
12
  .description("CLI for measuring design system usage usage in your products")
13
- .version("0.4.0")
13
+ .version("0.4.2")
14
14
  .addHelpText("before", output)
15
15
  .addCommand(analyzeCommand())
16
16
  .addCommand(authCommand());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeroheight/adoption-cli",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "license": "ISC",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {