File tree Expand file tree Collapse file tree 11 files changed +20
-16
lines changed Expand file tree Collapse file tree 11 files changed +20
-16
lines changed Original file line number Diff line number Diff line change 14
14
uses : the-guild-org/shared-config/.github/workflows/ci-node-matrix.yml@main
15
15
with :
16
16
script : yarn test
17
- nodeVersions : ' [16, 18,21 ]'
17
+ nodeVersions : ' [18,20,22 ]'
18
18
lint :
19
19
uses : the-guild-org/shared-config/.github/workflows/lint.yml@main
20
20
with :
Original file line number Diff line number Diff line change 16
16
with :
17
17
npmTag : alpha
18
18
buildScript : build
19
- nodeVersion : 16
19
+ nodeVersion : 22
20
20
secrets :
21
21
githubToken : ${{ secrets.GITHUB_TOKEN }}
22
22
npmToken : ${{ secrets.NODE_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 10
10
uses : the-guild-org/shared-config/.github/workflows/release-stable.yml@main
11
11
with :
12
12
releaseScript : release
13
- nodeVersion : 18
13
+ nodeVersion : 22
14
14
secrets :
15
15
githubToken : ${{ secrets.GITHUB_TOKEN }}
16
16
npmToken : ${{ secrets.NODE_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 23
23
- uses : the-guild-org/shared-config/setup@main
24
24
name : setup env
25
25
with :
26
- nodeVersion : 18
26
+ nodeVersion : 22
27
27
packageManager : yarn
28
28
workingDirectory : website
29
29
Original file line number Diff line number Diff line change 85
85
"prettier" : " 3.4.1" ,
86
86
"semver" : " 7.6.3" ,
87
87
"ts-jest" : " 29.2.5" ,
88
- "typescript" : " 5.6.3 "
88
+ "typescript" : " 5.7.2 "
89
89
},
90
90
"publishConfig" : {
91
91
"directory" : " dist" ,
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ export const GraphQLVoid = /*#__PURE__*/ new GraphQLScalarType({
9
9
return '' ;
10
10
} ,
11
11
12
- parseValue ( ) {
12
+ parseValue ( ) : null {
13
13
return null ;
14
14
} ,
15
15
16
- parseLiteral ( ) {
16
+ parseLiteral ( ) : null {
17
17
return null ;
18
18
} ,
19
19
extensions : {
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ describe('GraphQLDate', () => {
87
87
} ;
88
88
89
89
it ( `parses literal ${ stringify ( literal ) } into javascript Date ${ stringify ( expected ) } ` , ( ) => {
90
+ // @ts -expect-error - intentional invalid input
90
91
expect ( GraphQLDate . parseLiteral ( literal , { } ) ) . toEqual ( expected ) ;
91
92
} ) ;
92
93
} ) ;
@@ -97,6 +98,7 @@ describe('GraphQLDate', () => {
97
98
value,
98
99
} ;
99
100
it ( `errors when parsing invalid literal ${ stringify ( invalidLiteral ) } ` , ( ) => {
101
+ // @ts -expect-error - intentional invalid input
100
102
expect ( ( ) => GraphQLDate . parseLiteral ( invalidLiteral , { } ) ) . toThrowErrorMatchingSnapshot ( ) ;
101
103
} ) ;
102
104
} ) ;
Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ describe('GraphQLDateTime', () => {
128
128
} ;
129
129
130
130
it ( `parses literal ${ stringify ( literal ) } into javascript Date ${ stringify ( expected ) } ` , ( ) => {
131
+ // @ts -expect-error - intentional invalid input
131
132
expect ( GraphQLDateTime . parseLiteral ( literal , { } ) ) . toEqual ( expected ) ;
132
133
} ) ;
133
134
} ) ;
@@ -139,6 +140,7 @@ describe('GraphQLDateTime', () => {
139
140
} ;
140
141
it ( `errors when parsing invalid literal ${ stringify ( invalidLiteral ) } ` , ( ) => {
141
142
expect ( ( ) =>
143
+ // @ts -expect-error - intentional invalid input
142
144
GraphQLDateTime . parseLiteral ( invalidLiteral , { } ) ,
143
145
) . toThrowErrorMatchingSnapshot ( ) ;
144
146
} ) ;
Original file line number Diff line number Diff line change 21
21
"@types/react" : " 18.3.12" ,
22
22
"cross-env" : " 7.0.3" ,
23
23
"next-sitemap" : " 4.2.3" ,
24
- "typescript" : " 5.6.3 "
24
+ "typescript" : " 5.7.2 "
25
25
},
26
26
"browserslist" : {
27
27
"production" : [
Original file line number Diff line number Diff line change @@ -5091,10 +5091,10 @@ twoslash@^0.2.12:
5091
5091
" @typescript/vfs" " ^1.6.0"
5092
5092
twoslash-protocol "0.2.12"
5093
5093
5094
- typescript@5.6.3 :
5095
- version "5.6.3 "
5096
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.3 .tgz#5f3449e31c9d94febb17de03cc081dd56d81db5b "
5097
- integrity sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw ==
5094
+ typescript@5.7.2 :
5095
+ version "5.7.2 "
5096
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.2 .tgz#3169cf8c4c8a828cde53ba9ecb3d2b1d5dd67be6 "
5097
+ integrity sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg ==
5098
5098
5099
5099
ufo@^1.5.4 :
5100
5100
version "1.5.4"
Original file line number Diff line number Diff line change @@ -5205,10 +5205,10 @@ typed-array-length@^1.0.6:
5205
5205
possible-typed-array-names "^1.0.0"
5206
5206
reflect.getprototypeof "^1.0.6"
5207
5207
5208
- typescript@5.6.3 :
5209
- version "5.6.3 "
5210
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.3 .tgz#5f3449e31c9d94febb17de03cc081dd56d81db5b "
5211
- integrity sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw ==
5208
+ typescript@5.7.2 :
5209
+ version "5.7.2 "
5210
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.2 .tgz#3169cf8c4c8a828cde53ba9ecb3d2b1d5dd67be6 "
5211
+ integrity sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg ==
5212
5212
5213
5213
unbox-primitive@^1.0.2 :
5214
5214
version "1.0.2"
You can’t perform that action at this time.
0 commit comments