chore(additional-components): upgrade to vite 3
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
"author": "Burak Cakmakoglu<78412429+bcakmakoglu@users.noreply.github.com>",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/bcakmakoglu/vue-flow/packages/background"
|
||||
"url": "git+https://github.com/bcakmakoglu/vue-flow/packages/additional-components"
|
||||
},
|
||||
"homepage": "https://github.com/bcakmakoglu/vue-flow#readme",
|
||||
"bugs": {
|
||||
"url": "https://github.com/bcakmakoglu/vue-flow/issues"
|
||||
},
|
||||
"main": "./dist/vue-flow-additional-components.cjs.js",
|
||||
"module": "./dist/vue-flow-additional-components.es.js",
|
||||
"main": "./dist/vue-flow-additional-components.js",
|
||||
"module": "./dist/vue-flow-additional-components.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"unpkg": "./dist/vue-flow-additional-components.iife.js",
|
||||
"jsdelivr": "./dist/vue-flow-additional-components.iife.js",
|
||||
@@ -40,12 +40,12 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue-flow/core": "workspace:*",
|
||||
"@vitejs/plugin-vue": "^2.3.4",
|
||||
"unplugin-auto-import": "^0.11.2",
|
||||
"vite": "^2.9.15",
|
||||
"@vitejs/plugin-vue": "^3.2.0",
|
||||
"unplugin-auto-import": "^0.11.4",
|
||||
"vite": "^3.2.2",
|
||||
"vite-svg-loader": "^3.6.0",
|
||||
"vite-plugin-vue-type-imports": "0.2.0",
|
||||
"vue-tsc": "^0.40.13"
|
||||
"vue-tsc": "^1.0.9"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
|
||||
@@ -43,6 +43,7 @@ declare global {
|
||||
const readonly: typeof import('vue')['readonly']
|
||||
const ref: typeof import('vue')['ref']
|
||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||
const resolveDirective: typeof import('vue')['resolveDirective']
|
||||
const shallowReactive: typeof import('vue')['shallowReactive']
|
||||
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
||||
const shallowRef: typeof import('vue')['shallowRef']
|
||||
|
||||
@@ -63,14 +63,14 @@ export default {
|
||||
<slot name="control-zoom-in">
|
||||
<ControlButton class="vue-flow__controls-zoomin" @click="onZoomInHandler">
|
||||
<slot name="icon-zoom-in">
|
||||
<PlusIcon />
|
||||
<component :is="PlusIcon" />
|
||||
</slot>
|
||||
</ControlButton>
|
||||
</slot>
|
||||
<slot name="control-zoom-out">
|
||||
<ControlButton class="vue-flow__controls-zoomout" @click="onZoomOutHandler">
|
||||
<slot name="icon-zoom-out">
|
||||
<MinusIcon />
|
||||
<component :is="MinusIcon" />
|
||||
</slot>
|
||||
</ControlButton>
|
||||
</slot>
|
||||
@@ -79,7 +79,7 @@ export default {
|
||||
<slot name="control-fit-view">
|
||||
<ControlButton class="vue-flow__controls-fitview" @click="onFitViewHandler">
|
||||
<slot name="icon-fit-view">
|
||||
<FitView />
|
||||
<component :is="FitView" />
|
||||
</slot>
|
||||
</ControlButton>
|
||||
</slot>
|
||||
@@ -88,10 +88,10 @@ export default {
|
||||
<slot name="control-interactive">
|
||||
<ControlButton v-if="showInteractive" class="vue-flow__controls-interactive" @click="onInteractiveChangeHandler">
|
||||
<slot v-if="isInteractive" name="icon-unlock">
|
||||
<Unlock />
|
||||
<component :is="Unlock" />
|
||||
</slot>
|
||||
<slot v-if="!isInteractive" name="icon-lock">
|
||||
<Lock />
|
||||
<component :is="Lock" />
|
||||
</slot>
|
||||
</ControlButton>
|
||||
</slot>
|
||||
|
||||
Generated
+63
-18
@@ -165,16 +165,16 @@ importers:
|
||||
specifiers:
|
||||
'@types/d3-selection': ^3.0.3
|
||||
'@types/d3-zoom': ^3.0.1
|
||||
'@vitejs/plugin-vue': ^2.3.4
|
||||
'@vitejs/plugin-vue': ^3.2.0
|
||||
'@vue-flow/core': workspace:*
|
||||
d3-selection: ^3.0.0
|
||||
d3-zoom: ^3.0.0
|
||||
unplugin-auto-import: ^0.11.2
|
||||
vite: ^2.9.15
|
||||
unplugin-auto-import: ^0.11.4
|
||||
vite: ^3.2.2
|
||||
vite-plugin-vue-type-imports: 0.2.0
|
||||
vite-svg-loader: ^3.6.0
|
||||
vue: ^3.2.37
|
||||
vue-tsc: ^0.40.13
|
||||
vue-tsc: ^1.0.9
|
||||
dependencies:
|
||||
'@types/d3-selection': 3.0.3
|
||||
'@types/d3-zoom': 3.0.1
|
||||
@@ -182,13 +182,13 @@ importers:
|
||||
d3-zoom: 3.0.0
|
||||
vue: 3.2.40
|
||||
devDependencies:
|
||||
'@vitejs/plugin-vue': 2.3.4_vite@2.9.15+vue@3.2.40
|
||||
'@vitejs/plugin-vue': 3.2.0_vite@3.2.2+vue@3.2.40
|
||||
'@vue-flow/core': link:../core
|
||||
unplugin-auto-import: 0.11.2_vite@2.9.15
|
||||
vite: 2.9.15
|
||||
unplugin-auto-import: 0.11.4
|
||||
vite: 3.2.2
|
||||
vite-plugin-vue-type-imports: 0.2.0_2c357eobkqysc4ibwdjj6f3ioy
|
||||
vite-svg-loader: 3.6.0
|
||||
vue-tsc: 0.40.13_typescript@4.8.4
|
||||
vue-tsc: 1.0.9_typescript@4.8.4
|
||||
|
||||
packages/core:
|
||||
specifiers:
|
||||
@@ -1789,6 +1789,20 @@ packages:
|
||||
picomatch: 2.3.1
|
||||
dev: true
|
||||
|
||||
/@rollup/pluginutils/5.0.2:
|
||||
resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
peerDependencies:
|
||||
rollup: ^1.20.0||^2.0.0||^3.0.0
|
||||
peerDependenciesMeta:
|
||||
rollup:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@types/estree': 1.0.0
|
||||
estree-walker: 2.0.2
|
||||
picomatch: 2.3.1
|
||||
dev: true
|
||||
|
||||
/@rollup/pluginutils/5.0.2_rollup@2.79.1:
|
||||
resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
@@ -2475,10 +2489,10 @@ packages:
|
||||
dependencies:
|
||||
'@volar/language-core': 1.0.9
|
||||
'@volar/source-map': 1.0.9
|
||||
'@vue/compiler-dom': 3.2.40
|
||||
'@vue/compiler-sfc': 3.2.40
|
||||
'@vue/compiler-dom': 3.2.41
|
||||
'@vue/compiler-sfc': 3.2.41
|
||||
'@vue/reactivity': 3.2.40
|
||||
'@vue/shared': 3.2.40
|
||||
'@vue/shared': 3.2.41
|
||||
minimatch: 5.1.0
|
||||
vue-template-compiler: 2.7.13
|
||||
dev: true
|
||||
@@ -6441,12 +6455,6 @@ packages:
|
||||
has: 1.0.3
|
||||
dev: true
|
||||
|
||||
/is-core-module/2.9.0:
|
||||
resolution: {integrity: sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==}
|
||||
dependencies:
|
||||
has: 1.0.3
|
||||
dev: true
|
||||
|
||||
/is-date-object/1.0.5:
|
||||
resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==}
|
||||
engines: {node: '>= 0.4'}
|
||||
@@ -8867,7 +8875,7 @@ packages:
|
||||
resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
is-core-module: 2.9.0
|
||||
is-core-module: 2.10.0
|
||||
path-parse: 1.0.7
|
||||
supports-preserve-symlinks-flag: 1.0.0
|
||||
dev: true
|
||||
@@ -10015,6 +10023,24 @@ packages:
|
||||
- webpack
|
||||
dev: true
|
||||
|
||||
/unimport/0.7.0:
|
||||
resolution: {integrity: sha512-Cr0whz4toYVid3JHlni/uThwavDVVCk6Zw0Gxnol1c7DprTA+Isr4T+asO6rDGkhkgV7r3vSdSs5Ym8F15JA+w==}
|
||||
dependencies:
|
||||
'@rollup/pluginutils': 5.0.2
|
||||
escape-string-regexp: 5.0.0
|
||||
fast-glob: 3.2.12
|
||||
local-pkg: 0.4.2
|
||||
magic-string: 0.26.7
|
||||
mlly: 0.5.16
|
||||
pathe: 0.3.9
|
||||
pkg-types: 0.3.5
|
||||
scule: 0.3.2
|
||||
strip-literal: 0.4.2
|
||||
unplugin: 0.10.2
|
||||
transitivePeerDependencies:
|
||||
- rollup
|
||||
dev: true
|
||||
|
||||
/unimport/0.7.0_rollup@2.79.1:
|
||||
resolution: {integrity: sha512-Cr0whz4toYVid3JHlni/uThwavDVVCk6Zw0Gxnol1c7DprTA+Isr4T+asO6rDGkhkgV7r3vSdSs5Ym8F15JA+w==}
|
||||
dependencies:
|
||||
@@ -10121,6 +10147,25 @@ packages:
|
||||
- webpack
|
||||
dev: true
|
||||
|
||||
/unplugin-auto-import/0.11.4:
|
||||
resolution: {integrity: sha512-lh/bRDRYwgnb9Cm5ur8TlTMGxA1GRZvgzCvBIf0vyuVRy7ebWcWefFElpUDpr8vLl+ZRGsPVCOGiYJ8TCR625Q==}
|
||||
engines: {node: '>=14'}
|
||||
peerDependencies:
|
||||
'@vueuse/core': '*'
|
||||
peerDependenciesMeta:
|
||||
'@vueuse/core':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@antfu/utils': 0.6.2
|
||||
'@rollup/pluginutils': 5.0.2
|
||||
local-pkg: 0.4.2
|
||||
magic-string: 0.26.7
|
||||
unimport: 0.7.0
|
||||
unplugin: 0.10.2
|
||||
transitivePeerDependencies:
|
||||
- rollup
|
||||
dev: true
|
||||
|
||||
/unplugin-auto-import/0.11.4_6atjafs3v6znsplg3j7hgljsd4:
|
||||
resolution: {integrity: sha512-lh/bRDRYwgnb9Cm5ur8TlTMGxA1GRZvgzCvBIf0vyuVRy7ebWcWefFElpUDpr8vLl+ZRGsPVCOGiYJ8TCR625Q==}
|
||||
engines: {node: '>=14'}
|
||||
|
||||
Reference in New Issue
Block a user