vscode-extensions/rust-analyzer: pin rollup dep to avoid regression.
This commit is contained in:
parent
f393faef2d
commit
6a04d273d6
3 changed files with 1045 additions and 1180 deletions
2220
pkgs/development/node-packages/node-packages.nix
generated
2220
pkgs/development/node-packages/node-packages.nix
generated
File diff suppressed because it is too large
Load diff
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue