File tree Expand file tree Collapse file tree 5 files changed +35
-36
lines changed
Expand file tree Collapse file tree 5 files changed +35
-36
lines changed Original file line number Diff line number Diff line change @@ -104,12 +104,9 @@ function expectSemverFormItem(
104104 return [
105105 null ,
106106 null ,
107- new Response (
108- `form item '${ name } ' is not a string!` ,
109- {
110- status : 400 , // Bad Request
111- } ,
112- ) ,
107+ new Response ( `form item '${ name } ' is not a string!` , {
108+ status : 400 , // Bad Request
109+ } ) ,
113110 ] ;
114111 }
115112
@@ -606,7 +603,7 @@ export async function handlePublish(
606603 }
607604 }
608605
609- ctx . waitUntil ( Promise . all ( promises ) )
606+ ctx . waitUntil ( Promise . all ( promises ) ) ;
610607
611608 return new Response ( ) ;
612609}
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ describe("/v1/zls/publish", () => {
319319 `form item 'zls-version' is not a string!` ,
320320 ) ;
321321 expect ( response . status ) . toBe ( 400 ) ;
322- } )
322+ } ) ;
323323
324324 test ( "new tagged release should have full compatibility" , async ( ) => {
325325 const response = await sendPublish ( {
Original file line number Diff line number Diff line change 99 /* Specify what JSX code is generated. */
1010 "jsx" : " react-jsx" ,
1111
12- /* Specify what module code is generated. */
13- "module" : " es2022" ,
14- /* Specify how TypeScript looks up a file from a given module specifier. */
15- "moduleResolution" : " Bundler" ,
16- /* Specify type package names to be included without being referenced in a source file. */
17- "types" : [
18- " node" ,
19- " @cloudflare/workers-types/2023-07-01"
20- ],
21- /* Enable importing .json files */
22- "resolveJsonModule" : true ,
12+ /* Specify what module code is generated. */
13+ "module" : " es2022" ,
14+ /* Specify how TypeScript looks up a file from a given module specifier. */
15+ "moduleResolution" : " Bundler" ,
16+ /* Specify type package names to be included without being referenced in a source file. */
17+ "types" : [" node" , " @cloudflare/workers-types/2023-07-01" ],
18+ /* Enable importing .json files */
19+ "resolveJsonModule" : true ,
2320
2421 /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */
2522 "allowJs" : true ,
4340 "skipLibCheck" : true
4441 },
4542 "exclude" : [" test" ],
46- "include" : [" worker-configuration.d.ts" , " src/**/*.ts" ],
43+ "include" : [" worker-configuration.d.ts" , " src/**/*.ts" ]
4744}
Original file line number Diff line number Diff line change 11/* eslint-disable */
22// Generated by Wrangler by running `wrangler types --include-runtime=false --strict-vars=false` (hash: 19a8144120f3418b4bc79803b3176aa5)
33declare namespace Cloudflare {
4- interface Env {
5- R2_PUBLIC_URL : string ;
6- FORCE_MINISIGN : boolean ;
7- API_TOKEN : string ;
8- ZIGTOOLS_BUILDS : R2Bucket ;
9- ZIGTOOLS_DB : D1Database ;
10- }
4+ interface Env {
5+ R2_PUBLIC_URL : string ;
6+ FORCE_MINISIGN : boolean ;
7+ API_TOKEN : string ;
8+ ZIGTOOLS_BUILDS : R2Bucket ;
9+ ZIGTOOLS_DB : D1Database ;
10+ }
1111}
1212interface Env extends Cloudflare . Env { }
1313type StringifyValues < EnvType extends Record < string , unknown > > = {
14- [ Binding in keyof EnvType ] : EnvType [ Binding ] extends string ? EnvType [ Binding ] : string ;
14+ [ Binding in keyof EnvType ] : EnvType [ Binding ] extends string
15+ ? EnvType [ Binding ]
16+ : string ;
1517} ;
1618declare namespace NodeJS {
17- interface ProcessEnv extends StringifyValues < Pick < Cloudflare . Env , "R2_PUBLIC_URL" | "FORCE_MINISIGN" | "API_TOKEN" > > { }
19+ interface ProcessEnv
20+ extends StringifyValues <
21+ Pick < Cloudflare . Env , "R2_PUBLIC_URL" | "FORCE_MINISIGN" | "API_TOKEN" >
22+ > { }
1823}
Original file line number Diff line number Diff line change 77 "name" : " release-worker" ,
88 "main" : " src/index.ts" ,
99 "compatibility_flags" : [" nodejs_compat" ],
10- "compatibility_date" : " 2025-04-28" ,
10+ "compatibility_date" : " 2025-04-28" ,
1111 "observability" : {
12- "enabled" : true
12+ "enabled" : true ,
1313 },
1414
1515 "d1_databases" : [
1616 {
1717 "binding" : " ZIGTOOLS_DB" ,
1818 "database_name" : " staging-db-backend" ,
19- "database_id" : " 6c000765-1ae8-41c6-adfc-ceb068dba105"
20- }
19+ "database_id" : " 6c000765-1ae8-41c6-adfc-ceb068dba105" ,
20+ },
2121 ],
2222 "r2_buckets" : [
2323 {
2424 "binding" : " ZIGTOOLS_BUILDS" ,
25- "bucket_name" : " zigtools-builds"
26- }
25+ "bucket_name" : " zigtools-builds" ,
26+ },
2727 ],
2828 "vars" : {
2929 "R2_PUBLIC_URL" : " https://builds.zigtools.org" ,
30- "FORCE_MINISIGN" : false
30+ "FORCE_MINISIGN" : false ,
3131 },
3232}
You can’t perform that action at this time.
0 commit comments