Files
johndoe6345789 42446ef255 feat: Update package schemas and scripts to support JSON-based lifecycle hooks
- Added `jsonScript` property to metadata schema for JSON script entry points.
- Refactored `generate-package.ts` to replace Lua scripts with JSON scripts for lifecycle hooks.
- Updated test generation to use JSON format for metadata validation.
- Modified documentation and comments to reflect the transition from Lua to JSON scripting.
- Adjusted Storybook configuration and mock data to align with new JSON script structure.
- Renamed relevant files and references from Lua to JSON for consistency across the project.
2026-01-07 15:25:45 +00:00

58 lines
1.4 KiB
JSON

{
"$schema": "https://metabuilder.dev/schemas/permissions.schema.json",
"schemaVersion": "1.0.0",
"package": "testing",
"description": "JSON test framework access permissions",
"permissions": [
{
"id": "testing.run",
"name": "Run Tests",
"description": "Execute JSON-based test suites",
"resource": "testing",
"action": "execute",
"scope": "global",
"minLevel": 3
},
{
"id": "testing.view",
"name": "View Test Results",
"description": "View execution results and reports",
"resource": "testing",
"action": "read",
"scope": "global",
"minLevel": 3
},
{
"id": "testing.configure",
"name": "Configure Test Runner",
"description": "Adjust test runner settings and filters",
"resource": "testing",
"action": "manage",
"scope": "global",
"minLevel": 4
},
{
"id": "testing.debug",
"name": "Debug Tests",
"description": "Access detailed execution traces",
"resource": "testing",
"action": "execute",
"scope": "global",
"minLevel": 4
}
],
"resources": [
{
"id": "testing",
"name": "JSON Test Framework",
"type": "function",
"description": "Resources for JSON test execution",
"actions": [
"read",
"execute",
"manage"
]
}
]
}