@@ -11,8 +11,7 @@
 | 
			
		||||
        "Other"
 | 
			
		||||
    ],
 | 
			
		||||
    "activationEvents": [
 | 
			
		||||
        "onView:docker-explorer",
 | 
			
		||||
        "onView:openfaas-explorer"
 | 
			
		||||
        "onView:docker-explorer"
 | 
			
		||||
    ],
 | 
			
		||||
    "main": "./dist/extension.js",
 | 
			
		||||
    "contributes": {
 | 
			
		||||
@@ -30,10 +29,6 @@
 | 
			
		||||
                {
 | 
			
		||||
                    "id": "docker-explorer",
 | 
			
		||||
                    "name": "Docker"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "id": "openfaas-explorer",
 | 
			
		||||
                    "name": "OpenFaaS"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
@@ -44,6 +39,13 @@
 | 
			
		||||
                "icon": {
 | 
			
		||||
                    "dark": "src/images/browser.svg"
 | 
			
		||||
                }
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "command": "dayu.service.logs",
 | 
			
		||||
                "title": "View Service Logs",
 | 
			
		||||
                "icon": {
 | 
			
		||||
                    "dark": "src/images/browser.svg"
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "menus": {
 | 
			
		||||
@@ -52,6 +54,11 @@
 | 
			
		||||
                    "command": "dayu.container.logs",
 | 
			
		||||
                    "when": "view == docker-explorer && viewItem =~ /.*\"type\":\"CONTAINER\".*/",
 | 
			
		||||
                    "group": "inline"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "command": "dayu.service.logs",
 | 
			
		||||
                    "when": "view == docker-explorer && viewItem =~ /.*\"type\":\"SERVICE\".*/",
 | 
			
		||||
                    "group": "inline"
 | 
			
		||||
                }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
@@ -67,13 +74,14 @@
 | 
			
		||||
    "dependencies": {
 | 
			
		||||
        "@dayu/docker-api": "^0.0.1",
 | 
			
		||||
        "@dayu/faas": "^0.0.1",
 | 
			
		||||
        "axios": "^0.19.0"
 | 
			
		||||
        "axios": "^0.19.0",
 | 
			
		||||
        "lerna": "^3.14.1"
 | 
			
		||||
    },
 | 
			
		||||
    "devDependencies": {
 | 
			
		||||
        "@types/mocha": "^2.2.42",
 | 
			
		||||
        "@types/node": "^10.12.21",
 | 
			
		||||
        "tslint": "^5.12.1",
 | 
			
		||||
        "typescript": "^3.3.1",
 | 
			
		||||
        "vscode": "^1.1.28"
 | 
			
		||||
        "vscode": "^1.1.36"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user