chore: update deps

This commit is contained in:
braks
2023-10-30 13:36:07 +01:00
committed by Braks
parent 8fa3e345b6
commit e51c7e9c17
21 changed files with 3170 additions and 3535 deletions
+9 -9
View File
@@ -13,20 +13,20 @@
"@vue-flow/minimap": "workspace:*", "@vue-flow/minimap": "workspace:*",
"@vue-flow/node-resizer": "workspace:*", "@vue-flow/node-resizer": "workspace:*",
"@vue-flow/node-toolbar": "workspace:*", "@vue-flow/node-toolbar": "workspace:*",
"pinia": "^2.0.35", "pinia": "^2.1.6",
"vueflow": "workspace:*" "vueflow": "workspace:*"
}, },
"devDependencies": { "devDependencies": {
"@tooling/eslint-config": "workspace:*", "@tooling/eslint-config": "workspace:*",
"@tooling/tsconfig": "workspace:*", "@tooling/tsconfig": "workspace:*",
"@types/dagre": "^0.7.48", "@types/dagre": "^0.7.50",
"@vitejs/plugin-vue": "^4.0.0", "@vitejs/plugin-vue": "^4.4.0",
"dagre": "^0.8.5", "dagre": "^0.8.5",
"unplugin-auto-import": "^0.14.4", "unplugin-auto-import": "^0.16.6",
"vite": "^4.3.5", "vite": "^4.4.11",
"vite-svg-loader": "^3.6.0", "vite-svg-loader": "^4.0.0",
"vue": "^3.2.45", "vue": "^3.3.4",
"vue-router": "^4.1.6", "vue-router": "^4.2.5",
"vue-tsc": "^1.6.5" "vue-tsc": "^1.8.15"
} }
} }
-2
View File
@@ -1,7 +1,6 @@
import { resolve } from 'node:path' import { resolve } from 'node:path'
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue' import vue from '@vitejs/plugin-vue'
import vueTypes from 'vite-plugin-vue-type-imports'
import AutoImport from 'unplugin-auto-import/vite' import AutoImport from 'unplugin-auto-import/vite'
import svgLoader from 'vite-svg-loader' import svgLoader from 'vite-svg-loader'
@@ -13,7 +12,6 @@ export default defineConfig({
vue({ vue({
reactivityTransform: true, reactivityTransform: true,
}), }),
vueTypes(),
svgLoader(), svgLoader(),
AutoImport({ AutoImport({
imports: ['vue', '@vueuse/core', 'vue/macros'], imports: ['vue', '@vueuse/core', 'vue/macros'],
+2 -2
View File
@@ -20,8 +20,8 @@
}, },
"devDependencies": { "devDependencies": {
"@changesets/changelog-github": "^0.4.8", "@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.1", "@changesets/cli": "^2.26.2",
"shx": "^0.3.4", "shx": "^0.3.4",
"turbo": "^1.9.6" "turbo": "^1.10.15"
} }
} }
+4 -4
View File
@@ -55,16 +55,16 @@
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist", "lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
"test": "exit 0" "test": "exit 0"
}, },
"peerDependencies": { "peerDependencies": {
"@vue-flow/core": "^1.12.2" "@vue-flow/core": "^1.23.0",
"vue": "^3.3.0"
}, },
"devDependencies": { "devDependencies": {
"@tooling/eslint-config": "workspace:*", "@tooling/eslint-config": "workspace:*",
"@tooling/tsconfig": "workspace:*", "@tooling/tsconfig": "workspace:*",
"@tooling/vite-config": "workspace:*", "@tooling/vite-config": "workspace:*",
"@vue-flow/core": "workspace:*", "@vue-flow/core": "workspace:*",
"vue": "^3.2.25", "vue-tsc": "^1.8.15"
"vue-tsc": "^1.6.5"
}, },
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
+3 -3
View File
@@ -59,7 +59,8 @@
"test": "exit 0" "test": "exit 0"
}, },
"peerDependencies": { "peerDependencies": {
"@vue-flow/core": "^1.12.2" "@vue-flow/core": "^1.23.0",
"vue": "^3.3.0"
}, },
"devDependencies": { "devDependencies": {
"@tooling/eslint-config": "workspace:*", "@tooling/eslint-config": "workspace:*",
@@ -67,8 +68,7 @@
"@tooling/vite-config": "workspace:*", "@tooling/vite-config": "workspace:*",
"@vue-flow/core": "workspace:*", "@vue-flow/core": "workspace:*",
"vite-svg-loader": "^4.0.0", "vite-svg-loader": "^4.0.0",
"vue": "^3.2.25", "vue-tsc": "^1.8.15"
"vue-tsc": "^1.6.5"
}, },
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
+1 -2
View File
@@ -4,8 +4,7 @@
"baseUrl": ".", "baseUrl": ".",
"declarationDir": "./dist", "declarationDir": "./dist",
"types": [ "types": [
"vite/client", "vite/client"
"vue/macros"
] ]
}, },
"include": [ "include": [
+8 -8
View File
@@ -68,27 +68,27 @@
"vue": "^3.3.0" "vue": "^3.3.0"
}, },
"dependencies": { "dependencies": {
"@vueuse/core": "^10.2.1", "@vueuse/core": "^10.4.1",
"d3-drag": "^3.0.0", "d3-drag": "^3.0.0",
"d3-selection": "^3.0.0", "d3-selection": "^3.0.0",
"d3-zoom": "^3.0.0" "d3-zoom": "^3.0.0"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-replace": "^5.0.2", "@rollup/plugin-replace": "^5.0.3",
"@types/d3-drag": "^3.0.4", "@types/d3-drag": "^3.0.4",
"@types/d3-selection": "^3.0.7", "@types/d3-selection": "^3.0.7",
"@types/d3-zoom": "^3.0.5", "@types/d3-zoom": "^3.0.5",
"@tooling/eslint-config": "workspace:*", "@tooling/eslint-config": "workspace:*",
"@tooling/tsconfig": "workspace:*", "@tooling/tsconfig": "workspace:*",
"@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue": "^4.4.0",
"autoprefixer": "^10.4.14", "autoprefixer": "^10.4.16",
"postcss": "^8.4.23", "postcss": "^8.4.31",
"postcss-cli": "^10.1.0", "postcss-cli": "^10.1.0",
"postcss-nested": "^6.0.1", "postcss-nested": "^6.0.1",
"ts-patch": "^2.1.0", "ts-patch": "^3.0.2",
"typescript-transform-paths": "^3.4.6", "typescript-transform-paths": "^3.4.6",
"vite": "^4.4.7", "vite": "^4.4.11",
"vue-tsc": "^1.8.6" "vue-tsc": "^1.8.15"
}, },
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
+2 -2
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 { NodeProps } from './node'
import type { EdgeProps } from './edge' import type { EdgeProps } from './edge'
import type { BezierEdge, SimpleBezierEdge, SmoothStepEdge, StepEdge, StraightEdge } from '~/components' 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 } export type DefaultNodeTypes = { [key in 'input' | 'output' | 'default']: NodeComponent }
/** these props are passed to edge texts */ /** these props are passed to edge texts */
export interface EdgeTextProps extends SVGAttributes { export interface EdgeTextProps {
x: number x: number
y: number y: number
label?: string | VNode | Object label?: string | VNode | Object
-1
View File
@@ -7,7 +7,6 @@
"types": [ "types": [
"vite/client", "vite/client",
"vue/macros", "vue/macros",
"unplugin-vue-macros/macros-global"
], ],
"paths": { "paths": {
"~/*": [ "~/*": [
+4 -16
View File
@@ -1,7 +1,6 @@
import { resolve } from 'node:path' import { resolve } from 'node:path'
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue' import vue from '@vitejs/plugin-vue'
import VueMacros from 'unplugin-vue-macros/vite'
import replace from '@rollup/plugin-replace' import replace from '@rollup/plugin-replace'
import pkg from './package.json' import pkg from './package.json'
@@ -37,24 +36,13 @@ export default defineConfig({
}, },
}, },
plugins: [ plugins: [
VueMacros({ vue({
hoistStatic: false, reactivityTransform: true,
setupBlock: false, }),
shortEmits: false,
definePropsRefs: false,
setupComponent: false,
setupSFC: false,
exportProps: false,
plugins: {
vue: vue({
reactivityTransform: true,
}),
},
}) as any,
replace({ replace({
__ENV__: 'production', __ENV__: 'production',
__VUE_FLOW_VERSION__: JSON.stringify(pkg.version), __VUE_FLOW_VERSION__: JSON.stringify(pkg.version),
preventAssignment: true, preventAssignment: true,
}), }) as any,
], ],
}) })
+4 -16
View File
@@ -1,7 +1,6 @@
import { resolve } from 'node:path' import { resolve } from 'node:path'
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue' import vue from '@vitejs/plugin-vue'
import VueMacros from 'unplugin-vue-macros/vite'
import replace from '@rollup/plugin-replace' import replace from '@rollup/plugin-replace'
import pkg from './package.json' import pkg from './package.json'
@@ -37,24 +36,13 @@ export default defineConfig({
}, },
}, },
plugins: [ plugins: [
VueMacros({ vue({
hoistStatic: false, reactivityTransform: true,
setupBlock: false, }),
shortEmits: false,
definePropsRefs: false,
setupComponent: false,
setupSFC: false,
exportProps: false,
plugins: {
vue: vue({
reactivityTransform: true,
}),
},
}) as any,
replace({ replace({
__ENV__: 'process.env.NODE_ENV', __ENV__: 'process.env.NODE_ENV',
__VUE_FLOW_VERSION__: JSON.stringify(pkg.version), __VUE_FLOW_VERSION__: JSON.stringify(pkg.version),
preventAssignment: true, preventAssignment: true,
}), }) as any,
], ],
}) })
+3 -3
View File
@@ -57,7 +57,8 @@
"test": "exit 0" "test": "exit 0"
}, },
"peerDependencies": { "peerDependencies": {
"@vue-flow/core": "^1.12.2" "@vue-flow/core": "^1.23.0",
"vue": "^3.3.0"
}, },
"dependencies": { "dependencies": {
"d3-selection": "^3.0.0", "d3-selection": "^3.0.0",
@@ -70,8 +71,7 @@
"@types/d3-selection": "^3.0.7", "@types/d3-selection": "^3.0.7",
"@types/d3-zoom": "^3.0.5", "@types/d3-zoom": "^3.0.5",
"@vue-flow/core": "workspace:*", "@vue-flow/core": "workspace:*",
"vue": "^3.2.25", "vue-tsc": "^1.8.15"
"vue-tsc": "^1.6.5"
}, },
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
+3 -5
View File
@@ -59,8 +59,8 @@
"test": "exit 0" "test": "exit 0"
}, },
"peerDependencies": { "peerDependencies": {
"@vue-flow/core": "^1.12.2", "@vue-flow/core": "^1.23.0",
"vue": "^3.2.37" "vue": "^3.3.0"
}, },
"dependencies": { "dependencies": {
"d3-drag": "^3.0.0", "d3-drag": "^3.0.0",
@@ -73,9 +73,7 @@
"@types/d3-drag": "^3.0.4", "@types/d3-drag": "^3.0.4",
"@types/d3-selection": "^3.0.7", "@types/d3-selection": "^3.0.7",
"@vue-flow/core": "workspace:*", "@vue-flow/core": "workspace:*",
"vite-plugin-vue-type-imports": "^0.2.4", "vue-tsc": "^1.8.15"
"vue": "^3.2.25",
"vue-tsc": "^1.6.5"
}, },
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
-2
View File
@@ -1,6 +1,5 @@
import { resolve } from 'node:path' import { resolve } from 'node:path'
import { withConfig } from '@tooling/vite-config' import { withConfig } from '@tooling/vite-config'
import vueTypes from 'vite-plugin-vue-type-imports'
export default withConfig({ export default withConfig({
build: { build: {
@@ -11,5 +10,4 @@ export default withConfig({
name: 'VueFlowNodeResizer', name: 'VueFlowNodeResizer',
}, },
}, },
plugins: [vueTypes() as any],
}) })
+3 -3
View File
@@ -40,15 +40,15 @@
"test": "exit 0" "test": "exit 0"
}, },
"peerDependencies": { "peerDependencies": {
"@vue-flow/core": "^1.12.2" "@vue-flow/core": "^1.23.0",
"vue": "^3.3.0"
}, },
"devDependencies": { "devDependencies": {
"@tooling/eslint-config": "workspace:*", "@tooling/eslint-config": "workspace:*",
"@tooling/tsconfig": "workspace:*", "@tooling/tsconfig": "workspace:*",
"@tooling/vite-config": "workspace:*", "@tooling/vite-config": "workspace:*",
"@vue-flow/core": "workspace:*", "@vue-flow/core": "workspace:*",
"vue": "^3.2.25", "vue-tsc": "^1.8.15"
"vue-tsc": "^1.6.5"
}, },
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
+3 -3
View File
@@ -56,7 +56,8 @@
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist" "lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist"
}, },
"peerDependencies": { "peerDependencies": {
"@vue-flow/core": "^1.12.2" "@vue-flow/core": "^1.23.0",
"vue": "^3.3.0"
}, },
"dependencies": { "dependencies": {
"pathfinding": "^0.4.18", "pathfinding": "^0.4.18",
@@ -68,8 +69,7 @@
"@tooling/vite-config": "workspace:*", "@tooling/vite-config": "workspace:*",
"@types/pathfinding": "^0.0.6", "@types/pathfinding": "^0.0.6",
"@vue-flow/core": "workspace:*", "@vue-flow/core": "workspace:*",
"vue": "^3.2.25", "vue-tsc": "^1.8.15"
"vue-tsc": "^1.6.5"
}, },
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
+4 -5
View File
@@ -50,7 +50,7 @@
"*.css" "*.css"
], ],
"peerDependencies": { "peerDependencies": {
"vue": "^3.2.25" "vue": "^3.3.0"
}, },
"dependencies": { "dependencies": {
"@vue-flow/background": "workspace:*", "@vue-flow/background": "workspace:*",
@@ -62,11 +62,10 @@
"@tooling/eslint-config": "workspace:*", "@tooling/eslint-config": "workspace:*",
"@tooling/tsconfig": "workspace:*", "@tooling/tsconfig": "workspace:*",
"@tooling/vite-config": "workspace:*", "@tooling/vite-config": "workspace:*",
"autoprefixer": "^10.4.13", "autoprefixer": "^10.4.16",
"postcss": "^8.4.21", "postcss": "^8.4.31",
"postcss-cli": "^10.1.0", "postcss-cli": "^10.1.0",
"postcss-nested": "^6.0.1", "postcss-nested": "^6.0.1"
"vue": "^3.2.25"
}, },
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
+3112 -3430
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -9,7 +9,7 @@
"eslint": "^8.40.0", "eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"eslint-config-turbo": "^1.9.6", "eslint-config-turbo": "^1.10.15",
"prettier": "^2.8.8" "prettier": "^2.8.8"
} }
} }
+2 -3
View File
@@ -8,9 +8,8 @@
"devDependencies": { "devDependencies": {
"@tooling/eslint-config": "workspace:*", "@tooling/eslint-config": "workspace:*",
"@tooling/tsconfig": "workspace:*", "@tooling/tsconfig": "workspace:*",
"@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue": "^4.4.0",
"defu": "^6.1.2", "defu": "^6.1.2",
"unplugin-vue-macros": "1.8.2", "vite": "^4.4.11"
"vite": "^4.3.7"
} }
} }
+2 -15
View File
@@ -1,6 +1,5 @@
const { defu } = require('defu') const { defu } = require('defu')
const vue = require('@vitejs/plugin-vue') const vue = require('@vitejs/plugin-vue')
const VueMacros = require('unplugin-vue-macros/vite')
function withConfig(viteConfig) { function withConfig(viteConfig) {
return defu(viteConfig, { return defu(viteConfig, {
@@ -26,20 +25,8 @@ function withConfig(viteConfig) {
}, },
}, },
plugins: [ plugins: [
VueMacros({ vue({
hoistStatic: false, reactivityTransform: true,
setupBlock: false,
shortEmits: false,
defineModel: false,
definePropsRefs: false,
setupComponent: false,
setupSFC: false,
exportProps: false,
plugins: {
vue: vue({
reactivityTransform: true,
}),
},
}), }),
], ],
}) })