Merge branch 'dev' into feat/compat-firefox

This commit is contained in:
starknt
2024-01-05 17:25:38 +08:00
6 changed files with 1668 additions and 1304 deletions

24
.github/workflows/changelog.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: ChangeLog
on:
push:
branches:
- main
- dev
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: GoogleCloudPlatform/release-please-action@v3
with:
token: ${{ secrets.RELEASE_TOKEN }}
release-type: node
package-name: release-please-action
release-as: 0.14.0
signoff: 'github-actions <41898282+github-actions[bot]@users.noreply.github.com>'
changelog-types: '[{"type":"types","section":"Types","hidden":false},{"type":"revert","section":"Reverts","hidden":false},{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"improvement","section":"Feature Improvements","hidden":false},{"type":"docs","section":"Docs","hidden":false},{"type":"i18n","section":"I18n","hidden":false},{"type":"ci","section":"CI","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"contributor","section":"New Contributors","hidden":false},{"type":"notice","section":"Notices","hidden":false}]'

View File

@@ -24,9 +24,6 @@ jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
@@ -44,16 +41,6 @@ jobs:
- name: Build Extension
run: pnpm pack:zip
- uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
token: ${{ secrets.RELEASE_TOKEN }}
release-type: node
package-name: release-please-action
release-as: 0.13.0
signoff: 'github-actions <41898282+github-actions[bot]@users.noreply.github.com>'
changelog-types: '[{"type":"types","section":"Types","hidden":false},{"type":"revert","section":"Reverts","hidden":false},{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"improvement","section":"Feature Improvements","hidden":false},{"type":"docs","section":"Docs","hidden":false},{"type":"ci","section":"CI","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"contributor","section":"New Contributors","hidden":false},{"type":"notice","section":"Notices","hidden":false}]'
- name: Upload assets to a Release
uses: meeDamian/github-release@v2.0.3
with:

View File

@@ -1,7 +1,7 @@
{
"name": "bewly-bewly",
"displayName": "BewlyBewly",
"version": "0.13.2",
"version": "0.13.3",
"private": true,
"packageManager": "pnpm@7.8.0",
"description": "Just make a few small changes to your Bilibili homepage.",
@@ -27,7 +27,8 @@
"start:firefox": "web-ext run --source-dir ./extension --target=firefox-desktop",
"clear": "rimraf extension extension.*",
"lint": "eslint .",
"test": "vitest test"
"test": "vitest test",
"postinstall": "npx simple-git-hooks"
},
"dependencies": {
"@types/md5": "^2.3.5",
@@ -68,9 +69,11 @@
"fs-extra": "^10.1.0",
"jsdom": "^20.0.3",
"kolorist": "^1.8.0",
"lint-staged": "^15.2.0",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"sass": "^1.69.5",
"simple-git-hooks": "^2.9.0",
"terser": "^5.24.0",
"tsup": "^6.7.0",
"typescript": "^4.9.5",
@@ -85,5 +88,11 @@
"web-ext": "^7.8.0",
"webext-bridge": "^5.0.5",
"webextension-polyfill": "^0.10.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}

2918
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -194,7 +194,7 @@ topbar:
user_dropdown:
money: 銀仔:
b_coins: B銀
following:
following: 追緊
followers: 擁躉
posts: 動向
accout_settings: 帳戶資料

View File

@@ -433,7 +433,7 @@ function toggleWatchLater(aid: number) {
opacity-0 group-hover:opacity-100
pos="absolute" duration-300 bg="black opacity-60"
rounded="$bew-radius-half" p-1
z-1
z-1 color-white
@click.prevent="toggleWatchLater(moment.aid ?? 0)"
>
<Tooltip v-if="!addedWatchLaterList.includes(moment.aid ?? 0)" :content="$t('common.save_to_watch_later')" placement="bottom" type="dark">