Edit

GitHub Copilot modernization for JavaScript/TypeScript FAQ

Answers frequently asked questions about GitHub Copilot modernization for JavaScript and TypeScript.

What does GitHub Copilot modernization for JavaScript/TypeScript support today?

GitHub Copilot modernization for JavaScript/TypeScript supports npm package upgrades with code remediation for breaking changes. The tool analyzes your project's package.json, suggests an upgrade plan, upgrades npm packages to their latest versions, and helps you apply code changes needed to accommodate breaking changes or new APIs. The tool is available only in Visual Studio Code through the GitHub Copilot modernization extension.

Can I use it on a monorepo or workspace with multiple projects?

Currently, the tool supports one project at a time. For monorepos or workspaces with multiple package.json files, only the first detected project is targeted by the upgrade process. To upgrade multiple projects in a monorepo, open each project folder separately in Visual Studio Code and run the upgrade process individually for each project.

What should I do if the upgrade gets stuck or produces unexpected results?

If the upgrade process gets stuck or doesn't produce the expected results, check the following sources for diagnostic information:

  • Upgrade session files: The tool writes plan.md, progress.md, and summary.md to <project>/.github/modernize/code-migration/<timestamp>/. These files describe what the upgrade session attempted and where it stopped.
  • TypeScript MCP Server logs: In Visual Studio Code, open the Command Palette and select MCP: List Servers, then select GitHub Copilot modernization - TypeScript and choose Show Output.
  • Local logs directory: Check the logs in your user profile directory at <user profile>/.ghcp-appmod/app-modernization-for-typescript/logs for deeper diagnostics and error details.

If the problem persists, see the next question for how to report it.

How do I provide feedback?

We welcome your feedback to help improve GitHub Copilot modernization for JavaScript/TypeScript. You can:

When you report an issue, include the following information:

  • A description of the expected behavior versus the actual behavior you observed.
  • The contents of the upgrade session files at <project>/.github/modernize/code-migration/<timestamp>/ (especially summary.md and progress.md).
  • The contents of the MCP server output (from MCP: List Servers > GitHub Copilot modernization - TypeScript > Show Output).
  • Any relevant log files from <user profile>/.ghcp-appmod/app-modernization-for-typescript/logs.

Your feedback helps us improve the tool and address issues in future releases.