chore: update deps

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-01-17 22:13:12 +01:00
committed by Braks
parent b22327951b
commit 64823b10a1
13 changed files with 850 additions and 562 deletions
+10 -10
View File
@@ -39,26 +39,26 @@
"vue": "^3.2.25"
},
"dependencies": {
"@vueuse/core": "^9.6.0",
"@vueuse/core": "^9.11.0",
"d3-drag": "^3.0.0",
"d3-selection": "^3.0.0",
"d3-zoom": "^3.0.0"
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@types/d3": "^7.4.0",
"@vitejs/plugin-vue": "^3.2.0",
"@vitejs/plugin-vue": "^4.0.0",
"autoprefixer": "^10.4.13",
"postcss": "^8.4.19",
"postcss": "^8.4.21",
"postcss-cli": "^10.1.0",
"postcss-nested": "^6.0.0",
"ts-patch": "^2.0.2",
"typescript-transform-paths": "^3.4.4",
"unplugin-auto-import": "^0.12.0",
"unplugin-vue-macros": "^1.0.3",
"vite": "^3.2.5",
"ts-patch": "^2.1.0",
"typescript-transform-paths": "^3.4.6",
"unplugin-auto-import": "^0.12.1",
"unplugin-vue-macros": "^1.4.1",
"vite": "^4.0.4",
"vite-plugin-vue-type-imports": "0.2.0",
"vue-tsc": "^1.0.11"
"vue-tsc": "^1.0.24"
},
"publishConfig": {
"access": "public",
+15 -19
View File
@@ -32,26 +32,22 @@ const patchedTypeImports = `import type {
VueFlowStore,
} from '../../types'`
const unpatchedSlots = `(new () => {
$slots: Record<string, {}> &
Record<string, {}> & {
'connection-line': (_: {}) => any
'zoom-pane': (_: {}) => any
'default': (_: {}) => any
}
})`
const unpatchedSlots = `Record<string, (_: {}) => any> &
Record<string, (_: {}) => any> & {
'connection-line': (_: {}) => any
'zoom-pane': (_: {}) => any
'default': (_: {}) => any
}`
const patchedSlots = `(new () => {
$slots: Record<string, any> & {
'connection-line': (connectionLineProps: ConnectionLineProps) => any
'zoom-pane': () => any
'default': () => any
} & {
[key: \`node-\${string}\`]: (nodeProps: NodeProps) => any
} & {
[key: \`edge-\${string}\`]: (edgeProps: EdgeProps) => any
}
})`
const patchedSlots = `Record<string, (_: any) => any> & {
'connection-line': (connectionLineProps: ConnectionLineProps) => any
'zoom-pane': () => any
'default': () => any
} & {
[key: \`node-\${string}\`]: (nodeProps: NodeProps) => any
} & {
[key: \`edge-\${string}\`]: (edgeProps: EdgeProps) => any
}`
const patchSlots = async () => {
const fileContents = await content(filePath)
+2
View File
@@ -190,6 +190,7 @@ declare global {
const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
const useArraySome: typeof import('@vueuse/core')['useArraySome']
const useArrayUnique: typeof import('@vueuse/core')['useArrayUnique']
const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue']
const useAsyncState: typeof import('@vueuse/core')['useAsyncState']
const useAttrs: typeof import('vue')['useAttrs']
@@ -282,6 +283,7 @@ declare global {
const useParallax: typeof import('@vueuse/core')['useParallax']
const usePermission: typeof import('@vueuse/core')['usePermission']
const usePointer: typeof import('@vueuse/core')['usePointer']
const usePointerLock: typeof import('@vueuse/core')['usePointerLock']
const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe']
const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme']
const usePreferredContrast: typeof import('@vueuse/core')['usePreferredContrast']