Should ignore
be respected in version
and publish
?
#823
-
I have a monorepo setup with pnpm, and I am trying to ignore a specific package for all commands. I've setup a recreation like this: lerna.json
Directory structure
Running
However, running
Is this expected behavior? I've tried also adding |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I have never used that option but looking at the @lerna-lite/filter-packages it seems to only cover |
Beta Was this translation helpful? Give feedback.
looking at Lerna's issue, that seems to be the case as per this issue which is pretty much what you're asking. Searching on the internet and I also stumble across similar answer that I wrote myself (I forgot about that one lol), see https://stackoverflow.com/a/74184091/1212166
Perhaps you can try
lerna version --ignore-changes 'packages/ignore-me/**'
(see Lerna comment)