Github messages for voidlinux
 help / color / mirror / Atom feed
From: sirkhancision <sirkhancision@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] bash-language-server: update to 5.0.0.
Date: Tue, 18 Jul 2023 21:31:01 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45115@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

There is a new pull request by sirkhancision against master on the void-packages repository

https://github.com/sirkhancision/void-packages bash-language-server
https://github.com/void-linux/void-packages/pull/45115

bash-language-server: update to 5.0.0.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc


A patch file from https://github.com/void-linux/void-packages/pull/45115.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bash-language-server-45115.patch --]
[-- Type: text/x-diff, Size: 1642 bytes --]

From 2066006a30fb8d1a6bdcd25c5e16a848c567ca25 Mon Sep 17 00:00:00 2001
From: sirkhancision <jsantiago12tone@gmail.com>
Date: Tue, 18 Jul 2023 16:29:17 -0300
Subject: [PATCH] bash-language-server: update to 5.0.0.

---
 srcpkgs/bash-language-server/template | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/bash-language-server/template b/srcpkgs/bash-language-server/template
index 5705ecbaf6fc..ef3e8d4ed9b9 100644
--- a/srcpkgs/bash-language-server/template
+++ b/srcpkgs/bash-language-server/template
@@ -1,29 +1,27 @@
 # Template file for 'bash-language-server'
 pkgname=bash-language-server
-version=4.10.1
+version=5.0.0
 revision=1
-hostmakedepends="jq yarn"
+hostmakedepends="pnpm"
 depends="nodejs"
 short_desc="Bash language server"
 maintainer="sirkhancision <jsantiago12tone@gmail.com>"
 license="MIT"
 homepage="https://github.com/bash-lsp/bash-language-server"
 distfiles="https://github.com/bash-lsp/bash-language-server/archive/refs/tags/server-${version}.tar.gz"
-checksum=f8c7fed6812e166dadefceb156ba8e1737e57914f9f06b4bba06f93bed7dc9b4
+checksum=ef8d104591cfcddf85da14af9585d8f0ab97f12e158df67ab50900f7342e353a
 
 do_build() {
-	yarn install
-	yarn run compile
+	pnpm install --frozen-lockfile
+	pnpm run compile
 }
 
 do_install() {
 	TARGET_PATH="usr/lib/${pkgname}"
 	cd server
 
-	cp package.json{,.bak}
-	read -ra _devDependencies < <(jq -r '.devDependencies | keys | join(" ")' package.json)
-	yarn remove --frozen-lockfile "${_devDependencies[@]}"
-	mv package.json{.bak,}
+	rm -r node_modules
+	npm install --production
 
 	vmkdir ${TARGET_PATH}
 	vcopy * ${TARGET_PATH}

             reply	other threads:[~2023-07-18 19:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-18 19:31 sirkhancision [this message]
2023-07-18 20:25 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45115@inbox.vuxu.org \
    --to=sirkhancision@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).