Merge branch 'staging-next' into staging

This commit is contained in:
Jan Tojnar
2020-06-10 04:10:57 +02:00
170 changed files with 5628 additions and 11438 deletions
@@ -2,21 +2,25 @@
"name": "rust-analyzer",
"version": "0.4.0-dev",
"dependencies": {
"jsonc-parser": "^2.2.1",
"node-fetch": "^2.6.0",
"vscode-languageclient": "7.0.0-next.1",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@types/node": "^12.12.34",
"@types/node-fetch": "^2.5.5",
"@types/vscode": "1.44.0",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"eslint": "^6.8.0",
"rollup": "^2.3.3",
"tslib": "^1.11.1",
"typescript": "^3.8.3",
"@rollup/plugin-commonjs": "^12.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^14.0.5",
"@types/node-fetch": "^2.5.7",
"@types/vscode": "1.45.0",
"@typescript-eslint/eslint-plugin": "^3.0.0",
"@typescript-eslint/parser": "^3.0.0",
"eslint": "^7.0.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"rollup": "^2.10.7",
"tslib": "^2.0.0",
"typescript": "^3.9.3",
"typescript-formatter": "^7.2.2",
"vsce": "^1.75.0"
"vsce": "^1.75.0",
"vscode-test": "^1.3.0"
}
}
@@ -32,12 +32,11 @@ in vscode-utils.buildVscodeExtension {
nativeBuildInputs = lib.optional setDefaultServerPath jq;
postFixup = lib.optionalString setDefaultServerPath ''
package_json="$out/${publisher}.${pname}/package.json"
preInstall = lib.optionalString setDefaultServerPath ''
jq '.contributes.configuration.properties."rust-analyzer.serverPath".default = $s' \
--arg s "${rust-analyzer}/bin/rust-analyzer" \
$package_json >$package_json.new
mv $package_json.new $package_json
package.json >package.json.new
mv package.json.new package.json
'';
meta = with lib; {