Skip to content

Commit

Permalink
version 3.12.0 snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Nov 5, 2024
1 parent b68e8e2 commit fe12787
Show file tree
Hide file tree
Showing 890 changed files with 5,351 additions and 5,124 deletions.
8 changes: 4 additions & 4 deletions cypress/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { defineConfig } from 'cypress'
export default defineConfig({
e2e: {
specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}',
baseUrl: 'http://localhost:4173'
baseUrl: 'http://localhost:4173',
},
component: {
specPattern: 'src/**/__tests__/*.{cy,spec}.{js,ts,jsx,tsx}',
devServer: {
framework: 'vue',
bundler: 'vite'
}
}
bundler: 'vite',
},
},
})
2 changes: 1 addition & 1 deletion cypress/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
Expand Down
2 changes: 1 addition & 1 deletion cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.4",
"cypress": "^13.15.0",
"cypress": "^13.15.1",
"start-server-and-test": "^2.0.8",
"vite": "^5.4.10"
}
Expand Down
4 changes: 2 additions & 2 deletions cypress/src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
defineProps({
msg: {
type: String,
required: true
}
required: true,
},
})
</script>

Expand Down
10 changes: 6 additions & 4 deletions cypress/src/components/TheWelcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ import SupportIcon from './icons/IconSupport.vue'
This project is served and bundled with
<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://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
+
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
you need to test your components and web pages, check out
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a> and
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
and
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
>Cypress Component Testing</a
>.
Expand Down Expand Up @@ -69,8 +71,8 @@ import SupportIcon from './icons/IconSupport.vue'
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
>StackOverflow</a
>. You should also subscribe to
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a> and follow
the official
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
and follow the official
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
twitter account for latest news in the Vue world.
</WelcomeItem>
Expand Down
4 changes: 2 additions & 2 deletions cypress/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export default defineConfig({
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
},
},
})
2 changes: 1 addition & 1 deletion default/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
Expand Down
4 changes: 2 additions & 2 deletions default/src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
defineProps({
msg: {
type: String,
required: true
}
required: true,
},
})
</script>

Expand Down
10 changes: 6 additions & 4 deletions default/src/components/TheWelcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ import SupportIcon from './icons/IconSupport.vue'
This project is served and bundled with
<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://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
+
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
you need to test your components and web pages, check out
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a> and
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
and
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
>Cypress Component Testing</a
>.
Expand Down Expand Up @@ -69,8 +71,8 @@ import SupportIcon from './icons/IconSupport.vue'
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
>StackOverflow</a
>. You should also subscribe to
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a> and follow
the official
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
and follow the official
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
twitter account for latest news in the Vue world.
</WelcomeItem>
Expand Down
4 changes: 2 additions & 2 deletions default/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export default defineConfig({
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
},
},
})
2 changes: 1 addition & 1 deletion devtools-router-pinia/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
Expand Down
4 changes: 2 additions & 2 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.2.4",
"pinia": "^2.2.6",
"vue": "^3.5.12",
"vue-router": "^4.4.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.4",
"vite": "^5.4.10",
"vite-plugin-vue-devtools": "^7.5.3"
"vite-plugin-vue-devtools": "^7.5.4"
}
}
4 changes: 2 additions & 2 deletions devtools-router-pinia/src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
defineProps({
msg: {
type: String,
required: true
}
required: true,
},
})
</script>

Expand Down
10 changes: 6 additions & 4 deletions devtools-router-pinia/src/components/TheWelcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ import SupportIcon from './icons/IconSupport.vue'
This project is served and bundled with
<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://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
+
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
you need to test your components and web pages, check out
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a> and
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
and
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
>Cypress Component Testing</a
>.
Expand Down Expand Up @@ -69,8 +71,8 @@ import SupportIcon from './icons/IconSupport.vue'
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
>StackOverflow</a
>. You should also subscribe to
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a> and follow
the official
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
and follow the official
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
twitter account for latest news in the Vue world.
</WelcomeItem>
Expand Down
8 changes: 4 additions & 4 deletions devtools-router-pinia/src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ const router = createRouter({
{
path: '/',
name: 'home',
component: HomeView
component: HomeView,
},
{
path: '/about',
name: 'about',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/AboutView.vue')
}
]
component: () => import('../views/AboutView.vue'),
},
],
})

export default router
4 changes: 2 additions & 2 deletions devtools-router-pinia/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export default defineConfig({
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
},
},
})
2 changes: 1 addition & 1 deletion eslint-with-prettier/.prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"$schema": "https://json.schemastore.org/prettierrc",
"semi": false,
"singleQuote": true,
"arrowParens": "avoid"
"printWidth": 100
}
2 changes: 1 addition & 1 deletion eslint-with-prettier/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
Expand Down
8 changes: 4 additions & 4 deletions eslint-with-prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"vue": "^3.5.12"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@eslint/js": "^9.14.0",
"@vitejs/plugin-vue": "^5.1.4",
"@vue/eslint-config-prettier": "^10.0.0",
"eslint": "^9.13.0",
"eslint-plugin-vue": "^9.29.0",
"@vue/eslint-config-prettier": "^10.1.0",
"eslint": "^9.14.0",
"eslint-plugin-vue": "^9.30.0",
"prettier": "^3.3.3",
"vite": "^5.4.10"
}
Expand Down
4 changes: 2 additions & 2 deletions eslint-with-prettier/src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
defineProps({
msg: {
type: String,
required: true
}
required: true,
},
})
</script>

Expand Down
10 changes: 6 additions & 4 deletions eslint-with-prettier/src/components/TheWelcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ import SupportIcon from './icons/IconSupport.vue'
This project is served and bundled with
<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://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
+
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
you need to test your components and web pages, check out
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a> and
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
and
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
>Cypress Component Testing</a
>.
Expand Down Expand Up @@ -69,8 +71,8 @@ import SupportIcon from './icons/IconSupport.vue'
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
>StackOverflow</a
>. You should also subscribe to
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a> and follow
the official
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
and follow the official
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
twitter account for latest news in the Vue world.
</WelcomeItem>
Expand Down
4 changes: 2 additions & 2 deletions eslint-with-prettier/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export default defineConfig({
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
},
},
})
2 changes: 1 addition & 1 deletion eslint/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
Expand Down
6 changes: 3 additions & 3 deletions eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"vue": "^3.5.12"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@eslint/js": "^9.14.0",
"@vitejs/plugin-vue": "^5.1.4",
"eslint": "^9.13.0",
"eslint-plugin-vue": "^9.29.0",
"eslint": "^9.14.0",
"eslint-plugin-vue": "^9.30.0",
"vite": "^5.4.10"
}
}
4 changes: 2 additions & 2 deletions eslint/src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
defineProps({
msg: {
type: String,
required: true
}
required: true,
},
})
</script>

Expand Down
10 changes: 6 additions & 4 deletions eslint/src/components/TheWelcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ import SupportIcon from './icons/IconSupport.vue'
This project is served and bundled with
<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://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
+
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
you need to test your components and web pages, check out
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a> and
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
and
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
>Cypress Component Testing</a
>.
Expand Down Expand Up @@ -69,8 +71,8 @@ import SupportIcon from './icons/IconSupport.vue'
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
>StackOverflow</a
>. You should also subscribe to
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a> and follow
the official
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
and follow the official
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
twitter account for latest news in the Vue world.
</WelcomeItem>
Expand Down
4 changes: 2 additions & 2 deletions eslint/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export default defineConfig({
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
},
},
})
8 changes: 4 additions & 4 deletions jsx-cypress/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { defineConfig } from 'cypress'
export default defineConfig({
e2e: {
specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}',
baseUrl: 'http://localhost:4173'
baseUrl: 'http://localhost:4173',
},
component: {
specPattern: 'src/**/__tests__/*.{cy,spec}.{js,ts,jsx,tsx}',
devServer: {
framework: 'vue',
bundler: 'vite'
}
}
bundler: 'vite',
},
},
})
2 changes: 1 addition & 1 deletion jsx-cypress/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
Expand Down
Loading

0 comments on commit fe12787

Please sign in to comment.