Skip to content

Fix Query Loop block support and modernize build system#18

Merged
fumikito merged 4 commits intomainfrom
feature/support-query-loop-block
Dec 19, 2025
Merged

Fix Query Loop block support and modernize build system#18
fumikito merged 4 commits intomainfrom
feature/support-query-loop-block

Conversation

@fumikito
Copy link
Copy Markdown
Contributor

Summary

Changes

Build System

  • Remove gulpfile.js and webpack.config.js
  • Use @kunoichi/grab-deps for JS bundling
  • Update Node.js requirement to v20+
  • Update PHP requirement to 7.4+
  • Update WordPress requirement to 6.6+

Bug Fix (#17)

  • Fix automatic mode for target="_blank" attribute in Query Loop blocks
  • Refactor asset registration to use wp_enqueue_script with inline script

GitHub Actions

  • test.yml: Run tests only on pull requests with strict status check
  • release-drafter.yml: Create release draft on push to main
  • wordpress.yml: Deploy on release publish instead of tag push

Test plan

  • Verify external permalink works in Query Loop block (both Default and Custom modes)
  • Test "Open in new window" option with automatic mode
  • Confirm build scripts work: npm run package
  • Verify GitHub Actions workflows trigger correctly

🤖 Generated with Claude Code

fumikito and others added 4 commits December 19, 2025 17:09
- Replace gulp build system with npm scripts using @kunoichi/grab-deps
- Remove gulpfile.js, webpack.config.js and related dependencies
- Update package.json with modern build scripts (build:js, watch, lint, fix)
- Update Node.js requirement to >=20 (volta: 20.19.6)
- Update WordPress requirement to 6.6+ and PHP to 7.4+
- Fix ESLint configuration and auto-fix JS lint errors
- Update .wp-env.json with PHP 8.3 and additional dev plugins
- Clean up composer.json and fix typo in author name

Co-authored-by: Claude <noreply@anthropic.com>
- Add test.yml: Run tests only on pull requests with strict status check
- Add release-drafter.yml: Create release draft on push to main
- Update wordpress.yml: Deploy on release publish instead of tag push
- Add release-drafter config for automatic changelog generation
- Update lint script to exclude CSS (no scss files yet)

Co-authored-by: Claude <noreply@anthropic.com>
@fumikito fumikito merged commit 2c9d8d7 into main Dec 19, 2025
5 checks passed
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.

クエリループブロック内での動作がおかしい

1 participant