@graphprotocol/graph-cli 0.73.0-alpha-20240527172509-aebae2e → 0.73.0-alpha-20240527173240-d0f0efe
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +1 -0
- package/dist/commands/publish.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -22,6 +22,7 @@ As of today, the command line interface supports the following commands:
|
|
|
22
22
|
binary in order to test a subgraph.
|
|
23
23
|
- `graph add` - Adds a new datasource to the yaml file and writes the necessary changes to other
|
|
24
24
|
files - schema.graphql, abi and mapping.
|
|
25
|
+
- `graph publish` - Publishes the subgraph to the Graph Network.
|
|
25
26
|
|
|
26
27
|
## How It Works
|
|
27
28
|
|
package/dist/commands/publish.js
CHANGED
|
@@ -49,7 +49,7 @@ class PublishCommand extends core_1.Command {
|
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
51
51
|
async run() {
|
|
52
|
-
const { args: { 'subgraph-manifest': manifest }, flags: { 'ipfs-hash': ipfsHash, 'webapp-url': webUiUrl, ipfs
|
|
52
|
+
const { args: { 'subgraph-manifest': manifest }, flags: { 'ipfs-hash': ipfsHash, 'webapp-url': webUiUrl, ipfs }, } = await this.parse(PublishCommand);
|
|
53
53
|
if (ipfsHash) {
|
|
54
54
|
await this.publishWithBrowser({ ipfsHash, webapp: webUiUrl });
|
|
55
55
|
return;
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED