Skip to content

Commit bcf5f68

Browse files
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/CLAUDE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ src/
3535
| `remove` | Remove data source from manifest |
3636
| `auth` | Set deploy key |
3737
| `local` | Manage local Graph Node |
38-
| `node` | Node operations |
3938
| `clean` | Remove build artifacts |
4039

4140
## Protocol System

packages/cli/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
},
3838
"dependencies": {
3939
"@float-capital/float-subgraph-uncrashable": "0.0.0-internal-testing.5",
40+
"@graphprotocol/gnd": "^0.43.0",
4041
"@oclif/core": "4.5.5",
4142
"@oclif/plugin-autocomplete": "^3.2.11",
4243
"@oclif/plugin-not-found": "^3.2.29",

packages/cli/src/command-helpers/local-node.ts

Lines changed: 0 additions & 163 deletions
This file was deleted.

packages/cli/src/commands/node.ts

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)