Skip to content

Commit

Permalink
ci: prepare for cli release
Browse files Browse the repository at this point in the history
  • Loading branch information
pionxzh committed Dec 14, 2023
1 parent 9ecb0b7 commit 30c76f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
if: ${{ steps.release.outputs.release_created }}

- name: Publish
run: pnpm --filter "unminify" --filter "unpacker" publish -r --access public
run: pnpm --filter "unminify" --filter "unpacker" --filter "cli" publish -r --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
12 changes: 0 additions & 12 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,5 @@
"@wakaru/unpacker": "workspace:*",
"tsup": "^7.3.0",
"typescript": "^5.3.2"
},
"publishConfig": {
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts"
}
}
3 changes: 3 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"packages": {
"packages/cli": {
"component": "cli"
},
"packages/unminify": {
"component": "unminify"
},
Expand Down

0 comments on commit 30c76f7

Please sign in to comment.