mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
Merge pull request #133122 from yaymukund/rust-analyzer-rollup
vscode-extensions/rust-analyzer: pin rollup dep to avoid regression.
This commit is contained in:
commit
e95844ddfe
11
pkgs/development/node-packages/node-packages.nix
generated
11
pkgs/development/node-packages/node-packages.nix
generated
@ -52448,6 +52448,15 @@ let
|
||||
sha512 = "/2HA0Ec70TvQnXdzynFffkjA6XN+1e2pEv/uKS5Ulca40g2L7KuOE3riasHoNVHOsFD5KKZgDsMk1CP3Tw9s+A==";
|
||||
};
|
||||
};
|
||||
"rollup-2.51.1" = {
|
||||
name = "rollup";
|
||||
packageName = "rollup";
|
||||
version = "2.51.1";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/rollup/-/rollup-2.51.1.tgz";
|
||||
sha512 = "8xfDbAtBleXotb6qKEHWuo/jkn94a9dVqGc7Rwl3sqspCVlnCfbRek7ldhCARSi7h32H0xR4QThm1t9zHN+3uw==";
|
||||
};
|
||||
};
|
||||
"rollup-2.56.0" = {
|
||||
name = "rollup";
|
||||
packageName = "rollup";
|
||||
@ -109906,7 +109915,7 @@ in
|
||||
sources."resolve-from-4.0.0"
|
||||
sources."reusify-1.0.4"
|
||||
sources."rimraf-3.0.2"
|
||||
sources."rollup-2.56.0"
|
||||
sources."rollup-2.51.1"
|
||||
sources."run-parallel-1.2.0"
|
||||
sources."safe-buffer-5.2.1"
|
||||
sources."semver-7.3.5"
|
||||
|
@ -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 New Issue
Block a user