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

Info/Warning: there's a new version of the X template #330

Open
fmvilas opened this issue May 6, 2020 · 3 comments
Open

Info/Warning: there's a new version of the X template #330

fmvilas opened this issue May 6, 2020 · 3 comments
Labels
enhancement New feature or request keep-open

Comments

@fmvilas
Copy link
Member

fmvilas commented May 6, 2020

Reason/Context

By default, npm will not install new versions of a template because it finds it's already installed and skips the installation process. This is a good thing in most cases but can create confusion when someone is trying to use a template and they don't get the latest version features and fixes.

Users can overcome this by executing something like:

ag asyncapi.yml @asyncapi/html-template@latest -o output
# Notice the `@latest`

But that's something you do when you really know how the Generator works.

Description

I suggest we add a console.info indicating that a template has a new version available. Something like:

This template has a newer version and you can safely update.
Use `@asyncapi/html-template@latest` as your template name to install the latest version.

Example:
ag asyncapi.yml @asyncapi/html-template@latest -o output
@fmvilas fmvilas added the enhancement New feature or request label May 6, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2020

This issue has been automatically marked as stale because it has not had recent activity 😴
It will be closed in 30 days if no further activity occurs. To unstale this issue, add a comment with detailed explanation.
Thank you for your contributions ❤️

@github-actions github-actions bot added the stale label Jul 6, 2020
@fmvilas fmvilas added keep-open and removed stale labels Jul 6, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Oct 5, 2021

This issue has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

@github-actions github-actions bot added stale and removed stale labels Oct 5, 2021
@AyushNautiyalDeveloper
Copy link

AyushNautiyalDeveloper commented Sep 12, 2023

hi @fmvilas I would like to work on this please assign it to me. and also please project me to right direction where should i add the message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request keep-open
Projects
None yet
Development

No branches or pull requests

2 participants