diff --git a/docs/assets/plugins/metadata/metadata.js b/docs/assets/plugins/metadata/metadata.js index 44d7fb595..739b9c177 100644 --- a/docs/assets/plugins/metadata/metadata.js +++ b/docs/assets/plugins/metadata/metadata.js @@ -239,7 +239,7 @@ return resolve(metadataStore); } - fetch('/dist/components.json') + fetch('/dist/metadata.json') .then(res => res.json()) .then(data => { metadataStore = data; diff --git a/docs/resources/changelog.md b/docs/resources/changelog.md index 02573aca4..53302a7be 100644 --- a/docs/resources/changelog.md +++ b/docs/resources/changelog.md @@ -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 diff --git a/scripts/make-metadata.cjs b/scripts/make-metadata.cjs index 0d7e81b1a..ea97d425e 100644 --- a/scripts/make-metadata.cjs +++ b/scripts/make-metadata.cjs @@ -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));