feat: bun build website

This commit is contained in:
TrèsAbhi committed 2024-06-23 20:09:47 -05:00
1 parent 01af4d457a
commit 948a655296
4 files changed
+7 -68

No files matched your search

-12
View File
@@ -1,12 +0,0 @@
import { readdir } from 'fs/promises';
import packageJSON from '../package.json';
const { version } = packageJSON;
const changelogs = await readdir('docs/changelogs');
const hasVersion = changelogs.includes(`${version}.md`);
if (hasVersion) {
console.log(`Version ${version} found in changelogs`);
} else {
throw new Error(`Version ${version} not found in changelogs`);
}