Skip to content

Commit

Permalink
update vitest dependency version to resolve rush update failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kazrael2119 committed Jan 17, 2025
1 parent 46795c8 commit c3d224c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/tools/dev-tool/src/commands/admin/migrate-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,11 @@ async function addNewPackages(packageJson: any, options: { browser: boolean }):
packageJson.devDependencies[newPackage] = `^${latestVersion.replace("\n", "")}`;
}

packageJson.devDependencies["vitest"] = "^2.1.8";
packageJson.devDependencies["@vitest/coverage-istanbul"] = "^2.1.8";
if (options.browser) {
packageJson.devDependencies["@vitest/browser"] = "^2.1.8";
}
const packagesToUpdate = [
{ package: "@azure-tools/test-credential", version: "^2.0.0" },
{ package: "@azure-tools/test-recorder", version: "^4.1.0" },
Expand Down

0 comments on commit c3d224c

Please sign in to comment.