chore(deps): 使われていない gulp-concat / gulp-uglify / natives を外す - #155
Merged
Conversation
gulpfile.babel.js から require されておらず、gulp-load-plugins のような 自動ロード機構も使っていないため未使用。圧縮は browserify transform の uglifyify が担当している。natives は他パッケージからの間接要求もなし。 npm run copy を通しで実行し、browserify のコンパイルと gulp の sass / copy_css / copy_fonts / copy_jsons が正常終了することを確認した。 なお @babel/register は gulpfile が gulpfile.babel.js という名前のため gulp CLI が interpret 経由で自動 require しており、削除すると壊れるので 対象から除外した。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
概要
未使用の devDependencies 3件を削除します。npm 未使用依存の棚卸し(knip + depcheck のクロスチェック)で検出したもので、ローカルクローンのソース・設定ファイルで実際に未使用であることを確認済みです。
gulp-concat—gulpfile.babel.jsに require/import なしgulp-uglify— 同上。圧縮は browserify transform のuglifyify(package.jsonのcompileスクリプト)が担当しているnatives— ソース・gulpfile・hooks のいずれからも参照なし。package-lock.json内で他パッケージから間接要求されている箇所もなしgulp-load-pluginsのようなプラグイン自動ロード機構は使っていないため、暗黙の利用もありません。動作確認
npm run copyを通しで実行し、browserify のコンパイルと gulp のsass/copy_css/copy_fonts/copy_jsonsが全て正常終了することを確認しました。@babel/register について
当初は棚卸しの検出結果に
@babel/registerも含まれていましたが、削除対象から除外しました。gulpfile がgulpfile.babel.jsという名前のため、gulp CLI が interpret 経由で@babel/registerを自動 require します(実行ログにもLoaded external module: @babel/registerが出ます)。静的解析ツールでは検出できない利用形態のため、外すと gulp タスクが壊れます。🤖 Generated with Claude Code