rescript-language-server, vscode-extensions.chenglou92.rescript-vscode: 1.62.0 -> 1.72.0 (#501085)

This commit is contained in:
Pol Dellaiera
2026-03-27 19:29:40 +00:00
committed by GitHub
3 changed files with 7 additions and 6 deletions
@@ -5,7 +5,7 @@
callPackage,
}:
let
extVersion = "1.62.0";
extVersion = "1.72.0";
rescript-editor-analysis = callPackage ./rescript-editor-analysis.nix { };
# Ensure the versions match
@@ -30,7 +30,7 @@ vscode-utils.buildVscodeMarketplaceExtension {
name = "rescript-vscode";
publisher = "chenglou92";
inherit version;
hash = "sha256-yUAhysTM9FXo9ZAzrto+tnjnofIUEQAGBg3tjIainrY=";
hash = "sha256-2fN8bq6X1Lm9/5+wNMzL8I0bUVMFetXDWVObUJeVYbU=";
};
# For rescript-language-server
@@ -7,7 +7,7 @@
ocamlPackages.buildDunePackage (finalAttrs: {
pname = "analysis";
version = "1.62.0";
version = "1.72.0";
minimalOCamlVersion = "4.10";
@@ -15,7 +15,7 @@ ocamlPackages.buildDunePackage (finalAttrs: {
owner = "rescript-lang";
repo = "rescript-vscode";
tag = finalAttrs.version;
hash = "sha256-Tox5Qq0Kpqikac90sQww2cGr9RHlXnVy7GMnRA18CoA=";
hash = "sha256-bGCQ/HC6ItQMR0v0wLsF9pNX/Y1sBnp7E+Am0flWhGk=";
};
strictDeps = true;
@@ -29,7 +29,8 @@ buildNpmPackage (finalAttrs: {
sourceRoot = "${finalAttrs.src.name}/server";
npmDepsHash = "sha256-Qi41qDJ0WR0QWw7guhuz1imT51SqI7mORGjNbmZWnio";
npmDepsFetcherVersion = 2;
npmDepsHash = "sha256-BUR/gln9yyKGa05FvxOF6vIcCz8BCQWGr/fzfmOPdj0=";
strictDeps = true;
nativeBuildInputs = [ esbuild ];
@@ -39,7 +40,7 @@ buildNpmPackage (finalAttrs: {
buildPhase = ''
runHook preBuild
# https://github.com/rescript-lang/rescript-vscode/blob/1.62.0/package.json#L252
# https://github.com/rescript-lang/rescript-vscode/blob/1.72.0/package.json#L286
esbuild src/cli.ts --bundle --sourcemap --outfile=out/cli.js --format=cjs --platform=node --loader:.node=file --minify
runHook postBuild