diff --git a/dev-lang/typescript/Manifest b/dev-lang/typescript/Manifest index 4b97c99af5ab2..f048030e0b48a 100644 --- a/dev-lang/typescript/Manifest +++ b/dev-lang/typescript/Manifest @@ -1 +1,2 @@ DIST typescript-5.9.2.tgz 4376902 BLAKE2B 35db4b391eed81a6407bd23a6494a2f01a6979858ddf3ccd74b2b1f16fcae4e11e1c813340a234af4da852de1ad21e0fa22b0cf04910c22b1c01c77bd798f958 SHA512 0960735d0adcfea3a4862770d4ecc14d0b9845b7f2c435c93152755cdc141c644e566b9a7a2126dceb25a59d5157de9ded228a8d92ab489bb7fadff1970dd1f4 +DIST typescript-5.9.3.tgz 4377468 BLAKE2B 851466b0e045c7ccd7b53c65c5c0bcb35a9ad89c4cf7afaa0acebcd41ff6580f9b2a8902b1f82ba9b46d833ea90d3e4cf529efebf3a2b139f276ee601023d758 SHA512 8e5d6f6733c38a72ebf5e52ddc9feded5e8580d130f508ef04f772b33f4a7d00c3e357d0ac2d98e2f290762694a454f86d795bd511e12e9a7cc2d9ba3394e04b diff --git a/dev-lang/typescript/typescript-5.9.3.ebuild b/dev-lang/typescript/typescript-5.9.3.ebuild new file mode 100644 index 0000000000000..145001b5fed24 --- /dev/null +++ b/dev-lang/typescript/typescript-5.9.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +RDEPEND=" + net-libs/nodejs +" +BDEPEND=" + >=net-libs/nodejs-16[npm] +" + +src_compile() { + # Skip, nothing to compile here. + : +} + +src_install() { + local -a myopts=( + --audit false + --color false + --foreground-scripts + --global + --offline + --omit dev + --prefix "${ED}/usr" + --progress false + --verbose + ) + npm "${myopts[@]}" install "${DISTDIR}/${P}.tgz" || die "npm install failed" + + dodoc *.md *.txt +}