chore: .npmrcにmin-release-ageとsave-exactの設定を追加#27
Merged
Conversation
リリースから3日未満のパッケージのインストールを防止し、依存関係のバージョンを固定する設定を追加 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
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.
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.
issue
なし
変更内容
.npmrcを追加し、以下の設定を有効化:min-release-age=3: リリースから3日未満のパッケージのインストールを防止save-exact=true:npm install時にバージョンを^なしで固定確認したこと
npm config list --localで設定が正しく認識されることを確認スクリーンショット
なし
補足事項
なし
PR時のセルフチェック
by