Skip to content

Commit

Permalink
version 3.11 snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Oct 11, 2024
1 parent 4d637f1 commit 3afeb1e
Show file tree
Hide file tree
Showing 839 changed files with 6,015 additions and 5,498 deletions.
2 changes: 1 addition & 1 deletion cypress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This template should help get you started developing with Vue 3 in Vite.

## Customize configuration

See [Vite Configuration Reference](https://vitejs.dev/config/).
See [Vite Configuration Reference](https://vite.dev/config/).

## Project Setup

Expand Down
10 changes: 5 additions & 5 deletions cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"test:unit:dev": "cypress open --component"
},
"dependencies": {
"vue": "^3.4.29"
"vue": "^3.5.11"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"cypress": "^13.12.0",
"start-server-and-test": "^2.0.4",
"vite": "^5.3.1"
"@vitejs/plugin-vue": "^5.1.4",
"cypress": "^13.15.0",
"start-server-and-test": "^2.0.8",
"vite": "^5.4.8"
}
}
2 changes: 1 addition & 1 deletion cypress/src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defineProps({
<h1 class="green">{{ msg }}</h1>
<h3>
You’ve successfully created a project with
<a href="https://vitejs.dev/" target="_blank" rel="noopener">Vite</a> +
<a href="https://vite.dev/" target="_blank" rel="noopener">Vite</a> +
<a href="https://vuejs.org/" target="_blank" rel="noopener">Vue 3</a>.
</h3>
</div>
Expand Down
2 changes: 1 addition & 1 deletion cypress/src/components/TheWelcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import SupportIcon from './icons/IconSupport.vue'
<template #heading>Tooling</template>

This project is served and bundled with
<a href="https://vitejs.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
<a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
recommended IDE setup is
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a> +
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
Expand Down
2 changes: 1 addition & 1 deletion cypress/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
Expand Down
2 changes: 1 addition & 1 deletion default/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This template should help get you started developing with Vue 3 in Vite.

## Customize configuration

See [Vite Configuration Reference](https://vitejs.dev/config/).
See [Vite Configuration Reference](https://vite.dev/config/).

## Project Setup

Expand Down
6 changes: 3 additions & 3 deletions default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.4.29"
"vue": "^3.5.11"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"vite": "^5.3.1"
"@vitejs/plugin-vue": "^5.1.4",
"vite": "^5.4.8"
}
}
2 changes: 1 addition & 1 deletion default/src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defineProps({
<h1 class="green">{{ msg }}</h1>
<h3>
You’ve successfully created a project with
<a href="https://vitejs.dev/" target="_blank" rel="noopener">Vite</a> +
<a href="https://vite.dev/" target="_blank" rel="noopener">Vite</a> +
<a href="https://vuejs.org/" target="_blank" rel="noopener">Vue 3</a>.
</h3>
</div>
Expand Down
2 changes: 1 addition & 1 deletion default/src/components/TheWelcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import SupportIcon from './icons/IconSupport.vue'
<template #heading>Tooling</template>

This project is served and bundled with
<a href="https://vitejs.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
<a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
recommended IDE setup is
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a> +
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
Expand Down
2 changes: 1 addition & 1 deletion default/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
Expand Down
2 changes: 1 addition & 1 deletion devtools-router-pinia/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This template should help get you started developing with Vue 3 in Vite.

## Customize configuration

See [Vite Configuration Reference](https://vitejs.dev/config/).
See [Vite Configuration Reference](https://vite.dev/config/).

## Project Setup

Expand Down
12 changes: 6 additions & 6 deletions devtools-router-pinia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"preview": "vite preview"
},
"dependencies": {
"pinia": "^2.1.7",
"vue": "^3.4.29",
"vue-router": "^4.3.3"
"pinia": "^2.2.4",
"vue": "^3.5.11",
"vue-router": "^4.4.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"vite": "^5.3.1",
"vite-plugin-vue-devtools": "^7.3.1"
"@vitejs/plugin-vue": "^5.1.4",
"vite": "^5.4.8",
"vite-plugin-vue-devtools": "^7.4.6"
}
}
2 changes: 1 addition & 1 deletion devtools-router-pinia/src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defineProps({
<h1 class="green">{{ msg }}</h1>
<h3>
You’ve successfully created a project with
<a href="https://vitejs.dev/" target="_blank" rel="noopener">Vite</a> +
<a href="https://vite.dev/" target="_blank" rel="noopener">Vite</a> +
<a href="https://vuejs.org/" target="_blank" rel="noopener">Vue 3</a>.
</h3>
</div>
Expand Down
2 changes: 1 addition & 1 deletion devtools-router-pinia/src/components/TheWelcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import SupportIcon from './icons/IconSupport.vue'
<template #heading>Tooling</template>

This project is served and bundled with
<a href="https://vitejs.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
<a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
recommended IDE setup is
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a> +
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
Expand Down
2 changes: 1 addition & 1 deletion devtools-router-pinia/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueDevTools from 'vite-plugin-vue-devtools'

// https://vitejs.dev/config/
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
Expand Down
6 changes: 6 additions & 0 deletions eslint-with-prettier/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
14 changes: 0 additions & 14 deletions eslint-with-prettier/.eslintrc.cjs

This file was deleted.

7 changes: 3 additions & 4 deletions eslint-with-prettier/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

{
"$schema": "https://json.schemastore.org/prettierrc",
"semi": false,
"tabWidth": 2,
"singleQuote": true,
"printWidth": 100,
"trailingComma": "none"
}
"arrowParens": "avoid"
}
2 changes: 1 addition & 1 deletion eslint-with-prettier/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This template should help get you started developing with Vue 3 in Vite.

## Customize configuration

See [Vite Configuration Reference](https://vitejs.dev/config/).
See [Vite Configuration Reference](https://vite.dev/config/).

## Project Setup

Expand Down
19 changes: 19 additions & 0 deletions eslint-with-prettier/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import js from '@eslint/js'
import pluginVue from 'eslint-plugin-vue'
import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'

export default [
{
name: 'app/files-to-lint',
files: ['**/*.{js,mjs,jsx,vue}'],
},

{
name: 'app/files-to-ignore',
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
},

js.configs.recommended,
...pluginVue.configs['flat/essential'],
skipFormatting,
]
18 changes: 9 additions & 9 deletions eslint-with-prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
"lint": "eslint . --fix",
"format": "prettier --write src/"
},
"dependencies": {
"vue": "^3.4.29"
"vue": "^3.5.11"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.8.0",
"@vitejs/plugin-vue": "^5.0.5",
"@vue/eslint-config-prettier": "^9.0.0",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.23.0",
"prettier": "^3.2.5",
"vite": "^5.3.1"
"@eslint/js": "^9.12.0",
"@vitejs/plugin-vue": "^5.1.4",
"@vue/eslint-config-prettier": "^10.0.0",
"eslint": "^9.12.0",
"eslint-plugin-vue": "^9.28.0",
"prettier": "^3.3.3",
"vite": "^5.4.8"
}
}
2 changes: 1 addition & 1 deletion eslint-with-prettier/src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defineProps({
<h1 class="green">{{ msg }}</h1>
<h3>
You’ve successfully created a project with
<a href="https://vitejs.dev/" target="_blank" rel="noopener">Vite</a> +
<a href="https://vite.dev/" target="_blank" rel="noopener">Vite</a> +
<a href="https://vuejs.org/" target="_blank" rel="noopener">Vue 3</a>.
</h3>
</div>
Expand Down
2 changes: 1 addition & 1 deletion eslint-with-prettier/src/components/TheWelcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import SupportIcon from './icons/IconSupport.vue'
<template #heading>Tooling</template>

This project is served and bundled with
<a href="https://vitejs.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
<a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
recommended IDE setup is
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a> +
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
Expand Down
2 changes: 1 addition & 1 deletion eslint-with-prettier/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
Expand Down
6 changes: 6 additions & 0 deletions eslint/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
11 changes: 0 additions & 11 deletions eslint/.eslintrc.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion eslint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This template should help get you started developing with Vue 3 in Vite.

## Customize configuration

See [Vite Configuration Reference](https://vitejs.dev/config/).
See [Vite Configuration Reference](https://vite.dev/config/).

## Project Setup

Expand Down
17 changes: 17 additions & 0 deletions eslint/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import js from '@eslint/js'
import pluginVue from 'eslint-plugin-vue'

export default [
{
name: 'app/files-to-lint',
files: ['**/*.{js,mjs,jsx,vue}'],
},

{
name: 'app/files-to-ignore',
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
},

js.configs.recommended,
...pluginVue.configs['flat/essential'],
]
13 changes: 7 additions & 6 deletions eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
"lint": "eslint . --fix"
},
"dependencies": {
"vue": "^3.4.29"
"vue": "^3.5.11"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.23.0",
"vite": "^5.3.1"
"@eslint/js": "^9.12.0",
"@vitejs/plugin-vue": "^5.1.4",
"eslint": "^9.12.0",
"eslint-plugin-vue": "^9.28.0",
"vite": "^5.4.8"
}
}
2 changes: 1 addition & 1 deletion eslint/src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defineProps({
<h1 class="green">{{ msg }}</h1>
<h3>
You’ve successfully created a project with
<a href="https://vitejs.dev/" target="_blank" rel="noopener">Vite</a> +
<a href="https://vite.dev/" target="_blank" rel="noopener">Vite</a> +
<a href="https://vuejs.org/" target="_blank" rel="noopener">Vue 3</a>.
</h3>
</div>
Expand Down
2 changes: 1 addition & 1 deletion eslint/src/components/TheWelcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import SupportIcon from './icons/IconSupport.vue'
<template #heading>Tooling</template>

This project is served and bundled with
<a href="https://vitejs.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
<a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
recommended IDE setup is
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a> +
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
Expand Down
2 changes: 1 addition & 1 deletion eslint/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
Expand Down
2 changes: 1 addition & 1 deletion jsx-cypress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This template should help get you started developing with Vue 3 in Vite.

## Customize configuration

See [Vite Configuration Reference](https://vitejs.dev/config/).
See [Vite Configuration Reference](https://vite.dev/config/).

## Project Setup

Expand Down
Loading

0 comments on commit 3afeb1e

Please sign in to comment.