chore(packages): use @reactflow org for packages

This commit is contained in:
moklick
2022-08-29 17:18:05 +02:00
parent 22cb21a4ae
commit 588d8fc02e
23 changed files with 77 additions and 65 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
# @rctflw/minimap
# @reactflow/minimap
Mini map component for React Flow.
## Installation
```sh
npm install @rctflw/minimap
npm install @reactflow/minimap
```
+8 -5
View File
@@ -1,5 +1,5 @@
{
"name": "@rctflw/minimap",
"name": "@reactflow/minimap",
"version": "11.0.0-next.0",
"description": "Minimap component for React Flow.",
"keywords": [
@@ -13,10 +13,13 @@
"files": [
"dist"
],
"main": "dist/rctflw-minimap.cjs.js",
"module": "dist/rctflw-minimap.esm.js",
"types": "dist/rctflw-minimap.cjs.d.ts",
"main": "dist/reactflow-minimap.cjs.js",
"module": "dist/reactflow-minimap.esm.js",
"types": "dist/reactflow-minimap.cjs.d.ts",
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"license": "MIT",
"repository": {
"type": "git",
@@ -28,7 +31,7 @@
},
"dependencies": {
"@babel/runtime": "^7.18.9",
"@rctflw/core": "workspace:*",
"@reactflow/core": "workspace:*",
"classcat": "^5.0.3",
"zustand": "^4.0.0"
},
+1 -1
View File
@@ -2,7 +2,7 @@
import { memo, useId } from 'react';
import cc from 'classcat';
import shallow from 'zustand/shallow';
import { useStore, getRectOfNodes, ReactFlowState, Rect, Panel, getBoundsOfRects } from '@rctflw/core';
import { useStore, getRectOfNodes, ReactFlowState, Rect, Panel, getBoundsOfRects } from '@reactflow/core';
import MiniMapNode from './MiniMapNode';
import { MiniMapProps, GetMiniMapNodeAttribute } from './types';
+1 -1
View File
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { HTMLAttributes } from 'react';
import { Node, PanelPosition } from '@rctflw/core';
import { Node, PanelPosition } from '@reactflow/core';
export type GetMiniMapNodeAttribute<NodeData = any> = (node: Node<NodeData>) => string;