Skip to content

Commit d176dc9

Browse files
committed
Fix monorepo release build
1 parent 431a98f commit d176dc9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Diff for: .changeset/spotty-eggs-tickle.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"openapi-fetch": patch
3+
---
4+
5+
Fix CJS build

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
},
1010
"scripts": {
1111
"build": "run-p -s build:*",
12-
"build:clean": "del packages/openapi-typescript/dist && del packages/openapi-fetch/dist",
13-
"build:ts": "tsc -b packages/openapi-typescript/tsconfig.build.json packages/openapi-fetch/tsconfig.build.json",
12+
"build:openapi-typescript": "cd packages/openapi-typescript && pnpm run build",
13+
"build:openapi-fetch": "cd packages/openapi-fetch && pnpm run build",
1414
"lint": "run-p -s lint:*",
1515
"lint:openapi-typescript": "cd packages/openapi-typescript && pnpm run lint",
1616
"lint:openapi-fetch": "cd packages/openapi-fetch && pnpm run lint",

0 commit comments

Comments
 (0)