Skip to content

Commit f96e92f

Browse files
committed
Merged chore/update-dependencies branch
Squashed commit of the following: commit 6e31985 Author: YaroShkvorets <[email protected]> Date: Sat Dec 7 14:44:55 2024 -0500 lint: lowercase files commit 097b367 Author: YaroShkvorets <[email protected]> Date: Sat Dec 7 14:39:46 2024 -0500 review lint rules commit 2e7a9e9 Author: YaroShkvorets <[email protected]> Date: Sat Dec 7 13:48:45 2024 -0500 migrate eslint, fix lint warnings commit 1da95e6 Author: YaroShkvorets <[email protected]> Date: Sat Dec 7 12:42:04 2024 -0500 remove yarn.lock commit 35bf240 Author: YaroShkvorets <[email protected]> Date: Fri Dec 6 22:55:41 2024 -0500 update scaffolded package version commit 80dd64d Author: YaroShkvorets <[email protected]> Date: Fri Dec 6 22:43:01 2024 -0500 hide init subgraph option commit 34f8095 Author: YaroShkvorets <[email protected]> Date: Fri Dec 6 22:08:56 2024 -0500 remove babel config commit 51a8104 Author: YaroShkvorets <[email protected]> Date: Fri Dec 6 21:44:22 2024 -0500 fix lint commit 0b9e921 Merge: 3295954 7d18704 Author: Yaro Shkvorets <[email protected]> Date: Fri Dec 6 21:42:06 2024 -0500 Merge branch 'main' into chore/update-dependencies commit 3295954 Author: YaroShkvorets <[email protected]> Date: Fri Dec 6 21:37:23 2024 -0500 fix source skip condition commit 7d18704 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri Dec 6 14:31:02 2024 -0500 chore(release): update monorepo packages versions (#1784) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> commit ea1d948 Author: Yaro Shkvorets <[email protected]> Date: Fri Dec 6 14:26:39 2024 -0500 Fix network selection bug (#1783) * fix network bug * hide subgraph option commit a23d65a Author: Clément <[email protected]> Date: Fri Dec 6 20:25:13 2024 +0100 cli: Add support for M4 apple silicon (#1782) * cli: Add support for M4 apple silicon commit 1b69b9e Author: Etienne Donneger <[email protected]> Date: Thu Dec 5 16:05:12 2024 -0500 Update test snapshots commit 12e7865 Author: Etienne Donneger <[email protected]> Date: Thu Dec 5 15:55:10 2024 -0500 Fix lint commit c2b131f Merge: f0657cd 425d77f Author: Etienne Donneger <[email protected]> Date: Thu Dec 5 15:53:53 2024 -0500 Merge branch 'main' into chore/update-dependencies commit f0657cd Author: Etienne Donneger <[email protected]> Date: Thu Dec 5 15:52:42 2024 -0500 Update test snapshots commit 425d77f Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu Dec 5 20:06:11 2024 +0000 chore(release): update monorepo packages versions (#1780) Hide IPFS flag for subgraph datasource feature Feature is not ready yet do hide from command help. Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> commit 8d9bbae Author: Etienne Donneger <[email protected]> Date: Thu Dec 5 15:05:51 2024 -0500 Increase `hookTimeout` for Node18 tests commit ef1a325 Author: Etienne Donneger <[email protected]> Date: Wed Dec 4 16:08:37 2024 -0500 Fix lint commit e88e972 Author: Etienne Donneger <[email protected]> Date: Wed Dec 4 15:13:19 2024 -0500 Fix CLI test timeout commit dfbf69d Author: Etienne Donneger <[email protected]> Date: Wed Dec 4 11:45:51 2024 -0500 Fix lint commit 41a3651 Author: Etienne Donneger <[email protected]> Date: Wed Dec 4 10:52:10 2024 -0500 Update TODO items and fix rules for eslint - Add `node:` prefix for built-in modules - Fix `@typescript-eslint/no-this-alias` rule - Remove `eager_offset.ts` commit 097a2f3 Author: Etienne Donneger <[email protected]> Date: Wed Dec 4 10:33:16 2024 -0500 Add changeset commit 27d521d Author: Etienne Donneger <[email protected]> Date: Tue Dec 3 13:30:13 2024 -0500 Fix lint commit 6a139af Author: Etienne Donneger <[email protected]> Date: Tue Dec 3 13:27:28 2024 -0500 Fix `ts` package assembly build script commit a4fd5a6 Author: Etienne Donneger <[email protected]> Date: Tue Dec 3 13:19:55 2024 -0500 Fix `website` lint script commit e8218ee Author: AK <[email protected]> Date: Tue Dec 3 10:31:44 2024 -0500 added rpc and api urls for botanix-testnet (#1781) --------- Co-authored-by: Etienne Donneger <[email protected]>
1 parent 591d3c7 commit f96e92f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+214
-6173
lines changed

.changeset/quick-bats-teach.md renamed to .changeset/green-islands-wink.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
'@graphprotocol/graph-ts': minor
44
---
55

6-
Add support for subgraph datasource and associated types.
6+
Update all dependencies

.eslintrc.cjs

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

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ packages/cli/tests/cli/init
66
packages/cli/tests/cli/validation
77
packages/cli/tests/cli/add
88
pnpm-lock.yaml
9-
cf-pages/**
109
website/src/graphql-env.d.ts

eslint.config.js

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
import path from 'node:path';
2+
import { fileURLToPath } from 'node:url';
3+
import { FlatCompat } from '@eslint/eslintrc';
4+
import js from '@eslint/js';
5+
6+
// needed to extend the guild config
7+
const __filename = fileURLToPath(import.meta.url);
8+
const __dirname = path.dirname(__filename);
9+
const compat = new FlatCompat({
10+
baseDirectory: __dirname,
11+
recommendedConfig: js.configs.recommended,
12+
allConfig: js.configs.all,
13+
});
14+
15+
export default [
16+
{
17+
ignores: [
18+
'**/dist',
19+
'packages/cli/tests/cli/validation',
20+
'packages/ts/test/',
21+
'**/examples',
22+
'**/vitest.config.ts',
23+
],
24+
},
25+
...compat.extends('@theguild'),
26+
{
27+
rules: {
28+
'import/extensions': 'off',
29+
'unicorn/no-array-push-push': 'off',
30+
'import/no-default-export': 'off',
31+
'@typescript-eslint/no-explicit-any': 'off',
32+
eqeqeq: 'off',
33+
'@typescript-eslint/no-unused-vars': 'off',
34+
},
35+
},
36+
{
37+
files: ['packages/ts/**'],
38+
39+
rules: {
40+
'@typescript-eslint/no-namespace': 'off',
41+
'sonarjs/no-inverted-boolean-check': 'off',
42+
},
43+
},
44+
{
45+
files: ['packages/cli/**'],
46+
47+
rules: {
48+
'no-restricted-imports': [
49+
'error',
50+
{
51+
patterns: [
52+
{
53+
group: ['@whatwg-node/fetch'],
54+
message: 'Please use `fetch` from `./packages/cli/src/fetch.ts`.',
55+
},
56+
],
57+
},
58+
],
59+
},
60+
},
61+
];

examples/ethereum-basic-event-handlers/tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"target": "es6",
44
"module": "commonjs",
55
"moduleResolution": "node",
6-
"outDir": "dist",
7-
},
8-
}
6+
"outDir": "dist"
7+
}
8+
}

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "graphprotocol-tools-monorepo",
3+
"type": "module",
34
"repository": {
45
"type": "git",
56
"url": "git+https://github.com/graphprotocol/graph-cli"
@@ -17,8 +18,8 @@
1718
"scripts": {
1819
"build": "pnpm --filter=@graphprotocol/graph-* build",
1920
"lint": "pnpm lint:prettier && pnpm lint:eslint",
20-
"lint:eslint": "ESLINT_USE_FLAT_CONFIG=false eslint .",
21-
"lint:eslint:fix": "ESLINT_USE_FLAT_CONFIG=false eslint . --fix",
21+
"lint:eslint": "eslint .",
22+
"lint:eslint:fix": "eslint . --fix",
2223
"lint:fix": "pnpm lint:prettier:fix && pnpm lint:eslint:fix",
2324
"lint:prettier": "prettier -c .",
2425
"lint:prettier:fix": "prettier . --write",
@@ -33,6 +34,7 @@
3334
"@babel/preset-typescript": "^7.26.0",
3435
"@changesets/changelog-github": "^0.5.0",
3536
"@changesets/cli": "^2.27.10",
37+
"@eslint/js": "^9.16.0",
3638
"@theguild/eslint-config": "0.13.1",
3739
"@theguild/prettier-config": "3.0.0",
3840
"@types/node": "^22.10.1",

packages/cli/CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# @graphprotocol/graph-cli
22

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+
11+
## 0.91.0
12+
13+
### Minor Changes
14+
15+
- [#1754](https://github.com/graphprotocol/graph-tooling/pull/1754)
16+
[`2050bf6`](https://github.com/graphprotocol/graph-tooling/commit/2050bf6259c19bd86a7446410c7e124dfaddf4cd)
17+
Thanks [@incrypto32](https://github.com/incrypto32)! - Add support for subgraph datasource and
18+
associated types.
19+
20+
- [#1781](https://github.com/graphprotocol/graph-tooling/pull/1781)
21+
[`e8218ee`](https://github.com/graphprotocol/graph-tooling/commit/e8218eedec4292a95957efc5cadcbcf5280c0375)
22+
Thanks [@alinobrasil](https://github.com/alinobrasil)! - added rpc and api urls for
23+
botanix-testnet
24+
325
## 0.90.1
426

527
### Patch Changes

packages/cli/babel.config.js

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

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphprotocol/graph-cli",
3-
"version": "0.90.1",
3+
"version": "0.91.1",
44
"type": "module",
55
"description": "CLI for building for and deploying to The Graph",
66
"license": "(Apache-2.0 OR MIT)",

packages/cli/src/codegen/schema.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import assert from 'assert';
1+
import assert from 'node:assert';
22
import * as graphql from 'graphql/language/index.js';
33
import prettier from 'prettier';
44
import { describe, expect, test } from 'vitest';

0 commit comments

Comments
 (0)