Skip to content

v0.0.9

Choose a tag to compare

@shinroh shinroh released this 22 Apr 12:30

v0.0.9 Release Notes

このリリースでは、npm install @flares-llc/agents 実行時に snapshot 展開で既存ファイルと衝突した場合の処理を追加しました。

Highlights

  • postinstall で snapshot を現在の作業ディレクトリへ展開
  • 重複ファイルの競合ポリシーを追加
    • skip (既定)
    • fail
    • overwrite
    • backup
  • npx @flares-llc/agents --on-conflict=... で明示実行可能

Main Changes

  • lib/install-snapshot.js
    • snapshot 展開ロジックと競合ポリシーを追加
  • scripts/install-package.js
    • postinstall / CLI 共通のインストーラを追加
  • package.json
    • postinstall, test, bin を追加し version を 0.0.9 に更新
  • README.md
    • 重複ファイルの扱いと CLI / 環境変数での指定方法を追記
  • tests/install-snapshot.test.js
    • skip/fail/overwrite/backup/self-install-skip の回帰テストを追加

Validation

  • npm test
    • 5 tests passed
  • node scripts/install-package.js --target=<tmpdir> --on-conflict=skip
    • snapshot 展開を確認

Documentation Polish

  • README の最新版表記を v0.0.9 に更新
  • npm install 時の重複ファイル処理と運用方法を追記

Included Commits

  • a482c73 feat: npmインストール時の重複ファイル処理を追加

Upgrade Notes

  • 既定動作は skip です
  • 既存ファイルを退避したい場合は FLARES_AGENTS_ON_CONFLICT=backup npm install @flares-llc/agents を利用してください