Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 2, 2026

What is being addressed

Following the initial yarn to npm migration in #4837, several files still contained references to yarn that needed to be updated to npm. These remaining references were in documentation, build scripts, workflow files, and configuration files across the codebase.

How is this addressed

  • Updated .github/copilot-instructions.md to specify npm as the package manager
  • Updated .github/scripts/run-tests.sh to use npm commands instead of yarn
  • Updated .github/workflows/build_docker_images.yml to use npm for UI test execution
  • Updated docs/tre-developers/ui-testing.md with npm command examples
  • Updated docs/tre-developers/ui.md with npm available scripts
  • Updated ui/app/.gitignore to remove yarn-specific log file entries (yarn-debug.log*, yarn-error.log*)
  • Updated ui/app/public/index.html to remove yarn reference from HTML comments
  • Removed .github/scripts/yarn.lock file as it is no longer needed with npm
  • Verified all tests pass with npm commands
  • Updated CHANGELOG.md (already done in base PR Use npm instead of yarn #4837)

All changes have been tested and verified:

  • ✅ Tests pass with npm run test in .github/scripts
  • ✅ No yarn references remain in relevant files (excluding CHANGELOG which tracks the migration)
  • ✅ Code review completed with no issues
  • ✅ Security scan completed with no vulnerabilities

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI mentioned this pull request Feb 2, 2026
@marrobi marrobi closed this Feb 2, 2026
Copilot AI requested a review from marrobi February 2, 2026 17:27
Copilot stopped work on behalf of marrobi due to an error February 2, 2026 17:27
@marrobi marrobi reopened this Feb 2, 2026
@marrobi
Copy link
Member

marrobi commented Feb 2, 2026

Sorry, @copilot , continue

Copilot AI and others added 2 commits February 2, 2026 17:32
Co-authored-by: marrobi <17089773+marrobi@users.noreply.github.com>
Co-authored-by: marrobi <17089773+marrobi@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 2, 2026

Sorry, @copilot , continue

I've completed the migration from yarn to npm across all files shown in the screenshot. The changes include:

Files Updated:

  • .github/copilot-instructions.md - Updated package manager reference
  • .github/scripts/run-tests.sh - Replaced yarn commands with npm
  • .github/workflows/build_docker_images.yml - Updated UI test workflow to use npm
  • docs/tre-developers/ui-testing.md - Updated all command examples
  • docs/tre-developers/ui.md - Updated available scripts section
  • ui/app/.gitignore - Removed yarn-specific log files
  • ui/app/public/index.html - Removed yarn reference from build comments

Files Removed:

  • .github/scripts/yarn.lock - No longer needed

All changes verified with successful test runs using npm. Commits: 56e2486, 008c644

Copilot AI changed the title [WIP] Switch UI build process from yarn to npm Complete yarn to npm migration for remaining references Feb 2, 2026
Copilot AI requested a review from marrobi February 2, 2026 17:35
@marrobi marrobi marked this pull request as ready for review February 2, 2026 17:35
@marrobi marrobi requested a review from a team as a code owner February 2, 2026 17:35
@marrobi marrobi merged commit 7d218f7 into tamirkamara/yarn-to-npm Feb 2, 2026
1 check passed
@marrobi marrobi deleted the copilot/sub-pr-4837 branch February 2, 2026 17:35
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