chore(packages): use temporary scope name

This commit is contained in:
moklick
2022-08-29 12:08:13 +02:00
parent 8e30df2e82
commit f113cf4e19
30 changed files with 77 additions and 95 deletions
@@ -1,5 +1,5 @@
import { useEffect } from 'react';
import { ReactFlow, Edge, useEdges } from '@react-flow/bundle';
import ReactFlow, { Edge, useEdges } from 'reactflow';
import { nodes as initialNodes, edges as initialEdges } from '../../fixtures/simpleflow';
@@ -1,5 +1,5 @@
import { useEffect } from 'react';
import { Node, ReactFlow, useNodes } from '@react-flow/bundle';
import ReactFlow, { Node, useNodes } from 'reactflow';
import { nodes } from '../../fixtures/simpleflow';
@@ -1,4 +1,4 @@
import { ReactFlow, useOnViewportChange, Viewport } from '@react-flow/bundle';
import ReactFlow, { useOnViewportChange, Viewport } from 'reactflow';
describe('useOnViewportChange.cy.tsx', () => {
it('listen to viewport drag', () => {
@@ -1,4 +1,4 @@
import { ReactFlow, useViewport, Viewport } from '@react-flow/bundle';
import ReactFlow, { useViewport, Viewport } from 'reactflow';
describe('useViewport.cy.tsx', () => {
it('handles drag', () => {
@@ -1,4 +1,4 @@
import { ReactFlow, EdgeProps } from '@react-flow/bundle';
import ReactFlow, { EdgeProps } from 'reactflow';
import ControlledFlow from '../../support/ControlledFlow';
import * as simpleflow from '../../fixtures/simpleflow';
@@ -1,4 +1,4 @@
import { ReactFlow } from '@react-flow/bundle';
import ReactFlow from 'reactflow';
import { nodes, edges } from '../../fixtures/simpleflow';
@@ -1,4 +1,4 @@
import { ReactFlow, ReactFlowProps, Viewport, useViewport, SnapGrid, CoordinateExtent, Node } from '@react-flow/bundle';
import ReactFlow, { ReactFlowProps, Viewport, useViewport, SnapGrid, CoordinateExtent, Node } from 'reactflow';
import ControlledFlow from '../../support/ControlledFlow';
import * as simpleflow from '../../fixtures/simpleflow';
@@ -1,4 +1,4 @@
import { Node, Edge, isNode, isEdge, getOutgoers, getIncomers, addEdge } from '@react-flow/bundle';
import { Node, Edge, isNode, isEdge, getOutgoers, getIncomers, addEdge } from 'reactflow';
const nodes: Node[] = [
{