Open ccreusat opened 4 weeks ago
hi @JamesHenry ! any help on this ? ๐๐ผ
It is a generator option
"version": {
"generatorOptions": {
...
}
}
Generator options are generic and each implementation provides its own so right now we can't add them to the schema, I am working on an outside the box solution for this.
We also need to document this option so I'll leave open to track that
Here is a real world example: https://github.com/angular-eslint/angular-eslint/blob/159658fcd5174728533877ff36dc091644a44944/nx.json#L46
@JamesHenry Damn! I'm sure I tried with the generatorOptions based on the schema .. but maybe I did it wrong ๐ I'll take a loot at this today. Thanks !
@JamesHenry working like a charm ! Thanks so much for this feature.
Great, as mentioned we still need to document it so I'd like to leave this open to track that
Current Behavior
When versioning with pnpm, all local dependency version protocols are replaced by semantic versions.
Expected Behavior
After checking in feat(release): allow local dependency version protocols to be preserved, pnpm publish support, I should be able to use
preserveLocalDependencyProtocols
when versioning dependencies.I should be able to use this arg and version like this:
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Package Manager Version
9.4.0
Operating System
Additional Information
Maybe I am misunderstanding the merged PR. I see
preserveLocalDependencyProtocols
in the declaration files and in packages/nx/src/command-line/release/version.ts interface but not in any options... so can't use it to configure withnx.json
files or use it with the cli, something like:or