Skip to content

Commit e8e10f1

Browse files
committed
chore: migrate to new repo URL
1 parent 830f970 commit e8e10f1

File tree

9 files changed

+19
-44
lines changed

9 files changed

+19
-44
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ ts-node ./script/crowdin/sync-source.ts
286286
ts-node ./script/crowdin/sync-translation.ts
287287
```
288288

289-
Because the above two scripts rely on the Crowdin access secret in the environment variable, I integrated them into Github's [Action](https://github.com/sheepzh/timer/actions/workflows/crowdin-sync.yml)
289+
Because the above two scripts rely on the Crowdin access secret in the environment variable, I integrated them into Github's [Action](https://github.com/sheepzh/time-tracker-4-browser/actions/workflows/crowdin-sync.yml)
290290

291291
2. Export translations from Crowdin
292292

README-zh.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# 网费很贵
22

3-
[![codecov](https://codecov.io/gh/sheepzh/timer/branch/main/graph/badge.svg?token=S98QSBSKCR&style=flat-square)](https://codecov.io/gh/sheepzh/timer)
3+
[![codecov](https://codecov.io/gh/sheepzh/time-tracker-4-browser/branch/main/graph/badge.svg?token=S98QSBSKCR&style=flat-square)](https://codecov.io/gh/sheepzh/time-tracker-4-browser)
44
[![](https://img.shields.io/badge/license-Anti%20996-blue)](https://github.com/996icu/996.ICU)
5-
[![](https://img.shields.io/github/v/release/sheepzh/timer)](https://github.com/sheepzh/timer/releases)
5+
[![](https://img.shields.io/github/v/release/sheepzh/time-tracker-4-browser)](https://github.com/sheepzh/time-tracker-4-browser/releases)
66

77
\[ 简体中文 | [English](./README.md) \]
88

@@ -54,7 +54,7 @@
5454

5555
#### 提交 Issue
5656

57-
如果您有一些好的想法,或者 bug 反馈,可以新建一条 [issue](https://github.com/sheepzh/timer/issues) 。作者会在第一时间进行回复。
57+
如果您有一些好的想法,或者 bug 反馈,可以新建一条 [issue](https://github.com/sheepzh/time-tracker-4-browser/issues) 。作者会在第一时间进行回复。
5858

5959
#### 参与开发
6060

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Time Tracker for Browser
22

3-
[![codecov](https://codecov.io/gh/sheepzh/timer/branch/main/graph/badge.svg?token=S98QSBSKCR&style=flat-square)](https://codecov.io/gh/sheepzh/timer)
3+
[![codecov](https://codecov.io/gh/sheepzh/time-tracker-4-browser/branch/main/graph/badge.svg?token=S98QSBSKCR&style=flat-square)](https://codecov.io/gh/sheepzh/time-tracker-4-browser)
44
[![](https://img.shields.io/badge/license-Anti%20996-blue)](https://github.com/996icu/996.ICU)
55
[![Crowdin](https://badges.crowdin.net/timer-chrome-edge-firefox/localized.svg)](https://crowdin.com/project/timer-chrome-edge-firefox)
66

@@ -53,7 +53,7 @@ There are some things you can do to contribute to this software.
5353

5454
#### 1. Submit issues
5555

56-
You can [submit one issue](https://github.com/sheepzh/timer/issues) to us if you have some suggestions, feature requests, or feedback of bugs. And we will reply it as soon as possible.
56+
You can [submit one issue](https://github.com/sheepzh/time-tracker-4-browser/issues) to us if you have some suggestions, feature requests, or feedback of bugs. And we will reply it as soon as possible.
5757

5858
#### 2. Participate in development
5959

doc/for-fire-fox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ The output directory is `dist_prod_firefox` and you can find a zip file named `t
1111

1212
Also you could visit the sourcecode on GitHub
1313

14-
[sheepzh/timer](https://github.com/sheepzh/timer)
14+
[sheepzh/time-tracker-4-browser](https://github.com/sheepzh/time-tracker-4-browser)

doc/safari-install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ So please install it **manually**, GG Safari.
66
## 0. Download this repository
77

88
```shell
9-
git clone https://github.com/sheepzh/timer.git
9+
git clone https://github.com/sheepzh/time-tracker-4-browser.git
1010
cd timer
1111
```
1212

@@ -32,7 +32,7 @@ npm run build:safari
3232

3333
Then there will be one folder called **Timer**.
3434

35-
Also, you can download the archived file from [the release page](https://github.com/sheepzh/timer/releases), and unzip it to gain this folder.
35+
Also, you can download the archived file from [the release page](https://github.com/sheepzh/time-tracker-4-browser/releases), and unzip it to gain this folder.
3636

3737
2. Convert js bundles to Xcode project
3838

doc/similar-comparison.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"url": "https://www.github.com/sheepzh"
2525
},
2626
"repository": {
27-
"url": "https://github.com/sheepzh/timer"
27+
"url": "https://github.com/sheepzh/time-tracker-4-browser"
2828
},
2929
"license": "MIT",
3030
"devDependencies": {
@@ -71,4 +71,4 @@
7171
"engines": {
7272
"node": ">=20"
7373
}
74-
}
74+
}

src/util/constant/url.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ export const EDGE_HOMEPAGE = 'https://microsoftedge.microsoft.com/addons/detail/
1616
/**
1717
* @since 0.4.0
1818
*/
19-
export const SOURCE_CODE_PAGE = 'https://github.com/sheepzh/timer'
19+
export const SOURCE_CODE_PAGE = 'https://github.com/sheepzh/time-tracker-4-browser'
2020

2121
/**
2222
* @since 1.9.4
2323
*/
24-
export const CHANGE_LOG_PAGE = 'https://github.com/sheepzh/timer/blob/main/CHANGELOG.md'
24+
export const CHANGE_LOG_PAGE = 'https://github.com/sheepzh/time-tracker-4-browser/blob/main/CHANGELOG.md'
2525

2626
/**
2727
* @since 0.0.6
2828
*/
29-
export const GITHUB_ISSUE_ADD = 'https://github.com/sheepzh/timer/issues/new/choose'
29+
export const GITHUB_ISSUE_ADD = 'https://github.com/sheepzh/time-tracker-4-browser/issues/new/choose'
3030

3131
/**
3232
* Feedback powered by www.wjx.cn
@@ -44,7 +44,7 @@ export const TU_CAO_PAGE = `https://support.qq.com/products/402895?os=${BROWSER_
4444

4545
export const PRIVACY_PAGE = 'https://www.wfhg.cc/en/privacy.html'
4646

47-
export const LICENSE_PAGE = 'https://github.com/sheepzh/timer/blob/main/LICENSE'
47+
export const LICENSE_PAGE = 'https://github.com/sheepzh/time-tracker-4-browser/blob/main/LICENSE'
4848

4949
/**
5050
* @since 0.9.6

test/util/limit.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ describe('util/limit', () => {
1313
})
1414

1515
test('matches', () => {
16-
const cond = ['www.baidu.com', '*.google.com', 'github.com/sheepzh', '+github.com/sheepzh/timer','+www.bilibili.com/cheese','*.bilibili.com*']
16+
const cond = ['www.baidu.com', '*.google.com', 'github.com/sheepzh', '+github.com/sheepzh/time-tracker-4-browser', '+www.bilibili.com/cheese', '*.bilibili.com*']
1717

1818
expect(matches(cond, 'https://www.baidu.com')).toBe(true)
1919
expect(matches(cond, 'http://hk.google.com')).toBe(true)
2020
expect(matches(cond, 'http://github.com/sheepzh/poetry')).toBe(true)
21-
expect(matches(cond, 'http://github.com/sheepzh/timer')).toBe(false)
22-
expect(matches(cond, 'http://github.com/sheepzh/timer/test')).toBe(false)
21+
expect(matches(cond, 'http://github.com/sheepzh/time-tracker-4-browser')).toBe(false)
22+
expect(matches(cond, 'http://github.com/sheepzh/time-tracker-4-browser/test')).toBe(false)
2323
expect(matches(cond, 'http://www.bilibili.com/cheese/list')).toBe(false)
2424
expect(matches(cond, 'http://t.bilibili.com/')).toBe(true)
2525
expect(matches(cond, 'https://www.bilibili.com/video/BV3527/')).toBe(true)
2626
})
2727

2828
test('matchCond', () => {
29-
const cond = ['www.baidu.com', '*.google.com', 'github.com/sheepzh', 'github.com','+www.bilibili.com/cheese','*.bilibili.com*']
29+
const cond = ['www.baidu.com', '*.google.com', 'github.com/sheepzh', 'github.com', '+www.bilibili.com/cheese', '*.bilibili.com*']
3030
expect(matchCond(cond, 'http://www.baidu.com')).toEqual(['www.baidu.com'])
3131
expect(matchCond(cond, 'https://github.com/sheepzh/time-tracker-for-browser')).toEqual(['github.com', 'github.com/sheepzh'])
3232
expect(matchCond(cond, 'https://www.github.com')).toEqual([])

0 commit comments

Comments
 (0)