Merged
Conversation
- package.json: uglifyjs/imagemin等のレガシーツールを@wordpress/scripts, @kunoichi/grab-depsに置き換え - Node 20→22 (Volta pin), husky + lint-staged によるpre-commit hook追加 - アセット出力先をdist/→assets/に変更、wp-dependencies.jsonによる動的アセット登録 - GitHub Actions: Node 22, PHP 8.3対応、デプロイをon:release + bin/build.shに統一 - .eslintrc, .stylelintrc.json, .browserslistrc を削除(wp-scripts標準に統合) - src/scss/gianism.scss → hameslack-gianism.scss にリネーム(ハンドル衝突回避) - src/js/hameslack-invite-button.js をwp-scripts lint準拠にフォーマット Co-authored-by: Claude <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.
Summary
@wordpress/scripts+@kunoichi/grab-depsに置き換えdist/→assets/に移行、wp-dependencies.jsonによる動的アセット登録(ハッシュベースのキャッシュバスティング)on: release+bin/build.shに統一、非推奨action廃止Changes
Build System
package.json: devDependencies整理、scripts をhamelp準拠に書き換え.eslintrc,.stylelintrc.json,.browserslistrc削除(wp-scripts標準に統合).husky/pre-commit追加(lint-staged実行)Asset Pipeline
functions/assets.php:hameslack_register_assets()追加(wp-dependencies.json読み込み)hameslack.php: initフックでアセット登録app/.../Slack.php: wp-dependencies.json登録済みの場合はGianism依存を動的追加hooks/invite.php: wp-dependencies.jsonフォールバック対応src/scss/gianism.scss→hameslack-gianism.scssリネーム(ハンドル衝突回避)CI/CD
test.yml: PHP 8.3追加、phplint改善、Node 22、actions/checkout@v4wordpress.yml:on: releaseトリガー、bin/build.shでビルド一元化、gh release uploadに移行bin/build.sh: hamelp準拠に全面書き換えTest plan
npm install成功npm run lint全パス (CSS + JS)npm run package成功 (CSS, JS, wp-dependencies.json 生成)Related
🤖 Generated with Claude Code