mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
rename components.json
This commit is contained in:
@@ -239,7 +239,7 @@
|
||||
return resolve(metadataStore);
|
||||
}
|
||||
|
||||
fetch('/dist/components.json')
|
||||
fetch('/dist/metadata.json')
|
||||
.then(res => res.json())
|
||||
.then(data => {
|
||||
metadataStore = data;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user