Merge pull request #376 from teaxyz/bugfix-missing-version

bugfix: version missing in pantry page
This commit is contained in:
Neil 2023-06-27 10:11:00 +08:00 committed by GitHub
commit 4413587841
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,7 @@ async function main() {
keywords: pkg.keywords, keywords: pkg.keywords,
dl_count: pkg.installs || 0, dl_count: pkg.installs || 0,
installs: pkg.installs || 0, installs: pkg.installs || 0,
version: pkg.version,
})); }));
await fs.writeFileSync("./src/data/packages.json", JSON.stringify(packages, null, 2)); await fs.writeFileSync("./src/data/packages.json", JSON.stringify(packages, null, 2));
} }