Skip to content

Outdated version added during init @softarc/native-federation-node #940

@ChristianLoosliVGT

Description

@ChristianLoosliVGT

With what library do you have an issue?

native-federation

Reproduction of the bug/regression with instructions

Problem Description

When running nx g @angular-architects/native-federation:init --project <project> --port <port> --type remote, the schematic adds an outdated version of to the . @softarc/native-federation-node``package.json

The schematic adds:

"@softarc/native-federation-node": "^2.0.10"

Steps to Reproduce

  1. Create a new Angular workspace with Nx
  2. Install @angular-architects/native-federation
  3. Run: nx g @angular-architects/native-federation:init --project miles --port 4203 --type remote
  4. Check - the added version is outdated package.json``@softarc/native-federation-node

Expected behavior

The schematic should add the current version that matches the native-federation library:

"@softarc/native-federation-node": "^3.3.5"

Versions of Native/Module Federation, Angular, Node, Browser, and operating system

Native-federation: 20.1.6
Angular version: 20.1.8

Other information

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions