2021-12-08 14:38:18 +08:00
|
|
|
{
|
|
|
|
"name": "ibiz-modeling-studio",
|
|
|
|
"displayName": "iBizModelingStudio",
|
|
|
|
"description": "iBiz建模工场",
|
|
|
|
"publisher": "ibizlab",
|
|
|
|
"preview": true,
|
2021-12-09 19:00:46 +08:00
|
|
|
"version": "0.0.7",
|
2021-12-08 14:38:18 +08:00
|
|
|
"engines": {
|
2021-12-09 15:58:26 +08:00
|
|
|
"vscode": "^1.63.0"
|
2021-12-08 14:38:18 +08:00
|
|
|
},
|
2021-12-09 15:58:26 +08:00
|
|
|
"repository": "https://gitee.com/iBizModeling/ibiz-modeling-studio.git",
|
2021-12-08 14:38:18 +08:00
|
|
|
"categories": [
|
|
|
|
"Other"
|
|
|
|
],
|
|
|
|
"icon": "resources/icon/icon.png",
|
|
|
|
"activationEvents": [
|
|
|
|
"onFileSystem:ibizmos",
|
|
|
|
"onCustomEditor:iBizCustomEditor.iBizModelUI",
|
|
|
|
"onCustomEditor:iBizCustomEditor.iBizModelRuntime",
|
|
|
|
"workspaceContains:**/.ibizproject"
|
|
|
|
],
|
|
|
|
"main": "./dist/extension.js",
|
|
|
|
"contributes": {
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.user.login",
|
|
|
|
"title": "%command.ibiz-modeling-studio.user.login%",
|
|
|
|
"category": "%command.ibiz-modeling-studio.category%"
|
|
|
|
},
|
2021-12-08 15:20:54 +08:00
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.user.logout",
|
|
|
|
"title": "%command.ibiz-modeling-studio.user.logout%",
|
|
|
|
"category": "%command.ibiz-modeling-studio.category%"
|
|
|
|
},
|
2021-12-08 14:38:18 +08:00
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.open-ibiz-modeling",
|
|
|
|
"title": "%command.ibiz-modeling-studio.open-ibiz-modeling%",
|
|
|
|
"category": "%command.ibiz-modeling-studio.category%",
|
|
|
|
"icon": {
|
|
|
|
"dark": "resources/icon/dark/logo.svg",
|
|
|
|
"light": "resources/icon/light/logo.svg"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.system-info-terminal.show",
|
|
|
|
"title": "%command.ibiz-modeling-studio.system-info-terminal.show%",
|
|
|
|
"category": "%command.ibiz-modeling-studio.category%",
|
|
|
|
"icon": {
|
|
|
|
"dark": "resources/icon/dark/terminal.svg",
|
|
|
|
"light": "resources/icon/light/terminal.svg"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.system.publish.code",
|
|
|
|
"title": "%command.ibiz-modeling-studio.system.publish.code%",
|
|
|
|
"category": "%command.ibiz-modeling-studio.category%",
|
|
|
|
"icon": {
|
|
|
|
"dark": "resources/icon/dark/code-publish.svg",
|
|
|
|
"light": "resources/icon/light/code-publish.svg"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.template.publish",
|
|
|
|
"title": "%command.ibiz-modeling-studio.template.publish%",
|
|
|
|
"category": "%command.ibiz-modeling-studio.category%",
|
|
|
|
"icon": {
|
|
|
|
"dark": "resources/icon/dark/template-publish.svg",
|
|
|
|
"light": "resources/icon/light/template-publish.svg"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.mos-fs.copy-path",
|
|
|
|
"title": "%command.ibiz-modeling-studio.mos-fs.copy-path%",
|
|
|
|
"category": "%command.ibiz-modeling-studio.category%",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icon/light/copy.svg",
|
|
|
|
"dark": "resources/icon/dark/copy.svg"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.mos-fs.open-file",
|
|
|
|
"title": "%command.ibiz-modeling-studio.mos-fs.open-file%",
|
|
|
|
"category": "%command.ibiz-modeling-studio.category%",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icon/light/edit.svg",
|
|
|
|
"dark": "resources/icon/dark/edit.svg"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.mos-fs.open-runtime",
|
|
|
|
"title": "%command.ibiz-modeling-studio.mos-fs.open-runtime%",
|
|
|
|
"category": "%command.ibiz-modeling-studio.category%",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icon/light/model-runtime.svg",
|
|
|
|
"dark": "resources/icon/dark/model-runtime.svg"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2021-12-09 17:14:12 +08:00
|
|
|
"command": "ibiz-modeling-studio.mos-fs.open-model-by-path",
|
|
|
|
"title": "%command.ibiz-modeling-studio.mos-fs.open-model-by-path%",
|
2021-12-08 14:38:18 +08:00
|
|
|
"category": "%command.ibiz-modeling-studio.category%",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icon/light/link.svg",
|
|
|
|
"dark": "resources/icon/dark/link.svg"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.mos-fs.search-entity",
|
|
|
|
"title": "%command.ibiz-modeling-studio.mos-fs.search-entity%",
|
|
|
|
"category": "%command.ibiz-modeling-studio.category%",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icon/light/search-entity.svg",
|
|
|
|
"dark": "resources/icon/dark/search-entity.svg"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.mos-fs.search-entity-view",
|
|
|
|
"title": "%command.ibiz-modeling-studio.mos-fs.search-entity-view%",
|
|
|
|
"category": "%command.ibiz-modeling-studio.category%",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icon/light/search-entity-view.svg",
|
|
|
|
"dark": "resources/icon/dark/search-entity-view.svg"
|
|
|
|
}
|
|
|
|
},
|
2021-12-13 11:49:44 +08:00
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.gitlab.open-project",
|
|
|
|
"title": "%command.ibiz-modeling-studio.gitlab.open-project%",
|
|
|
|
"category": "%command.ibiz-modeling-studio.category%",
|
|
|
|
"icon": "resources/icon/gitlab.svg"
|
|
|
|
},
|
2021-12-13 16:11:22 +08:00
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.gitlab.open-wiki",
|
|
|
|
"title": "%command.ibiz-modeling-studio.gitlab.open-wiki%",
|
|
|
|
"category": "%command.ibiz-modeling-studio.category%",
|
|
|
|
"icon": {
|
|
|
|
"light": "resources/icon/light/model-wiki.svg",
|
|
|
|
"dark": "resources/icon/dark/model-wiki.svg"
|
|
|
|
}
|
|
|
|
},
|
2021-12-08 14:38:18 +08:00
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.user.login-reply-path-handle",
|
|
|
|
"title": "处理粘贴板中的登录地址",
|
|
|
|
"enablement": "false"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"menus": {
|
|
|
|
"view/title": [
|
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.open-ibiz-modeling",
|
|
|
|
"when": "view == iBizExplorer.ModelExpTree",
|
|
|
|
"group": "navigation@10"
|
|
|
|
},
|
|
|
|
{
|
2021-12-13 11:49:44 +08:00
|
|
|
"command": "ibiz-modeling-studio.gitlab.open-project",
|
2021-12-08 14:38:18 +08:00
|
|
|
"when": "view == iBizExplorer.ModelExpTree",
|
|
|
|
"group": "navigation@20"
|
|
|
|
},
|
|
|
|
{
|
2021-12-13 11:49:44 +08:00
|
|
|
"command": "ibiz-modeling-studio.mos-fs.open-model-by-path",
|
2021-12-08 14:38:18 +08:00
|
|
|
"when": "view == iBizExplorer.ModelExpTree",
|
|
|
|
"group": "navigation@30"
|
|
|
|
},
|
2021-12-13 11:49:44 +08:00
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.mos-fs.search-entity",
|
|
|
|
"when": "view == iBizExplorer.ModelExpTree",
|
|
|
|
"group": "navigation@40"
|
|
|
|
},
|
2021-12-08 14:38:18 +08:00
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.system-info-terminal.show",
|
|
|
|
"when": "view == iBizExplorer.ModelExpTree",
|
|
|
|
"group": "navigation@50"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.system.publish.code",
|
|
|
|
"when": "view == iBizExplorer.ModelExpTree",
|
|
|
|
"group": "1_ibiz_modeling"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.template.publish",
|
|
|
|
"when": "view == iBizExplorer.ModelExpTree",
|
|
|
|
"group": "1_ibiz_modeling"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"view/item/context": [
|
|
|
|
{
|
2021-12-13 16:11:22 +08:00
|
|
|
"command": "ibiz-modeling-studio.gitlab.open-wiki",
|
2021-12-08 14:38:18 +08:00
|
|
|
"when": "view == iBizExplorer.ModelExpTree && viewItem == MODEL",
|
|
|
|
"group": "inline@10"
|
|
|
|
},
|
|
|
|
{
|
2021-12-12 14:31:11 +08:00
|
|
|
"command": "ibiz-modeling-studio.mos-fs.open-runtime",
|
2021-12-08 14:38:18 +08:00
|
|
|
"when": "view == iBizExplorer.ModelExpTree && viewItem == MODEL",
|
|
|
|
"group": "inline@20"
|
|
|
|
},
|
2021-12-12 14:31:11 +08:00
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.mos-fs.open-file",
|
|
|
|
"when": "view == iBizExplorer.ModelExpTree && viewItem == MODEL",
|
|
|
|
"group": "inline@30"
|
|
|
|
},
|
2021-12-08 14:38:18 +08:00
|
|
|
{
|
|
|
|
"command": "ibiz-modeling-studio.mos-fs.copy-path",
|
|
|
|
"when": "view == iBizExplorer.ModelExpTree && viewItem == MODEL"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"viewsContainers": {
|
|
|
|
"activitybar": [
|
|
|
|
{
|
|
|
|
"id": "ibiz-modeling-studio_explorer",
|
|
|
|
"title": "%global.ibiz-modeling-studio.title%",
|
|
|
|
"icon": "resources/icon/logo.svg"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"views": {
|
|
|
|
"ibiz-modeling-studio_explorer": [
|
|
|
|
{
|
|
|
|
"id": "iBizExplorer.ModelExpTree",
|
|
|
|
"name": "",
|
|
|
|
"icon": "resources/icon/logo.svg",
|
|
|
|
"when": "ibiz-modeling-studio.enable-plugin == true"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"customEditors": [
|
|
|
|
{
|
|
|
|
"viewType": "iBizCustomEditor.iBizModelUI",
|
|
|
|
"displayName": "模型图形编辑器",
|
|
|
|
"priority": "default",
|
|
|
|
"selector": [
|
|
|
|
{
|
|
|
|
"filenamePattern": "*.ibizmodel.ui"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"viewType": "iBizCustomEditor.iBizModelRuntime",
|
|
|
|
"displayName": "实时模型对象",
|
|
|
|
"priority": "default",
|
|
|
|
"selector": [
|
|
|
|
{
|
|
|
|
"filenamePattern": "*.ibizmodel.runtime"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"configuration": {
|
|
|
|
"title": "%global.ibiz-modeling-studio.title%",
|
|
|
|
"properties": {
|
|
|
|
"ibiz-modeling-studio.ibiz-modeling-studio-domain": {
|
|
|
|
"description": "%properties.ibiz-modeling-studio.ibiz-modeling-studio-domain%",
|
|
|
|
"type": "string",
|
|
|
|
"default": "http://studio.ibizmodeling.cn"
|
|
|
|
},
|
|
|
|
"ibiz-modeling-studio.console.auto-display": {
|
|
|
|
"description": "%properties.ibiz-modeling-studio.console.auto-display%",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"ibiz-modeling-studio.ibiz-modeling-link.enable": {
|
|
|
|
"description": "%properties.ibiz-modeling-studio.ibiz-modeling-link.enable%",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"vscode:prepublish": "npm run package",
|
|
|
|
"compile": "webpack",
|
|
|
|
"watch": "webpack --watch",
|
|
|
|
"package": "webpack --mode production --devtool hidden-source-map",
|
|
|
|
"compile-tests": "tsc -p . --outDir out",
|
|
|
|
"watch-tests": "tsc -p . -w --outDir out",
|
|
|
|
"pretest": "npm run compile-tests && npm run compile && npm run lint",
|
|
|
|
"lint": "eslint src --ext ts",
|
|
|
|
"test": "node ./out/test/runTest.js"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/debug": "^4.1.7",
|
|
|
|
"@types/fs-extra": "^9.0.13",
|
|
|
|
"@types/glob": "^7.2.0",
|
|
|
|
"@types/js-yaml": "^4.0.5",
|
|
|
|
"@types/mocha": "^9.0.0",
|
|
|
|
"@types/node": "16.x",
|
2021-12-09 15:58:26 +08:00
|
|
|
"@types/ramda": "^0.27.60",
|
|
|
|
"@types/vscode": "^1.63.0",
|
2021-12-08 14:38:18 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
|
|
|
"@typescript-eslint/parser": "^5.6.0",
|
|
|
|
"@vscode/test-electron": "^1.6.2",
|
|
|
|
"eslint": "^8.4.1",
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
|
|
"glob": "^7.2.0",
|
|
|
|
"mocha": "^9.1.3",
|
|
|
|
"ts-loader": "^9.2.6",
|
|
|
|
"typescript": "^4.5.2",
|
|
|
|
"utf-8-validate": "^5.0.7",
|
|
|
|
"vsce": "^2.5.1",
|
|
|
|
"webpack": "^5.65.0",
|
|
|
|
"webpack-cli": "^4.9.1"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@ibiz/vscode-editor-api": "^0.0.6",
|
|
|
|
"axios": "^0.24.0",
|
|
|
|
"bufferutil": "^4.0.5",
|
|
|
|
"dayjs": "^1.10.7",
|
|
|
|
"debug": "^4.3.3",
|
|
|
|
"fs-extra": "^10.0.0",
|
|
|
|
"js-yaml": "^4.1.0",
|
|
|
|
"mqtt": "~2.18.8",
|
|
|
|
"ramda": "^0.27.1",
|
|
|
|
"rxjs": "^7.4.0",
|
|
|
|
"vscode-nls": "^5.0.0"
|
|
|
|
}
|
|
|
|
}
|