mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
- Created package.json for Nerd Mode IDE with dependencies and exports. - Defined access permissions in roles.json for IDE functionalities. - Implemented file system and execution functions in functions.json. - Added SVG icon for the IDE in static_content/icon.svg. - Configured Storybook for the IDE with various components and examples. - Established design tokens in tokens.json for consistent styling. - Developed parameterized test data in metadata.params.json for testing. - Created metadata validation tests in metadata.test.json to ensure package integrity.
139 lines
3.2 KiB
JSON
139 lines
3.2 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/json-script.schema.json",
|
|
"schemaVersion": "2.2.0",
|
|
"package": "nerd_mode_ide",
|
|
"description": "IDE file system and execution functions",
|
|
"functions": [
|
|
{
|
|
"id": "ide_list_files",
|
|
"name": "listFiles",
|
|
"exported": true,
|
|
"description": "List files in a directory",
|
|
"category": "ide",
|
|
"luaScript": "ide.lua"
|
|
},
|
|
{
|
|
"id": "ide_read_file",
|
|
"name": "readFile",
|
|
"exported": true,
|
|
"description": "Read file contents",
|
|
"category": "ide",
|
|
"luaScript": "ide.lua"
|
|
},
|
|
{
|
|
"id": "ide_write_file",
|
|
"name": "writeFile",
|
|
"exported": true,
|
|
"description": "Write file contents",
|
|
"category": "ide",
|
|
"luaScript": "ide.lua"
|
|
},
|
|
{
|
|
"id": "ide_create_file",
|
|
"name": "createFile",
|
|
"exported": true,
|
|
"description": "Create a new file",
|
|
"category": "ide",
|
|
"luaScript": "ide.lua"
|
|
},
|
|
{
|
|
"id": "ide_create_folder",
|
|
"name": "createFolder",
|
|
"exported": true,
|
|
"description": "Create a new folder",
|
|
"category": "ide",
|
|
"luaScript": "ide.lua"
|
|
},
|
|
{
|
|
"id": "ide_delete_item",
|
|
"name": "deleteItem",
|
|
"exported": true,
|
|
"description": "Delete a file or folder",
|
|
"category": "ide",
|
|
"luaScript": "ide.lua"
|
|
},
|
|
{
|
|
"id": "ide_rename_item",
|
|
"name": "renameItem",
|
|
"exported": true,
|
|
"description": "Rename a file or folder",
|
|
"category": "ide",
|
|
"luaScript": "ide.lua"
|
|
},
|
|
{
|
|
"id": "ide_run_script",
|
|
"name": "runScript",
|
|
"exported": true,
|
|
"description": "Execute a script file",
|
|
"category": "ide",
|
|
"luaScript": "ide.lua"
|
|
},
|
|
{
|
|
"id": "ide_run_tests",
|
|
"name": "runTests",
|
|
"exported": true,
|
|
"description": "Run test suite",
|
|
"category": "ide",
|
|
"luaScript": "ide.lua"
|
|
},
|
|
{
|
|
"id": "ide_get_git_status",
|
|
"name": "getGitStatus",
|
|
"exported": true,
|
|
"description": "Get git status for workspace",
|
|
"category": "ide",
|
|
"luaScript": "ide.lua"
|
|
},
|
|
{
|
|
"id": "ide_git_commit",
|
|
"name": "gitCommit",
|
|
"exported": true,
|
|
"description": "Commit changes to git",
|
|
"category": "ide",
|
|
"luaScript": "ide.lua"
|
|
},
|
|
{
|
|
"id": "ide_git_push",
|
|
"name": "gitPush",
|
|
"exported": true,
|
|
"description": "Push commits to remote",
|
|
"category": "ide",
|
|
"luaScript": "ide.lua"
|
|
},
|
|
{
|
|
"id": "ide_git_pull",
|
|
"name": "gitPull",
|
|
"exported": true,
|
|
"description": "Pull from remote",
|
|
"category": "ide",
|
|
"luaScript": "ide.lua"
|
|
},
|
|
{
|
|
"id": "ide_detect_language",
|
|
"name": "detectLanguage",
|
|
"exported": true,
|
|
"description": "Detect file language from extension",
|
|
"category": "ide",
|
|
"luaScript": "ide.lua"
|
|
}
|
|
],
|
|
"exports": {
|
|
"functions": [
|
|
"listFiles",
|
|
"readFile",
|
|
"writeFile",
|
|
"createFile",
|
|
"createFolder",
|
|
"deleteItem",
|
|
"renameItem",
|
|
"runScript",
|
|
"runTests",
|
|
"getGitStatus",
|
|
"gitCommit",
|
|
"gitPush",
|
|
"gitPull",
|
|
"detectLanguage"
|
|
]
|
|
}
|
|
}
|