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

Extend @webstone/cli to wrap svelte-add #54

Closed
Tracked by #72
mikenikles opened this issue Oct 2, 2021 · 1 comment · Fixed by #70
Closed
Tracked by #72

Extend @webstone/cli to wrap svelte-add #54

mikenikles opened this issue Oct 2, 2021 · 1 comment · Fixed by #70

Comments

@mikenikles
Copy link
Collaborator

mikenikles commented Oct 2, 2021

The svelte-add project (repo link) is a convenient way to configure various things in SvelteKit apps, e.g. Tailwind CSS, mdsvex, etc.

The Webstone CLI should provide a command which acts as a thin wrapper around svelte-add. For example, webstone web configure tailwind is a wrapper for npx svelte-add@latest tailwindcss (docs).

Update: Since this is the first CLI command, let's also set us up for success as we add more commands. See best practices docs.

@mikenikles
Copy link
Collaborator Author

The Webstone CLI wrapper command is webstone web svelte-add <integration>. This makes it clear we delegate to svelte-add and gives us an opportunity to use webstone web configure for other, Webstone-specific configuration tasks.

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

Successfully merging a pull request may close this issue.

1 participant