Skip to content

chore: .npmrcにmin-release-ageとsave-exactの設定を追加#27

Merged
eai04191 merged 1 commit intomainfrom
chore/npmrc-settings
Apr 8, 2026
Merged

chore: .npmrcにmin-release-ageとsave-exactの設定を追加#27
eai04191 merged 1 commit intomainfrom
chore/npmrc-settings

Conversation

@eai04191
Copy link
Copy Markdown
Member

@eai04191 eai04191 commented Apr 8, 2026

issue

なし

変更内容

.npmrcを追加し、以下の設定を有効化:

  • min-release-age=3: リリースから3日未満のパッケージのインストールを防止
  • save-exact=true: npm install時にバージョンを^なしで固定

確認したこと

  • npm config list --localで設定が正しく認識されることを確認

スクリーンショット

なし

補足事項

なし

PR時のセルフチェック

  • 関数や変数の命名は一目で分かるものになってますか?
  • コメントは適切な量で、誰が見ても分かるコメントになってますか?
  • PR内容に関するテストは書きましたか?
  • PR内容に付随する各種ドキュメントは一緒に修正しましたか?
  • IssueをCloseする場合、完了の定義は満たせていますか?

by Claude Code Badge

リリースから3日未満のパッケージのインストールを防止し、依存関係のバージョンを固定する設定を追加

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 8, 2026 02:15
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

依存関係の取り込みルールをリポジトリに明示的に持たせることで、意図しない更新やリスクの高い新規リリース直後の導入を避けやすくするPRです。npm を用いた開発・CIのインストール挙動を安定させる目的で、プロジェクト直下に .npmrc を追加しています。

Changes:

  • .npmrc を追加し、min-release-age=3 を有効化
  • .npmrc を追加し、save-exact=true を有効化

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@eai04191 eai04191 merged commit 6830c02 into main Apr 8, 2026
7 checks passed
@eai04191 eai04191 deleted the chore/npmrc-settings branch April 8, 2026 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants