chore(packages): cleanup package.jsons and readme files

This commit is contained in:
moklick
2022-08-17 12:45:15 +02:00
parent 86ea34b470
commit 0d269b74e7
9 changed files with 287 additions and 178 deletions
+18 -1
View File
@@ -2,11 +2,28 @@
"name": "@react-flow/background",
"version": "11.0.0",
"description": "Background component with different variants for React Flow",
"keywords": [
"react",
"node-based UI",
"graph",
"diagram",
"workflow",
"react-flow"
],
"files": [
"dist"
],
"main": "dist/react-flow-background.cjs.js",
"module": "dist/react-flow-background.esm.js",
"sideEffects": false,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wbkd/react-flow.git",
"directory": "packages/background"
},
"dependencies": {
"@react-flow/core": "11.0.0",
"@react-flow/core": "workspace:*",
"classcat": "^5.0.3"
},
"peerDependencies": {
+21 -4
View File
@@ -2,17 +2,34 @@
"name": "@react-flow/bundle",
"version": "11.0.0",
"description": "The bundled React Flow package that comes with all the essentials.",
"keywords": [
"react",
"node-based UI",
"graph",
"diagram",
"workflow",
"react-flow"
],
"files": [
"dist"
],
"main": "dist/react-flow-bundle.cjs.js",
"module": "dist/react-flow-bundle.esm.js",
"sideEffects": false,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wbkd/react-flow.git",
"directory": "packages/bundle"
},
"scripts": {
"build": "postcss src/*.css --config ../../postcss.config.json --dir dist"
},
"dependencies": {
"@react-flow/background": "11.0.0",
"@react-flow/controls": "11.0.0",
"@react-flow/core": "11.0.0",
"@react-flow/minimap": "11.0.0"
"@react-flow/background": "workspace:*",
"@react-flow/controls": "workspace:*",
"@react-flow/core": "workspace:*",
"@react-flow/minimap": "workspace:*"
},
"peerDependencies": {
"react": ">=18",
+19 -2
View File
@@ -1,15 +1,32 @@
{
"name": "@react-flow/controls",
"version": "11.0.0",
"description": "A component to control the viewport of a React Flow instance",
"description": "Component to control the viewport of a React Flow instance",
"keywords": [
"react",
"node-based UI",
"graph",
"diagram",
"workflow",
"react-flow"
],
"files": [
"dist"
],
"main": "dist/react-flow-controls.cjs.js",
"module": "dist/react-flow-controls.esm.js",
"sideEffects": false,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wbkd/react-flow.git",
"directory": "packages/controls"
},
"scripts": {
"build": "postcss src/*.css --config ../../postcss.config.json --dir dist"
},
"dependencies": {
"@react-flow/core": "^11.0.0",
"@react-flow/core": "workspace:*",
"classcat": "^5.0.3"
},
"peerDependencies": {
+2
View File
@@ -1,5 +1,7 @@
# @react-flow/core
Core components and util functions of React Flow.
## Installation
```sh
+15 -9
View File
@@ -1,16 +1,26 @@
{
"name": "@react-flow/core",
"version": "11.0.0",
"engines": {
"node": ">=14"
},
"description": "Core components and util functions of React Flow.",
"keywords": [
"react",
"node-based UI",
"graph",
"diagram",
"workflow",
"react-flow"
],
"files": [
"dist"
],
"main": "dist/react-flow-core.cjs.js",
"module": "dist/react-flow-core.esm.js",
"sideEffects": false,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wbkd/react-flow.git"
"url": "https://github.com/wbkd/react-flow.git",
"directory": "packages/core"
},
"scripts": {
"build": "postcss src/styles/{base,style}.css --config ../../postcss.config.json --dir dist"
@@ -18,7 +28,6 @@
"dependencies": {
"@babel/runtime": "^7.18.0",
"@types/d3": "^7.4.0",
"@types/react": "^18.0.15",
"classcat": "^5.0.3",
"d3-drag": "^3.0.0",
"d3-selection": "^3.0.0",
@@ -29,11 +38,8 @@
"react": ">=18",
"react-dom": ">=18"
},
"files": [
"dist",
"nocss"
],
"devDependencies": {
"@types/react": "^18.0.17",
"autoprefixer": "^10.4.8",
"postcss": "^8.4.14",
"postcss-cli": "^10.0.0",
+19 -2
View File
@@ -1,15 +1,32 @@
{
"name": "@react-flow/minimap",
"version": "11.0.0",
"description": "A minimap component that shows the React Flow graph.",
"description": "Minimap component for React Flow.",
"keywords": [
"react",
"node-based UI",
"graph",
"diagram",
"workflow",
"react-flow"
],
"files": [
"dist"
],
"main": "dist/react-flow-minimap.cjs.js",
"module": "dist/react-flow-minimap.esm.js",
"sideEffects": false,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wbkd/react-flow.git",
"directory": "packages/minimap"
},
"scripts": {
"build": "postcss src/*.css --config ../../postcss.config.json --dir dist"
},
"dependencies": {
"@react-flow/core": "^11.0.0",
"@react-flow/core": "workspace:*",
"classcat": "^5.0.3",
"zustand": "^4.0.0"
},