We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b8342 commit 13801d3Copy full SHA for 13801d3
utils.ts
@@ -279,7 +279,15 @@ export async function runInRepo(options: RunOptions & RepoOptions) {
279
}
280
281
if (overrides.rollup !== false || overrides.esbuild === true) {
282
- const viteManifest = await pacote.manifest(`vite@${options.release}`)
+ const viteManifest = await pacote.manifest(`vite@${options.release}`, {
283
+ retry: {
284
+ // enable retry with same options with pnpm (https://pnpm.io/settings#fetchretries)
285
+ fetchRetries: 2,
286
+ fetchRetryFactor: 10,
287
+ fetchRetryMintimeout: 10 * 1000,
288
+ fetchRetryMaxtimeout: 60 * 1000,
289
+ },
290
+ })
291
292
// skip if `overrides.rollup` is `false`
293
if (overrides.rollup !== false) {
0 commit comments