Commit 4bfb55f
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 d6e3d64 commit 4bfb55f
4 files changed
Lines changed: 73 additions & 490 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | | - | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
71 | 69 | | |
72 | 70 | | |
73 | | - | |
74 | 71 | | |
75 | 72 | | |
76 | 73 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments