@graphprotocol/graph-cli 0.56.1-alpha-20230831183043-db0b651 → 0.56.1-alpha-20230901174940-abbfe3e
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 -8
- package/dist/command-helpers/scaffold.js +5 -1
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
# @graphprotocol/graph-cli
|
|
2
2
|
|
|
3
|
-
## 0.56.1-alpha-
|
|
3
|
+
## 0.56.1-alpha-20230901174940-abbfe3e
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- [#1435](https://github.com/graphprotocol/graph-tooling/pull/1435)
|
|
8
|
-
[`f05b47c`](https://github.com/graphprotocol/graph-tooling/commit/f05b47cf64912d0c66255c9f0076f1696a708ff2)
|
|
9
|
-
Thanks [@saihaj](https://github.com/saihaj)! - dependencies updates:
|
|
10
|
-
|
|
11
|
-
- Updated dependency [`prettier@3.0.3` ↗︎](https://www.npmjs.com/package/prettier/v/3.0.3) (from
|
|
12
|
-
`1.19.1`, in `dependencies`)
|
|
13
|
-
|
|
14
7
|
- [#1435](https://github.com/graphprotocol/graph-tooling/pull/1435)
|
|
15
8
|
[`f05b47c`](https://github.com/graphprotocol/graph-tooling/commit/f05b47cf64912d0c66255c9f0076f1696a708ff2)
|
|
16
9
|
Thanks [@saihaj](https://github.com/saihaj)! - update prettier
|
|
@@ -17,7 +17,11 @@ const tests_1 = require("../scaffold/tests");
|
|
|
17
17
|
const spinner_1 = require("./spinner");
|
|
18
18
|
const generateDataSource = async (protocol, contractName, network, contractAddress, abi, startBlock) => {
|
|
19
19
|
const protocolManifest = protocol.getManifestScaffold();
|
|
20
|
-
return immutable_1.Map.of('kind', protocol.name, 'name', contractName, 'network', network, 'source', yaml_1.default.parse(await prettier_1.default.format(protocolManifest.source({
|
|
20
|
+
return immutable_1.Map.of('kind', protocol.name, 'name', contractName, 'network', network, 'source', yaml_1.default.parse(await prettier_1.default.format(protocolManifest.source({
|
|
21
|
+
contract: contractAddress,
|
|
22
|
+
contractName,
|
|
23
|
+
startBlock,
|
|
24
|
+
}), {
|
|
21
25
|
parser: 'yaml',
|
|
22
26
|
})), 'mapping', yaml_1.default.parse(await prettier_1.default.format(protocolManifest.mapping({ abi, contractName }), {
|
|
23
27
|
parser: 'yaml',
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphprotocol/graph-cli",
|
|
3
|
-
"version": "0.56.1-alpha-
|
|
3
|
+
"version": "0.56.1-alpha-20230901174940-abbfe3e",
|
|
4
4
|
"description": "CLI for building for and deploying to The Graph",
|
|
5
5
|
"license": "(Apache-2.0 OR MIT)",
|
|
6
6
|
"engines": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"ipfs-http-client": "55.0.0",
|
|
38
38
|
"jayson": "4.0.0",
|
|
39
39
|
"js-yaml": "3.14.1",
|
|
40
|
-
"prettier": "
|
|
40
|
+
"prettier": "1.19.1",
|
|
41
41
|
"request": "2.88.2",
|
|
42
42
|
"semver": "7.4.0",
|
|
43
43
|
"sync-request": "6.1.0",
|