Skip to content

[FEATURE] Update nodejs-template for generator v3.x compatibility #346

Description

@shivansh-source

Why do we need this improvement?

Description

The @asyncapi/nodejs-template currently supports generator versions >=0.50.0 <2.0.0, making it incompatible with the latest generator v3.x.

I'm willing to work on this if the team is interested.

How will this change help?

Current Situation

  • Current generator version: 3.1.2
  • Template version range: >=0.50.0 <2.0.0
  • Error when using: "This template is not compatible with the current version of the generator (3.1.2)"

Screenshots

Proposal

Update the template to support generator v3.x by:

  1. Reviewing breaking changes in generator v3
  2. Updating template code as needed
  3. Updating version compatibility in package.json
  4. Testing with generator v3.x

How could it be implemented/designed?

Question for Maintainers

  • Is this update already planned or in progress?
  • Would this contribution be welcome?
  • Are there specific guidelines for v3 migration?
  • Should backward compatibility with v2 be maintained?

🚧 Breaking changes

Yes

👀 Have you checked for similar open issues?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue?

Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions