Skip to content

Commit

Permalink
feat: 🐮🐎加班器
Browse files Browse the repository at this point in the history
  • Loading branch information
yue7872 committed May 16, 2024
1 parent e75dda8 commit e001d61
Show file tree
Hide file tree
Showing 6 changed files with 182 additions and 48 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "@antfu"
"extends": "@antfu",
"rules": {
"quotes": "off"
}
}
47 changes: 30 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,35 @@
"*"
],
"contributes": {
"commands": [
"commands": [],
"menus": {},
"configuration": [
{
"title": "stop-work",
"command": "stop-work"
}
],
"menus": {
"touchBar": [
{
"command": "stop-work"
}
],
"editor/title": [
{
"command": "stop-work",
"group": "navigation"
"title": "下班时间",
"properties": {
"stopWork.dayMoney": {
"type": "string",
"default": "5",
"description": "日薪(元)"
},
"stopWork.startTime": {
"type": "string",
"default": "9:00",
"description": "上班时间"
},
"stopWork.stopTime": {
"type": "string",
"default": "18:00",
"description": "下班时间"
},
"stopWork.updateSecond": {
"type": "string",
"default": "10",
"description": "刷新时间(s)"
}
}
]
}
}
]
},
"icon": "res/icon.png",
"scripts": {
Expand Down Expand Up @@ -79,5 +89,8 @@
"vite": "^2.8.6",
"vitest": "^0.7.4",
"vsce": "^2.7.0"
},
"dependencies": {

Check failure on line 93 in package.json

View workflow job for this annotation

GitHub Actions / lint

Expected object keys to be in specified order. 'dependencies' should be before 'devDependencies'
"dayjs": "^1.11.11"
}
}
101 changes: 81 additions & 20 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e001d61

Please sign in to comment.