Repository navigation
fix(dev-tooling): apply upstream tooling fixes on Cursor - #5
Merged
Merged
Conversation
Path-scoped JS lint was still calling package scripts Shopware does not define, so a scoped run could miss the local binary or fall through to a global one. Those calls now run npm exec --no against node_modules/.bin and refuse when that binary is absent. Config reads that parsed as non-objects, named an unknown environment, or kept a relative MCP_*_CONFIG path were continuing with a default; they now fail closed. Native worktrees with an absolute gitdir pointer were refused even though that pointer is valid on the host, while docker, docker-compose, vagrant, and ddev still refuse it. shopware-env 2.1.1 takes the same shared config, environment, and hook copies. plugin-setup 2.0.1 stops listing gh-tooling, which this plugin no longer sets up. Cursor packaging stays in place. Versions are dev-tooling 5.0.1, shopware-env 2.1.1, and plugin-setup 2.0.1. Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
Agent Skills ExportBuilt 7 skill packages: |
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.
Ports tooling behavior from
upstream(df8444d..a54ea53, through shopwareLabs#198) onto the Cursor marketplace. Cursor packaging stays:.cursor-plugin/, camelCase hooks, short MCP names, andadditional_context. Codex and Claude install surfaces are not imported.What changed
npm exec --noand refuse whennode_modules/.bin/<binary>is missing.jest_runalways runs the packageunitscript.vite_build,webpack_build,lint_all,lint_twig,unit_setup, andvitest_runignoredefault_scope.MCP_*_CONFIGis made absolute.console_run,console_list,phpunit_run,rector_fix).docker,docker-compose,vagrant, andddevstill refuse it.CURSOR_PROJECT_DIR, thenworkspace_rootsorcwd. Block messages name the tool and its server.plugin-setupno longer listsgh-toolingin its description or keywords.Versions
Tests
validate-versions.sh,validate-cursor-plugins.sh, and template sync passed. BATS covered the hook suites, PHP and shared MCP tools, JS admin/storefront tools, and the worktree suites (git 2.51 locally; the worktree suites need git 2.48 or newer).