Skip to content

Capacitor: Nx 22 has removed deprecated "legacy versioning" which now breaks capacitor:configuration #1191

@AndriiNeverov

Description

@AndriiNeverov

Describe the bug

https://nx.dev/blog/nx-22-release mentions

Nx Release legacy versioning removed - The deprecated legacy versioning implementation is completely removed.

If you used release.version.useLegacyVersioning: true in Nx 21, migrate to the new versioning APIs before upgrading.

So Nx 21 workaround ("useLegacyVersioning": true) is no longer expected to work.

To Reproduce

 nx generate @nxext/capacitor:configuration --project=vb

 NX  Generating @nxext/capacitor:configuration

 NX   Cannot find module 'nx/src/command-line/release/config/use-legacy-versioning'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions