Skip to content

Commit 120eb5b

Browse files
committed
add publishConfig rewrite to cr
1 parent 71d6c3e commit 120eb5b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/cr.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,6 @@ jobs:
3636
run: pnpm run packages:build
3737

3838
- name: Release
39-
run: pnpm dlx pkg-pr-new@0.0 publish './packages/start' --template './examples/*' --compact
39+
run: |
40+
echo $(cat package.json | jq '.exports = .publishConfig.exports') > package.json
41+
pnpm dlx pkg-pr-new@0.0 publish './packages/start' --template './examples/*' --compact

0 commit comments

Comments
 (0)