Repository navigation
feat(wallet-cli): nested command grammar, structured output, confirmations, wizards, exec mode and a read-only mcp server #2147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 42 commits
3903edf
3dc86f5
c35d260
537941f
06e5bd4
133a31c
842d2c6
aede778
028ed6d
254238e
08edc7f
5245565
3a3ad5d
d2e0332
84a994d
f210439
6daee14
6ec9e2f
349f732
1da6d15
9c67bc8
6de0e88
6c29741
967932b
bc38893
25c9e1a
744e60a
5fab96f
7cdbb03
8bbd467
ae4a810
82e05f5
0059b56
c9d4b81
883da53
d1cc022
07d9c6d
29164e9
1cbad73
066840f
e9b103b
00aa45b
f2454ae
ebe5b98
2758abb
fe60d67
5db1d81
831e2ef
69c88fc
e1e019a
34668fb
2f0e9fa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -63,15 +63,18 @@ jobs: | |||||
|
|
||||||
| - name: Compile the tests | ||||||
| working-directory: ./wasm-wrappers | ||||||
| run: tsc --project js-bindings-test/tsconfig.json | ||||||
| # Invoke the binary installed at the repository root directly: this | ||||||
| # does not depend on how runner images compose PATH and fails with a | ||||||
| # clear "not found" error instead of resolving through the registry. | ||||||
| run: '"$GITHUB_WORKSPACE/node_modules/.bin/tsc" --project js-bindings-test/tsconfig.json' | ||||||
|
|
||||||
| - name: Run the tests | ||||||
| working-directory: ./wasm-wrappers | ||||||
| run: node --enable-source-maps js-bindings-test/node-entry.js | ||||||
|
|
||||||
| - name: Run Knip | ||||||
| working-directory: ./wasm-wrappers/js-bindings-test | ||||||
| run: npx knip | ||||||
| run: '"$GITHUB_WORKSPACE/node_modules/.bin/knip"' | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggestion:
Suggested change
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as the tsc step: the invocation now goes through $GITHUB_WORKSPACE/node_modules/.bin/knip, resolving the root install without relying on PATH. |
||||||
|
|
||||||
| wasm_artifacts: | ||||||
| runs-on: ubuntu-latest | ||||||
|
|
||||||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment and path assume npm installs typescript/knip into the repository root's node_modules, but the "Install TypeScript & Knip" step runs with working-directory ./wasm-wrappers, which has no package.json (neither does the repo root — only wasm-wrappers/js-bindings-test/package.json exists).
npm install <pkg>without a package.json installs into the current working directory, so node_modules will most likely be created at ./wasm-wrappers/node_modules, not $GITHUB_WORKSPACE/node_modules. These steps will then fail with "not found". Either install at the root explicitly (cd to $GITHUB_WORKSPACE or usenpm install --prefix "$GITHUB_WORKSPACE"), or reference "$GITHUB_WORKSPACE/wasm-wrappers/node_modules/.bin/tsc".Suggestion:
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The install step runs at the repository root without a working-directory override, so typescript and knip land in the root node_modules. The steps now invoke both binaries through the root node_modules/.bin path explicitly, which no longer depends on the runner image putting that directory on PATH.