Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb4fe75e

Browse files
authored
Upgrade graphql codegen dependencies (#11)
* Upgrade graphql codegen dependenciesNow need to specify user-agent header to introspect github api.* Bump to node 16
1 parenta557613 commitb4fe75e

File tree

5 files changed

+3685
-5244
lines changed

5 files changed

+3685
-5244
lines changed

‎.github/workflows/tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
-uses:actions/checkout@v2
1616
-uses:actions/setup-node@v2
1717
with:
18-
node-version:"14.x"
18+
node-version:"16.x"
1919

2020
-name:Get yarn cache directory path
2121
id:yarn-cache-dir-path

‎codegen.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ schema:
33
https://api.github.com/graphql:
44
headers:
55
Authorization:Bearer ${GITHUB_INTROSPECTION_TOKEN}
6+
User-Agent:node.js
67
generates:
78
./src/__generated__/index.ts:
89
config:

‎package.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@
3030
"dependencies": {
3131
"classnames":"^2.3.1",
3232
"graphql":"^15.5.0",
33-
"graphql-request":"^3.4.0",
33+
"graphql-request":"^6.1.0",
3434
"graphql-tag":"^2.11.0",
3535
"gray-matter":"^4.0.2"
3636
},
3737
"devDependencies": {
38-
"@graphql-codegen/cli":"^1.21.3",
39-
"@graphql-codegen/typescript":"^1.21.1",
40-
"@graphql-codegen/typescript-graphql-request":"^3.1.0",
41-
"@graphql-codegen/typescript-operations":"^1.17.15",
38+
"@graphql-codegen/cli":"^4.0.1",
39+
"@graphql-codegen/typescript":"^4.0.0",
40+
"@graphql-codegen/typescript-graphql-request":"^5.0.0",
41+
"@graphql-codegen/typescript-operations":"^4.0.0",
4242
"@types/jest":"^29.5.2",
4343
"dotenv-flow":"^3.2.0",
4444
"eslint":"^7.23.0",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp