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: STRF-11741 Stencil init: auto install dependencies #1183

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

jairo-bc
Copy link
Contributor

@jairo-bc jairo-bc commented Apr 8, 2024

What?

On Stencil init we are going to ask what's your package manager of flavour and install theme dependencies to eliminate additional command running

Tickets / Documentation

Screenshots (if appropriate)

Screenshot 2024-04-03 at 21 28 51 Screenshot 2024-04-03 at 21 29 02 Screenshot 2024-04-03 at 21 29 10

cc @bigcommerce/storefront-team

prompts.push({
type: 'list',
name: 'packageManager',
message: 'What is your favourite Package Manager?',
Copy link
Contributor

Choose a reason for hiding this comment

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

The question itself sounds like a matter of taste. However, if I understood correctly we want to ask What package manager do you want to use?. Sometimes answers on these 2 questions could be different. Just a thought.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is pretty much actually. Even if pnpm is the fastest, it's still a matter of taste. Actually, I took the question from Catalyst, so I think should be fine for now

@jairo-bc jairo-bc merged commit ca4221b into master Apr 9, 2024
6 checks passed
@chmelev
Copy link

chmelev commented Apr 9, 2024

This PR breaks automation because it does not allow supplying the packageManager value in the command line parameter, so it's just stuck waiting for the packageManager input.

@salbahra
Copy link

This is a breaking change which broke our automation today. What was the purpose of this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants