Skip to content

Include module JS/TS extensions in default glue globs - #364

Merged
davidjgoss merged 1 commit into
mainfrom
glue-module-extensions
Nov 4, 2026
Merged

davidjgoss merged 1 commit into
mainfrom
glue-module-extensions

Conversation

@davidjgoss

Copy link
Copy Markdown
Member

🤔 What's changed?

Add features/**/*.{cjs,mjs,cts,mts} to the default cucumber.glue setting (README and package.json, via update-settings-docs).

⚡️ What's your motivation?

The extension sends its own defaults to the language server, so step definitions in e.g. steps.mts (common with @cucumber/node) weren't found without overriding cucumber.glue. Matching change to the server's defaults: cucumber/language-server#154

🏷️ What kind of change is this?

  • 🐛 Bug fix (non-breaking change which fixes a defect)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

@davidjgoss
davidjgoss marked this pull request as ready for review November 4, 2026 12:51
@davidjgoss
davidjgoss merged commit 65d2eea into main Nov 4, 2026
8 checks passed
@davidjgoss
davidjgoss deleted the glue-module-extensions branch November 4, 2026 12:52
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