Repository navigation
BPS-10: Gutenberg tooling and folder structure in generated plugins - #56
Conversation
…nd .gitattributes Moved back from lightspeedwp/ls-test (BPS-10). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The exclude list for scaffold-only folders also matched plugin-template/tests, bin and docs, so generated plugins had no starter tests or validate-json.js. Also stops expecting CONTRIBUTING.md and SECURITY.md to be left out, since the template now ships them (BPS-10). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd Markdown lint Moved back from lightspeedwp/ls-test (BPS-10). Round trip: toolchain files match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…webpack Moved back from lightspeedwp/ls-test (BPS-10). Round trip: toolchain files match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Moved back from lightspeedwp/ls-test (BPS-10). Round trip: toolchain files match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Moved back from lightspeedwp/ls-test (BPS-10). Round trip: toolchain files match, and the generated workspace, CodeRabbit config and docs match ls-test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Built from {{author}}, the links broke for an author with a space; the
generation check's lint:md:docs step caught it. Uses {{repository_url}}.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. Note Some coding-guideline sources were skipped; the reason is listed next to each one. Other guidelines were applied as usual. On a public repository, sources from your configuration are listed without their names. Skipped guideline sources: 1
Walkthrough
Merge Risk:
|
Part of BPS-10 (#55): generated plugins now include the required tooling and Gutenberg folder structure. Each change was proven in lightspeedwp/ls-test (
feat/bps-10-generated-tooling) and moved back intoplugin-template/.Changes (one commit per item)
SECURITY.md,CONTRIBUTING.md,changelog.txt,.gitattributes.eslint.config.mjs,prettier.config.mjs,.stylelintrc.js,phpcs.xml.dist), the ignore files,.markdownlint.json,.npmpackagejsonlintrc.json,tools/eslint/, BEM class names, andlint:md:docsinnpm run lintandcheck:generation. Template mode removes the scaffold's own copies under the old names..browserslistrc,postcss.config.mjs,tsconfig.json,tsconfig.build.json,jsconfig.json,tools/webpack/extra-entries.js.test/unit,test/e2eandphpunit/, with the configs,compare-toolchain.js, the generator's format step and the docs updated.{{slug}}.code-workspace,.coderabbit.ymlanddocs/(with the Interactivity API and DataViews guide thatDEVELOPMENT.mdalready linked to).Fixes
tests/orbin/(2d95fc3). The generator's exclude list for scaffold-only folders also matched them inplugin-template/, sonpm run lint:jsonfailed in every generated plugin andgenerate-plugin.toolchain.test.jsfailed 14 of 14 ondevelop.2659282).USAGE.mdand the.potheader built GitHub URLs from{{author}}, which broke for an author with a space. They now use{{repository_url}}.Decisions
The same as in the ls-test PR: stays on
@wordpress/scripts, nojest.config.js(Vitest), TypeScript configs for editors only, Chromium-only Playwright, and TOTOA's agent folders left for separate work.Testing
compare-toolchain.jsfinds no differences between a freshly generatedls-testand ls-test; the generated docs and workspace match too.node scripts/toolchain/check-generation.js: both fixtures pass generate, install, build, every lint step (includinglint:md:docs) andtest:unit.npx jest scripts: 10 failures, down from 38 ondevelop. No suite fails that didn't already fail ondevelop;generate-plugin.toolchainandgenerate-plugin.functional-onlynow pass.🤖 Generated with Claude Code
Summary by CodeRabbit