You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
π Please check the troubleshooting guide before reporting anything. It contains important information on how to fix or diagnose errors.
Issue type (mark with x)
π€ Question
π Bug report
π Feature request
π€·ββοΈ Other
Version (mark with x)
2οΈβ£ v2.x
3οΈβ£ v3.x
Description
Currently @liferay/cli delegates its commands in the target platform of the project (portal-base, portal-adapt-base, etc...).
This setup can break if the user runs a newer @liferay/cli version with an older target platform version, because some of the commands offered by @liferay/cli won't be available.
We should introduce some mechanism to:
Check if a newer version of the target platform exists and notify the user accordingly
If the user insists in running a newer @liferay/cli with an older target platform, fail gracefully if a command that is not available is run.
Number 2 can be very difficult to achieve (especially for flags like --configure and such) so we may simply warn the user if he doesn't update the target platform that some of the commands may be unstable. Another option could be delegating the command execution and help to the target platform too and leave @liferay/cli almost empty except for the project generation and upgrade parts.
The text was updated successfully, but these errors were encountered:
Issue type (mark with
x
)Version (mark with
x
)Description
Currently
@liferay/cli
delegates its commands in the target platform of the project (portal-base, portal-adapt-base, etc...).This setup can break if the user runs a newer
@liferay/cli
version with an older target platform version, because some of the commands offered by@liferay/cli
won't be available.We should introduce some mechanism to:
@liferay/cli
with an older target platform, fail gracefully if a command that is not available is run.Number 2 can be very difficult to achieve (especially for flags like
--configure
and such) so we may simply warn the user if he doesn't update the target platform that some of the commands may be unstable. Another option could be delegating the command execution and help to the target platform too and leave@liferay/cli
almost empty except for the project generation and upgrade parts.The text was updated successfully, but these errors were encountered: