chore: update deps
This commit is contained in:
@@ -68,27 +68,27 @@
|
||||
"vue": "^3.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vueuse/core": "^10.2.1",
|
||||
"@vueuse/core": "^10.4.1",
|
||||
"d3-drag": "^3.0.0",
|
||||
"d3-selection": "^3.0.0",
|
||||
"d3-zoom": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-replace": "^5.0.2",
|
||||
"@rollup/plugin-replace": "^5.0.3",
|
||||
"@types/d3-drag": "^3.0.4",
|
||||
"@types/d3-selection": "^3.0.7",
|
||||
"@types/d3-zoom": "^3.0.5",
|
||||
"@tooling/eslint-config": "workspace:*",
|
||||
"@tooling/tsconfig": "workspace:*",
|
||||
"@vitejs/plugin-vue": "^4.2.3",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"postcss": "^8.4.23",
|
||||
"@vitejs/plugin-vue": "^4.4.0",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"postcss": "^8.4.31",
|
||||
"postcss-cli": "^10.1.0",
|
||||
"postcss-nested": "^6.0.1",
|
||||
"ts-patch": "^2.1.0",
|
||||
"ts-patch": "^3.0.2",
|
||||
"typescript-transform-paths": "^3.4.6",
|
||||
"vite": "^4.4.7",
|
||||
"vue-tsc": "^1.8.6"
|
||||
"vite": "^4.4.11",
|
||||
"vue-tsc": "^1.8.15"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CSSProperties, Component, DefineComponent, SVGAttributes, VNode } from 'vue'
|
||||
import type { CSSProperties, Component, DefineComponent, VNode } from 'vue'
|
||||
import type { NodeProps } from './node'
|
||||
import type { EdgeProps } from './edge'
|
||||
import type { BezierEdge, SimpleBezierEdge, SmoothStepEdge, StepEdge, StraightEdge } from '~/components'
|
||||
@@ -27,7 +27,7 @@ export interface DefaultEdgeTypes {
|
||||
export type DefaultNodeTypes = { [key in 'input' | 'output' | 'default']: NodeComponent }
|
||||
|
||||
/** these props are passed to edge texts */
|
||||
export interface EdgeTextProps extends SVGAttributes {
|
||||
export interface EdgeTextProps {
|
||||
x: number
|
||||
y: number
|
||||
label?: string | VNode | Object
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
"types": [
|
||||
"vite/client",
|
||||
"vue/macros",
|
||||
"unplugin-vue-macros/macros-global"
|
||||
],
|
||||
"paths": {
|
||||
"~/*": [
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { resolve } from 'node:path'
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import VueMacros from 'unplugin-vue-macros/vite'
|
||||
import replace from '@rollup/plugin-replace'
|
||||
import pkg from './package.json'
|
||||
|
||||
@@ -37,24 +36,13 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
VueMacros({
|
||||
hoistStatic: false,
|
||||
setupBlock: false,
|
||||
shortEmits: false,
|
||||
definePropsRefs: false,
|
||||
setupComponent: false,
|
||||
setupSFC: false,
|
||||
exportProps: false,
|
||||
plugins: {
|
||||
vue: vue({
|
||||
reactivityTransform: true,
|
||||
}),
|
||||
},
|
||||
}) as any,
|
||||
vue({
|
||||
reactivityTransform: true,
|
||||
}),
|
||||
replace({
|
||||
__ENV__: 'production',
|
||||
__VUE_FLOW_VERSION__: JSON.stringify(pkg.version),
|
||||
preventAssignment: true,
|
||||
}),
|
||||
}) as any,
|
||||
],
|
||||
})
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { resolve } from 'node:path'
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import VueMacros from 'unplugin-vue-macros/vite'
|
||||
import replace from '@rollup/plugin-replace'
|
||||
import pkg from './package.json'
|
||||
|
||||
@@ -37,24 +36,13 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
VueMacros({
|
||||
hoistStatic: false,
|
||||
setupBlock: false,
|
||||
shortEmits: false,
|
||||
definePropsRefs: false,
|
||||
setupComponent: false,
|
||||
setupSFC: false,
|
||||
exportProps: false,
|
||||
plugins: {
|
||||
vue: vue({
|
||||
reactivityTransform: true,
|
||||
}),
|
||||
},
|
||||
}) as any,
|
||||
vue({
|
||||
reactivityTransform: true,
|
||||
}),
|
||||
replace({
|
||||
__ENV__: 'process.env.NODE_ENV',
|
||||
__VUE_FLOW_VERSION__: JSON.stringify(pkg.version),
|
||||
preventAssignment: true,
|
||||
}),
|
||||
}) as any,
|
||||
],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user