rename components.json

pull/411/head
Cory LaViska 2021-03-25 08:15:26 -04:00
rodzic 25f63df53a
commit 7518e07882
3 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -239,7 +239,7 @@
return resolve(metadataStore);
}
fetch('/dist/components.json')
fetch('/dist/metadata.json')
.then(res => res.json())
.then(data => {
metadataStore = data;

Wyświetl plik

@ -8,6 +8,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
## Next
- Renamed `components.json` to `metadata.json`
- Updated to the prerelease versions of LitElement and lit-html
## 2.0.0-beta.35

Wyświetl plik

@ -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));