Skip to content

Commit 543bda2

Browse files
authored
refactor: ✨ Upgraded Inquirer (#448)
* refactor: ✨ Upgraded Inquirer * docs: 📝 Added PR todo * refactor: ♻️ tidy * style: 💄 Tail command improvements * boxed outputs * style: 💄 Updates to style * fix: 🐛 Fix text clipping issues * fix: 🐛 Fix logview totals
1 parent a506168 commit 543bda2

File tree

21 files changed

+1940
-1790
lines changed

21 files changed

+1940
-1790
lines changed

.changeset/young-cars-pump.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@moonwall/types": minor
3+
"@moonwall/util": minor
4+
"@moonwall/cli": minor
5+
"@moonwall/tests": minor
6+
---
7+
8+
Update Inquirer

TODO

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
IN THIS PR DONT MERGE UNTIL YOU'VE DONE
2+
3+
- FIX ZOMBIE NET RUN COMMAND
4+
- FIX CHOPSTICKS > TAIL > TEST SCENARIO

package.json

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@
2424
"devDependencies": {
2525
"@biomejs/biome": "1.9.4",
2626
"@changesets/cli": "2.27.9",
27-
"@types/node": "22.9.0",
28-
"typescript": "5.6.3"
27+
"@types/node": "22.10.1",
28+
"typescript": "5.7.2"
2929
},
3030
"dependencies": {
3131
"@acala-network/chopsticks": "1.0.1",
32+
"@inquirer/prompts": "7.1.0",
3233
"@moonbeam-network/api-augment": "0.3200.3",
3334
"@polkadot/api": "14.3.1",
3435
"@polkadot/api-base": "14.3.1",
@@ -39,19 +40,18 @@
3940
"@polkadot/types-codec": "14.3.1",
4041
"@polkadot/util": "13.2.3",
4142
"@polkadot/util-crypto": "13.2.3",
42-
"@types/debug": "*",
43+
"@types/debug": "^4.1.12",
4344
"@types/semver": "^7.5.8",
4445
"@types/ws": "^8.5.10",
45-
"@types/yargs": "*",
46+
"@types/yargs": "^17.0.33",
4647
"@vitest/ui": "2.1.4",
4748
"@zombienet/utils": "0.0.25",
4849
"bottleneck": "2.19.5",
4950
"chalk": "5.3.0",
5051
"debug": "4.3.7",
5152
"ethers": "6.13.4",
52-
"inquirer": "9.3.3",
53-
"inquirer-press-to-continue": "1.2.0",
5453
"pnpm": "9.12.3",
54+
"polkadot-api": "1.7.7",
5555
"semver": "7.6.2",
5656
"solc": "0.8.28",
5757
"tiny-invariant": "^1.3.3",
@@ -65,7 +65,16 @@
6565
},
6666
"pnpm": {
6767
"overrides": {
68-
"inquirer": "9.3.3"
68+
"@moonbeam-network/api-augment": "0.3200.3",
69+
"@polkadot/api": "14.3.1",
70+
"@polkadot/api-base": "14.3.1",
71+
"@polkadot/api-derive": "14.3.1",
72+
"@polkadot/keyring": "13.2.3",
73+
"@polkadot/rpc-provider": "*",
74+
"@polkadot/types": "14.3.1",
75+
"@polkadot/types-codec": "14.3.1",
76+
"@polkadot/util": "13.2.3",
77+
"@polkadot/util-crypto": "13.2.3"
6978
}
7079
}
7180
}

packages/cli/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
},
6060
"dependencies": {
6161
"@acala-network/chopsticks": "*",
62+
"@inquirer/prompts": "*",
6263
"@moonbeam-network/api-augment": "*",
6364
"@moonwall/types": "workspace:*",
6465
"@moonwall/util": "workspace:*",
@@ -70,6 +71,8 @@
7071
"@polkadot/types-codec": "*",
7172
"@polkadot/util": "*",
7273
"@polkadot/util-crypto": "*",
74+
"@types/react": "^18.3.12",
75+
"@types/tmp": "^0.2.6",
7376
"@vitest/ui": "*",
7477
"@zombienet/orchestrator": "0.0.97",
7578
"@zombienet/utils": "*",
@@ -83,13 +86,14 @@
8386
"dotenv": "16.4.5",
8487
"ethers": "*",
8588
"get-port": "^7.1.0",
86-
"inquirer": "*",
87-
"inquirer-press-to-continue": "*",
89+
"ink": "^5.1.0",
8890
"jsonc-parser": "3.3.1",
8991
"minimatch": "9.0.5",
9092
"polkadot-api": "^1.7.4",
93+
"react": "^18.3.1",
9194
"semver": "*",
9295
"tiny-invariant": "*",
96+
"tmp": "^0.2.3",
9397
"viem": "*",
9498
"vitest": "*",
9599
"web3": "*",

0 commit comments

Comments
 (0)