Move app to apps/web-react in pnpm workspace layout

This commit is contained in:
Kalle
2026-08-16 09:20:33 +03:00
parent 7e365ccfcf
commit bbc8ea57af
2913 changed files with 227 additions and 250 deletions

View File

@@ -0,0 +1,18 @@
// validates all articles files in the project are following the correct .md + grey matter format
import { mostRecentArticles } from "~/features/articles/core/list.server";
import { logger } from "~/utils/logger";
async function main() {
await mostRecentArticles(1000);
}
main()
.then(() => {
logger.info("Articles are valid.");
process.exit(0);
})
.catch((error) => {
logger.error("Error validating articles:", error);
process.exit(1);
});