Skip to content
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 --only #43

Closed
jamiebuilds opened this issue Feb 10, 2016 · 4 comments
Closed

lerna publish --only #43

jamiebuilds opened this issue Feb 10, 2016 · 4 comments

Comments

@jamiebuilds
Copy link
Contributor

Not every change in a package needs to be published. For example if I just update a test I don't want to publish that. It might be cool if you could have a files array/glob of what you publish:

$ lerna publish --only package.json,README.md,src/**

Would work well with #42

@hzoo
Copy link
Contributor

hzoo commented Feb 11, 2016

👍 For sure, since we get a readme update and we probably don't need to publish just for that. (or even a test only change)?

@jamiebuilds
Copy link
Contributor Author

I'm thinking I want to do this in lerna.json instead:

{
  "lerna": "2.0.0-beta.7",
  "version": "independent",
  "publishConfig": {
    "ignore": [
      "test/**"
    ]
  }
}

@jamiebuilds
Copy link
Contributor Author

#118

@lock
Copy link

lock bot commented Dec 28, 2018

This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants