@zeroheight/adoption-cli 2.0.0 → 2.0.1
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 +4 -0
- package/dist/cli.js +1 -1
- package/dist/components/help-info.js +11 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Release notes
|
|
2
2
|
|
|
3
|
+
## [2.0.1](https://www.npmjs.com/package/@zeroheight/adoption-cli/v/2.0.1) - 21st October 2024
|
|
4
|
+
|
|
5
|
+
- Update help text and link
|
|
6
|
+
|
|
3
7
|
## [2.0.0](https://www.npmjs.com/package/@zeroheight/adoption-cli/v/2.0.0) - 21st October 2024
|
|
4
8
|
|
|
5
9
|
- Use new API endpoints
|
package/dist/cli.js
CHANGED
|
@@ -12,7 +12,7 @@ const { output, cleanup } = render(React.createElement(HelpInfo, null));
|
|
|
12
12
|
program
|
|
13
13
|
.name("zh-adoption")
|
|
14
14
|
.description("CLI for measuring design system usage usage in your products")
|
|
15
|
-
.version("2.0.
|
|
15
|
+
.version("2.0.1")
|
|
16
16
|
.addHelpText("before", output)
|
|
17
17
|
.addCommand(analyzeCommand())
|
|
18
18
|
.addCommand(authCommand())
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { Box,
|
|
2
|
+
import { Box, Text } from "ink";
|
|
3
3
|
import Link from "ink-link";
|
|
4
4
|
/**
|
|
5
5
|
* Rich help banner with link to help center docs
|
|
6
6
|
*/
|
|
7
7
|
export default function HelpInfo() {
|
|
8
8
|
return (React.createElement(React.Fragment, null,
|
|
9
|
-
React.createElement(Box, { borderStyle: "double",
|
|
10
|
-
React.createElement(Box, { justifyContent: "center" },
|
|
9
|
+
React.createElement(Box, { borderStyle: "double", paddingLeft: 1, paddingRight: 1, marginBottom: 1, flexDirection: "column" },
|
|
10
|
+
React.createElement(Box, { justifyContent: "center", marginBottom: 1 },
|
|
11
11
|
React.createElement(Text, { bold: true }, "Welcome \uD83D\uDC4B")),
|
|
12
|
-
React.createElement(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
React.createElement(Box, { marginBottom: 1 },
|
|
13
|
+
React.createElement(Text, null,
|
|
14
|
+
"Get started with the",
|
|
15
|
+
" ",
|
|
16
|
+
React.createElement(Text, { color: "#f63e7c", bold: true }, "zeroheight"),
|
|
17
|
+
" ",
|
|
18
|
+
"measurement CLI and start tracking your design system's adoption.")),
|
|
19
19
|
React.createElement(Text, null,
|
|
20
20
|
"For more information on how to set this up, check",
|
|
21
21
|
" ",
|
|
22
|
-
React.createElement(Link, { url: "https://zeroheight.com/help/article/
|
|
22
|
+
React.createElement(Link, { url: "https://zeroheight.com/help/article/adoption-private-beta-overview/" }, "here"),
|
|
23
23
|
"."))));
|
|
24
24
|
}
|