File tree Expand file tree Collapse file tree 4 files changed +11
-28
lines changed
scripts/sync-landing-schema Expand file tree Collapse file tree 4 files changed +11
-28
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- 2025-09-23T15:31:29.483Z
1+ 2025-09-23T16:10:25.771Z
Original file line number Diff line number Diff line change 33 "repositories" : {
44 "graphql/graphiql" : {
55 "lastCursor" : " b3c42a65160ba4878b5ea87d9e72385889856464 4096" ,
6- "lastProcessed" : " 2025-09-17T22:19:23.392Z "
6+ "lastProcessed" : " 2025-09-23T16:10:25.769Z "
77 },
88 "graphql/graphql-spec" : {
99 "lastCursor" : " 43ae7baced54e37c68676b1ac5902e6223dcb078 650" ,
10- "lastProcessed" : " 2025-09-17T22:19:22.172Z "
10+ "lastProcessed" : " 2025-09-23T16:10:24.144Z "
1111 },
1212 "graphql/graphql-wg" : {
1313 "lastCursor" : " 139d0b9cbe74756974c7e637d85e0283beb36297 2077" ,
14- "lastProcessed" : " 2025-09-17T22:19:22.573Z "
14+ "lastProcessed" : " 2025-09-23T16:10:24.747Z "
1515 },
1616 "graphql/graphql-js" : {
1717 "lastCursor" : " 60ae6c48b9c78332bf3d6036e7d931a3617d0674 3244" ,
18- "lastProcessed" : " 2025-09-17T22:19:22.933Z "
18+ "lastProcessed" : " 2025-09-23T16:10:25.242Z "
1919 }
2020 }
2121}
Original file line number Diff line number Diff line change 11import { writeFile , readFile , rename } from "fs/promises"
2+ import { dirname , resolve } from "node:path"
3+ import { fileURLToPath } from "node:url"
4+
25import * as logger from "./logger.ts"
36
4- const STATE_FILE = ".sync-state.json"
5- const TEMP_STATE_FILE = ".sync-state.json.tmp"
7+ const __dirname = dirname ( fileURLToPath ( import . meta. url ) )
8+ const STATE_FILE = resolve ( __dirname , "../.sync-state.json" )
9+ const TEMP_STATE_FILE = resolve ( __dirname , "../.sync-state.json.tmp" )
610
711export interface RepositoryState {
812 lastCursor ?: string
You can’t perform that action at this time.
0 commit comments