rename components.json

This commit is contained in:
Cory LaViska
2021-03-25 08:15:26 -04:00
parent 25f63df53a
commit 7518e07882
3 changed files with 4 additions and 3 deletions

View File

@@ -232,9 +232,9 @@ components.map(async component => {
metadata.components.push(api);
});
// Generate components.json
// Generate metadata.json
(async () => {
const filename = path.join('./dist/components.json');
const filename = path.join('./dist/metadata.json');
const json = JSON.stringify(metadata, null, 2);
await mkdirp(path.dirname(filename));