-
Notifications
You must be signed in to change notification settings - Fork 10
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
[cli] Install packages as well when using generate
command
#8
Comments
generate
commandgenerate
command
@sooraj1002 |
@techsavvyash can you also confirm this once? |
Yes, this is the correct approach, incase a direct install fails, it will not update the |
DescriptionPresently, the cli while setting up a service using the generate command instead of setting it up during the bootstrapping phase does not install the external/extra dependencies if any. This should not be the case, those should be added alongside the service setup. ObjectiveThe goal of this issue is to update the package.json when user runs the Goals
Complexity : MediumProduct NameStencil-Cli Organisation NameSamagraX DomainCommand Line Interface Tech Skills NeededTypeScript, Cli |
please assign me : ) |
Description
Presently, the cli while setting up a service using the
generate
command instead of setting it up during the bootstrapping phase does not install the external/extra dependencies if any. This should not be the case, those should be added alongside the service setup.Potential fix
lock
file in the package root, if the package root contains onlyyarn.lock
orpnpm.lock
useyarn
orpnpm
respectively, incase there is no lock file of multiple lock files default tonpm
.package.json
to add the dependency with the particular version that is required and print a message for the user to install the new dependencies using a package manager of their choice.Objective
The goal of this issue is to update the package.json when user runs the
generate
command and prompt user on which package manager he needs to install the packages or use the registry generated here #20 to know which package manager the user has chosen while bootstraping the project.Goals
generate
commandgenerate
commandComplexity : Medium
Product Name
Stencil-Cli
Organisation Name
SamagraX
Domain
Command Line Interface
Tech Skills Needed
TypeScript, Cli
The text was updated successfully, but these errors were encountered: