mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
config: validator,packages,package (1 files)
This commit is contained in:
@@ -11,6 +11,46 @@
|
||||
"devDependencies": [
|
||||
"lua_test"
|
||||
],
|
||||
"externalDependencies": {
|
||||
"fs": {
|
||||
"description": "File system operations for reading package files",
|
||||
"required": true,
|
||||
"functions": [
|
||||
"readFile",
|
||||
"existsSync",
|
||||
"readdir",
|
||||
"statSync"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"description": "Path manipulation utilities",
|
||||
"required": true,
|
||||
"functions": [
|
||||
"join",
|
||||
"resolve",
|
||||
"basename",
|
||||
"dirname",
|
||||
"extname"
|
||||
]
|
||||
},
|
||||
"JSON": {
|
||||
"description": "JSON parsing and validation",
|
||||
"required": true,
|
||||
"functions": [
|
||||
"parse",
|
||||
"stringify"
|
||||
]
|
||||
},
|
||||
"ajv": {
|
||||
"description": "JSON Schema validator (Another JSON Schema Validator)",
|
||||
"required": false,
|
||||
"version": "^8.0.0",
|
||||
"functions": [
|
||||
"compile",
|
||||
"validate"
|
||||
]
|
||||
}
|
||||
},
|
||||
"exports": {
|
||||
"components": [],
|
||||
"scripts": [
|
||||
@@ -51,6 +91,23 @@
|
||||
"minLevel": 5,
|
||||
"description": "Run package validation checks"
|
||||
},
|
||||
"fs.read": {
|
||||
"minLevel": 5,
|
||||
"description": "Read files from the file system for validation"
|
||||
},
|
||||
"fs.list": {
|
||||
"minLevel": 5,
|
||||
"description": "List directory contents to discover package files"
|
||||
},
|
||||
"fs.stat": {
|
||||
"minLevel": 5,
|
||||
"description": "Get file metadata (size, type, timestamps)"
|
||||
},
|
||||
"external.ajv": {
|
||||
"minLevel": 5,
|
||||
"description": "Use AJV JSON Schema validator for schema validation",
|
||||
"optional": true
|
||||
},
|
||||
"package.validate.metadata": {
|
||||
"minLevel": 5,
|
||||
"description": "Validate metadata.json structure"
|
||||
|
||||
Reference in New Issue
Block a user