Skip to content

Commit 87d09f8

Browse files
committed
chore: update repo references
1 parent ac445dd commit 87d09f8

File tree

14 files changed

+290
-290
lines changed

14 files changed

+290
-290
lines changed

.github/ISSUE_TEMPLATE/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Create new issue
4-
url: https://new-issue.vuejs.org/?repo=vuejs/vue-router-next
4+
url: https://new-issue.vuejs.org/?repo=vuejs/router
55
about: Please use the following link to create a new issue.
66
- name: Github Sponsors
77
url: https://github.com/sponsors/posva

.github/workflows/release-tag.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
with:
2121
tag_name: ${{ github.ref }}
2222
body: |
23-
Please refer to [CHANGELOG.md](https://github.com/vuejs/vue-router-next/blob/master/CHANGELOG.md) for details.
23+
Please refer to [CHANGELOG.md](https://github.com/vuejs/router/blob/master/CHANGELOG.md) for details.

CHANGELOG.md

+270-270
Large diffs are not rendered by default.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# vue-router-next [![release candidate](https://img.shields.io/npm/v/vue-router/next.svg)](https://www.npmjs.com/package/vue-router/v/next) [![CircleCI](https://badgen.net/circleci/github/vuejs/vue-router-next/master)](https://circleci.com/gh/vuejs/vue-router-next)
1+
# vue-router-next [![release candidate](https://img.shields.io/npm/v/vue-router/next.svg)](https://www.npmjs.com/package/vue-router/v/next) [![CircleCI](https://badgen.net/circleci/github/vuejs/router/master)](https://circleci.com/gh/vuejs/router)
22

33
> This is the repository for Vue Router 4 (for Vue 3)
44
@@ -73,7 +73,7 @@ Please consult the [Migration Guide](https://next.router.vuejs.org/guide/migrati
7373

7474
## Contributing
7575

76-
See [Contributing Guide](https://github.com/vuejs/vue-router-next/blob/master/.github/contributing.md).
76+
See [Contributing Guide](https://github.com/vuejs/router/blob/master/.github/contributing.md).
7777

7878
## Special Thanks
7979

__tests__/router.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ describe('Router', () => {
744744
})
745745
})
746746

747-
// https://github.com/vuejs/vue-router-next/issues/404
747+
// https://github.com/vuejs/router/issues/404
748748
it('works with named routes', async () => {
749749
const history = createMemoryHistory()
750750
const router = createRouter({

docs/.vitepress/config.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ const config = defineConfig({
3333
},
3434

3535
themeConfig: {
36-
repo: 'vuejs/vue-router-next',
37-
docsRepo: 'vuejs/vue-router-next',
36+
repo: 'vuejs/router',
37+
docsRepo: 'vuejs/router',
3838
docsDir: 'docs',
3939
docsBranch: 'master',
4040
editLinks: true,
@@ -77,7 +77,7 @@ const config = defineConfig({
7777
},
7878
{
7979
text: 'Changelog',
80-
link: 'https://github.com/vuejs/vue-router-next/blob/master/CHANGELOG.md',
80+
link: 'https://github.com/vuejs/router/blob/master/CHANGELOG.md',
8181
},
8282
],
8383

@@ -207,7 +207,7 @@ const config = defineConfig({
207207
},
208208
{
209209
text: '更新日志',
210-
link: 'https://github.com/vuejs/vue-router-next/blob/master/CHANGELOG.md',
210+
link: 'https://github.com/vuejs/router/blob/master/CHANGELOG.md',
211211
},
212212
],
213213

docs/guide/migration/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ If you wish to customize this behavior, e.g. take into account the `hash` sectio
203203

204204
### Navigation guards in mixins are ignored
205205

206-
At the moment navigation guards in mixins are not supported. You can track its support at [vue-router#454](https://github.com/vuejs/vue-router-next/issues/454).
206+
At the moment navigation guards in mixins are not supported. You can track its support at [vue-router#454](https://github.com/vuejs/router/issues/454).
207207

208208
### Removal of `router.match` and changes to `router.resolve`
209209

docs/introduction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Vue Router is the official router for [Vue.js](http://v3.vuejs.org). It deeply i
1313
- Customizable Scroll Behavior
1414
- Proper encoding for URLs
1515

16-
[Get started](./guide/) or play with the [playground](https://github.com/vuejs/vue-router-next/tree/master/playground) (see [`README.md`](https://github.com/vuejs/vue-router-next) to run them).
16+
[Get started](./guide/) or play with the [playground](https://github.com/vuejs/router/tree/master/playground) (see [`README.md`](https://github.com/vuejs/router) to run them).
1717

1818
<HomeSponsors />
1919

docs/zh/guide/migration/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ app.config.globalProperties.append = (path, pathToAppend) =>
203203

204204
### 忽略 mixins 中的导航守卫
205205

206-
目前不支持 mixins 中的导航守卫,你可以在 [vue-router#454](https://github.com/vuejs/vue-router-next/issues/454) 追踪它的支持情况。
206+
目前不支持 mixins 中的导航守卫,你可以在 [vue-router#454](https://github.com/vuejs/router/issues/454) 追踪它的支持情况。
207207

208208
### 删除 `router.match` 改为 `router.resolve`
209209

docs/zh/introduction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Vue Router 是 [Vue.js](http://v3.vuejs.org) 的官方路由。它与 Vue.js 核
1313
- 可定制的滚动行为
1414
- URL 的正确编码
1515

16-
[入门](./guide/)或使用 [playground](https://github.com/vuejs/vue-router-next/tree/master/playground) (详见[`README.md`](https://github.com/vuejs/vue-router-next)来运行它们)。
16+
[入门](./guide/)或使用 [playground](https://github.com/vuejs/router/tree/master/playground) (详见[`README.md`](https://github.com/vuejs/router)来运行它们)。
1717

1818
<HomeSponsors />
1919

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
"license": "MIT",
1212
"repository": {
1313
"type": "git",
14-
"url": "git+https://github.com/vuejs/vue-router-next.git"
14+
"url": "git+https://github.com/vuejs/router.git"
1515
},
1616
"bugs": {
17-
"url": "https://github.com/vuejs/vue-router-next/issues"
17+
"url": "https://github.com/vuejs/router/issues"
1818
},
19-
"homepage": "https://github.com/vuejs/vue-router-next#readme",
19+
"homepage": "https://github.com/vuejs/router#readme",
2020
"files": [
2121
"dist/*.js",
2222
"dist/vue-router.d.ts",

src/history/html5.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function useHistoryStateNavigation(base: string) {
209209
* if a base tag is provided and we are on a normal domain, we have to
210210
* respect the provided `base` attribute because pushState() will use it and
211211
* potentially erase anything before the `#` like at
212-
* https://github.com/vuejs/vue-router-next/issues/685 where a base of
212+
* https://github.com/vuejs/router/issues/685 where a base of
213213
* `/folder/#` but a base of `/` would erase the `/folder/` section. If
214214
* there is no host, the `<base>` tag makes no sense and if there isn't a
215215
* base tag we can just use everything after the `#`.
@@ -263,7 +263,7 @@ function useHistoryStateNavigation(base: string) {
263263
{},
264264
// use current history state to gracefully handle a wrong call to
265265
// history.replaceState
266-
// https://github.com/vuejs/vue-router-next/issues/366
266+
// https://github.com/vuejs/router/issues/366
267267
historyState.value,
268268
history.state as Partial<StateEntry> | null,
269269
{

src/matcher/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export function createRouterMatcher(
264264

265265
if (__DEV__ && !path.startsWith('/')) {
266266
warn(
267-
`The Matcher cannot resolve relative paths but received "${path}". Unless you directly called \`matcher.resolve("${path}")\`, this is probably a bug in vue-router. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-router-next.`
267+
`The Matcher cannot resolve relative paths but received "${path}". Unless you directly called \`matcher.resolve("${path}")\`, this is probably a bug in vue-router. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/router.`
268268
)
269269
}
270270

src/router.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ export function createRouter(options: RouterOptions): Router {
541541
// nested objects, so we keep the query as is, meaning it can contain
542542
// numbers at `$route.query`, but at the point, the user will have to
543543
// use their own type anyway.
544-
// https://github.com/vuejs/vue-router-next/issues/328#issuecomment-649481567
544+
// https://github.com/vuejs/router/issues/328#issuecomment-649481567
545545
stringifyQuery === originalStringifyQuery
546546
? normalizeQuery(rawLocation.query)
547547
: ((rawLocation.query || {}) as LocationQuery),

0 commit comments

Comments
 (0)