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
I'm trying to run the init command of the CLI in an automated manner but NOT in a CI environment. I found that the --yes (or -y) option is in the source code but it isn't checked before prompting the user for recommendations. This makes the script I'm building fail.
To Reproduce
Run the following commands (needs node.js, pnpm and git installed):
npm run update-local (this will install the package globally)
cd to a directory where you want to run the project scaffolding
svelte-scaffold . --verbose
make sure to select the "Component library" and later the "Storybook" options
cd shared/lib && ls -la && cat package.json
You'll see that a .storybook folder was created but Storybook is not installed. This is because it started the init process but got stuck on the ESLint prompt.
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm trying to run the
init
command of the CLI in an automated manner but NOT in a CI environment. I found that the--yes
(or-y
) option is in the source code but it isn't checked before prompting the user for recommendations. This makes the script I'm building fail.To Reproduce
Run the following commands (needs
node.js
,pnpm
andgit
installed):git clone https://github.com/adevien-solutions/svelte-scaffold.git
cd svelte-scaffold
npm run update-local
(this will install the package globally)cd
to a directory where you want to run the project scaffoldingsvelte-scaffold . --verbose
cd shared/lib && ls -la && cat package.json
You'll see that a
.storybook
folder was created but Storybook is not installed. This is because it started theinit
process but got stuck on the ESLint prompt.System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: