class ViteRuby::CLI::Install
def npm_install
def npm_install return 'yarn add' if root.join('yarn.lock').exist? return 'pnpm install' if root.join('pnpm-lock.yaml').exist? 'npm install' end
def npm_install return 'yarn add' if root.join('yarn.lock').exist? return 'pnpm install' if root.join('pnpm-lock.yaml').exist? 'npm install' end