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/controls
# @reactflow/controls
Controls component for React Flow.
## Installation
```sh
npm install @rctflw/controls
npm install @reactflow/controls
```
+8 -5
View File
@@ -1,5 +1,5 @@
{
"name": "@rctflw/controls",
"name": "@reactflow/controls",
"version": "11.0.0-next.0",
"description": "Component to control the viewport of a React Flow instance",
"keywords": [
@@ -13,9 +13,9 @@
"files": [
"dist"
],
"main": "dist/rctflw-controls.cjs.js",
"module": "dist/rctflw-controls.esm.js",
"types": "dist/rctflw-controls.cjs.d.ts",
"main": "dist/reactflow-controls.cjs.js",
"module": "dist/reactflow-controls.esm.js",
"types": "dist/reactflow-controls.cjs.d.ts",
"sideEffects": false,
"license": "MIT",
"repository": {
@@ -26,9 +26,12 @@
"scripts": {
"build": "postcss src/*.css --config ../../postcss.config.json --dir dist"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@babel/runtime": "^7.18.9",
"@rctflw/core": "workspace:*",
"@reactflow/core": "workspace:*",
"classcat": "^5.0.3"
},
"peerDependencies": {
+1 -1
View File
@@ -1,6 +1,6 @@
import { memo, FC, useEffect, useState, PropsWithChildren } from 'react';
import cc from 'classcat';
import { useStore, useStoreApi, useReactFlow, ReactFlowState, Panel } from '@rctflw/core';
import { useStore, useStoreApi, useReactFlow, ReactFlowState, Panel } from '@reactflow/core';
import PlusIcon from './Icons/Plus';
import MinusIcon from './Icons/Minus';
+1 -1
View File
@@ -1,5 +1,5 @@
import { ButtonHTMLAttributes, HTMLAttributes } from 'react';
import { FitViewOptions, PanelPosition } from '@rctflw/core';
import { FitViewOptions, PanelPosition } from '@reactflow/core';
export interface ControlProps extends HTMLAttributes<HTMLDivElement> {
showZoom?: boolean;