open-code-review/extensions/vscode/package.json
kite e9d4db51ec
fix(vscode): upgrade transitive deps to resolve security alerts (#713)
Bump resolutions for:
- undici >=8.9.0 (fixes #30, #31, #32, #33, #34)
- fast-uri >=4.1.2 (fixes #29)
- postcss >=8.5.23 (fixes #36)
2026-08-04 19:58:23 +08:00

124 lines
3.1 KiB
JSON

{
"name": "open-code-review-vscode",
"displayName": "Open Code Review",
"description": "%ocr.description%",
"version": "0.1.2",
"publisher": "open-code-review",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/alibaba/open-code-review.git",
"directory": "extensions/vscode"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"icon": "resources/icon.png",
"main": "./out/extension.js",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "ocr-container",
"title": "%ocr.activitybar.title%",
"icon": "resources/icon.svg"
}
]
},
"views": {
"ocr-container": [
{
"id": "ocr.sidebar",
"type": "webview",
"name": "%ocr.sidebar.name%"
}
]
},
"commands": [
{
"command": "ocr.review.start",
"title": "%ocr.review.start%"
},
{
"command": "ocr.review.cancel",
"title": "%ocr.review.cancel%"
},
{
"command": "ocr.config.open",
"title": "%ocr.config.open%"
},
{
"command": "ocr.comment.apply",
"title": "%ocr.comment.apply%"
},
{
"command": "ocr.comment.discard",
"title": "%ocr.comment.discard%"
},
{
"command": "ocr.comment.falsePositive",
"title": "%ocr.comment.falsePositive%"
}
],
"menus": {
"comments/commentThread/title": [
{
"command": "ocr.comment.apply",
"group": "navigation@1",
"when": "commentController == ocr-review && commentThread == pending"
},
{
"command": "ocr.comment.discard",
"group": "navigation@2",
"when": "commentController == ocr-review && commentThread =~ /^pending/"
}
]
}
},
"scripts": {
"compile": "webpack --mode development",
"watch": "webpack --mode development --watch",
"build": "webpack --mode production",
"test": "jest",
"lint": "eslint src --ext ts,tsx",
"package": "vsce package --no-yarn",
"vscode:prepublish": "yarn build"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^18.0.0",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^6.18.0",
"@typescript-eslint/parser": "^6.18.0",
"@vscode/vsce": "^3.0.0",
"css-loader": "^7.1.4",
"eslint": "^8.56.0",
"jest": "^30.4.2",
"style-loader": "^4.0.0",
"ts-jest": "^29.4.12",
"ts-loader": "^9.5.0",
"typescript": "^5.3.0",
"webpack": "^5.109.2",
"webpack-cli": "^7.2.2"
},
"resolutions": {
"undici": ">=8.9.0",
"form-data": ">=4.0.6",
"js-yaml": ">=5.2.2",
"minimatch": "^10.2.6",
"@typescript-eslint/typescript-estree/minimatch": "^10.2.6",
"brace-expansion": ">=5.0.8 <6",
"fast-uri": ">=4.1.2",
"postcss": ">=8.5.23",
"linkify-it": ">=5.0.2 <6"
},
"dependencies": {
"preact": "^10.29.7"
}
}