Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create new command for the react template #1476

Merged
merged 12 commits into from
Jul 12, 2024

Conversation

AayushSaini101
Copy link
Contributor

@AayushSaini101 AayushSaini101 commented Jul 1, 2024

Resolves: #337

@AayushSaini101 AayushSaini101 marked this pull request as ready for review July 4, 2024 10:20
@@ -0,0 +1,33 @@
asyncapi: 2.6.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AayushSaini101 I suggest to target version 3 instead, as we want people to adopt it.

"supportedProtocols": [ ]
},
"dependencies": {
"@asyncapi/generator-react-sdk": "^0.2.25"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend to pick last version of generator-react-sdk
https://github.com/asyncapi/generator-react-sdk/releases/tag/v1.0.20

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done @Amzani

@@ -0,0 +1,21 @@

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about the naming of this file and its purpose

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed thanks @Amzani

import { Flags } from '@oclif/core';

export const templateFlags = () => {
return {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to add also renderer flag as some people may use nunjucks, see: https://www.asyncapi.com/docs/tools/generator/template-development

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done @Amzani

@AayushSaini101 AayushSaini101 requested a review from Amzani July 8, 2024 11:48
@Amzani
Copy link
Collaborator

Amzani commented Jul 9, 2024

Let's wait for other maintainers review as well @Shurtu-gal @Souvikns

Copy link
Member

@Souvikns Souvikns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼

Copy link
Collaborator

@Shurtu-gal Shurtu-gal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AayushSaini101
Copy link
Contributor Author

@Amzani Please review

Copy link
Collaborator

@Amzani Amzani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AayushSaini101
Copy link
Contributor Author

/rtm

@asyncapi-bot
Copy link
Contributor

Hello, @AayushSaini101! 👋🏼
This PR is not up to date with the base branch and can't be merged.
Please update your branch manually with the latest version of the base branch.
PRO-TIP: To request an update from the upstream branch, simply comment /u or /update and our bot will handle the update operation promptly.

       The only requirement for this to work is to enable [Allow edits from maintainers](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork) option in your PR. Also the update will not work if your fork is located in an organization, not under your personal profile.
       Thanks 😄

@Souvikns
Copy link
Member

/rtm

@asyncapi-bot asyncapi-bot merged commit 7d9df54 into asyncapi:master Jul 12, 2024
11 checks passed
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@aeworxet
Copy link
Contributor

@asyncapi/bounty_team

@asyncapi-bot asyncapi-bot added the bounty AsyncAPI Bounty program related label label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty AsyncAPI Bounty program related label ready-to-merge released
Projects
Status: Completed
Status: Done
Development

Successfully merging this pull request may close these issues.

Create create-template in AsyncAPI organization
6 participants