This commit is contained in:
/home/neo
2026-04-23 14:31:48 +03:00
committed by GitHub
parent b3e3486ddb
commit 9bb0f58cad

View File

@@ -4,7 +4,7 @@ import { parse } from "jsonc-parser";
const OUTPUT_FILE = "./registry.json";
const VALID_CATEGORIES = ["Skin", "Texture", "World", "Mod", "DLC"];
const REQUIRED_FIELDS = ["id", "name", "author", "description", "extended_description", "category", "thumbnail", "zips", "version"];
const IGNORED_DIRS = [".git", ".github", "scripts"];
const IGNORED_DIRS = [".git", ".github", "scripts", "node_modules"];
function validateMeta(meta, pkgDir) {
const errors = [];
for (const field of REQUIRED_FIELDS) {