-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: npm package root path #19
Conversation
cc @0-vortex. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of minor changes you caught in git! 🚀 🍕
🎉 This PR is included in version 2.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
This PR intends to make the
pkgRoot
value of the@semantic-release/npm
plugin configurable which previously had a default value of"."
.This enables us to publish
npm
packages from sub-directories of a repo. For use in resolving open-sauced/pizza-cli#27.A demo release using this configuration can be found here.
https://github.com/Anush008/xdg/releases/tag/v1.10.0
The config.
https://github.com/Anush008/xdg/blob/2bcf6c2d7121ed8f77a0c31679458052fbc8b74b/.github/workflows/release.yaml#L29-L35
The published sub-directory: https://www.npmjs.com/package/xdg-anush
What type of PR is this? (check all applicable)
Related Tickets & Documents
Related to open-sauced/pizza-cli#27.
Mobile & Desktop Screenshots/Recordings
N/A
Added tests?
Added to documentation?