mirror of
https://github.com/danbulant/oxc
synced 2026-05-23 06:08:47 +00:00
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`^20.14.2` -> `^22.0.0`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.13/22.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - "before 10am on monday" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/oxc-project/oxc). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
133 lines
No EOL
3.7 KiB
JSON
133 lines
No EOL
3.7 KiB
JSON
{
|
|
"name": "oxc-vscode",
|
|
"description": "oxc vscode extension",
|
|
"license": "MIT",
|
|
"version": "0.6.1",
|
|
"icon": "icon.png",
|
|
"publisher": "oxc",
|
|
"displayName": "Oxc",
|
|
"bugs": {
|
|
"url": "https://github.com/oxc-project/oxc/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/oxc-project/oxc.git",
|
|
"directory": "editors/vscode"
|
|
},
|
|
"categories": [
|
|
"Linters"
|
|
],
|
|
"keywords": [
|
|
"linter",
|
|
"oxc"
|
|
],
|
|
"engines": {
|
|
"vscode": "^1.90.0"
|
|
},
|
|
"sponsor": {
|
|
"url": "https://github.com/sponsors/boshen"
|
|
},
|
|
"activationEvents": [
|
|
"onLanguage:javascript",
|
|
"onLanguage:javascriptreact",
|
|
"onLanguage:typescript",
|
|
"onLanguage:typescriptreact",
|
|
"onLanguage:vue",
|
|
"onLanguage:svelte"
|
|
],
|
|
"main": "./out/main.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "oxc.restartServer",
|
|
"title": "Restart Oxc Server",
|
|
"category": "Oxc"
|
|
},
|
|
{
|
|
"command": "oxc.toggleEnable",
|
|
"title": "toggle enable",
|
|
"category": "Oxc"
|
|
},
|
|
{
|
|
"command": "oxc.showOutputChannel",
|
|
"title": "Show Output Channel",
|
|
"category": "Oxc"
|
|
},
|
|
{
|
|
"command": "oxc.showTraceOutputChannel",
|
|
"title": "Show Trace Output Channel",
|
|
"category": "Oxc"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "oxc",
|
|
"properties": {
|
|
"oxc_language_server.run": {
|
|
"scope": "resource",
|
|
"type": "string",
|
|
"enum": [
|
|
"onSave",
|
|
"onType"
|
|
],
|
|
"default": "onType",
|
|
"description": "Run the linter on save (onSave) or on type (onType)"
|
|
},
|
|
"oxc_language_server.enable": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "enable oxc language server"
|
|
},
|
|
"oxc_language_server.trace.server": {
|
|
"type": "string",
|
|
"scope": "window",
|
|
"enum": [
|
|
"off",
|
|
"messages",
|
|
"verbose"
|
|
],
|
|
"enumDescriptions": [
|
|
"No traces",
|
|
"Error only",
|
|
"Full log"
|
|
],
|
|
"default": "off",
|
|
"description": "Traces the communication between VS Code and the language server."
|
|
},
|
|
"oxc_language_server.configPath": {
|
|
"type": "string",
|
|
"scope": "window",
|
|
"default": ".eslintrc",
|
|
"description": "Path to ESlint configuration."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"preinstall": "[ -f icon.png ] || curl https://cdn.jsdelivr.net/gh/oxc-project/oxc-assets/square.png --output icon.png",
|
|
"build": "pnpm run server:build:release && pnpm run compile && pnpm run package",
|
|
"compile": "esbuild client/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node --target=node16 --minify --sourcemap",
|
|
"watch": "pnpm run compile --watch",
|
|
"package": "vsce package --no-dependencies -o oxc_language_server.vsix",
|
|
"install-extension": "code --install-extension oxc_language_server.vsix --force",
|
|
"server:build:debug": "cargo build -p oxc_language_server",
|
|
"server:build:release": "cross-env CARGO_TARGET_DIR=./target cargo build -p oxc_language_server --release",
|
|
"fmt:js": "prettier --write ./**/*.{js,ts,json}"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"@types/vscode": "1.80.0",
|
|
"@vscode/vsce": "^2.27.0",
|
|
"cross-env": "^7.0.3",
|
|
"esbuild": "^0.23.0",
|
|
"ovsx": "^0.9.1",
|
|
"prettier": "^3.3.1",
|
|
"typescript": "^5.4.5"
|
|
},
|
|
"dependencies": {
|
|
"vscode-languageclient": "^9.0.1"
|
|
},
|
|
"vsce": {
|
|
"dependencies": false
|
|
}
|
|
} |