chore: Copy ripgrep from LS build

Description

Updates the extension build to include the rg binary from the language server's npm package alongside the other language server assets.

The language server now ships rg in its out/ directory. The extension build's glob patterns in scripts/utils/common_jobs.mjs are updated to copy rg?(.exe) from node_modules/@gitlab-org/gitlab-lsp/out/ to dist-desktop/assets/language-server/ so it is available at runtime.

Depends on: gitlab-org/editor-extensions/gitlab-lsp!3042 (merged)

gitlab-org/editor-extensions/gitlab-lsp#1764 (closed)

How has this been tested?

  • Verified rg is present in dist-desktop/assets/language-server/ after the extension build

  • If src/browser or src/common has been modified, please consider interoperability with the Web IDE. See Running the Extension in WebIDE.

  • Consider an end-to-end test for significant new features that aren't covered by integration tests.

What CHANGELOG entry will this MR create?

  • fix: Bug fix fixes - a user-facing issue in production - included in changelog
  • feature: New feature - a user-facing change which adds functionality - included in changelog
  • BREAKING CHANGE: (fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog
  • None - other non-user-facing changes
Edited by Olena Horal-Koretska

Merge request reports

Loading
Loading