jscutlery / semver

Nx plugin to automate semantic versioning and CHANGELOG generation.
MIT License
727 stars 84 forks source link

Feature: allow for projects=all when running the install generator in non-interactive mode #503

Open jdgeier opened 2 years ago

jdgeier commented 2 years ago

Discussed in https://github.com/jscutlery/semver/discussions/491

Originally posted by **jdgeier** April 25, 2022 Hello, I know that when I run the install generator it basically sets everything to all by default but I have to run the generator in interactive mode in order for that to work correctly. I'd like to run the command prior to tagging an affected:version to insure all packages in the project get built, tagged, and deployed. Basically I would like to run the following: `npx nx g @jscutlery/semver:install --interactive=false --enforce-conventional-commits --projects=all`
jdgeier commented 2 years ago

I'm going to put in a PR for this.

edbzn commented 2 years ago

@jdgeier btw, thanks a lot for the sponsoring. :100:

jdgeier commented 2 years ago

I'm working this one. One weird issue, its deleting the root property in the project.json is it supposed to be doing that? @edbzn image

edbzn commented 2 years ago

Yeah I think it's normal as the root is defined in workspace.json with standalone config.

jdgeier commented 2 years ago

Yeah I think it's normal as the root is defined in workspace.json with standalone config.

It seems to be breaking the affected command on older versions of nx. Do you know when it started removing root from the project.json?