@devtion/devcli 0.0.0-bfc9ee4 → 0.0.0-eb3bb7d
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/README.md +2 -0
- package/dist/index.js +1 -1
- package/package.json +3 -2
- package/src/commands/auth.ts +2 -2
package/README.md
CHANGED
|
@@ -61,6 +61,8 @@ or run specific commands with `npx`:
|
|
|
61
61
|
npx @p0tion/phase2cli contribute
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
+
> Please note that phase2cli only runs on Linux or Mac systems. If a Windows user, please install [WSL2](https://learn.microsoft.com/en-us/windows/wsl/install) first.
|
|
65
|
+
|
|
64
66
|
## 📜 Usage
|
|
65
67
|
|
|
66
68
|
### Local Development
|
package/dist/index.js
CHANGED
|
@@ -2114,7 +2114,7 @@ const onVerification = async (verification) => {
|
|
|
2114
2114
|
clipboard.readSync();
|
|
2115
2115
|
// Display data.
|
|
2116
2116
|
console.log(`${theme.symbols.warning} Visit ${theme.text.bold(theme.text.underlined(verification.verification_uri))} on this device to generate a new token and authenticate\n`);
|
|
2117
|
-
console.log(theme.colors.magenta(figlet.textSync(
|
|
2117
|
+
console.log(theme.colors.magenta(figlet.textSync("Code is Below", { font: "ANSI Shadow" })), '\n');
|
|
2118
2118
|
console.log(`${theme.symbols.info} Your auth code: ${theme.text.bold(verification.user_code)} has been copied to your clipboard (${theme.emojis.clipboard} ${theme.symbols.success})\n`);
|
|
2119
2119
|
const spinner = customSpinner(`Redirecting to Github...`, `clock`);
|
|
2120
2120
|
spinner.start();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devtion/devcli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.0-
|
|
4
|
+
"version": "0.0.0-eb3bb7d",
|
|
5
5
|
"description": "All-in-one interactive command-line for interfacing with zkSNARK Phase 2 Trusted Setup ceremonies",
|
|
6
6
|
"repository": "git@github.com:privacy-scaling-explorations/p0tion.git",
|
|
7
7
|
"homepage": "https://github.com/privacy-scaling-explorations/p0tion",
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@adobe/node-fetch-retry": "^2.2.0",
|
|
67
|
+
"@aws-sdk/client-s3": "^3.329.0",
|
|
67
68
|
"@octokit/auth-oauth-app": "^5.0.5",
|
|
68
69
|
"@octokit/auth-oauth-device": "^4.0.4",
|
|
69
70
|
"@octokit/request": "^6.2.3",
|
|
@@ -96,5 +97,5 @@
|
|
|
96
97
|
"publishConfig": {
|
|
97
98
|
"access": "public"
|
|
98
99
|
},
|
|
99
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "d21d2002b8d020289595aaea83be0202d28486cb"
|
|
100
101
|
}
|
package/src/commands/auth.ts
CHANGED
|
@@ -73,8 +73,8 @@ export const onVerification = async (verification: Verification): Promise<void>
|
|
|
73
73
|
)} on this device to generate a new token and authenticate\n`
|
|
74
74
|
)
|
|
75
75
|
|
|
76
|
-
console.log(theme.colors.magenta(figlet.textSync(
|
|
77
|
-
|
|
76
|
+
console.log(theme.colors.magenta(figlet.textSync("Code is Below", { font: "ANSI Shadow" })), '\n')
|
|
77
|
+
|
|
78
78
|
console.log(
|
|
79
79
|
`${theme.symbols.info} Your auth code: ${theme.text.bold(verification.user_code)} has been copied to your clipboard (${theme.emojis.clipboard} ${
|
|
80
80
|
theme.symbols.success
|