bun-publish
БесплатноБез исполняемых скриптовНе проверенBun publish to npm. Use when the user wants to release to npm, preview with --dry-run, publish a scoped package with --access public, or enable --provenance…
от laurigates★ 61 звезда на GitHubОб этом скилле
/bun:publish
Publish package to npm registry after building with Bun.
When to Use This Skill
| Use this skill when... | Use bun-publishing instead when... |
|---|---|
Executing a single npm publish action with the right flags |
Looking up broader npm publishing workflow guidance and conventions |
Previewing a publish with --dry-run before releasing |
Configuring publishConfig, scoped-package access, or provenance setup |
Releasing a scoped package with --access public |
Use bun-build when you need to produce build artifacts before publishing |
Enabling supply-chain --provenance signing on a release |
Use bun-lockfile-update when bumping dependencies before a release |
Parameters
--dry-run: Preview publish without executing--access: Access level (publicorrestricted)--provenance: Enable supply chain provenance signing
Context
Detect package configuration:
cat package.json | jq '{name, version, publishConfig, bin, files, scripts: {prepublishOnly: .scripts.prepublishOnly}}'
Execution
Pre-publish Validation
# Type check
bun run tsc --noEmit 2>&1 | head -20
# Build
bun run build
# Verify tarball contents
npm pack --dry-run
Publish
Dry run (default for first attempt):
npm publish --dry-run {{ "--access " + ACCESS if ACCESS }}
Actual publish:
# Standard package
npm publish {{ "--access " + ACCESS if ACCESS }} {{ "--provenance" if PROVENANCE }}
# Scoped package (auto-detect from name starting with @)
npm publish --access public {{ "--provenance" if PROVENANCE }}
Scoped Package Detection
If package.json name starts with @:
- Automatically add
--access publicunless explicitly restricted - Warn if
publishConfig.accessis not set in package.json
Post-publish
- Display published version:
npm view <package> version - Show installation command:
npm install <package> - Link to npm package page
Error Handling
402 Payment Required:
- Scoped packages require
--access publicfor public registry - Add
publishConfig.access: "public"to package.json
Missing authentication:
- Run
npm loginto authenticate - Or set
NPM_TOKENenvironment variable
Установить bun-publish в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(cat package.json *)Bash(jq *)Bash(bun run tsc *)Bash(head *)Bash(bun run build *)Bash(npm pack *)Bash(npm publish *)Bash(npm view *)ReadFAQ
Что делает скилл bun-publish?
Bun publish to npm. Use when the user wants to release to npm, preview with --dry-run, publish a scoped package with --access public, or enable --provenance signing.
Как установить скилл bun-publish?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bun-publish запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic