Skip to content

Commit f255e7f

Browse files
committed
remove webpack deps
1 parent 614079a commit f255e7f

File tree

2 files changed

+31
-39
lines changed

2 files changed

+31
-39
lines changed

package.json

+1-9
Original file line numberDiff line numberDiff line change
@@ -60,27 +60,19 @@
6060
"@vue/compiler-sfc": "^3.2.45",
6161
"@widget-js/vite-plugin-widget": "^24.1.1-beta.30",
6262
"autoprefixer": "^10.4.13",
63-
"css-loader": "^6.7.2",
6463
"eslint": "8.48.0",
65-
"eslint-plugin-vue": "9.19.2",
6664
"lint-staged": "^13.0.3",
6765
"postcss": "^8.4.21",
68-
"raw-loader": "^4.0.2",
6966
"sass": "^1.56.0",
7067
"simple-git-hooks": "^2.9.0",
7168
"style-loader": "^3.3.1",
72-
"ts-loader": "^8.3.0",
7369
"typescript": "^5.2.2",
7470
"unocss": "^0.51.13",
7571
"unplugin-auto-import": "^0.11.4",
7672
"unplugin-vue-components": "^0.22.9",
7773
"vite": "^5.0.5",
7874
"vite-plugin-checker": "^0.6.1",
79-
"vitest": "^0.34.6",
80-
"vue-loader": "^16.8.3",
81-
"vue-tsc": "^1.8.1",
82-
"webpack": "^5.74.0",
83-
"webpack-cli": "^4.10.0"
75+
"vitest": "^0.34.6"
8476
},
8577
"simple-git-hooks": {
8678
"pre-commit": "npx lint-staged"

public/widget.json

+30-30
Original file line numberDiff line numberDiff line change
@@ -55,38 +55,38 @@
5555
]
5656
},
5757
{
58-
"name": "cn.widgetjs.widgets.sit_reminder",
58+
"name": "cn.widgetjs.widgets.time_progress",
5959
"title": {
60-
"zh-CN": "久坐提醒"
60+
"zh-CN": "时间进度"
6161
},
6262
"description": {
63-
"zh-CN": "设置间隔,定时提醒,适合长期久坐的人群"
63+
"zh-CN": "年、月、周、日进度剩余百分比"
6464
},
6565
"keywords": [
6666
"recommend"
6767
],
6868
"security": false,
6969
"permissions": [],
7070
"lang": "zh-CN",
71-
"width": 1,
72-
"height": 1,
73-
"maxWidth": 1,
71+
"width": 4,
72+
"height": 2,
73+
"maxWidth": 4,
7474
"webviewTag": false,
75-
"maxHeight": 1,
76-
"minWidth": 1,
77-
"minHeight": 1,
75+
"maxHeight": 2,
76+
"minWidth": 4,
77+
"minHeight": 2,
7878
"movable": true,
7979
"singleton": false,
8080
"resizable": true,
81-
"path": "/widget/sit_reminder",
81+
"path": "/widget/time_progress",
8282
"meta": {},
83-
"backgroundThrottling": false,
84-
"previewImage": "/images/preview_sit_reminder.png",
83+
"backgroundThrottling": true,
84+
"previewImage": "/images/preview_time_progress.png",
8585
"categories": [
86-
"utilities"
86+
"time"
8787
],
88-
"supportDeployMode": 65536,
89-
"configPagePath": "/widget/config/sit_reminder?frame=true&transparent=false",
88+
"supportDeployMode": 17,
89+
"configPagePath": "/widget/config/time_progress?frame=true&transparent=false&width=600&height=400",
9090
"routes": [],
9191
"socialLinks": [
9292
{
@@ -96,38 +96,38 @@
9696
]
9797
},
9898
{
99-
"name": "cn.widgetjs.widgets.time_progress",
99+
"name": "cn.widgetjs.widgets.sit_reminder",
100100
"title": {
101-
"zh-CN": "时间进度"
101+
"zh-CN": "久坐提醒"
102102
},
103103
"description": {
104-
"zh-CN": "年、月、周、日进度剩余百分比"
104+
"zh-CN": "设置间隔,定时提醒,适合长期久坐的人群"
105105
},
106106
"keywords": [
107107
"recommend"
108108
],
109109
"security": false,
110110
"permissions": [],
111111
"lang": "zh-CN",
112-
"width": 4,
113-
"height": 2,
114-
"maxWidth": 4,
112+
"width": 1,
113+
"height": 1,
114+
"maxWidth": 1,
115115
"webviewTag": false,
116-
"maxHeight": 2,
117-
"minWidth": 4,
118-
"minHeight": 2,
116+
"maxHeight": 1,
117+
"minWidth": 1,
118+
"minHeight": 1,
119119
"movable": true,
120120
"singleton": false,
121121
"resizable": true,
122-
"path": "/widget/time_progress",
122+
"path": "/widget/sit_reminder",
123123
"meta": {},
124-
"backgroundThrottling": true,
125-
"previewImage": "/images/preview_time_progress.png",
124+
"backgroundThrottling": false,
125+
"previewImage": "/images/preview_sit_reminder.png",
126126
"categories": [
127-
"time"
127+
"utilities"
128128
],
129-
"supportDeployMode": 17,
130-
"configPagePath": "/widget/config/time_progress?frame=true&transparent=false&width=600&height=400",
129+
"supportDeployMode": 65536,
130+
"configPagePath": "/widget/config/sit_reminder?frame=true&transparent=false",
131131
"routes": [],
132132
"socialLinks": [
133133
{

0 commit comments

Comments
 (0)