pnpm star
新增于:v11.0.0
🌐 Added in: v11.0.0
在注册表中将一个包标记为收藏。你必须登录(参见 pnpm login)。
🌐 Mark a package as a favorite on the registry. You must be logged in (see pnpm login).
pnpm star <pkg>
pnpm unstar
从你的收藏中移除一个包。
🌐 Remove a package from your favorites.
pnpm unstar <pkg>
pnpm stars
列出你(或其他用户)标星的包。
🌐 List the packages you (or another user) have starred.
pnpm stars [<user>]
当未提供用户名运行时,pnpm 会列出当前已认证用户标记为星标的包。
🌐 When run without a username, pnpm lists the packages starred by the currently authenticated user.