Skip to content

Commit c23558a

Browse files
committed
chore: update all url references of vitejs.dev to vite.dev (#18276)
1 parent 1864eb1 commit c23558a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+193
-193
lines changed

Diff for: .github/ISSUE_TEMPLATE/bug_report.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ body:
7878
required: true
7979
- label: Read the [Contributing Guidelines](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md).
8080
required: true
81-
- label: Read the [docs](https://vitejs.dev/guide).
81+
- label: Read the [docs](https://vite.dev/guide).
8282
required: true
8383
- label: Check that there isn't [already an issue](https://github.com/vitejs/vite/issues) that reports the same bug to avoid creating a duplicate.
8484
required: true
8585
- label: Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to [vuejs/core](https://github.com/vuejs/core) instead.
8686
required: true
87-
- label: Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitejs/vite/discussions) or join our [Discord Chat Server](https://chat.vitejs.dev/).
87+
- label: Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitejs/vite/discussions) or join our [Discord Chat Server](https://chat.vite.dev/).
8888
required: true
8989
- label: The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
9090
required: true

Diff for: .github/ISSUE_TEMPLATE/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ contact_links:
77
url: https://github.com/vitejs/vite-plugin-vue/issues/new/choose
88
about: Vue related issues should be reported on the vite-plugin-vue repository.
99
- name: Discord Chat
10-
url: https://chat.vitejs.dev
10+
url: https://chat.vite.dev
1111
about: Ask questions and discuss with other Vite users in real time.
1212
- name: Questions & Discussions
1313
url: https://github.com/vitejs/vite/discussions

Diff for: .github/ISSUE_TEMPLATE/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "\U0001F4DA Documentation"
2-
description: Suggest a change or new page to be added to vitejs.dev
2+
description: Suggest a change or new page to be added to vite.dev
33
labels: [documentation]
44
body:
55
- type: markdown

Diff for: .github/ISSUE_TEMPLATE/feature_request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ body:
4141
required: true
4242
- label: Read the [Contributing Guidelines](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md).
4343
required: true
44-
- label: Read the [docs](https://vitejs.dev/guide).
44+
- label: Read the [docs](https://vite.dev/guide).
4545
required: true
4646
- label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
4747
required: true

Diff for: .github/workflows/lock-closed-issues.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
#issue-comment: |
2020
# This issue has been locked since it has been closed for more than 14 days.
2121
#
22-
# If you have found a concrete bug or regression related to it, please open a new [bug report](https://github.com/vitejs/vite/issues/new/choose) with a reproduction against the latest Vite version. If you have any other comments you should join the chat at [Vite Land](https://chat.vitejs.dev) or create a new [discussion](https://github.com/vitejs/vite/discussions).
22+
# If you have found a concrete bug or regression related to it, please open a new [bug report](https://github.com/vitejs/vite/issues/new/choose) with a reproduction against the latest Vite version. If you have any other comments you should join the chat at [Vite Land](https://chat.vite.dev) or create a new [discussion](https://github.com/vitejs/vite/discussions).
2323
issue-lock-reason: ""
2424
process-only: "issues"

Diff for: CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe
3434

3535
## Enforcement
3636

37-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team by DM at [Vite Land](https://chat.vitejs.dev). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team by DM at [Vite Land](https://chat.vite.dev). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
3838

3939
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
4040

Diff for: CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Vite Contributing Guide
22

3-
Hi! We're really excited that you're interested in contributing to Vite! Before submitting your contribution, please read through the following guide. We also suggest you read the [Project Philosophy](https://vitejs.dev/guide/philosophy) in our documentation.
3+
Hi! We're really excited that you're interested in contributing to Vite! Before submitting your contribution, please read through the following guide. We also suggest you read the [Project Philosophy](https://vite.dev/guide/philosophy) in our documentation.
44

55
You can use [StackBlitz Codeflow](https://stackblitz.com/codeflow) to fix bugs or implement features. You'll see a Codeflow button on issues to start a PR to fix them. A button will also appear on PRs to review them without needing to check out the branch locally. When using Codeflow, the Vite repository will be cloned for you in an online editor, with the Vite package built in watch mode ready to test your changes. If you'd like to learn more, check out the [Codeflow docs](https://developer.stackblitz.com/codeflow/what-is-codeflow).
66

Diff for: README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
2-
<a href="https://vitejs.dev" target="_blank" rel="noopener noreferrer">
3-
<img width="180" src="https://vitejs.dev/logo.svg" alt="Vite logo">
2+
<a href="https://vite.dev" target="_blank" rel="noopener noreferrer">
3+
<img width="180" src="https://vite.dev/logo.svg" alt="Vite logo">
44
</a>
55
</p>
66
<br/>
@@ -9,7 +9,7 @@
99
<a href="https://nodejs.org/en/about/previous-releases"><img src="https://img.shields.io/node/v/vite.svg" alt="node compatibility"></a>
1010
<a href="https://github.com/vitejs/vite/actions/workflows/ci.yml"><img src="https://github.com/vitejs/vite/actions/workflows/ci.yml/badge.svg?branch=main" alt="build status"></a>
1111
<a href="https://pr.new/vitejs/vite"><img src="https://developer.stackblitz.com/img/start_pr_dark_small.svg" alt="Start new PR in StackBlitz Codeflow"></a>
12-
<a href="https://chat.vitejs.dev"><img src="https://img.shields.io/badge/chat-discord-blue?style=flat&logo=discord" alt="discord chat"></a>
12+
<a href="https://chat.vite.dev"><img src="https://img.shields.io/badge/chat-discord-blue?style=flat&logo=discord" alt="discord chat"></a>
1313
</p>
1414
<br/>
1515

@@ -26,13 +26,13 @@
2626

2727
Vite (French word for "quick", pronounced [`/vit/`](https://cdn.jsdelivr.net/gh/vitejs/vite@main/docs/public/vite.mp3), like "veet") is a new breed of frontend build tooling that significantly improves the frontend development experience. It consists of two major parts:
2828

29-
- A dev server that serves your source files over [native ES modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules), with [rich built-in features](https://vitejs.dev/guide/features.html) and astonishingly fast [Hot Module Replacement (HMR)](https://vitejs.dev/guide/features.html#hot-module-replacement).
29+
- A dev server that serves your source files over [native ES modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules), with [rich built-in features](https://vite.dev/guide/features.html) and astonishingly fast [Hot Module Replacement (HMR)](https://vite.dev/guide/features.html#hot-module-replacement).
3030

31-
- A [build command](https://vitejs.dev/guide/build.html) that bundles your code with [Rollup](https://rollupjs.org), pre-configured to output highly optimized static assets for production.
31+
- A [build command](https://vite.dev/guide/build.html) that bundles your code with [Rollup](https://rollupjs.org), pre-configured to output highly optimized static assets for production.
3232

33-
In addition, Vite is highly extensible via its [Plugin API](https://vitejs.dev/guide/api-plugin.html) and [JavaScript API](https://vitejs.dev/guide/api-javascript.html) with full typing support.
33+
In addition, Vite is highly extensible via its [Plugin API](https://vite.dev/guide/api-plugin.html) and [JavaScript API](https://vite.dev/guide/api-javascript.html) with full typing support.
3434

35-
[Read the Docs to Learn More](https://vitejs.dev).
35+
[Read the Docs to Learn More](https://vite.dev).
3636

3737
## Packages
3838

Diff for: docs/.vitepress/buildEnd.config.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Feed } from 'feed'
44
import type { SiteConfig } from 'vitepress'
55
import { createContentLoader } from 'vitepress'
66

7-
const siteUrl = 'https://vitejs.dev'
7+
const siteUrl = 'https://vite.dev'
88
const blogUrl = `${siteUrl}/blog`
99

1010
export const buildEnd = async (config: SiteConfig): Promise<void> => {
@@ -14,8 +14,8 @@ export const buildEnd = async (config: SiteConfig): Promise<void> => {
1414
id: blogUrl,
1515
link: blogUrl,
1616
language: 'en',
17-
image: 'https://vitejs.dev/og-image.png',
18-
favicon: 'https://vitejs.dev/logo.svg',
17+
image: 'https://vite.dev/og-image.png',
18+
favicon: 'https://vite.dev/logo.svg',
1919
copyright: 'Copyright © 2019-present VoidZero Inc. & Vite Contributors',
2020
})
2121

Diff for: docs/.vitepress/config.ts

+14-14
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import { transformerTwoslash } from '@shikijs/vitepress-twoslash'
44
import { buildEnd } from './buildEnd.config'
55

66
const ogDescription = 'Next Generation Frontend Tooling'
7-
const ogImage = 'https://vitejs.dev/og-image.png'
7+
const ogImage = 'https://vite.dev/og-image.png'
88
const ogTitle = 'Vite'
9-
const ogUrl = 'https://vitejs.dev'
9+
const ogUrl = 'https://vite.dev'
1010

1111
// netlify envs
1212
const deployURL = process.env.DEPLOY_PRIME_URL || ''
@@ -36,15 +36,15 @@ const versionLinks = ((): DefaultTheme.NavItemWithLink[] => {
3636
const oldVersions: DefaultTheme.NavItemWithLink[] = [
3737
{
3838
text: 'Vite 4 Docs',
39-
link: 'https://v4.vitejs.dev',
39+
link: 'https://v4.vite.dev',
4040
},
4141
{
4242
text: 'Vite 3 Docs',
43-
link: 'https://v3.vitejs.dev',
43+
link: 'https://v3.vite.dev',
4444
},
4545
{
4646
text: 'Vite 2 Docs',
47-
link: 'https://v2.vitejs.dev',
47+
link: 'https://v2.vite.dev',
4848
},
4949
]
5050

@@ -54,7 +54,7 @@ const versionLinks = ((): DefaultTheme.NavItemWithLink[] => {
5454
return [
5555
{
5656
text: 'Vite 5 Docs (release)',
57-
link: 'https://vitejs.dev',
57+
link: 'https://vite.dev',
5858
},
5959
...oldVersions,
6060
]
@@ -120,12 +120,12 @@ export default defineConfig({
120120

121121
locales: {
122122
root: { label: 'English' },
123-
zh: { label: '简体中文', link: 'https://cn.vitejs.dev' },
124-
ja: { label: '日本語', link: 'https://ja.vitejs.dev' },
125-
es: { label: 'Español', link: 'https://es.vitejs.dev' },
126-
pt: { label: 'Português', link: 'https://pt.vitejs.dev' },
127-
ko: { label: '한국어', link: 'https://ko.vitejs.dev' },
128-
de: { label: 'Deutsch', link: 'https://de.vitejs.dev' },
123+
zh: { label: '简体中文', link: 'https://cn.vite.dev' },
124+
ja: { label: '日本語', link: 'https://ja.vite.dev' },
125+
es: { label: 'Español', link: 'https://es.vite.dev' },
126+
pt: { label: 'Português', link: 'https://pt.vite.dev' },
127+
ko: { label: '한국어', link: 'https://ko.vite.dev' },
128+
de: { label: 'Deutsch', link: 'https://de.vite.dev' },
129129
},
130130

131131
themeConfig: {
@@ -139,7 +139,7 @@ export default defineConfig({
139139
socialLinks: [
140140
{ icon: 'mastodon', link: 'https://elk.zone/m.webtoo.ls/@vite' },
141141
{ icon: 'twitter', link: 'https://twitter.com/vite_js' },
142-
{ icon: 'discord', link: 'https://chat.vitejs.dev' },
142+
{ icon: 'discord', link: 'https://chat.vite.dev' },
143143
{ icon: 'github', link: 'https://github.com/vitejs/vite' },
144144
],
145145

@@ -184,7 +184,7 @@ export default defineConfig({
184184
},
185185
{
186186
text: 'Discord Chat',
187-
link: 'https://chat.vitejs.dev',
187+
link: 'https://chat.vite.dev',
188188
},
189189
{
190190
text: 'Awesome Vite',

Diff for: docs/blog/announcing-vite2.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ head:
1313
content: Announcing Vite 2.0
1414
- - meta
1515
- property: og:url
16-
content: https://vitejs.dev/blog/announcing-vite2
16+
content: https://vite.dev/blog/announcing-vite2
1717
- - meta
1818
- property: og:description
1919
content: Vite 2 Release Announcement
@@ -33,7 +33,7 @@ Vite (French word for "fast", pronounced `/vit/`) is a new kind of build tool fo
3333

3434
To get a sense of how fast Vite is, check out [this video comparison](https://twitter.com/amasad/status/1355379680275128321) of booting up a React application on Repl.it using Vite vs. `create-react-app` (CRA).
3535

36-
If you've never heard of Vite before and would love to learn more about it, check out [the rationale behind the project](https://vitejs.dev/guide/why.html). If you are interested in how Vite differs from other similar tools, check out the [comparisons](https://vitejs.dev/guide/comparisons.html).
36+
If you've never heard of Vite before and would love to learn more about it, check out [the rationale behind the project](https://vite.dev/guide/why.html). If you are interested in how Vite differs from other similar tools, check out the [comparisons](https://vite.dev/guide/comparisons.html).
3737

3838
## What's New in 2.0
3939

@@ -49,7 +49,7 @@ Vite 2.0 takes what we learned along the way and is redesigned from scratch with
4949

5050
Inspired by [WMR](https://github.com/preactjs/wmr), the new plugin system extends Rollup's plugin interface and is [compatible with many Rollup plugins](https://vite-rollup-plugins.patak.dev/) out of the box. Plugins can use Rollup-compatible hooks, with additional Vite-specific hooks and properties to adjust Vite-only behavior (e.g. differentiating dev vs. build or custom handling of HMR).
5151

52-
The [programmatic API](https://vitejs.dev/guide/api-javascript.html) has also been greatly improved to facilitate higher level tools / frameworks built on top of Vite.
52+
The [programmatic API](https://vite.dev/guide/api-javascript.html) has also been greatly improved to facilitate higher level tools / frameworks built on top of Vite.
5353

5454
### esbuild Powered Dep Pre-Bundling
5555

@@ -65,7 +65,7 @@ Vite treats CSS as a first-class citizen of the module graph and supports the fo
6565

6666
### Server-Side Rendering (SSR) Support
6767

68-
Vite 2.0 ships with [experimental SSR support](https://vitejs.dev/guide/ssr.html). Vite provides APIs to efficiently load and update ESM-based source code in Node.js during development (almost like server-side HMR), and automatically externalizes CommonJS-compatible dependencies to improve development and SSR build speed. The production server can be completely decoupled from Vite, and the same setup can be easily adapted to perform pre-rendering / SSG.
68+
Vite 2.0 ships with [experimental SSR support](https://vite.dev/guide/ssr.html). Vite provides APIs to efficiently load and update ESM-based source code in Node.js during development (almost like server-side HMR), and automatically externalizes CommonJS-compatible dependencies to improve development and SSR build speed. The production server can be completely decoupled from Vite, and the same setup can be easily adapted to perform pre-rendering / SSG.
6969

7070
Vite SSR is provided as a low-level feature and we are expecting to see higher level frameworks leveraging it under the hood.
7171

@@ -81,4 +81,4 @@ That was a lot of features, but getting started with Vite is simple! You can spi
8181
npm init @vitejs/app
8282
```
8383

84-
Then, check out [the guide](https://vitejs.dev/guide/) to see what Vite provides out of the box. You can also check out the source code on [GitHub](https://github.com/vitejs/vite), follow updates on [Twitter](https://twitter.com/vite_js), or join discussions with other Vite users on our [Discord chat server](http://chat.vitejs.dev/).
84+
Then, check out [the guide](https://vite.dev/guide/) to see what Vite provides out of the box. You can also check out the source code on [GitHub](https://github.com/vitejs/vite), follow updates on [Twitter](https://twitter.com/vite_js), or join discussions with other Vite users on our [Discord chat server](http://chat.vite.dev/).

0 commit comments

Comments
 (0)