Skip to content

Commit 8c350ab

Browse files
authored
Fix pnpm 9.x package resolution (#1629)
1 parent 1aa702d commit 8c350ab

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

packages/openapi-fetch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"version": "pnpm run prepare && pnpm run build"
6363
},
6464
"dependencies": {
65-
"openapi-typescript-helpers": "^0.0.8"
65+
"openapi-typescript-helpers": "workspace:^"
6666
},
6767
"devDependencies": {
6868
"axios": "^1.6.8",

packages/openapi-typescript/scripts/update-examples.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ async function generateSchemas() {
3030
// biome-ignore lint/suspicious/noConsoleLog: this is a script
3131
console.log(`✔︎ [${schemasDoneCount}/${schemaTotalCount}] Updated ${name} (${timeMs}ms)`);
3232
} catch (error) {
33-
console.error(`✘ [${schemasDoneCount}/${schemaTotalCount}] Failed to update ${name}`, { error: error instanceof Error ? error.message : error });
33+
console.error(`✘ [${schemasDoneCount}/${schemaTotalCount}] Failed to update ${name}`, {
34+
error: error instanceof Error ? error.message : error,
35+
});
3436
}
3537
};
3638

pnpm-lock.yaml

Lines changed: 2 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)