dev-lang/typescript: bump to 6.0.2

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2026-03-31 21:52:32 +02:00
parent 957217ac6a
commit e5f3817b36
2 changed files with 45 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST typescript-5.9.3.tgz 4377468 BLAKE2B 851466b0e045c7ccd7b53c65c5c0bcb35a9ad89c4cf7afaa0acebcd41ff6580f9b2a8902b1f82ba9b46d833ea90d3e4cf529efebf3a2b139f276ee601023d758 SHA512 8e5d6f6733c38a72ebf5e52ddc9feded5e8580d130f508ef04f772b33f4a7d00c3e357d0ac2d98e2f290762694a454f86d795bd511e12e9a7cc2d9ba3394e04b
DIST typescript-6.0.2.tgz 4515770 BLAKE2B 249d5296c207b1d173b1f041324188d05a53731468514f219e1c3f7dd856667c557d0bad9d3844929b58420503752aea55b198920bcc2a91c1a4596d6c093ead SHA512 6c674022b674c22183a3997c73ef875ad6da3425934b8513bfb45a4c7fd38552208e4bde26df379bbe1b04730992e09bb2563c8b180b05564920e8909504e37d
@@ -0,0 +1,44 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
DESCRIPTION="Superset of JavaScript with optional static typing, classes and interfaces"
HOMEPAGE="https://www.typescriptlang.org/
https://github.com/microsoft/TypeScript/"
SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz"
S="${WORKDIR}/package"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
RDEPEND="
net-libs/nodejs
"
BDEPEND="
>=net-libs/nodejs-16[npm]
"
src_compile() {
# Skip, nothing to compile here.
:
}
src_install() {
local -a myopts=(
--prefix="${ED}/usr"
--audit="false"
--color="false"
--progress="false"
--foreground-scripts
--global
--offline
--omit dev
--verbose
)
npm "${myopts[@]}" install "${DISTDIR}/${P}.tgz" || die "npm install failed"
dodoc *.md *.txt
}