From f9e966f4db67f56eac757c90aec5f8f106e31eaa Mon Sep 17 00:00:00 2001 From: stydxm Date: Fri, 19 Dec 2025 00:31:14 +0800 Subject: [PATCH] code-server: update to 4.107.0 Signed-off-by: stydxm --- app-utils/code-server/autobuild/build | 16 ++++++++-------- app-utils/code-server/autobuild/defines | 4 ++-- app-utils/code-server/autobuild/prepare | 3 +-- app-utils/code-server/spec | 4 ++-- 4 files changed, 13 insertions(+), 14 deletions(-) diff --git a/app-utils/code-server/autobuild/build b/app-utils/code-server/autobuild/build index 2f56c421dcfa..fd8b3d32cde6 100644 --- a/app-utils/code-server/autobuild/build +++ b/app-utils/code-server/autobuild/build @@ -1,14 +1,14 @@ abinfo "Installing build dependency ..." -yarn install --frozen-lockfile +npm i abinfo "Building code-server ..." -yarn build -yarn build:vscode -yarn release -cd "$SRCDIR"/release -yarn --production -cd "$SRCDIR" -yarn release:standalone +npm run build +pushd $SRCDIR/lib/vscode +npm ci +popd +npm run build:vscode +npm run release +npm run release:standalone abinfo "Installing code-server ..." mkdir -pv "$PKGDIR"/usr/lib/code-server diff --git a/app-utils/code-server/autobuild/defines b/app-utils/code-server/autobuild/defines index 7a3f31655fc0..1fdced61db4c 100644 --- a/app-utils/code-server/autobuild/defines +++ b/app-utils/code-server/autobuild/defines @@ -1,8 +1,8 @@ PKGNAME=code-server PKGDES="Run VS Code on a remote server" PKGSEC=utils -PKGDEP="libsecret" -BUILDDEP="jq nodejs" +PKGDEP="libsecret nodejs" +BUILDDEP="jq" ABSTRIP=0 diff --git a/app-utils/code-server/autobuild/prepare b/app-utils/code-server/autobuild/prepare index c37e1548b4c3..8664a1275204 100644 --- a/app-utils/code-server/autobuild/prepare +++ b/app-utils/code-server/autobuild/prepare @@ -1,7 +1,6 @@ -acbs_copy_git - abinfo "Setting version var ..." export VERSION=$PKGVER +sed -i "s/\"version\": \"0.0.0\"/\"version\": \"$PKGVER\"/g" $SRCDIR/package.json abinfo "Prevent Corepack from showing the URL ..." export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 diff --git a/app-utils/code-server/spec b/app-utils/code-server/spec index 4b0bea9ee951..4c39265b66d8 100644 --- a/app-utils/code-server/spec +++ b/app-utils/code-server/spec @@ -1,4 +1,4 @@ -VER=4.93.1 -SRCS="git::commit=tags/v$VER::https://github.com/coder/code-server.git" +VER=4.107.0 +SRCS="git::commit=tags/v$VER;copy-repo=true::https://github.com/coder/code-server.git" CHKSUMS="SKIP" CHKUPDATE="anitya::id=231692"