mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-24 22:52:15 +08:00
* perf(traffic): shorten sidebar graph animation * refactor(service)!: remove the development service channel workflow Delete the verge-dev/dev-sidecar features, the dev.mjs script family, and the CLASH_VERGE_DEV_SERVICE_DIR staging chain. Debug builds keep the isolated .dev application data directory and dev sidecar IPC names through #[cfg(debug_assertions)] instead of the removed feature. Point clash_verge_service_ipc at tag v2.8.2. * chore(service): track the development-channel removal draft Point clash_verge_service_ipc at the removal branch while its PR is open; flip to tag v2.8.2 once the service side merges. * chore(service): track the released service 2.8.2 The removal branch merged as clash-verge-rev/clash-verge-service-ipc#105 (with the digest opt-in from clash-verge-rev/clash-verge-service-ipc#106 and the 2.8.2 release bump on top), so track the service repository's main directly instead of the draft branch.
99 lines
2.7 KiB
JSON
99 lines
2.7 KiB
JSON
{
|
|
"name": "Clash Verge Rev Development Environment",
|
|
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
|
|
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/node:2": {
|
|
"version": "26.13.1",
|
|
"pnpmVersion": "12.23.0"
|
|
},
|
|
"ghcr.io/devcontainers/features/rust:1": {
|
|
"version": "1.100.0",
|
|
"profile": "default"
|
|
},
|
|
"ghcr.io/devcontainers/features/git:1": {},
|
|
"ghcr.io/devcontainers/features/github-cli:1": {}
|
|
},
|
|
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"rust-lang.rust-analyzer",
|
|
"tauri-apps.tauri-vscode",
|
|
"ms-vscode.vscode-typescript-next",
|
|
"bradlc.vscode-tailwindcss",
|
|
"redhat.vscode-yaml",
|
|
"ms-vscode.hexeditor",
|
|
"streetsidesoftware.code-spell-checker",
|
|
"ms-vscode.vscode-eslint",
|
|
"biomejs.biome"
|
|
],
|
|
"settings": {
|
|
"rust-analyzer.check.command": "clippy",
|
|
"editor.formatOnSave": true,
|
|
"editor.defaultFormatter": "biomejs.biome",
|
|
"[rust]": {
|
|
"editor.defaultFormatter": "rust-lang.rust-analyzer"
|
|
},
|
|
"[json]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[yaml]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[typescript]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[typescriptreact]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
"forwardPorts": [1420, 3000, 8080, 9090, 7890, 7891],
|
|
|
|
"portsAttributes": {
|
|
"1420": {
|
|
"label": "Tauri Dev Server",
|
|
"onAutoForward": "notify"
|
|
},
|
|
"3000": {
|
|
"label": "Vite Dev Server",
|
|
"onAutoForward": "notify"
|
|
},
|
|
"7890": {
|
|
"label": "Clash HTTP Proxy",
|
|
"onAutoForward": "silent"
|
|
},
|
|
"7891": {
|
|
"label": "Clash SOCKS Proxy",
|
|
"onAutoForward": "silent"
|
|
},
|
|
"9090": {
|
|
"label": "Clash API",
|
|
"onAutoForward": "silent"
|
|
}
|
|
},
|
|
|
|
"postCreateCommand": "bash .devcontainer/post-create.sh",
|
|
|
|
"mounts": [
|
|
"source=clash-verge-node-modules,target=${containerWorkspaceFolder}/node_modules,type=volume",
|
|
"source=clash-verge-pnpm-store,target=/home/vscode/.local/share/pnpm/store,type=volume",
|
|
"source=clash-verge-cargo-registry,target=/home/vscode/.cargo/registry,type=volume",
|
|
"source=clash-verge-cargo-git,target=/home/vscode/.cargo/git,type=volume"
|
|
],
|
|
|
|
"containerEnv": {
|
|
"RUST_BACKTRACE": "1",
|
|
"NODE_OPTIONS": "--max-old-space-size=4096",
|
|
"TAURI_DEV_WATCHER_IGNORE_FILE": ".taurignore"
|
|
},
|
|
|
|
"containerUser": "vscode",
|
|
"remoteUser": "vscode",
|
|
"workspaceFolder": "/workspaces/clash-verge-rev",
|
|
"shutdownAction": "stopContainer"
|
|
}
|