@graphprotocol/graph-cli 0.91.0 → 0.91.1
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 +8 -0
- package/dist/commands/codegen.js +1 -1
- package/dist/commands/init.js +2 -2
- package/dist/commands/test.js +1 -1
- package/dist/protocols/index.js +1 -1
- package/oclif.manifest.json +2 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @graphprotocol/graph-cli
|
|
2
2
|
|
|
3
|
+
## 0.91.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1783](https://github.com/graphprotocol/graph-tooling/pull/1783)
|
|
8
|
+
[`ea1d948`](https://github.com/graphprotocol/graph-tooling/commit/ea1d94863783e19a379ce6d545d5f8523d8bf9e8)
|
|
9
|
+
Thanks [@YaroShkvorets](https://github.com/YaroShkvorets)! - Fix bug with network selection
|
|
10
|
+
|
|
3
11
|
## 0.91.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/commands/codegen.js
CHANGED
|
@@ -109,7 +109,7 @@ CodegenCommand.flags = {
|
|
|
109
109
|
summary: 'IPFS node to use for fetching subgraph data.',
|
|
110
110
|
char: 'i',
|
|
111
111
|
default: ipfs_1.DEFAULT_IPFS_URL,
|
|
112
|
-
hidden: true
|
|
112
|
+
hidden: true,
|
|
113
113
|
}),
|
|
114
114
|
'uncrashable-config': core_1.Flags.file({
|
|
115
115
|
summary: 'Directory for uncrashable config.',
|
package/dist/commands/init.js
CHANGED
|
@@ -324,7 +324,7 @@ InitCommand.flags = {
|
|
|
324
324
|
summary: 'IPFS node to use for fetching subgraph data.',
|
|
325
325
|
char: 'i',
|
|
326
326
|
default: ipfs_1.DEFAULT_IPFS_URL,
|
|
327
|
-
hidden: true
|
|
327
|
+
hidden: true,
|
|
328
328
|
}),
|
|
329
329
|
};
|
|
330
330
|
exports.default = InitCommand;
|
|
@@ -444,7 +444,7 @@ async function processInitForm({ protocol: initProtocol, abi: initAbi, abiPath:
|
|
|
444
444
|
type: 'input',
|
|
445
445
|
name: 'source',
|
|
446
446
|
message: sourceMessage,
|
|
447
|
-
skip: () => !
|
|
447
|
+
skip: () => initFromExample !== undefined || !protocolInstance.hasContract() || isSubstreams,
|
|
448
448
|
initial: initContract,
|
|
449
449
|
validate: async (value) => {
|
|
450
450
|
if (isComposedSubgraph) {
|
package/dist/commands/test.js
CHANGED
|
@@ -146,7 +146,7 @@ async function getPlatform(matchstickVersion, logsOpt) {
|
|
|
146
146
|
const type = os_1.default.type();
|
|
147
147
|
const arch = os_1.default.arch();
|
|
148
148
|
const cpuCore = os_1.default.cpus()[0];
|
|
149
|
-
const isAppleSilicon = arch === 'arm64' && /Apple (M1|M2|M3|processor)/.test(cpuCore.model);
|
|
149
|
+
const isAppleSilicon = arch === 'arm64' && /Apple (M1|M2|M3|M4|processor)/.test(cpuCore.model);
|
|
150
150
|
const linuxInfo = type === 'Linux' ? await getLinuxInfo.bind(this)() : {};
|
|
151
151
|
const linuxDistro = linuxInfo.name;
|
|
152
152
|
const release = linuxInfo.version || os_1.default.release();
|
package/dist/protocols/index.js
CHANGED
package/oclif.manifest.json
CHANGED