192 lines
5.2 KiB
JSON
192 lines
5.2 KiB
JSON
{
|
|
"name": "vscode-spring-cli",
|
|
"displayName": "Spring CLI",
|
|
"description": "Spring CLI integrated into VSCode UI",
|
|
"icon": "spring-boot-logo.png",
|
|
"version": "0.9.1",
|
|
"publisher": "vmware",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/spring-projects/sts4.git"
|
|
},
|
|
"license": "EPL-1.0",
|
|
"engines": {
|
|
"npm": ">=6.0.0",
|
|
"vscode": "^1.75.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages"
|
|
],
|
|
"keywords": [
|
|
"spring",
|
|
"cli"
|
|
],
|
|
"activationEvents": [
|
|
"onStartupFinished"
|
|
],
|
|
"contributes": {
|
|
"menus": {
|
|
"editor/context": [
|
|
{
|
|
"when": "resourceFilename == pom.xml",
|
|
"command": "vscode-spring-cli.boot.add",
|
|
"group": "Spring-CLI"
|
|
},
|
|
{
|
|
"when": "resourceFilename == pom.xml",
|
|
"command": "vscode-spring-cli.ai.add",
|
|
"group": "Spring-CLI"
|
|
},
|
|
{
|
|
"when": "resourceFilename =~ /README-\\S+.md/",
|
|
"command": "vscode-spring-cli.guide.apply",
|
|
"group": "Spring-CLI"
|
|
}
|
|
],
|
|
"explorer/context": [
|
|
{
|
|
"when": "resourceFilename == pom.xml",
|
|
"command": "vscode-spring-cli.boot.add",
|
|
"group": "Spring-CLI"
|
|
},
|
|
{
|
|
"when": "resourceFilename == pom.xml",
|
|
"command": "vscode-spring-cli.ai.add",
|
|
"group": "Spring-CLI"
|
|
},
|
|
{
|
|
"when": "resourceFilename =~ /README-\\S+.md/",
|
|
"command": "vscode-spring-cli.guide.apply",
|
|
"group": "Spring-CLI"
|
|
}
|
|
]
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "vscode-spring-cli.boot.new",
|
|
"title": "New Boot Project",
|
|
"category": "Spring CLI"
|
|
},
|
|
{
|
|
"command": "vscode-spring-cli.boot.add",
|
|
"title": "Add to Boot Project",
|
|
"category": "Spring CLI"
|
|
},
|
|
{
|
|
"command": "vscode-spring-cli.project-catalog.add",
|
|
"title": "Add Project Catalog",
|
|
"category": "Spring CLI"
|
|
},
|
|
{
|
|
"command": "vscode-spring-cli.project-catalog.remove",
|
|
"title": "Remove Project Catalog",
|
|
"category": "Spring CLI"
|
|
},
|
|
{
|
|
"command": "vscode-spring-cli.project.add",
|
|
"title": "Add Project",
|
|
"category": "Spring CLI"
|
|
},
|
|
{
|
|
"command": "vscode-spring-cli.project.remove",
|
|
"title": "Remove Project",
|
|
"category": "Spring CLI"
|
|
},
|
|
{
|
|
"command": "vscode-spring-cli.command.add",
|
|
"title": "Add User-Defined Command",
|
|
"category": "Spring CLI"
|
|
},
|
|
{
|
|
"command": "vscode-spring-cli.command.remove",
|
|
"title": "Remove User-Defined Command",
|
|
"category": "Spring CLI"
|
|
},
|
|
{
|
|
"command": "vscode-spring-cli.command.new",
|
|
"title": "New User-Defined Command",
|
|
"category": "Spring CLI"
|
|
},
|
|
{
|
|
"command": "vscode-spring-cli.command.execute",
|
|
"title": "Execute User-Defined Command",
|
|
"category": "Spring CLI"
|
|
},
|
|
{
|
|
"command": "vscode-spring-cli.ai.add",
|
|
"title": "Add from AI",
|
|
"category": "Spring CLI"
|
|
},
|
|
{
|
|
"command": "vscode-spring-cli.guide.apply",
|
|
"title": "Apply Guide",
|
|
"category": "Spring CLI"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "Spring CLI",
|
|
"properties": {
|
|
"spring-cli.executable": {
|
|
"type": "string",
|
|
"default": "spring",
|
|
"description": "Spring CLI executable. Either name of the executable if it's on the PATH environment variable or absolute path to the spring CLI executable (or JAR for dev purposes)"
|
|
}
|
|
}
|
|
},
|
|
"taskDefinitions": [
|
|
{
|
|
"type": "spring-cli",
|
|
"required": [
|
|
"command",
|
|
"subcommand"
|
|
],
|
|
"properties": {
|
|
"command": {
|
|
"type": "string",
|
|
"description": "The command to execute"
|
|
},
|
|
"subcommand": {
|
|
"type": "string",
|
|
"description": "The sub-command to execute"
|
|
},
|
|
"arguments": {
|
|
"type": "array",
|
|
"description": "The parameters of the command"
|
|
},
|
|
"cwd": {
|
|
"type": "string",
|
|
"description": "Path for Spring CLI process execution"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"main": "./dist/extension",
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run package",
|
|
"webpack": "webpack --mode development",
|
|
"package": "webpack --mode production --devtool hidden-source-map",
|
|
"compile": "webpack --mode development",
|
|
"watch": "webpack --mode development --watch",
|
|
"clean": "rm -fr node_modules out *.vsix package-lock.json",
|
|
"vsce-package": "vsce package",
|
|
"vsce-pre-release-package": "vsce package --pre-release"
|
|
},
|
|
"dependencies": {
|
|
"js-yaml": "^4.1.0",
|
|
"lodash.debounce": "^4.0.8",
|
|
"vscode-languageclient": "^9.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/lodash.debounce": "^4.0.9",
|
|
"@types/node": "^18.8.0",
|
|
"@types/vscode": "1.75.0",
|
|
"@vscode/vsce": "^2.26.1",
|
|
"ts-loader": "^9.5.1",
|
|
"typescript": "^4.8.0",
|
|
"webpack": "^5.91.0",
|
|
"webpack-cli": "^5.1.4"
|
|
}
|
|
}
|