Files
metabuilder/packages/forum_forge/package.json
johndoe6345789 ef709d47c0 refactor: update testing framework and restructure test configurations
- Changed devDependencies from "lua_test" to "testing" in package.json for ui_level4, ui_level5, ui_level6, ui_login, ui_pages, ui_permissions, user_manager, and workflow_editor.
- Removed legacy test scripts and parameterized tests, replacing them with a unified test suite structure in the tests section of package.json.
- Introduced new metadata.params.json files for each package to define test parameters for package ID validation, icon file existence, and JSON schema validation.
- Created new metadata.test.json files for each package to define structured test cases for validating package metadata, including checks for package ID, icon file existence, and schema validity.
2026-01-02 21:25:45 +00:00

60 lines
1.2 KiB
JSON

{
"$schema": "https://metabuilder.dev/schemas/package-metadata.schema.json",
"packageId": "forum_forge",
"name": "Forum Forge",
"version": "1.0.0",
"description": "Modern forum starter with categories, threads, and moderation lanes",
"author": "MetaBuilder",
"license": "MIT",
"category": "social",
"minLevel": 2,
"primary": true,
"icon": "static_content/icon.svg",
"keywords": [
"forum",
"discussion",
"threads",
"moderation",
"community"
],
"dependencies": {
"ui_permissions": "^1.0.0",
"data_table": "^1.0.0",
"form_builder": "^1.0.0"
},
"devDependencies": {
"testing": "^1.0.0"
},
"exports": {
"components": [
"ForumRoot",
"CategoryList",
"ThreadList",
"ThreadCard",
"StatCard"
],
"scripts": [
"create_thread",
"view_categories",
"thread_list",
"init",
"permissions",
"thread_rank",
"moderation"
]
},
"tests": {
"suites": [
"tests/metadata.test.json"
]
},
"schema": {
"entities": [
"ForumCategory",
"ForumThread",
"ForumPost"
],
"path": "schema/entities.yaml"
}
}