Skip to content
Open
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
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@ jobs:
- name: Install Dependencies
run: pnpm i

- name: Build Packages
run: pnpm build

- name: Publish
run: pnpm stage publish --no-git-checks
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"dev": "pnpm run storybook",
"build-storybook": "storybook build",
"storybook": "storybook dev -p 6006",
"prepare": "rslib && simple-git-hooks",
"prepare": "simple-git-hooks",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep building during package preparation

With rslib removed from prepare, a clean checkout that is packed or published outside this one GitHub workflow (for example pnpm pack, a manual pnpm publish, or a consumer installing this repo as a git dependency) no longer generates dist, while this package only publishes files: ["dist"] and all exports point into ./dist/.... The new workflow build covers pnpm stage publish only; the package-manager lifecycle still runs prepare before packing/publishing per the npm lifecycle docs, so these other supported paths now produce/install a package with missing entry points.

Useful? React with 👍 / 👎.

"build": "rslib",
"build:watch": "rslib -w",
"test": "rstest",
Expand Down
Loading