diff --git a/package.json b/package.json index 401a61c4..f32da828 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "d3-zoom": "^3.0.0", "fast-deep-equal": "^3.1.3", "pinia": "^2.0.0-beta.3", - "vue-demi": "latest" + "vue": "^3.0.5" }, "devDependencies": { "@babel/core": "^7.14.6", @@ -74,18 +74,8 @@ "rollup-plugin-typescript2": "^0.30.0", "typescript": "^4.3.5", "vite": "^2.3.8", - "vue": "^3.0.5", "vue-tsc": "^0.0.24" }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.13", - "vue": "^2.6.11 || >=3.0.5" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } - }, "publishConfig": { "access": "public", "registry": "http://registry.npmjs.org/" diff --git a/rollup.config.js b/rollup.config.js index 7a5e7fa0..524a1428 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -14,7 +14,7 @@ const processEnv = isProd || isTesting ? 'production' : 'development'; export const baseConfig = ({ injectCSS = true } = {}) => ({ input: 'src/index.ts', - external: ['vue-demi', (id) => id.includes('@babel/runtime')], + external: ['vue', (id) => id.includes('@babel/runtime')], onwarn(warning, rollupWarn) { if (warning.code !== 'CIRCULAR_DEPENDENCY') { rollupWarn(warning); diff --git a/src/App.vue b/src/App.vue index 9392ce97..06efe323 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,7 +6,7 @@