Commit bcf5f68
committed
feat(cli): use unified @graphprotocol/gnd package
Replace the `graph node install` GitHub-release downloader with a direct
dependency on `@graphprotocol/gnd`, the unified npm wrapper now published
from the graph-node repo. The wrapper declares the five platform-specific
binary packages as its own optional dependencies, so `pnpm install` of
graph-cli automatically resolves the correct binary for the host and
exposes a `gnd` launcher on `node_modules/.bin`.
The `graph node install` command, its `local-node.ts` GitHub downloader,
and the `commands/node.ts` oclif command all become dead code and are
removed.1 parent 0bbef98 commit bcf5f68
5 files changed
Lines changed: 73 additions & 289 deletions
File tree
- packages/cli
- src
- command-helpers
- commands
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments