Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,5 @@ jobs:
env:
NPM_TAG: ${{ inputs.npm_tag }}
run: |
for package_dir in packages/rstack/npm/*; do
pnpm publish "$package_dir" --tag "$NPM_TAG" --no-git-checks
done

pnpm --dir packages/rstack/npm -r publish --tag "$NPM_TAG" --no-git-checks
pnpm --filter './packages/*' -r stage publish --tag "$NPM_TAG" --no-git-checks
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ doc_build
/target/
/artifacts/
/packages/rstack/*.node
/packages/rstack/npm/

# Native packages are generated
/packages/rstack/npm/*
# Keep only the publish workspace manifest
!/packages/rstack/npm/pnpm-workspace.yaml

# Temp files
test-temp-*
Expand Down
3 changes: 3 additions & 0 deletions packages/rstack/npm/pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Isolate generated native packages from the root workspace while enabling recursive publish.
packages:
- '*'