mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-27 17:30:10 +01:00
There are dependencies that kept this from upgrading automatically, but while the new version technically includes breaking changes, they aren't ones that cause any problems for VSCode. Upgrading this is helpful as the old version has an irrelevant (for us) security issue. With this we should be able to avoid distracting security scanners. Also updates other packages where relevant, all those automatically. Assisted-by: Antigravity with Gemini
117 lines
3.0 KiB
JSON
117 lines
3.0 KiB
JSON
{
|
|
"name": "carbon-vscode",
|
|
"displayName": "Carbon Language",
|
|
"version": "0.0.8",
|
|
"publisher": "carbon-lang",
|
|
"description": "Carbon language support for the 'Code - OSS' family of editors.",
|
|
"repository": {
|
|
"url": "https://github.com/carbon-language/carbon-lang"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.90.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages"
|
|
],
|
|
"icon": "images/icon.png",
|
|
"activationEvents": [],
|
|
"main": "./dist/extension.js",
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "carbon",
|
|
"aliases": [
|
|
"Carbon"
|
|
],
|
|
"extensions": [
|
|
".carbon"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
},
|
|
{
|
|
"id": "semir",
|
|
"aliases": [
|
|
"SemIR"
|
|
],
|
|
"extensions": [
|
|
".semir"
|
|
]
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "carbon",
|
|
"scopeName": "source.carbon",
|
|
"path": "./carbon.tmLanguage.json"
|
|
},
|
|
{
|
|
"language": "semir",
|
|
"scopeName": "source.carbon-semir",
|
|
"path": "./semir.tmLanguage.json"
|
|
},
|
|
{
|
|
"scopeName": "source.carbon-check-test",
|
|
"path": "./carbon-check-test.tmLanguage.json",
|
|
"injectTo": [
|
|
"source.carbon"
|
|
]
|
|
}
|
|
],
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "Carbon Language",
|
|
"properties": {
|
|
"carbon.carbonPath": {
|
|
"type": "string",
|
|
"description": "The path to the `carbon` binary.",
|
|
"default": "./bazel-bin/toolchain/carbon"
|
|
},
|
|
"carbon.carbonServerCommandArgs": {
|
|
"type": "string",
|
|
"description": "Extra flags to pass to `carbon` before the `language-server` subcommand, such as `-v` for debugging.",
|
|
"default": ""
|
|
},
|
|
"carbon.carbonServerSubcommandArgs": {
|
|
"type": "string",
|
|
"description": "Extra flags to pass to the `language-server` subcommand.",
|
|
"default": ""
|
|
}
|
|
}
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "carbon.lsp.restart",
|
|
"title": "carbon: Restart language server"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run package",
|
|
"compile": "npm run check-types && npm run lint && node esbuild.js",
|
|
"watch": "npm-run-all -p watch:*",
|
|
"watch:esbuild": "node esbuild.js --watch",
|
|
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
|
|
"package": "npm run check-types && npm run lint && node esbuild.js --production",
|
|
"compile-tests": "tsc -p . --outDir out",
|
|
"check-types": "tsc --noEmit",
|
|
"lint": "eslint"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/node": "^20",
|
|
"@types/vscode": "^1.73.0",
|
|
"@vscode/vsce": "^3.9.1",
|
|
"esbuild": "^0.25.0",
|
|
"eslint": "^9.13.0",
|
|
"typescript": "^5.7.2",
|
|
"typescript-eslint": "^8.16.0"
|
|
},
|
|
"dependencies": {
|
|
"vscode-languageclient": "^9.0.1"
|
|
},
|
|
"overrides": {
|
|
"uuid": "^14.0.0"
|
|
}
|
|
}
|