Skip to content

Commit

Permalink
feat: install vscode extension as well
Browse files Browse the repository at this point in the history
  • Loading branch information
crnsh committed Mar 8, 2024
1 parent 37693da commit 661e4ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "million-lint-check",
"version": "1.0.17",
"version": "1.0.18",
"description": "A command-line tool to verify if Million Lint is active in a project.",
"main": "index.js",
"files": [
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ program.command('setup')
exit(1)
}

console.log('Installing Million Lint and other dependencies...');
console.log('Installing Million Lint, Million Lint VSCode extension and other dependencies...');
execSync('npm i -g @antfu/ni', { stdio: 'inherit' });
execSync('code --install-extension million.million-lint', { stdio: 'inherit' });
execSync('ni', { stdio: 'inherit' });
try {
execSync('npx @million/lint@latest', { stdio: 'inherit' });
Expand Down

0 comments on commit 661e4ad

Please sign in to comment.