@graphprotocol/graph-cli 0.41.0-alpha-20230217185421-a3986d3 → 0.41.0-alpha-20230220202444-8787a63

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @graphprotocol/graph-cli
2
2
 
3
- ## 0.41.0-alpha-20230217185421-a3986d3
3
+ ## 0.41.0-alpha-20230220202444-8787a63
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -18,7 +18,7 @@
18
18
  `dependencies`)
19
19
 
20
20
  - [#1074](https://github.com/graphprotocol/graph-tooling/pull/1074)
21
- [`a3986d3`](https://github.com/graphprotocol/graph-tooling/commit/a3986d3099e04733405fcd3544607c825b409967)
21
+ [`e84d1e8`](https://github.com/graphprotocol/graph-tooling/commit/e84d1e873d9b2a8967c5fe2a85fce48b2caeb75f)
22
22
  Thanks [@saihaj](https://github.com/saihaj)! - update GH issues link for error message
23
23
 
24
24
  ## 0.40.0
@@ -18,6 +18,7 @@ exports.allowedStudioNetworks = [
18
18
  'near-testnet',
19
19
  'theta-testnet-001',
20
20
  'osmo-test-4',
21
+ 'base-testnet',
21
22
  ];
22
23
  const validateStudioNetwork = ({ studio, product, network, }) => {
23
24
  const isStudio = studio || product === 'subgraph-studio';
@@ -26,10 +26,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- const core_1 = require("@oclif/core");
30
- const errors_1 = require("@oclif/core/lib/errors");
31
29
  const gluegun_1 = require("gluegun");
32
30
  const immutable_1 = __importDefault(require("immutable"));
31
+ const core_1 = require("@oclif/core");
32
+ const errors_1 = require("@oclif/core/lib/errors");
33
33
  const abi_1 = require("../command-helpers/abi");
34
34
  const DataSourcesExtractor = __importStar(require("../command-helpers/data-sources"));
35
35
  const network_1 = require("../command-helpers/network");
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const core_1 = require("@oclif/core");
4
3
  const gluegun_1 = require("gluegun");
4
+ const core_1 = require("@oclif/core");
5
5
  const auth_1 = require("../command-helpers/auth");
6
6
  const node_1 = require("../command-helpers/node");
7
7
  class AuthCommand extends core_1.Command {
@@ -26,8 +26,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- const core_1 = require("@oclif/core");
30
29
  const gluegun_1 = require("gluegun");
30
+ const core_1 = require("@oclif/core");
31
31
  const compiler_1 = require("../command-helpers/compiler");
32
32
  const DataSourcesExtractor = __importStar(require("../command-helpers/data-sources"));
33
33
  const network_1 = require("../command-helpers/network");
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const url_1 = require("url");
4
- const core_1 = require("@oclif/core");
5
4
  const gluegun_1 = require("gluegun");
5
+ const core_1 = require("@oclif/core");
6
6
  const auth_1 = require("../command-helpers/auth");
7
7
  const jsonrpc_1 = require("../command-helpers/jsonrpc");
8
8
  const node_1 = require("../command-helpers/node");
@@ -28,8 +28,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  const path_1 = __importDefault(require("path"));
30
30
  const url_1 = require("url");
31
- const core_1 = require("@oclif/core");
32
31
  const gluegun_1 = require("gluegun");
32
+ const core_1 = require("@oclif/core");
33
33
  const auth_1 = require("../command-helpers/auth");
34
34
  const compiler_1 = require("../command-helpers/compiler");
35
35
  const DataSourcesExtractor = __importStar(require("../command-helpers/data-sources"));
@@ -29,8 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  const fs_1 = __importDefault(require("fs"));
30
30
  const os_1 = __importDefault(require("os"));
31
31
  const path_1 = __importDefault(require("path"));
32
- const core_1 = require("@oclif/core");
33
32
  const gluegun_1 = require("gluegun");
33
+ const core_1 = require("@oclif/core");
34
34
  const abi_1 = require("../command-helpers/abi");
35
35
  const DataSourcesExtractor = __importStar(require("../command-helpers/data-sources"));
36
36
  const network_1 = require("../command-helpers/network");
@@ -7,11 +7,11 @@ const child_process_1 = require("child_process");
7
7
  const http_1 = __importDefault(require("http"));
8
8
  const net_1 = __importDefault(require("net"));
9
9
  const path_1 = __importDefault(require("path"));
10
- const core_1 = require("@oclif/core");
11
10
  const docker_compose_1 = __importDefault(require("docker-compose"));
12
11
  const gluegun_1 = require("gluegun");
13
12
  const strip_ansi_1 = __importDefault(require("strip-ansi"));
14
13
  const tmp_promise_1 = __importDefault(require("tmp-promise"));
14
+ const core_1 = require("@oclif/core");
15
15
  const spinner_1 = require("../command-helpers/spinner");
16
16
  // Clean up temporary files even when an uncaught exception occurs
17
17
  tmp_promise_1.default.setGracefulCleanup();
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const url_1 = require("url");
4
- const core_1 = require("@oclif/core");
5
4
  const gluegun_1 = require("gluegun");
5
+ const core_1 = require("@oclif/core");
6
6
  const auth_1 = require("../command-helpers/auth");
7
7
  const jsonrpc_1 = require("../command-helpers/jsonrpc");
8
8
  const node_1 = require("../command-helpers/node");
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const child_process_1 = require("child_process");
7
7
  const os_1 = __importDefault(require("os"));
8
8
  const path_1 = __importDefault(require("path"));
9
- const core_1 = require("@oclif/core");
10
9
  const binary_install_raw_1 = require("binary-install-raw");
11
10
  const gluegun_1 = require("gluegun");
12
11
  const js_yaml_1 = __importDefault(require("js-yaml"));
13
12
  const node_fetch_1 = __importDefault(require("node-fetch"));
14
13
  const semver_1 = __importDefault(require("semver"));
14
+ const core_1 = require("@oclif/core");
15
15
  class TestCommand extends core_1.Command {
16
16
  async run() {
17
17
  const { args: { datasource }, flags: { coverage, docker, force, logs, recompile, version }, } = await this.parse(TestCommand);
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- /* eslint-disable */
3
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
3
  if (k2 === undefined) k2 = k;
5
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -27,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
27
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
28
27
  };
29
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ /* eslint-disable */
30
30
  const toolbox = __importStar(require("gluegun"));
31
31
  const semver_1 = __importDefault(require("semver"));
32
32
  const load_manifest_1 = require("./util/load-manifest");
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- /* eslint-disable */
3
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
3
  if (k2 === undefined) k2 = k;
5
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -27,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
27
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
28
27
  };
29
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ /* eslint-disable */
30
30
  const toolbox = __importStar(require("gluegun"));
31
31
  const semver_1 = __importDefault(require("semver"));
32
32
  const load_manifest_1 = require("./util/load-manifest");
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- /* eslint-disable */
3
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
3
  if (k2 === undefined) k2 = k;
5
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -27,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
27
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
28
27
  };
29
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ /* eslint-disable */
30
30
  const toolbox = __importStar(require("gluegun"));
31
31
  const semver_1 = __importDefault(require("semver"));
32
32
  const load_manifest_1 = require("./util/load-manifest");
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- /* eslint-disable */
3
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
3
  if (k2 === undefined) k2 = k;
5
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -27,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
27
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
28
27
  };
29
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ /* eslint-disable */
30
30
  const toolbox = __importStar(require("gluegun"));
31
31
  const semver_1 = __importDefault(require("semver"));
32
32
  const load_manifest_1 = require("./util/load-manifest");
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- /* eslint-disable */
3
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
3
  if (k2 === undefined) k2 = k;
5
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -27,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
27
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
28
27
  };
29
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ /* eslint-disable */
30
30
  const toolbox = __importStar(require("gluegun"));
31
31
  const semver_1 = __importDefault(require("semver"));
32
32
  const load_manifest_1 = require("./util/load-manifest");
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- /* eslint-disable */
3
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
3
  if (k2 === undefined) k2 = k;
5
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -24,6 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
23
  return result;
25
24
  };
26
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
+ /* eslint-disable */
27
27
  const toolbox = __importStar(require("gluegun"));
28
28
  const load_manifest_1 = require("./util/load-manifest");
29
29
  // Spec version to 0.0.2 uses top level templates. graph-cli no longer supports
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- /* eslint-disable */
3
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
3
  if (k2 === undefined) k2 = k;
5
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -24,6 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
23
  return result;
25
24
  };
26
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
+ /* eslint-disable */
27
27
  const toolbox = __importStar(require("gluegun"));
28
28
  const load_manifest_1 = require("./util/load-manifest");
29
29
  // Spec version 0.0.4 uses feature management, but features are
@@ -118,6 +118,7 @@ class Protocol {
118
118
  'optimism-kovan',
119
119
  'aurora',
120
120
  'aurora-testnet',
121
+ 'base-testnet',
121
122
  ],
122
123
  near: ['near-mainnet', 'near-testnet'],
123
124
  cosmos: [
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- /* eslint-disable */
3
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
3
  if (k2 === undefined) k2 = k;
5
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -27,13 +27,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  const path_1 = __importDefault(require("path"));
30
- // @ts-expect-error TODO: type out if necessary
31
- const Index_bs_js_1 = __importDefault(require("@float-capital/float-subgraph-uncrashable/src/Index.bs.js"));
32
30
  const fs_extra_1 = __importDefault(require("fs-extra"));
33
31
  const toolbox = __importStar(require("gluegun"));
34
32
  const graphql = __importStar(require("graphql/language"));
35
33
  const immutable_1 = __importDefault(require("immutable"));
36
34
  const prettier_1 = __importDefault(require("prettier"));
35
+ // @ts-expect-error TODO: type out if necessary
36
+ const Index_bs_js_1 = __importDefault(require("@float-capital/float-subgraph-uncrashable/src/Index.bs.js"));
37
37
  const template_1 = __importDefault(require("./codegen/template"));
38
38
  const typescript_1 = require("./codegen/typescript");
39
39
  const fs_1 = require("./command-helpers/fs");
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.41.0-alpha-20230217185421-a3986d3",
2
+ "version": "0.41.0-alpha-20230220202444-8787a63",
3
3
  "commands": {
4
4
  "add": {
5
5
  "id": "add",
@@ -569,6 +569,7 @@
569
569
  "optimism-kovan",
570
570
  "aurora",
571
571
  "aurora-testnet",
572
+ "base-testnet",
572
573
  "near-mainnet",
573
574
  "near-testnet",
574
575
  "cosmoshub-4",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphprotocol/graph-cli",
3
- "version": "0.41.0-alpha-20230217185421-a3986d3",
3
+ "version": "0.41.0-alpha-20230220202444-8787a63",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {