gitlab-duo: 8.57.1 -> 8.67.0 (#493402)
This commit is contained in:
@@ -774,6 +774,18 @@
|
||||
githubId = 59283660;
|
||||
name = "Antoine Fontaine";
|
||||
};
|
||||
afontaine = {
|
||||
name = "Andrewfontaine";
|
||||
github = "afontaine";
|
||||
githubId = 3373136;
|
||||
email = "andrew@afontaine.ca";
|
||||
matrix = "@andrew:afontaine.dev";
|
||||
keys = [
|
||||
{
|
||||
fingerprint = "A8F3 62E2 D806 6895 581A C014 DD4B E519 1E21 53E0";
|
||||
}
|
||||
];
|
||||
};
|
||||
aforemny = {
|
||||
email = "aforemny@posteo.de";
|
||||
github = "aforemny";
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -11,7 +11,7 @@
|
||||
}:
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "gitlab-duo";
|
||||
version = "8.57.1";
|
||||
version = "8.67.0";
|
||||
|
||||
# DOCS https://gitlab.com/gitlab-org/editor-extensions/gitlab-lsp#node-version
|
||||
nodejs = nodejs_22;
|
||||
@@ -21,7 +21,7 @@ buildNpmPackage (finalAttrs: {
|
||||
owner = "editor-extensions";
|
||||
repo = "gitlab-lsp";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-IofCSh9ja3C8WEiksp0pFJ6LZOu86o4VHnwiIUHHgLI=";
|
||||
hash = "sha256-GnL3720MwiWtC7lHA4CrfiZUTeOV+ytWFii16OKGbAM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -32,14 +32,11 @@ buildNpmPackage (finalAttrs: {
|
||||
|
||||
# PATCH: Only build for the current platform, not all targets
|
||||
postPatch = ''
|
||||
substituteInPlace packages/cli/scripts/compile_executables.sh \
|
||||
--replace-fail \
|
||||
'SUPPORTED_TARGETS="bun-linux-x64 bun-linux-arm64 bun-windows-x64 bun-darwin-arm64 bun-darwin-x64"' \
|
||||
"SUPPORTED_TARGETS=bun-$TARGET"
|
||||
sed -i 's/SUPPORTED_TARGETS=".\+"/SUPPORTED_TARGETS="bun-$TARGET"/' packages/cli/scripts/compile_executables.sh
|
||||
'';
|
||||
|
||||
npmFlags = [ "--install-links" ];
|
||||
npmDepsHash = "sha256-dj4TrKMdXgUZr7/0NLT7h8jT3VjobB9KFO8tl/+47rk=";
|
||||
npmDepsHash = "sha256-9b73NGu3GO5Sgus7BZ7WvOaXBvQ3UrW9BUTk6NwH+uY=";
|
||||
npmBuildScript = "build:binary";
|
||||
npmWorkspace = "@gitlab/duo-cli";
|
||||
nativeBuildInputs = [
|
||||
@@ -79,6 +76,6 @@ buildNpmPackage (finalAttrs: {
|
||||
homepage = "https://about.gitlab.com/gitlab-duo/";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "duo";
|
||||
maintainers = with lib.maintainers; [ yajo ];
|
||||
maintainers = with lib.maintainers; [ afontaine ];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -38,7 +38,7 @@ commander_version=$(jaq -r '.packages["packages/cli"].devDependencies.commander'
|
||||
commander_version="${commander_version/^}"
|
||||
# Sync locked version and remove URL and hash, so they are fixed later
|
||||
jaq -i --arg ver "$commander_version" \
|
||||
'.packages["packages/cli/node_modules/commander"].version = $ver | del(.packages["packages/cli/node_modules/commander"].integrity, .packages["packages/cli/node_modules/commander"].resolved)' \
|
||||
'.packages["node_modules/commander"].version = $ver | del(.packages["node_modules/commander"].integrity, .packages["node_modules/commander"].resolved)' \
|
||||
./package-lock.json
|
||||
|
||||
npm install --package-lock-only --ignore-scripts
|
||||
|
||||
Reference in New Issue
Block a user