diff --git a/build-lists.js b/build-lists.js index 5662f1a..c3519b5 100644 --- a/build-lists.js +++ b/build-lists.js @@ -301,6 +301,12 @@ class BuildLists { saveKind = async function ( list, kindSlug ) { const apiKindListDirectory = `${ apiDirectory }/kind/${ kindSlug }` + console.log('\n', `-- Starting kind lists for /${ apiKindListDirectory }`) + + const endpointMethodName = `Finished kind lists for /${ listOptions.name } endpoints` + console.time(endpointMethodName) + + const paginatedList = new PaginatedList({ list, }) @@ -315,6 +321,9 @@ class BuildLists { await this.saveToJson( kindPage.items, kindPagePath ) } + + console.timeEnd(endpointMethodName) + console.log( '\n\n' ) } saveApiEndpoints = async ( listOptions ) => {