Skip to content

fix(dev-tooling): apply upstream tooling fixes on Cursor - #5

Merged
ROBJkE merged 1 commit into
mainfrom
cursor/upstream-features-synchronization-9b36
Oct 30, 2026
Merged

ROBJkE merged 1 commit into
mainfrom
cursor/upstream-features-synchronization-9b36

Conversation

@cursor

@cursor cursor Bot commented Oct 27, 2026

Copy link
Copy Markdown

Ports tooling behavior from upstream (df8444d..a54ea53, through shopwareLabs#198) onto the Cursor marketplace. Cursor packaging stays: .cursor-plugin/, camelCase hooks, short MCP names, and additional_context. Codex and Claude install surfaces are not imported.

What changed

  • Path-scoped Stylelint, Prettier, and ESLint run the package binary through npm exec --no and refuse when node_modules/.bin/<binary> is missing.
  • jest_run always runs the package unit script. vite_build, webpack_build, lint_all, lint_twig, unit_setup, and vitest_run ignore default_scope.
  • Config reads fail closed on non-object JSON, unknown environment names, and broken worktree config. A relative MCP_*_CONFIG is made absolute.
  • PHP tools stop dropping caller values (console_run, console_list, phpunit_run, rector_fix).
  • Native accepts an absolute worktree gitdir pointer. docker, docker-compose, vagrant, and ddev still refuse it.
  • Hooks resolve the project from CURSOR_PROJECT_DIR, then workspace_roots or cwd. Block messages name the tool and its server.
  • plugin-setup no longer lists gh-tooling in its description or keywords.

Versions

  • dev-tooling 5.0.0 → 5.0.1
  • shopware-env 2.1.0 → 2.1.1 (shared config, environment, and hook copies)
  • plugin-setup 2.0.0 → 2.0.1

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).

Open in Web View Automation 

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>
@github-actions

Copy link
Copy Markdown

@ROBJkE
ROBJkE merged commit 9e2c17c into main Oct 30, 2026
12 checks passed
@ROBJkE
ROBJkE deleted the cursor/upstream-features-synchronization-9b36 branch October 30, 2026 11:23
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.

2 participants