dev-util/prettier - 3.9.6 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =dev-util/prettier-3.9.6

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/prettier-3.9.6

Or alternatively:

emerge --autounmask-write -a =dev-util/prettier-3.9.6

Package Information

Description:
Prettier is an opinionated code formatter.
Homepage:
https://prettier.io
License:
Apache-2.0 MIT

Ebuild Details

Version EAPI Keywords Slot
3.9.6 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit nodejs-mod

DESCRIPTION="Prettier is an opinionated code formatter."
HOMEPAGE="https://prettier.io"
SRC_URI="https://github.com/Tatsh/tatsh-overlay/releases/download/__distfiles__/${P}-node_modules.tar.xz"
S="${WORKDIR}/${P}"
LICENSE="Apache-2.0 MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="net-libs/nodejs"

src_install() {
	nodejs-mod_src_install
	fperms 0755 "/usr/$(get_libdir)/node_modules/${PN}/node_modules/prettier/bin/${PN}.cjs"
	dosym "../$(get_libdir)/node_modules/${PN}/node_modules/prettier/bin/${PN}.cjs" "/usr/bin/${PN}"
}

Inherited Eclasses

Dependencies

RDEPEND

net-libs/nodejs

Manifest for 3.9.6

Type File Size Source URLs
DIST prettier-3.9.6-node_modules.tar.xz 7049468 bytes https://github.com/Tatsh/tatsh-overlay/releases/download/__distfiles__/prettier-3.9.6-node_modules.tar.xz