vscode-extensions/rust-analyzer: pin rollup dep to avoid regression.

This commit is contained in:
Mukund Lakshman 2021-08-08 10:29:45 +01:00
parent f393faef2d
commit 6a04d273d6
3 changed files with 1045 additions and 1180 deletions

File diff suppressed because it is too large Load diff

View file

@ -51,6 +51,9 @@ build_deps="../../../../misc/vscode-extensions/rust-analyzer/build-deps"
jq '{ name, version, dependencies: (.dependencies + .devDependencies) }' "$node_src/package.json" \
>"$build_deps/package.json.new"
# FIXME: rollup@2.55.0 breaks the build: https://github.com/rollup/rollup/issues/4195
sed 's/"rollup": ".*"/"rollup": "=2.51.1"/' --in-place "$build_deps/package.json.new"
if cmp --quiet "$build_deps"/package.json{.new,}; then
echo "package.json not changed, skip updating nodePackages"
rm "$build_deps"/package.json.new

View file

@ -17,7 +17,7 @@
"eslint": "^7.30.0",
"glob": "^7.1.6",
"mocha": "^9.0.2",
"rollup": "^2.51.1",
"rollup": "=2.51.1",
"tslib": "^2.3.0",
"typescript": "^4.3.5",
"typescript-formatter": "^7.2.2",