-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(gatsby): Migrate utils/get-latest-apis.js to ts (#22097)
* migrate get-lates-api to ts * modify require statements * use pathExistsSync * update interface of api response * Update packages/gatsby/src/utils/get-latest-apis.ts Co-Authored-By: Michaël De Boey <info@michaeldeboey.be> * use fs.exists * fix a type issue * fix lint * fix lint * fix tests Co-authored-by: Michaël De Boey <info@michaeldeboey.be> Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
- Loading branch information
1 parent
cb5d055
commit b81b604
Showing
5 changed files
with
26 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 11 additions & 5 deletions
16
packages/gatsby/src/utils/get-latest-apis.js → packages/gatsby/src/utils/get-latest-apis.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters