From 5a86c7cf1d2ccc9dd130ae3c17fb3b84ce339515 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Fri, 5 May 2023 13:56:16 +0200 Subject: [PATCH] chore: update deps Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> --- packages/core/package.json | 16 +- packages/core/src/auto-imports.d.ts | 24 +- .../core/src/components/Edges/BaseEdge.ts | 1 - .../core/src/components/Edges/EdgeText.vue | 4 +- .../core/src/components/Handle/Handle.vue | 1 - .../core/src/components/Nodes/NodeWrapper.ts | 1 - packages/core/src/composables/useDrag.ts | 6 +- packages/core/src/composables/useHandle.ts | 12 +- packages/core/src/composables/useKeyPress.ts | 5 +- packages/core/src/utils/changes.ts | 1 - packages/core/src/utils/drag.ts | 1 - packages/core/src/utils/edge.ts | 1 - packages/core/src/utils/general.ts | 16 + packages/core/src/utils/graph.ts | 1 - packages/core/src/utils/watch.ts | 1 - pnpm-lock.yaml | 1519 +++++++++-------- 16 files changed, 878 insertions(+), 732 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 2fba3d76..42712451 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -68,7 +68,7 @@ "vue": "^3.2.25" }, "dependencies": { - "@vueuse/core": "^9.13.0", + "@vueuse/core": "^10.1.2", "d3-drag": "^3.0.0", "d3-selection": "^3.0.0", "d3-zoom": "^3.0.0" @@ -78,18 +78,18 @@ "@types/d3": "^7.4.0", "@tooling/eslint-config": "workspace:*", "@tooling/tsconfig": "workspace:*", - "@vitejs/plugin-vue": "^4.0.0", - "autoprefixer": "^10.4.13", - "postcss": "^8.4.21", + "@vitejs/plugin-vue": "^4.2.1", + "autoprefixer": "^10.4.14", + "postcss": "^8.4.23", "postcss-cli": "^10.1.0", "postcss-nested": "^6.0.1", "ts-patch": "^2.1.0", "typescript-transform-paths": "^3.4.6", - "unplugin-auto-import": "^0.12.2", - "unplugin-vue-macros": "1.8.2", - "vite": "^4.1.4", + "unplugin-auto-import": "0.12.2", + "unplugin-vue-macros": "^2.1.3", + "vite": "^4.3.5", "vue": "^3.2.25", - "vue-tsc": "^1.2.0" + "vue-tsc": "^1.6.4" }, "publishConfig": { "access": "public", diff --git a/packages/core/src/auto-imports.d.ts b/packages/core/src/auto-imports.d.ts index 372bd231..0e720070 100644 --- a/packages/core/src/auto-imports.d.ts +++ b/packages/core/src/auto-imports.d.ts @@ -1,4 +1,7 @@ -// Generated by 'unplugin-auto-import' +/* eslint-disable */ +/* prettier-ignore */ +// @ts-nocheck +// Generated by unplugin-auto-import export {} declare global { const $$: typeof import('vue/macros')['$$'] @@ -52,8 +55,10 @@ declare global { const createInjectionState: typeof import('@vueuse/core')['createInjectionState'] const createReactiveFn: typeof import('@vueuse/core')['createReactiveFn'] const createRemoveChange: typeof import('./utils/changes')['createRemoveChange'] + const createReusableTemplate: typeof import('@vueuse/core')['createReusableTemplate'] const createSelectionChange: typeof import('./utils/changes')['createSelectionChange'] const createSharedComposable: typeof import('@vueuse/core')['createSharedComposable'] + const createTemplatePromise: typeof import('@vueuse/core')['createTemplatePromise'] const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn'] const customRef: typeof import('vue')['customRef'] const debouncedRef: typeof import('@vueuse/core')['debouncedRef'] @@ -108,21 +113,25 @@ declare global { const hasSelector: typeof import('./utils/drag')['hasSelector'] const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch'] const inject: typeof import('vue')['inject'] + const isBoolean: typeof import('./utils/general')['isBoolean'] const isDef: typeof import('./utils/store')['isDef'] const isDefined: typeof import('@vueuse/core')['isDefined'] const isEdge: typeof import('./utils/graph')['isEdge'] const isEdgeVisible: typeof import('./utils/edge')['isEdgeVisible'] + const isFunction: typeof import('./utils/general')['isFunction'] const isGraphEdge: typeof import('./utils/graph')['isGraphEdge'] const isGraphNode: typeof import('./utils/graph')['isGraphNode'] const isInputDOMNode: typeof import('./composables/useKeyPress')['isInputDOMNode'] const isMouseEvent: typeof import('./utils/general')['isMouseEvent'] const isNode: typeof import('./utils/graph')['isNode'] + const isNumber: typeof import('./utils/general')['isNumber'] const isParentSelected: typeof import('./utils/graph')['isParentSelected'] const isProxy: typeof import('vue')['isProxy'] const isReactive: typeof import('vue')['isReactive'] const isReadonly: typeof import('vue')['isReadonly'] const isRect: typeof import('./utils/graph')['isRect'] const isRef: typeof import('vue')['isRef'] + const isString: typeof import('./utils/general')['isString'] const isValidHandle: typeof import('./utils/handle')['isValidHandle'] const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable'] const markRaw: typeof import('vue')['markRaw'] @@ -167,7 +176,6 @@ declare global { const rendererPointToPoint: typeof import('./utils/graph')['rendererPointToPoint'] const resetRecentHandle: typeof import('./utils/handle')['resetRecentHandle'] const resolveComponent: typeof import('vue')['resolveComponent'] - const resolveDirective: typeof import('vue')['resolveDirective'] const resolveRef: typeof import('@vueuse/core')['resolveRef'] const resolveUnref: typeof import('@vueuse/core')['resolveUnref'] const shallowReactive: typeof import('vue')['shallowReactive'] @@ -195,11 +203,14 @@ declare global { const updateEdgeAction: typeof import('./utils/store')['updateEdgeAction'] const useActions: typeof import('./store/actions')['useActions'] const useActiveElement: typeof import('@vueuse/core')['useActiveElement'] + const useAnimate: typeof import('@vueuse/core')['useAnimate'] + const useArrayDifference: typeof import('@vueuse/core')['useArrayDifference'] const useArrayEvery: typeof import('@vueuse/core')['useArrayEvery'] const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter'] const useArrayFind: typeof import('@vueuse/core')['useArrayFind'] const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex'] const useArrayFindLast: typeof import('@vueuse/core')['useArrayFindLast'] + const useArrayIncludes: typeof import('@vueuse/core')['useArrayIncludes'] const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin'] const useArrayMap: typeof import('@vueuse/core')['useArrayMap'] const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce'] @@ -295,6 +306,8 @@ declare global { const useOnline: typeof import('@vueuse/core')['useOnline'] const usePageLeave: typeof import('@vueuse/core')['usePageLeave'] const useParallax: typeof import('@vueuse/core')['useParallax'] + const useParentElement: typeof import('@vueuse/core')['useParentElement'] + const usePerformanceObserver: typeof import('@vueuse/core')['usePerformanceObserver'] const usePermission: typeof import('@vueuse/core')['usePermission'] const usePointer: typeof import('@vueuse/core')['usePointer'] const usePointerLock: typeof import('@vueuse/core')['usePointerLock'] @@ -368,8 +381,10 @@ declare global { const watchArray: typeof import('@vueuse/core')['watchArray'] const watchAtMost: typeof import('@vueuse/core')['watchAtMost'] const watchDebounced: typeof import('@vueuse/core')['watchDebounced'] + const watchDeep: typeof import('@vueuse/core')['watchDeep'] const watchEffect: typeof import('vue')['watchEffect'] const watchIgnorable: typeof import('@vueuse/core')['watchIgnorable'] + const watchImmediate: typeof import('@vueuse/core')['watchImmediate'] const watchOnce: typeof import('@vueuse/core')['watchOnce'] const watchPausable: typeof import('@vueuse/core')['watchPausable'] const watchPostEffect: typeof import('vue')['watchPostEffect'] @@ -379,3 +394,8 @@ declare global { const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter'] const whenever: typeof import('@vueuse/core')['whenever'] } +// for type re-export +declare global { + // @ts-ignore + export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue' +} diff --git a/packages/core/src/components/Edges/BaseEdge.ts b/packages/core/src/components/Edges/BaseEdge.ts index 21c3eedb..792e2838 100644 --- a/packages/core/src/components/Edges/BaseEdge.ts +++ b/packages/core/src/components/Edges/BaseEdge.ts @@ -1,4 +1,3 @@ -import { isNumber } from '@vueuse/core' import type { Component, FunctionalComponent } from 'vue' import EdgeText from './EdgeText.vue' import type { BaseEdgeProps } from '~/types' diff --git a/packages/core/src/components/Edges/EdgeText.vue b/packages/core/src/components/Edges/EdgeText.vue index b55da221..112994f8 100644 --- a/packages/core/src/components/Edges/EdgeText.vue +++ b/packages/core/src/components/Edges/EdgeText.vue @@ -1,7 +1,7 @@