Repository navigation
refactor: Bun + TypeScript 化と依存の最小化 - #1
Merged
Merged
Conversation
- Node.js / npm / tsc 不要、Bun のみで動作するよう全スクリプトを TypeScript に移行 - 実行時依存を ethers (v6, 完全固定) のみに削減 (web3 / node-fetch / dotenv / pancake sdk を削除) - サプライチェーン対策: frozenLockfile, minimumReleaseAge (7日), exact 固定, CI で bun audit, Dependabot cooldown - 共通処理を src/lib に集約し、コマンドを src/commands 配下に整理 - バグ修正: PairCreated 検知時の二重購入、検知トークン表示の誤り、swap-trace の数量比較、 sell の割合計算、成功時の終了コード、Mint/Swap 購読のイベント引数 - README を整理しバッジ・セキュリティ節を追加 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012EEBZH1aJP43WeyWJVtgEf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
Node.js / npm / tsc 不要、Bun のみで動く TypeScript 構成に移行しました。
変更点
src/commands/src/libに整理ethers(v6, 完全固定) のみに削減 (web3/node-fetch/dotenv/@pancakeswap-libs/sdkを削除)frozenLockfile,minimumReleaseAge(7日),exact固定, CI でbun audit, Dependabot cooldown注意
bun.lockは未生成です。初回のみbun install --no-frozen-lockfileで生成してコミットしてください (CI のbun ciは lockfile が無いと失敗します)env/.bakeryにあった getblock の API キーは履歴に残っているため、無効化を推奨しますGenerated by Claude Code