Skip to content

Commit 21328ea

Browse files
authored
feat: Set up Craft-based release workflow for npm and GitHub Releases (#28)
## Summary Sets up a complete release pipeline using Craft for publishing to npm and GitHub Releases. Flattens the monorepo structure (moves `packages/cli/*` to root) and consolidates CI workflows into a single `ci.yml` with lint, test, and multi-platform builds. **npm package**: Single-file ESM bundle (~165KB) that works standalone without dependencies. Replaced `fast-glob` with `tinyglobby` for ESM compatibility and fixed the bundle to inline all npm packages (`external: ["node:*"]`). **GitHub Releases**: Native Bun-compiled binaries for darwin-arm64, darwin-x64, linux-arm64, linux-x64, and windows-x64. Cross-compilation enabled for platforms without available CI runners. **CI improvements**: Consolidated test workflows (removed duplicate `test.yml`), added coverage reporting, proper `node_modules` caching, and cross-compilation support via `--target` flag for unavailable runners (macOS-13 retired, ARM runners not available for private repos).
1 parent 1cce671 commit 21328ea

76 files changed

Lines changed: 0 additions & 9031 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎bin/sentry‎

Lines changed: 0 additions & 76 deletions
This file was deleted.

‎bunfig.toml‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎package.json‎

Lines changed: 0 additions & 36 deletions
This file was deleted.

‎script/build.ts‎

Lines changed: 0 additions & 195 deletions
This file was deleted.

0 commit comments

Comments
 (0)