kopia lustrzana https://github.com/shoelace-style/shoelace
rename components.json
rodzic
25f63df53a
commit
7518e07882
|
@ -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));
|
||||
|
|
Ładowanie…
Reference in New Issue