-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
lerna publish from-package
failed
#3935
Comments
I try to run |
If others encounter the same situation as mine, here is my solution. What happend?The demo file structure in my monorepo:
I only want to publish two packages, // packages/base/package.json
{
"private": true,
"description": "Base utils"
} Another necessary content occur the issue which should know is "workspaces" in my root // package.json
{
"name": "root",
"private": true,
"workspaces": [
"packages/*"
],
"dependencies": {},
"devDependencies": {
"lerna": "^8.0.0",
"nx": "17.2.8"
}
} Deep diveWell, I thought lerna would filter and exclude Solutions
After the update, |
Current Behavior
Expected Behavior
I can publish above 3 package to npmjs.com successfully.
Failure Logs / Configuration
lerna.json
lerna-debug.log
Environment
The text was updated successfully, but these errors were encountered: