Skip to content

Commit fcca85f

Browse files
Clickinclaude
andcommitted
chore: improve NPM publish workflow for monorepo
- Add description to stax-xml package.json - Use pnpm publish with --filter to publish only stax-xml package - Add --access public flag for scoped or public packages - Add --no-git-checks to allow publishing from CI - Prevents accidental publishing of docs or other packages 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 61866a8 commit fcca85f

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ jobs:
3737
run: pnpm build
3838

3939
- name: Publish to NPM
40-
working-directory: packages/stax-xml
41-
run: npm publish
40+
run: pnpm --filter=stax-xml publish --access public --no-git-checks
4241
env:
4342
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4443

packages/stax-xml/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030
},
3131
"bugs": "https://github.com/Clickin/stax-xml/issues",
32-
"description": "",
32+
"description": "High-performance, pull-based XML parser for JavaScript/TypeScript with declarative converter API",
3333
"files": [
3434
"dist"
3535
],

0 commit comments

Comments
 (0)