(stage: "install" | "entry" | "compatibility", error: unknown)
| 69 | } |
| 70 | |
| 71 | function isRetryableResolveError(stage: "install" | "entry" | "compatibility", error: unknown) { |
| 72 | if (stage !== "install") return false |
| 73 | return errorMessage(error).includes("missing package.json or index file") |
| 74 | } |
| 75 | |
| 76 | // Normalize a config item into the loader's internal representation. |
| 77 | function plan(item: ConfigPluginV1.Spec): Plan { |
no test coverage detected