Publisher configuration examples for each target: - publish-github.yaml - GitHub Releases (foundation) - publish-npm.yaml - npm binary wrapper - publish-homebrew.yaml - Homebrew formula + tap - publish-scoop.yaml - Scoop manifest (Windows) - publish-aur.yaml - AUR PKGBUILD (Arch Linux) - publish-chocolatey.yaml - Chocolatey NuSpec (Windows) - publish-docker.yaml - Multi-arch containers - publish-linuxkit.yaml - Immutable images - publish-all.yaml - All publishers combined Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
502 B
YAML
21 lines
502 B
YAML
# Example: npm Publisher
|
|
# Binary wrapper pattern - downloads correct platform binary on install
|
|
|
|
type: npm
|
|
|
|
# Package name (scoped recommended)
|
|
package: "@myorg/mycli"
|
|
|
|
# Access level
|
|
access: public # or "restricted" for private
|
|
|
|
# Environment: NPM_TOKEN required
|
|
#
|
|
# Usage after publish:
|
|
# npm install -g @myorg/mycli
|
|
# npx @myorg/mycli --help
|
|
#
|
|
# The published package contains:
|
|
# - package.json
|
|
# - install.js (postinstall downloads binary)
|
|
# - bin/run.js (wrapper that executes binary)
|