Skip to content

Commit

Permalink
chore(cli): clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
trobonox committed Jul 20, 2024
1 parent ef79fb8 commit 152c733
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/cli/src/installers/steinPluginInstaller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ const availableSteinPlugins = ['unocss', 'tailwindcss'];
const availableToolIntegrations = ['biome', 'eslint', 'prettier'];

export const installSteinPlugin = async (pkgName: string, projectDir: string) => {
/**
* @description Installs a stein plugin and adds it to the stein.config.ts file
* @param pkgName The name of the plugin to install
* @param projectDir The directory of the project
*/
if (!availableSteinPlugins.includes(pkgName)) {
installToolIntegration(pkgName);
}
Expand Down Expand Up @@ -92,7 +97,7 @@ export const installSteinPlugin = async (pkgName: string, projectDir: string) =>
cwd: projectDir,
dev: true
});
// Also install the actual package for the integration

if (pkgName === "unocss") {
// Add the UnoCSS reset as a dependency
await addDependency("@unocss/reset", {
Expand Down

0 comments on commit 152c733

Please sign in to comment.