semver icon indicating copy to clipboard operation
semver copied to clipboard

nx 11 is not supported anymore

Open cakeinpanic opened this issue 2 years ago • 5 comments

hi, this commit broke compatibility with nx11 which we are extensively using in my company Now I'm getting an error Project root not found for projectName(which is super confusing because it holds no context and I was sure it comes from nx itself)

So now we can not use new features that being added to this project, for example, this one

Can you please bring compatibility back?

cakeinpanic avatar Feb 12 '23 17:02 cakeinpanic

Breaks on Nx v15.1.1 as well. Same issue.

Downgrading to @jscutlery/[email protected] fixed the issue.

I think it might be possible that the bug is actually in @nrwl/devkit and will be fixed in v15.7.0. see: https://github.com/nrwl/nx/pull/14854

Only had a quick glance, so not 100% sure.

bgutschke avatar Feb 13 '23 09:02 bgutschke

yes, @jscutlery/[email protected] also helped me, but I really need that feature I added in a PR and which is released in later versions

cakeinpanic avatar Feb 13 '23 09:02 cakeinpanic

Too many breaking changes in this devkit, it's not following semver like the rest of their packages and it's hard for us to track those. I discussed this last time and concluded that we should bump a major in @jscutlery/semver for each @nrwl/devkit minor...

edbzn avatar Feb 13 '23 09:02 edbzn

@edbzn can you for now bring back compatibility with both devkits?

cakeinpanic avatar Feb 13 '23 09:02 cakeinpanic

@cakeinpanic I do not have enough time to give today, unfortunately, and I won't be available for a couple of days, so if you raise a PR I'll merge and release but can't do it myself.

edbzn avatar Feb 13 '23 09:02 edbzn