GeWuYou 988d7f85fd docs(config): 添加配置系统文档和VS Code工具
- 更新GitHub工作流中工具路径配置
- 新增游戏内容配置系统详细文档
- 创建VS Code扩展包描述文件
- 添加VS Code扩展功能说明文档
2026-04-02 08:46:34 +08:00

140 lines
3.9 KiB
JSON

{
"name": "gframework-config-tool",
"displayName": "GFramework Config Tool",
"description": "VS Code tooling for browsing, validating, and editing AI-First config files in GFramework projects.",
"version": "0.0.1",
"publisher": "GeWuYou",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/GeWuYou/GFramework.git",
"directory": "tools/gframework-config-tool"
},
"homepage": "https://github.com/GeWuYou/GFramework/tree/main/tools/gframework-config-tool",
"bugs": {
"url": "https://github.com/GeWuYou/GFramework/issues"
},
"packageManager": "bun@1.2.15",
"keywords": [
"gframework",
"config",
"yaml",
"json-schema",
"game-dev"
],
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:gframeworkConfigExplorer",
"onCommand:gframeworkConfig.refresh",
"onCommand:gframeworkConfig.openRaw",
"onCommand:gframeworkConfig.openSchema",
"onCommand:gframeworkConfig.openFormPreview",
"onCommand:gframeworkConfig.batchEditDomain",
"onCommand:gframeworkConfig.validateAll"
],
"main": "./src/extension.js",
"scripts": {
"test": "node --test ./test/*.test.js",
"package:vsix": "vsce package",
"publish:marketplace": "vsce publish"
},
"devDependencies": {
"@vscode/vsce": "^3.7.1"
},
"vsce": {
"yarn": false
},
"contributes": {
"views": {
"explorer": [
{
"id": "gframeworkConfigExplorer",
"name": "GFramework Config"
}
]
},
"commands": [
{
"command": "gframeworkConfig.refresh",
"title": "GFramework Config: Refresh"
},
{
"command": "gframeworkConfig.openRaw",
"title": "GFramework Config: Open Raw File"
},
{
"command": "gframeworkConfig.openSchema",
"title": "GFramework Config: Open Schema"
},
{
"command": "gframeworkConfig.openFormPreview",
"title": "GFramework Config: Open Form Preview"
},
{
"command": "gframeworkConfig.batchEditDomain",
"title": "GFramework Config: Batch Edit Domain"
},
{
"command": "gframeworkConfig.validateAll",
"title": "GFramework Config: Validate All"
}
],
"menus": {
"view/title": [
{
"command": "gframeworkConfig.refresh",
"when": "view == gframeworkConfigExplorer",
"group": "navigation"
},
{
"command": "gframeworkConfig.validateAll",
"when": "view == gframeworkConfigExplorer",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "gframeworkConfig.openRaw",
"when": "view == gframeworkConfigExplorer && viewItem == gframeworkConfigFile",
"group": "inline"
},
{
"command": "gframeworkConfig.openSchema",
"when": "view == gframeworkConfigExplorer && viewItem == gframeworkConfigFile",
"group": "navigation"
},
{
"command": "gframeworkConfig.openFormPreview",
"when": "view == gframeworkConfigExplorer && viewItem == gframeworkConfigFile",
"group": "navigation"
},
{
"command": "gframeworkConfig.batchEditDomain",
"when": "view == gframeworkConfigExplorer && viewItem == domain",
"group": "navigation"
}
]
},
"configuration": {
"title": "GFramework Config",
"properties": {
"gframeworkConfig.configPath": {
"type": "string",
"default": "config",
"description": "Relative path from the workspace root to the config directory."
},
"gframeworkConfig.schemasPath": {
"type": "string",
"default": "schemas",
"description": "Relative path from the workspace root to the schema directory."
}
}
}
}
}