Skip to content

Commit

Permalink
v0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lukePeavey committed Jul 8, 2022
1 parent a8670a5 commit f2420f4
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 490 deletions.
16 changes: 9 additions & 7 deletions cli/build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,16 @@ run(async () => {
return { ...result, [COLLECTION]: objectsWithTimeStamp }
}, {})

const info = {
version: pkg.version,
count: {
quotes: db.quotes.length,
authors: db.authors.length,
tags: db.tags.length,
const info = [
{
version: pkg.version,
count: {
quotes: db.quotes.length,
authors: db.authors.length,
tags: db.tags.length,
},
},
}
]
// Save the updated JSON to files in the `dist` directory.
writeJSONFiles(DEST, { ...data, info })
})
Loading

0 comments on commit f2420f4

Please sign in to comment.