chore(vueflow): disable pkg until name issue is resolved

This commit is contained in:
braks
2022-10-13 23:23:43 +02:00
committed by Braks
parent 655a27d572
commit 11ee43ac9b
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
"changelog": ["@changesets/changelog-github", { "repo": "bcakmakoglu/vue-flow" }], "changelog": ["@changesets/changelog-github", { "repo": "bcakmakoglu/vue-flow" }],
"fixed": [], "fixed": [],
"updateInternalDependencies": "patch", "updateInternalDependencies": "patch",
"ignore": ["docs", "tests", "nuxt3-examples", "quasar-examples", "vite-examples"], "ignore": ["docs", "tests", "nuxt3-examples", "quasar-examples", "vite-examples", "vueflow"],
"commit": false, "commit": false,
"linked": [], "linked": [],
"access": "public", "access": "public",
+4 -2
View File
@@ -1,6 +1,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import type { Elements } from 'vueflow' import { Background, Controls, MiniMap } from '@vue-flow/additional-components'
import { Background, Controls, MiniMap, VueFlow, isNode, useVueFlow } from 'vueflow' import type { Elements } from '@vue-flow/core'
import { VueFlow, isNode, useVueFlow } from '@vue-flow/core'
const elements = ref<Elements>([ const elements = ref<Elements>([
{ id: '1', type: 'input', label: 'Node 1', position: { x: 250, y: 5 }, class: 'light' }, { id: '1', type: 'input', label: 'Node 1', position: { x: 250, y: 5 }, class: 'light' },
@@ -14,6 +15,7 @@ const { onPaneReady, onNodeDragStop, onConnect, addEdges, setTransform, toObject
defaultZoom: 1.5, defaultZoom: 1.5,
minZoom: 0.2, minZoom: 0.2,
maxZoom: 4, maxZoom: 4,
connectOnClick: true,
}) })
onPaneReady(({ fitView }) => { onPaneReady(({ fitView }) => {
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "vueflow", "name": "vueflow",
"version": "1.0.0", "version": "1.0.0",
"private": false, "private": true,
"license": "MIT", "license": "MIT",
"author": "Burak Cakmakoglu<78412429+bcakmakoglu@users.noreply.github.com>", "author": "Burak Cakmakoglu<78412429+bcakmakoglu@users.noreply.github.com>",
"repository": { "repository": {