chore: update deps
This commit is contained in:
@@ -55,16 +55,16 @@
|
||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||
"test": "exit 0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@vue-flow/core": "^1.12.2"
|
||||
"peerDependencies": {
|
||||
"@vue-flow/core": "^1.23.0",
|
||||
"vue": "^3.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tooling/eslint-config": "workspace:*",
|
||||
"@tooling/tsconfig": "workspace:*",
|
||||
"@tooling/vite-config": "workspace:*",
|
||||
"@vue-flow/core": "workspace:*",
|
||||
"vue": "^3.2.25",
|
||||
"vue-tsc": "^1.6.5"
|
||||
"vue-tsc": "^1.8.15"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
|
||||
@@ -59,7 +59,8 @@
|
||||
"test": "exit 0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@vue-flow/core": "^1.12.2"
|
||||
"@vue-flow/core": "^1.23.0",
|
||||
"vue": "^3.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tooling/eslint-config": "workspace:*",
|
||||
@@ -67,8 +68,7 @@
|
||||
"@tooling/vite-config": "workspace:*",
|
||||
"@vue-flow/core": "workspace:*",
|
||||
"vite-svg-loader": "^4.0.0",
|
||||
"vue": "^3.2.25",
|
||||
"vue-tsc": "^1.6.5"
|
||||
"vue-tsc": "^1.8.15"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
"baseUrl": ".",
|
||||
"declarationDir": "./dist",
|
||||
"types": [
|
||||
"vite/client",
|
||||
"vue/macros"
|
||||
"vite/client"
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
|
||||
@@ -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,
|
||||
],
|
||||
})
|
||||
|
||||
@@ -57,7 +57,8 @@
|
||||
"test": "exit 0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@vue-flow/core": "^1.12.2"
|
||||
"@vue-flow/core": "^1.23.0",
|
||||
"vue": "^3.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"d3-selection": "^3.0.0",
|
||||
@@ -70,8 +71,7 @@
|
||||
"@types/d3-selection": "^3.0.7",
|
||||
"@types/d3-zoom": "^3.0.5",
|
||||
"@vue-flow/core": "workspace:*",
|
||||
"vue": "^3.2.25",
|
||||
"vue-tsc": "^1.6.5"
|
||||
"vue-tsc": "^1.8.15"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
|
||||
@@ -59,8 +59,8 @@
|
||||
"test": "exit 0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@vue-flow/core": "^1.12.2",
|
||||
"vue": "^3.2.37"
|
||||
"@vue-flow/core": "^1.23.0",
|
||||
"vue": "^3.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"d3-drag": "^3.0.0",
|
||||
@@ -73,9 +73,7 @@
|
||||
"@types/d3-drag": "^3.0.4",
|
||||
"@types/d3-selection": "^3.0.7",
|
||||
"@vue-flow/core": "workspace:*",
|
||||
"vite-plugin-vue-type-imports": "^0.2.4",
|
||||
"vue": "^3.2.25",
|
||||
"vue-tsc": "^1.6.5"
|
||||
"vue-tsc": "^1.8.15"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { resolve } from 'node:path'
|
||||
import { withConfig } from '@tooling/vite-config'
|
||||
import vueTypes from 'vite-plugin-vue-type-imports'
|
||||
|
||||
export default withConfig({
|
||||
build: {
|
||||
@@ -11,5 +10,4 @@ export default withConfig({
|
||||
name: 'VueFlowNodeResizer',
|
||||
},
|
||||
},
|
||||
plugins: [vueTypes() as any],
|
||||
})
|
||||
|
||||
@@ -40,15 +40,15 @@
|
||||
"test": "exit 0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@vue-flow/core": "^1.12.2"
|
||||
"@vue-flow/core": "^1.23.0",
|
||||
"vue": "^3.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tooling/eslint-config": "workspace:*",
|
||||
"@tooling/tsconfig": "workspace:*",
|
||||
"@tooling/vite-config": "workspace:*",
|
||||
"@vue-flow/core": "workspace:*",
|
||||
"vue": "^3.2.25",
|
||||
"vue-tsc": "^1.6.5"
|
||||
"vue-tsc": "^1.8.15"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
|
||||
@@ -56,7 +56,8 @@
|
||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@vue-flow/core": "^1.12.2"
|
||||
"@vue-flow/core": "^1.23.0",
|
||||
"vue": "^3.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"pathfinding": "^0.4.18",
|
||||
@@ -68,8 +69,7 @@
|
||||
"@tooling/vite-config": "workspace:*",
|
||||
"@types/pathfinding": "^0.0.6",
|
||||
"@vue-flow/core": "workspace:*",
|
||||
"vue": "^3.2.25",
|
||||
"vue-tsc": "^1.6.5"
|
||||
"vue-tsc": "^1.8.15"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
"*.css"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"vue": "^3.2.25"
|
||||
"vue": "^3.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vue-flow/background": "workspace:*",
|
||||
@@ -62,11 +62,10 @@
|
||||
"@tooling/eslint-config": "workspace:*",
|
||||
"@tooling/tsconfig": "workspace:*",
|
||||
"@tooling/vite-config": "workspace:*",
|
||||
"autoprefixer": "^10.4.13",
|
||||
"postcss": "^8.4.21",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"postcss": "^8.4.31",
|
||||
"postcss-cli": "^10.1.0",
|
||||
"postcss-nested": "^6.0.1",
|
||||
"vue": "^3.2.25"
|
||||
"postcss-nested": "^6.0.1"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
|
||||
Reference in New Issue
Block a user