diff --git a/playground/package.json b/playground/package.json index 175acdc39..c89d53db5 100644 --- a/playground/package.json +++ b/playground/package.json @@ -10,7 +10,7 @@ "vue": "workspace:*" }, "devDependencies": { - "@vitejs/plugin-vue": "link:/Users/kevin/Developer/open-source/vite-plugin-vue/packages/plugin-vue", + "@vitejs/plugin-vue": "^4.5.0", "vite": "^5.0.2", "vite-plugin-inspect": "^0.7.42" } diff --git a/playground/src/main.ts b/playground/src/main.ts index 3fa636f9d..c458e0959 100644 --- a/playground/src/main.ts +++ b/playground/src/main.ts @@ -4,5 +4,6 @@ import App from './App.vue' render(() => { // @ts-expect-error const returned = App.setup({}, { expose() {} }) + // @ts-expect-error return App.render(returned) }, '#app') diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ce5eba8bc..fcdc682d9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -454,8 +454,8 @@ importers: version: link:../packages/vue devDependencies: '@vitejs/plugin-vue': - specifier: link:/Users/kevin/Developer/open-source/vite-plugin-vue/packages/plugin-vue - version: link:../../../vite-plugin-vue/packages/plugin-vue + specifier: ^4.5.0 + version: 4.5.0(vite@5.0.2)(vue@packages+vue) vite: specifier: ^5.0.2 version: 5.0.2(@types/node@20.9.4)(terser@5.22.0) @@ -1742,6 +1742,17 @@ packages: vue: link:packages/vue dev: true + /@vitejs/plugin-vue@4.5.0(vite@5.0.2)(vue@packages+vue): + resolution: {integrity: sha512-a2WSpP8X8HTEww/U00bU4mX1QpLINNuz/2KMNpLsdu3BzOpak3AGI1CJYBTXcc4SPhaD0eNRUp7IyQK405L5dQ==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + vite: ^4.0.0 || ^5.0.0 + vue: ^3.2.25 + dependencies: + vite: 5.0.2(@types/node@20.9.4)(terser@5.22.0) + vue: link:packages/vue + dev: true + /@vitest/coverage-istanbul@0.34.6(vitest@0.34.6): resolution: {integrity: sha512-5KaBNZPDSk2ybavC3rZ1pWGniw7sJ5usuwVGRUYzJwiBfWvnLpuUer7bjw7qUCRGdKJXrBgb/Dsgif9rkwMX/A==} peerDependencies: