-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Publish with Yarn Berry #5197
Comments
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
This relates to this issue: Workaround that I'm using:
"workspaces": [
"libs/*"
], to: "workspaces": [
"dist/libs/*"
],
It ain't pretty, but it gets the job done. |
This is still a problem, FYI. Could it be reopened? |
Also running into this issue. |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
After building libraries with Nx I wanted to publish it with Yarn Berry.
To do that I've moved into built library eg
cd dist/libs/lib1
and ranyarn npm publish
.Command failed with error:
The nearest package directory (dist/libs/lib1) doesn't seem to be part of the project declared in {project_root_folder}
Expected Behavior
Library should be published
Steps to Reproduce
affected:build
yarn npm publish
inside a built libraryEnvironment
Nx: v 11.2.12
The text was updated successfully, but these errors were encountered: