mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-30 16:54:57 +00:00
- Created package.json for ui_pages with dependencies and exports. - Added roles.json for access permissions related to UI pages. - Implemented functions.json for managing UI pages and routing. - Developed stories.json for Storybook showcasing UI pages components. - Defined styles tokens for UI pages including colors, spacing, and typography. feat(ui_permissions): Introduce UI Permissions package for access control - Created package.json for ui_permissions with permission utilities. - Added roles.json defining permissions for a 6-level access control system. - Implemented functions.json for permission checking and level management. - Developed stories.json for Storybook showcasing permission-related components. - Defined styles tokens for UI permissions including colors and spacing.
70 lines
1.8 KiB
JSON
70 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/package-metadata.schema.json",
|
|
"packageId": "package_validator",
|
|
"name": "Package Validator",
|
|
"version": "1.0.0",
|
|
"description": "Validates JSON-based package structure including scripts, types, components, and tests",
|
|
"author": "MetaBuilder",
|
|
"license": "MIT",
|
|
"category": "tools",
|
|
"icon": "static_content/icon.svg",
|
|
"minLevel": 5,
|
|
"primary": true,
|
|
"dependencies": {},
|
|
"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": [
|
|
"validate_package",
|
|
"validate_metadata",
|
|
"validate_scripts",
|
|
"validate_types",
|
|
"validate_components",
|
|
"validate_tests",
|
|
"validate_storybook"
|
|
],
|
|
"types": [
|
|
"ValidationResult",
|
|
"ValidationError",
|
|
"ValidationWarning",
|
|
"PackageMetadata",
|
|
"ScriptFile",
|
|
"TypeDefinition",
|
|
"ComponentDefinition"
|
|
]
|
|
},
|
|
"runtime": {
|
|
"scripts": ["scripts/validator.lua"],
|
|
"main": "scripts/init.lua"
|
|
},
|
|
"tests": {
|
|
"scripts": ["tests/validator.test.lua"],
|
|
"parameterized": []
|
|
}
|
|
}
|