Skip to content

Commit

Permalink
chore: rename test packages (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Dec 4, 2022
1 parent 1c5e61c commit d32cf69
Show file tree
Hide file tree
Showing 16 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "vite-plugin-vue-monorepo",
"name": "@vitejs/vite-plugin-vue-monorepo",
"private": true,
"engines": {
"node": "^14.18.0 || >=16.0.0"
Expand Down
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "vite-playground",
"name": "@vitejs/vite-playground",
"private": true,
"version": "1.0.0",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion playground/ssr-vue/dep-import-type/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "dep-import-type",
"name": "@vitejs/test-dep-import-type",
"private": true,
"version": "0.0.0",
"main": "index.js"
Expand Down
2 changes: 1 addition & 1 deletion playground/ssr-vue/example-external-component/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "example-external-component",
"name": "@vitejs/test-example-external-component",
"private": true,
"version": "0.0.0",
"type": "module",
Expand Down
6 changes: 3 additions & 3 deletions playground/ssr-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-ssr-vue",
"name": "@vitejs/test-ssr-vue",
"private": true,
"version": "0.0.0",
"type": "module",
Expand All @@ -15,7 +15,7 @@
"debug": "node --inspect-brk server"
},
"dependencies": {
"example-external-component": "file:example-external-component",
"@vitejs/test-example-external-component": "file:example-external-component",
"pinia": "^2.0.27",
"vue": "^3.2.45",
"vue-router": "^4.1.6"
Expand All @@ -24,7 +24,7 @@
"@vitejs/plugin-vue": "workspace:*",
"@vitejs/plugin-vue-jsx": "workspace:*",
"compression": "^1.7.4",
"dep-import-type": "link:./dep-import-type",
"@vitejs/test-dep-import-type": "link:./dep-import-type",
"express": "^4.18.2",
"serve-static": "^1.15.0"
}
Expand Down
2 changes: 1 addition & 1 deletion playground/ssr-vue/src/components/ImportType.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
</template>

<script setup lang="ts">
import { Foo } from 'dep-import-type/deep'
import { Foo } from '@vitejs/test-dep-import-type/deep'
const msg: Foo = {}
</script>
2 changes: 1 addition & 1 deletion playground/ssr-vue/src/pages/External.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</template>

<script>
import ExampleExternalComponent from 'example-external-component'
import ExampleExternalComponent from '@vitejs/test-example-external-component'
export default {
components: {
Expand Down
4 changes: 2 additions & 2 deletions playground/ssr-vue/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ export default defineConfig(({ command, ssrBuild }) => ({
ssr: {
noExternal: [
// this package has uncompiled .vue files
'example-external-component',
'@vitejs/test-example-external-component',
],
},
optimizeDeps: {
exclude: ['example-external-component'],
exclude: ['@vitejs/test-example-external-component'],
},
}))
2 changes: 1 addition & 1 deletion playground/ssr-vue/vite.config.noexternal.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ export default Object.assign(config, {
],
},
optimizeDeps: {
exclude: ['example-external-component'],
exclude: ['@vitejs/test-example-external-component'],
},
})
2 changes: 1 addition & 1 deletion playground/vue-jsx/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-vue-jsx",
"name": "@vitejs/test-vue-jsx",
"private": true,
"version": "0.0.0",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion playground/vue-legacy/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-vue-legacy",
"name": "@vitejs/test-vue-legacy",
"private": true,
"version": "0.0.0",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion playground/vue-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-vue-lib",
"name": "@vitejs/test-vue-lib",
"private": true,
"version": "0.0.0",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion playground/vue-server-origin/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-vue-server-origin",
"name": "@vitejs/test-vue-server-origin",
"private": true,
"version": "0.0.0",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion playground/vue-sourcemap/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-vue-sourcemap",
"name": "@vitejs/test-vue-sourcemap",
"private": true,
"version": "0.0.0",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion playground/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test-vue",
"name": "@vitejs/test-vue",
"private": true,
"version": "0.0.0",
"scripts": {
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d32cf69

Please sign in to comment.