Skip to content

Commit

Permalink
feat(vscode): add task command and commit scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
kinghat committed Jan 15, 2023
1 parent 1f5a757 commit 0902034
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"task.allowAutomaticTasks": "on"
"task.allowAutomaticTasks": "on",
"conventionalCommits.scopes": ["editor", "package", "vscode", "devcontainer"]
}
30 changes: 30 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,36 @@
"label": "start dev",
"dependsOn": ["run hass", "pnpm watch"],
"problemMatcher": []
},
{
"label": "build",
"type": "shell",
"command": "pnpm",
"args": ["build"],
"problemMatcher": [],
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated",
"showReuseMessage": true,
"clear": false
}
},
{
"label": "build:no-check",
"type": "shell",
"command": "pnpm",
"args": ["build:no-check"],
"problemMatcher": [],
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated",
"showReuseMessage": true,
"clear": false
}
}
]
}

0 comments on commit 0902034

Please sign in to comment.