Skip to main content
Glama
PUBLISHING.md3.02 kB
# Publishing Brummer to Package Managers This guide covers how to publish Brummer to various package managers. ## Prerequisites Before publishing, ensure: 1. All tests pass: `make test` 2. Build works: `make build-all` 3. Version is updated in `package.json` 4. Changes are committed and tagged ## NPM Package ✅ Ready ### Setup (One-time) ```bash # Login to npm (if not already logged in) npm login # Verify your login npm whoami # Verify you have publish permissions for the @standardbeagle scope npm access list packages @standardbeagle ``` ### Publishing Process 1. **Update version** in `package.json` 2. **Build binaries** for all platforms: ```bash make build-all ``` 3. **Test the package locally**: ```bash node install.js ./bin/brum --help ``` 4. **Publish to npm**: ```bash npm publish --access public ``` **Note**: The `--access public` flag is required for scoped packages to make them publicly available. 5. **Verify publication**: ```bash # Check the package is publicly available npm view @standardbeagle/brum # Test installation in a clean directory npm install -g @standardbeagle/brum brum --version ``` ### NPM Package Features - ✅ Cross-platform binary installation - ✅ Automatic platform detection (Linux, macOS, Windows) - ✅ Architecture support (x64, arm64) - ✅ Fallback to local binaries during development - ✅ Post-install script downloads appropriate binary - ✅ GitHub Releases integration ### Installation Commands Users can install via: ```bash # Global installation npm install -g @standardbeagle/brum yarn global add @standardbeagle/brum pnpm add -g @standardbeagle/brum # After installation, run with: brum # Run without installing npx @standardbeagle/brum ``` ### Troubleshooting **Publishing Issues:** ```bash # If you get "402 Payment Required" error: npm publish --access public # If you get "403 Forbidden" error: # Check if you're logged in and have permissions npm whoami npm access list packages @standardbeagle # If package name is taken: # Scoped packages avoid naming conflicts # @standardbeagle/brum should be unique to your organization ``` **Installation Issues:** ```bash # If users can't install globally: sudo npm install -g @standardbeagle/brum # Linux/macOS # Or use npx for one-time usage # If binary not found after installation: # Check if npm global bin directory is in PATH npm config get prefix ``` ## Go Install Go install is automatically available since the code is public on GitHub: ```bash go install github.com/standardbeagle/brummer/cmd/brum@latest ``` No additional setup required. ## Release Checklist - [ ] Update CHANGELOG.md - [ ] Build all platform binaries: `make build-all` - [ ] Create GitHub release with binaries - [ ] Publish to NPM: `npm publish --access public` - [ ] Test installations: - [ ] `npm install -g @standardbeagle/brum` - [ ] `npx @standardbeagle/brum` - [ ] `go install github.com/standardbeagle/brummer/cmd/brum@latest`

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/standardbeagle/brummer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server