Package Details: corepacker 0.0.0-6

Git Clone URL: https://aur.archlinux.org/corepacker.git (read-only, click to copy)
Package Base: corepacker
Description: Remove npm, yarn and pnpm using corepack
Upstream URL: https://github.com/nodejs/corepack/
Conflicts: npm, pnpm, yarn
Provides: node-gyp, nodejs-nopt, npm, pnpm, yarn
Submitter: tiziodcaio
Maintainer: tiziodcaio
Last Packager: tiziodcaio
Votes: 2
Popularity: 0.005478
First Submitted: 2023-05-21 18:44 (UTC)
Last Updated: 2023-11-05 13:59 (UTC)

Required by (2666)

Sources (0)

Latest Comments

Freso commented on 2023-09-04 11:23 (UTC)

If the files are properly installed via makepkg and thus managed by pacman you don’t need to rm them in corepacker-remove.hook when the package is uninstalled.

detian commented on 2023-07-12 16:44 (UTC)

version 0.0.0-3 lead to

(3/3) Enable Corepack
Usage Error: Invalid package manager name '&&'

$ corepack enable [--install-directory #0] ...

detian commented on 2023-07-12 15:40 (UTC)

corepack disable won't disable npm command for unknown reason so this for enable

Exec = /bin/sh -c '/bin/corepack disable & /bin/corepack disable npm'

and this for disable

Exec = /bin/sh -c '/bin/corepack disable & /bin/corepack disable npm'

maybe better

detian commented on 2023-07-11 18:29 (UTC)

Just corepack enable does not enable npm commands, but this package provides npm. So you need specific enable npm, for example "corepack enable npm"

FabioLolix commented on 2023-06-30 18:10 (UTC)

Stable pkgbuilds like this don't have to provides and conflicts themselves