repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | --- |
| #2 | name: pump-build-release |
| #3 | description: "Build and release pipeline for the Pump SDK — tsup TypeScript builds, Cargo release profiles, semantic release with commitizen, npm publishing, linting, Makefile targets, Vercel deployment, and MCP server distribution." |
| #4 | metadata: |
| #5 | openclaw: |
| #6 | homepage: https://github.com/nirholas/pump-fun-sdk |
| #7 | --- |
| #8 | |
| #9 | # Build & Release — SDK Build Pipeline & Publishing |
| #10 | |
| #11 | Build and release the Pump SDK ecosystem: tsup TypeScript builds, Cargo release profiles, semantic release, npm publishing, and deployment. |
| #12 | |
| #13 | ## SDK Build Pipeline (TypeScript) |
| #14 | |
| #15 | ```bash |
| #16 | npx tsup src/index.ts --format cjs,esm --dts |
| #17 | ``` |
| #18 | |
| #19 | Output: `dist/index.cjs`, `dist/index.mjs`, `dist/index.d.ts` |
| #20 | |
| #21 | ## Rust Release Profile |
| #22 | |
| #23 | ```toml |
| #24 | [profile.release] |
| #25 | opt-level = 3 |
| #26 | lto = true |
| #27 | codegen-units = 1 |
| #28 | strip = true |
| #29 | ``` |
| #30 | |
| #31 | ## Semantic Release with Commitizen |
| #32 | |
| #33 | Commit format: `type(scope): description` |
| #34 | |
| #35 | | Type | Effect | |
| #36 | |------|--------| |
| #37 | | `feat:` | Minor version bump | |
| #38 | | `fix:` | Patch version bump | |
| #39 | | `feat!:` or `BREAKING CHANGE:` | Major version bump | |
| #40 | | `chore:`, `docs:`, `style:` | No release | |
| #41 | |
| #42 | ## Makefile Targets |
| #43 | |
| #44 | | Target | Description | |
| #45 | |--------|-------------| |
| #46 | | `make build` | Build SDK + Rust binary | |
| #47 | | `make test` | Run all tests | |
| #48 | | `make bench` | Run benchmarks | |
| #49 | | `make lint` | Run all linters | |
| #50 | | `make clean` | Clean build artifacts | |
| #51 | | `make release` | Build release binary | |
| #52 | |
| #53 | ## Linting |
| #54 | |
| #55 | | Tool | Language | Config | |
| #56 | |------|----------|--------| |
| #57 | | ESLint/tsup | TypeScript | `tsconfig.json` | |
| #58 | | `cargo clippy` | Rust | Default warnings | |
| #59 | | `cargo fmt` | Rust | `rustfmt.toml` | |
| #60 | | ShellCheck | Bash | Default rules | |
| #61 | |
| #62 | ## npm Publishing |
| #63 | |
| #64 | ```bash |
| #65 | npm publish --access public |
| #66 | # Package: @nirholas/pump-sdk |
| #67 | ``` |
| #68 | |
| #69 | ## Vercel Website Deployment |
| #70 | |
| #71 | ```bash |
| #72 | # website/ directory — static HTML/CSS/JS |
| #73 | vercel --prod |
| #74 | ``` |
| #75 | |
| #76 | ## MCP Server Distribution |
| #77 | |
| #78 | ```bash |
| #79 | npm publish --access public |
| #80 | # Package: @pump-fun/mcp-server |
| #81 | # Usage: npx -y @pump-fun/mcp-server |
| #82 | ``` |
| #83 | |
| #84 | ## Patterns to Follow |
| #85 | |
| #86 | - Use conventional commits for automated changelog generation |
| #87 | - Run `cargo clippy` and `cargo fmt` before every Rust commit |
| #88 | - Build TypeScript with both CJS and ESM output |
| #89 | - Test release builds before publishing |
| #90 | - Pin dependencies with lockfiles |
| #91 | |
| #92 | ## Common Pitfalls |
| #93 | |
| #94 | - `tsup` may not pick up all type exports — verify `.d.ts` output |
| #95 | - `cargo build --release` takes significantly longer than debug builds |
| #96 | - npm `prepublishOnly` scripts should run tests and lint |
| #97 | - Vercel deployment requires matching Node.js version |
| #98 | |
| #99 |