Skip to content

Commit 727d83d

Browse files
committed
台风来了 备份一下
1 parent dae370e commit 727d83d

File tree

6 files changed

+159
-124
lines changed

6 files changed

+159
-124
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
1515
"format": "prettier --write src/ "
1616
},
17+
"type": "module",
1718
"pnpm": {
1819
"peerDependencyRules": {
1920
"ignoreMissing": [
@@ -26,8 +27,8 @@
2627
},
2728
"dependencies": {
2829
"@vueuse/core": "^9.4.0",
29-
"@widget-js/core": "^0.7.2",
30-
"@widget-js/vue3": "^0.7.3",
30+
"@widget-js/core": "workspace:*",
31+
"@widget-js/vue3": "workspace:*",
3132
"axios": "^1.1.3",
3233
"color": "^4.2.3",
3334
"colorthief": "^2.4.0",
@@ -51,8 +52,8 @@
5152
"@vue/compiler-sfc": "^3.2.45",
5253
"@vue/eslint-config-typescript": "^9.1.0",
5354
"@vueuse/shared": "^10.1.2",
54-
"@widget-js/cli": "^1.1.4",
55-
"@widget-js/vite-plugin-widget": "^1.0.9",
55+
"@widget-js/cli": "workspace:*",
56+
"@widget-js/vite-plugin-widget": "workspace:*",
5657
"css-loader": "^6.7.2",
5758
"eslint": "^8.26.0",
5859
"eslint-plugin-vue": "^9.15.1",
Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,26 @@
11
{
2+
"name": "cn.widgetjs.widgets.hotspot",
3+
"version": "1.1.0",
4+
"author": "Neo Fu",
5+
"homepage": "https://widgetjs.cn",
6+
"title": {
7+
"zh-CN": "全网热点组件"
8+
},
9+
"description": {
10+
"zh-CN": "包含知乎、B站、抖音、微博等平台的热搜组件。"
11+
},
12+
"entry": "index.html",
13+
"remoteEntry": "https://rtugeek.gitee.io/hotspot",
14+
"remotePackage": "https://rtugeek.gitee.io/hotspot/widget.json",
15+
"remote": {
16+
"entry": "https://rtugeek.gitee.io/hotspot",
17+
"hash": true,
18+
"base": "/hotspot"
19+
},
220
"hash": true,
21+
"url": "",
322
"widgets": [
423
{
5-
"lang": "zh-CN",
624
"name": "cn.widgetjs.widgets.hotspot.zhihu",
725
"title": {
826
"zh-CN": "知乎"
@@ -13,92 +31,89 @@
1331
"keywords": [
1432
"recommend"
1533
],
34+
"lang": "zh-CN",
1635
"width": 4,
1736
"height": 3,
18-
"movable": true,
19-
"permissions": [],
2037
"maxWidth": 4,
2138
"maxHeight": 4,
2239
"minWidth": 4,
2340
"minHeight": 3,
41+
"movable": true,
42+
"meta": {},
2443
"backgroundThrottling": true,
2544
"previewImage": "/images/preview_zhihu.png",
26-
"refreshWhenResided": false,
27-
"hideWhenBlur": false,
2845
"supportHostedMode": 17,
2946
"routes": [
3047
{
3148
"url": "/widget/zhihu",
3249
"name": "index"
3350
}
34-
]
51+
],
52+
"permissions": []
3553
},
3654
{
37-
"lang": "zh-CN",
38-
"name": "ccn.widgetjs.widgets.hotspot.weibo",
55+
"name": "cn.widgetjs.widgets.hotspot.douyin",
3956
"title": {
40-
"zh-CN": "微博热搜"
57+
"zh-CN": "抖音热榜"
4158
},
4259
"description": {
43-
"zh-CN": "微博热搜"
60+
"zh-CN": "抖音热榜"
4461
},
4562
"keywords": [
4663
"recommend"
4764
],
65+
"lang": "zh-CN",
4866
"width": 4,
4967
"height": 3,
50-
"movable": true,
51-
"permissions": [],
52-
"maxWidth": 4,
68+
"maxWidth": 6,
5369
"maxHeight": 6,
5470
"minWidth": 4,
5571
"minHeight": 3,
72+
"movable": true,
73+
"meta": {},
5674
"backgroundThrottling": true,
57-
"previewImage": "/images/weibo_hot_search.png",
58-
"refreshWhenResided": false,
59-
"hideWhenBlur": false,
75+
"previewImage": "/images/preview_douyin.png",
6076
"supportHostedMode": 17,
6177
"routes": [
6278
{
63-
"url": "/widget/weibo",
79+
"url": "/widget/douyin",
6480
"name": "index"
6581
}
66-
]
82+
],
83+
"permissions": []
6784
},
6885
{
69-
"lang": "zh-CN",
70-
"name": "cn.widgetjs.widgets.hotspot.douyin",
86+
"name": "ccn.widgetjs.widgets.hotspot.weibo",
7187
"title": {
72-
"zh-CN": "抖音热榜"
88+
"zh-CN": "微博热搜"
7389
},
7490
"description": {
75-
"zh-CN": "抖音热榜"
91+
"zh-CN": "微博热搜"
7692
},
7793
"keywords": [
7894
"recommend"
7995
],
96+
"lang": "zh-CN",
8097
"width": 4,
8198
"height": 3,
82-
"movable": true,
83-
"permissions": [],
84-
"maxWidth": 6,
99+
"maxWidth": 4,
85100
"maxHeight": 6,
86101
"minWidth": 4,
87102
"minHeight": 3,
103+
"movable": true,
104+
"meta": {},
88105
"backgroundThrottling": true,
89-
"previewImage": "/images/preview_douyin.png",
90-
"refreshWhenResided": false,
91-
"hideWhenBlur": false,
106+
"previewImage": "/images/weibo_hot_search.png",
92107
"supportHostedMode": 17,
93108
"routes": [
94109
{
95-
"url": "/widget/douyin",
110+
"url": "/widget/weibo",
96111
"name": "index"
97112
}
98-
]
113+
],
114+
"permissions": []
99115
},
100116
{
101-
"lang": "zh-CN",
102117
"name": "cn.widgetjs.widgets.hotspot.bilibili",
103118
"title": {
104119
"zh-CN": "bilibili热搜"
@@ -109,28 +124,27 @@
109124
"keywords": [
110125
"recommend"
111126
],
127+
"lang": "zh-CN",
112128
"width": 4,
113129
"height": 3,
114-
"movable": true,
115-
"permissions": [],
116130
"maxWidth": 6,
117131
"maxHeight": 6,
118132
"minWidth": 4,
119133
"minHeight": 3,
134+
"movable": true,
135+
"meta": {},
120136
"backgroundThrottling": true,
121137
"previewImage": "/images/bilibili_hot_search.png",
122-
"refreshWhenResided": false,
123-
"hideWhenBlur": false,
124138
"supportHostedMode": 17,
125139
"routes": [
126140
{
127141
"url": "/widget/bilibili",
128142
"name": "index"
129143
}
130-
]
144+
],
145+
"permissions": []
131146
},
132147
{
133-
"lang": "zh-CN",
134148
"name": "cn.widgetjs.widgets.hotspot.bangumi",
135149
"title": {
136150
"zh-CN": "B站新番时间表"
@@ -141,39 +155,25 @@
141155
"keywords": [
142156
"recommend"
143157
],
158+
"lang": "zh-CN",
144159
"width": 4,
145160
"height": 4,
146-
"movable": true,
147-
"permissions": [],
148161
"maxWidth": 4,
149162
"maxHeight": 4,
150163
"minWidth": 4,
151164
"minHeight": 4,
165+
"movable": true,
166+
"meta": {},
152167
"backgroundThrottling": true,
153168
"previewImage": "/images/preview_bangumi.png",
154-
"refreshWhenResided": false,
155-
"hideWhenBlur": false,
156169
"supportHostedMode": 17,
157170
"routes": [
158171
{
159172
"url": "/widget/bangumi",
160173
"name": "index"
161174
}
162-
]
175+
],
176+
"permissions": []
163177
}
164-
],
165-
"name": "cn.widgetjs.widgets.hotspot",
166-
"version": "1.1.0",
167-
"author": "Neo Fu",
168-
"homepage": "https://widgetjs.cn",
169-
"title": {
170-
"zh-CN": "全网热点组件"
171-
},
172-
"description": {
173-
"zh-CN": "包含知乎、B站、抖音、微博等平台的热搜组件。"
174-
},
175-
"entry": "index.html",
176-
"remoteEntry": "https://rtugeek.gitee.io/hotspot",
177-
"remotePackage": "https://rtugeek.gitee.io/hotspot/widget.json",
178-
"url": ""
178+
]
179179
}

0 commit comments

Comments
 (0)