外部依存性を削減してNode.jsネイティブ機能に移行 - #6
Merged
Merged
Conversation
Node.jsネイティブのglobSyncを使用することで、外部依存性を減らし、 パフォーマンスを向上させました。
- .npmrcからsave-exactオプションを削除 - GitHub Actionsワークフローを簡素化 - package-lock.jsonを最新の依存関係に更新
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.
Summary
主な変更内容
コード変更
fast-glob→node:fs/globSyncpkg-dir→package-directory依存関係の整理
fast-glob(Node.jsネイティブ機能で代替)pkg-dir→package-directory(より軽量な代替パッケージ)設定ファイルの改善
save-exact=trueを削除(package.jsonで^バージョン範囲を使用)パフォーマンスと互換性
globSyncはfast-globと同等の機能を提供npm install時間とセキュリティリスクを軽減Test plan