chore: update deps

This commit is contained in:
braks
2023-10-06 17:20:51 +02:00
committed by Braks
parent 8fa3e345b6
commit e51c7e9c17
21 changed files with 3170 additions and 3535 deletions

View File

@@ -13,20 +13,20 @@
"@vue-flow/minimap": "workspace:*",
"@vue-flow/node-resizer": "workspace:*",
"@vue-flow/node-toolbar": "workspace:*",
"pinia": "^2.0.35",
"pinia": "^2.1.6",
"vueflow": "workspace:*"
},
"devDependencies": {
"@tooling/eslint-config": "workspace:*",
"@tooling/tsconfig": "workspace:*",
"@types/dagre": "^0.7.48",
"@vitejs/plugin-vue": "^4.0.0",
"@types/dagre": "^0.7.50",
"@vitejs/plugin-vue": "^4.4.0",
"dagre": "^0.8.5",
"unplugin-auto-import": "^0.14.4",
"vite": "^4.3.5",
"vite-svg-loader": "^3.6.0",
"vue": "^3.2.45",
"vue-router": "^4.1.6",
"vue-tsc": "^1.6.5"
"unplugin-auto-import": "^0.16.6",
"vite": "^4.4.11",
"vite-svg-loader": "^4.0.0",
"vue": "^3.3.4",
"vue-router": "^4.2.5",
"vue-tsc": "^1.8.15"
}
}

View File

@@ -1,7 +1,6 @@
import { resolve } from 'node:path'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueTypes from 'vite-plugin-vue-type-imports'
import AutoImport from 'unplugin-auto-import/vite'
import svgLoader from 'vite-svg-loader'
@@ -13,7 +12,6 @@ export default defineConfig({
vue({
reactivityTransform: true,
}),
vueTypes(),
svgLoader(),
AutoImport({
imports: ['vue', '@vueuse/core', 'vue/macros'],

View File

@@ -20,8 +20,8 @@
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.1",
"@changesets/cli": "^2.26.2",
"shx": "^0.3.4",
"turbo": "^1.9.6"
"turbo": "^1.10.15"
}
}

View File

@@ -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",

View File

@@ -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",

View File

@@ -4,8 +4,7 @@
"baseUrl": ".",
"declarationDir": "./dist",
"types": [
"vite/client",
"vue/macros"
"vite/client"
]
},
"include": [

View File

@@ -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",

View File

@@ -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

View File

@@ -7,7 +7,6 @@
"types": [
"vite/client",
"vue/macros",
"unplugin-vue-macros/macros-global"
],
"paths": {
"~/*": [

View File

@@ -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,
],
})

View File

@@ -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,
],
})

View File

@@ -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",

View File

@@ -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",

View File

@@ -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],
})

View File

@@ -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",

View File

@@ -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",

View File

@@ -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",

6542
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,7 +9,7 @@
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-config-turbo": "^1.9.6",
"eslint-config-turbo": "^1.10.15",
"prettier": "^2.8.8"
}
}

View File

@@ -8,9 +8,8 @@
"devDependencies": {
"@tooling/eslint-config": "workspace:*",
"@tooling/tsconfig": "workspace:*",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue": "^4.4.0",
"defu": "^6.1.2",
"unplugin-vue-macros": "1.8.2",
"vite": "^4.3.7"
"vite": "^4.4.11"
}
}

View File

@@ -1,6 +1,5 @@
const { defu } = require('defu')
const vue = require('@vitejs/plugin-vue')
const VueMacros = require('unplugin-vue-macros/vite')
function withConfig(viteConfig) {
return defu(viteConfig, {
@@ -26,20 +25,8 @@ function withConfig(viteConfig) {
},
},
plugins: [
VueMacros({
hoistStatic: false,
setupBlock: false,
shortEmits: false,
defineModel: false,
definePropsRefs: false,
setupComponent: false,
setupSFC: false,
exportProps: false,
plugins: {
vue: vue({
reactivityTransform: true,
}),
},
vue({
reactivityTransform: true,
}),
],
})