mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Merge branch 'preview-fixes' into preview-features
This commit is contained in:
commit
2cc26ca72e
@ -2,6 +2,12 @@
|
||||
"title": "功能建议",
|
||||
"labels": [],
|
||||
"body": [
|
||||
{
|
||||
"type": "markdown",
|
||||
"attributes": {
|
||||
"value": "默认您已阅读 [常见问题解答](https://github.com/the1812/Bilibili-Evolved/discussions/1301)\n请勿重复发起, 发之前记得搜索一下. 如果需要反馈 Bug, 请前往 [Issues](https://github.com/the1812/Bilibili-Evolved/issues) 发起.\n"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "textarea",
|
||||
"id": "description",
|
||||
|
||||
5
.github/DISCUSSION_TEMPLATE/功能建议-ideas.yml
vendored
5
.github/DISCUSSION_TEMPLATE/功能建议-ideas.yml
vendored
@ -1,6 +1,11 @@
|
||||
title: 功能建议
|
||||
labels: []
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
默认您已阅读 [常见问题解答](https://github.com/the1812/Bilibili-Evolved/discussions/1301)
|
||||
请勿重复发起, 发之前记得搜索一下. 如果需要反馈 Bug, 请前往 [Issues](https://github.com/the1812/Bilibili-Evolved/issues) 发起.
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
|
||||
7
.vscode/tasks.json
vendored
7
.vscode/tasks.json
vendored
@ -108,6 +108,13 @@
|
||||
"problemMatcher": [],
|
||||
"label": "功能:编译所有 prod:build-features"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"command": "pnpm build-github-config",
|
||||
"group": "build",
|
||||
"problemMatcher": [],
|
||||
"label": "功能:生成 GitHub 配置 prod:build-github-config"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"command": "pnpm webpack --config ./registry/webpack/docs.ts --progress",
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import parse from 'csv-parse/lib/sync'
|
||||
import fs from 'fs-extra'
|
||||
import fs from 'fs'
|
||||
|
||||
const files = process.argv.slice(2)
|
||||
const parseAliPay = (csv: Record<string, string>[]) => {
|
||||
@ -60,4 +60,5 @@ const items = files
|
||||
})
|
||||
.flat()
|
||||
.sort((a, b) => parseInt(b.sortKey) - parseInt(a.sortKey))
|
||||
fs.outputFileSync('dist/output.md', items.join('\n'))
|
||||
fs.mkdirSync('dist/', { recursive: true })
|
||||
fs.writeFileSync('dist/output.md', items.join('\n'))
|
||||
|
||||
@ -6,11 +6,9 @@
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"csv-parse": "^4.15.4",
|
||||
"fs-extra": "^10.1.0"
|
||||
"csv-parse": "^4.15.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/fs-extra": "^9.0.13",
|
||||
"@types/node": "^17.0.38",
|
||||
"ts-node": "^10.8.0",
|
||||
"typescript": "^4.7.2"
|
||||
|
||||
54
dev-tools/donate-table/pnpm-lock.yaml
generated
54
dev-tools/donate-table/pnpm-lock.yaml
generated
@ -1,17 +1,15 @@
|
||||
lockfileVersion: '6.0'
|
||||
lockfileVersion: '6.1'
|
||||
|
||||
settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
dependencies:
|
||||
csv-parse:
|
||||
specifier: ^4.15.4
|
||||
version: registry.npmmirror.com/csv-parse@4.15.4
|
||||
fs-extra:
|
||||
specifier: ^10.1.0
|
||||
version: registry.npmmirror.com/fs-extra@10.1.0
|
||||
|
||||
devDependencies:
|
||||
'@types/fs-extra':
|
||||
specifier: ^9.0.13
|
||||
version: registry.npmmirror.com/@types/fs-extra@9.0.13
|
||||
'@types/node':
|
||||
specifier: ^17.0.38
|
||||
version: registry.npmmirror.com/@types/node@17.0.38
|
||||
@ -79,14 +77,6 @@ packages:
|
||||
version: 1.0.2
|
||||
dev: true
|
||||
|
||||
registry.npmmirror.com/@types/fs-extra@9.0.13:
|
||||
resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/fs-extra/-/fs-extra-9.0.13.tgz}
|
||||
name: '@types/fs-extra'
|
||||
version: 9.0.13
|
||||
dependencies:
|
||||
'@types/node': registry.npmmirror.com/@types/node@17.0.38
|
||||
dev: true
|
||||
|
||||
registry.npmmirror.com/@types/node@17.0.38:
|
||||
resolution: {integrity: sha512-5jY9RhV7c0Z4Jy09G+NIDTsCZ5G0L5n+Z+p+Y7t5VJHM30bgwzSjVtlcBxqAj+6L/swIlvtOSzr8rBk/aNyV2g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/node/-/node-17.0.38.tgz}
|
||||
name: '@types/node'
|
||||
@ -133,33 +123,6 @@ packages:
|
||||
engines: {node: '>=0.3.1'}
|
||||
dev: true
|
||||
|
||||
registry.npmmirror.com/fs-extra@10.1.0:
|
||||
resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz}
|
||||
name: fs-extra
|
||||
version: 10.1.0
|
||||
engines: {node: '>=12'}
|
||||
dependencies:
|
||||
graceful-fs: registry.npmmirror.com/graceful-fs@4.2.10
|
||||
jsonfile: registry.npmmirror.com/jsonfile@6.1.0
|
||||
universalify: registry.npmmirror.com/universalify@2.0.0
|
||||
dev: false
|
||||
|
||||
registry.npmmirror.com/graceful-fs@4.2.10:
|
||||
resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.10.tgz}
|
||||
name: graceful-fs
|
||||
version: 4.2.10
|
||||
dev: false
|
||||
|
||||
registry.npmmirror.com/jsonfile@6.1.0:
|
||||
resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/jsonfile/-/jsonfile-6.1.0.tgz}
|
||||
name: jsonfile
|
||||
version: 6.1.0
|
||||
dependencies:
|
||||
universalify: registry.npmmirror.com/universalify@2.0.0
|
||||
optionalDependencies:
|
||||
graceful-fs: registry.npmmirror.com/graceful-fs@4.2.10
|
||||
dev: false
|
||||
|
||||
registry.npmmirror.com/make-error@1.3.6:
|
||||
resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/make-error/-/make-error-1.3.6.tgz}
|
||||
name: make-error
|
||||
@ -208,13 +171,6 @@ packages:
|
||||
hasBin: true
|
||||
dev: true
|
||||
|
||||
registry.npmmirror.com/universalify@2.0.0:
|
||||
resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/universalify/-/universalify-2.0.0.tgz}
|
||||
name: universalify
|
||||
version: 2.0.0
|
||||
engines: {node: '>= 10.0.0'}
|
||||
dev: false
|
||||
|
||||
registry.npmmirror.com/v8-compile-cache-lib@3.0.1:
|
||||
resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz}
|
||||
name: v8-compile-cache-lib
|
||||
|
||||
@ -28,6 +28,10 @@ https://afdian.net/@the1812?tab=sponsor
|
||||
|
||||
| 时间 | 用户名 | 单号后4位 | 金额 |
|
||||
| ------------------- | ---------------- | --------- | ------- |
|
||||
| 2023.05.22 13:38:55 | 匿名 | 4950 | ¥10.00 |
|
||||
| 2023.04.26 20:14:14 | 鹏*u | 3047 | ¥50.00 |
|
||||
| 2023.04.25 21:08:48 | 匿名 | 8365 | ¥20.00 |
|
||||
| 2023.04.25 19:58:14 | *哈 | 6384 | ¥1.00 |
|
||||
| 2023.04.23 17:50:52 | 匿名 | 8968 | ¥2.00 |
|
||||
| 2023.04.22 23:13:20 | 匿名 | 3581 | ¥5.00 |
|
||||
| 2023.04.10 00:29:46 | *- | 3636 | ¥10.00 |
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
"type": "component",
|
||||
"name": "feedsFilter",
|
||||
"displayName": "动态过滤器",
|
||||
"description": "按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片.",
|
||||
"description": "按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 详细设置请前往[动态首页](https://t.bilibili.com/)查看.\r\n",
|
||||
"fullRelativePath": "../../registry/dist/components/feeds/filter.js",
|
||||
"fullAbsolutePath": "registry/dist/components/feeds/filter.js"
|
||||
},
|
||||
@ -515,7 +515,7 @@
|
||||
"type": "component",
|
||||
"name": "removePromotions",
|
||||
"displayName": "删除广告",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 `占位文本` 选项.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 `占位文本` 选项.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.\n- `保留小喇叭`: 保留视频页面的活动横幅下方评论区上方的黄色小喇叭通知以及动态的黄色小喇叭.",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/remove-promotions.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/remove-promotions.js"
|
||||
},
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/filter.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/feeds/filter.js)
|
||||
|
||||
按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片.
|
||||
按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 详细设置请前往[动态首页](https://t.bilibili.com/)查看.
|
||||
|
||||
### [强制固定动态侧栏](../../registry/dist/components/feeds/fixed-sidebars.js)
|
||||
`fixedFeedsSidebars`
|
||||
@ -656,6 +656,7 @@ by [@aiden](https://github.com/swhoro)
|
||||
|
||||
- `占位文本`: 删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.
|
||||
- `保留活动横幅`: 保留视频页面的活动横幅.
|
||||
- `保留小喇叭`: 保留视频页面的活动横幅下方评论区上方的黄色小喇叭通知以及动态的黄色小喇叭.
|
||||
|
||||
### [网址参数清理](../../registry/dist/components/utils/url-params-clean.js)
|
||||
`urlParamsClean`
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"type": "component",
|
||||
"name": "removePromotions",
|
||||
"displayName": "删除广告",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 `占位文本` 选项.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 `占位文本` 选项.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.\n- `保留小喇叭`: 保留视频页面的活动横幅下方评论区上方的黄色小喇叭通知以及动态的黄色小喇叭.",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/remove-promotions.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/remove-promotions.js"
|
||||
},
|
||||
@ -200,7 +200,7 @@
|
||||
"type": "component",
|
||||
"name": "removePromotions",
|
||||
"displayName": "删除广告",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 `占位文本` 选项.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 `占位文本` 选项.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.\n- `保留小喇叭`: 保留视频页面的活动横幅下方评论区上方的黄色小喇叭通知以及动态的黄色小喇叭.",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/remove-promotions.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/remove-promotions.js"
|
||||
},
|
||||
|
||||
@ -1,9 +1,16 @@
|
||||
# 发布新的正式版前要做的事
|
||||
# 发版流程
|
||||
|
||||
## 正式版
|
||||
- 编写 change log
|
||||
- 更新版本号, 打上 tag
|
||||
- 更新 donate.md
|
||||
- 生成文档
|
||||
- 带 tag 推送
|
||||
- 测下 Firefox + Violentmonkey
|
||||
|
||||
## 预览版
|
||||
- 更新版本号, 打上 tag
|
||||
- 生成文档
|
||||
- 编译预览版
|
||||
- 带 tag 推送
|
||||
- 打开 Tampermonkey, 更新其中的预览版, 测试功能
|
||||
- 测下 Firefox + Violentmonkey
|
||||
- 测下 Edge + Tampermonkey
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "2.7.1",
|
||||
"version": "2.7.2",
|
||||
"author": "Grant Howard, Coulomb-G",
|
||||
"copyright": "[year], Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)",
|
||||
"license": "MIT",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user