mirror of
https://github.com/LCE-Hub/LCE-Workshop.git
synced 2026-07-18 08:17:36 +00:00
fix
This commit is contained in:
parent
b3e3486ddb
commit
9bb0f58cad
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue