* feat: add Bun single-file executable distribution - Add 7 platform packages for standalone CLI binaries - Add bin/platform.js for shared platform detection - Add bin/oh-my-opencode.js ESM wrapper - Add postinstall.mjs for binary verification - Add script/build-binaries.ts for cross-compilation - Update publish workflow for multi-package publishing - Add CI guard against @ast-grep/napi in CLI - Add unit tests for platform detection (12 tests) - Update README to remove Bun runtime requirement Platforms supported: - macOS ARM64 & x64 - Linux x64 & ARM64 (glibc) - Linux x64 & ARM64 (musl/Alpine) - Windows x64 Closes #816 * chore: remove unnecessary @ast-grep/napi CI check * chore: gitignore compiled platform binaries * fix: use require() instead of top-level await import() for Bun compile compatibility * refactor: use static ESM import for package.json instead of require()
36 lines
403 B
Plaintext
36 lines
403 B
Plaintext
# Dependencies
|
|
.sisyphus/
|
|
node_modules/
|
|
|
|
# Build output
|
|
dist/
|
|
|
|
# Platform binaries (built, not committed)
|
|
packages/*/bin/oh-my-opencode
|
|
packages/*/bin/oh-my-opencode.exe
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
|
|
# Lock files (use bun.lockb instead)
|
|
package-lock.json
|
|
yarn.lock
|
|
|
|
# Environment
|
|
.env
|
|
.env.local
|
|
test-injection/
|
|
notepad.md
|
|
oauth-success.html
|