chore(deps): update and cleanup

This commit is contained in:
moklick
2023-01-11 13:47:13 +01:00
parent 113a2036ff
commit 2f6afd815c
12 changed files with 878 additions and 618 deletions
+3 -3
View File
@@ -27,11 +27,11 @@
"@cypress/skip-test": "^2.6.1", "@cypress/skip-test": "^2.6.1",
"@types/react": "^18.0.17", "@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6", "@types/react-dom": "^18.0.6",
"@vitejs/plugin-react": "^2.1.0", "@vitejs/plugin-react": "^3.0.1",
"cypress": "^10.6.0", "cypress": "^10.6.0",
"cypress-real-events": "^1.7.1", "cypress-real-events": "^1.7.1",
"start-server-and-test": "^1.14.0", "start-server-and-test": "^1.14.0",
"typescript": "^4.8.3", "typescript": "^4.9.4",
"vite": "^3.1.0" "vite": "^4.0.4"
} }
} }
@@ -35,6 +35,7 @@ const BasicFlow = () => {
onPaneContextMenu={onPaneContextMenu} onPaneContextMenu={onPaneContextMenu}
fitView fitView
selectNodesOnDrag={false} selectNodesOnDrag={false}
onSelectionContextMenu={onPaneContextMenu}
> >
<Background variant={BackgroundVariant.Cross} /> <Background variant={BackgroundVariant.Cross} />
</ReactFlow> </ReactFlow>
+9 -9
View File
@@ -13,7 +13,7 @@
"lint": "turbo run lint", "lint": "turbo run lint",
"typecheck": "turbo run typecheck", "typecheck": "turbo run typecheck",
"release": "changeset publish", "release": "changeset publish",
"clean": "pnpm -r --parallel exec rimraf dist .turbo" "clean": "pnpm -r --parallel exec rimraf dist .turbo node_modules"
}, },
"devDependencies": { "devDependencies": {
"@changesets/changelog-github": "^0.4.7", "@changesets/changelog-github": "^0.4.7",
@@ -22,23 +22,23 @@
"@typescript-eslint/eslint-plugin": "latest", "@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest", "@typescript-eslint/parser": "latest",
"autoprefixer": "^10.4.8", "autoprefixer": "^10.4.8",
"concurrently": "^7.4.0", "concurrently": "^7.6.0",
"cypress": "^10.6.0", "cypress": "^10.6.0",
"eslint": "^8.22.0", "eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "latest", "eslint-plugin-react": "latest",
"postcss": "^8.4.16", "postcss": "^8.4.21",
"postcss-cli": "^10.0.0", "postcss-cli": "^10.1.0",
"postcss-combine-duplicated-selectors": "^10.0.3", "postcss-combine-duplicated-selectors": "^10.0.3",
"postcss-import": "^14.1.0", "postcss-import": "^15.1.0",
"postcss-nested": "^5.0.6", "postcss-nested": "^6.0.0",
"prettier": "^2.7.1", "prettier": "^2.7.1",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"rollup": "^2.79.0", "rollup": "2.79.1",
"turbo": "^1.5.3", "turbo": "^1.7.0",
"typescript": "^4.8.3" "typescript": "^4.9.4"
} }
} }
+1 -2
View File
@@ -37,7 +37,6 @@
"directory": "packages/background" "directory": "packages/background"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.18.9",
"@reactflow/core": "workspace:*", "@reactflow/core": "workspace:*",
"classcat": "^5.0.3", "classcat": "^5.0.3",
"zustand": "^4.3.1" "zustand": "^4.3.1"
@@ -49,7 +48,7 @@
"@types/node": "^18.7.16", "@types/node": "^18.7.16",
"@types/react": "^18.0.19", "@types/react": "^18.0.19",
"react": "^18.2.0", "react": "^18.2.0",
"typescript": "^4.8.3" "typescript": "^4.9.4"
}, },
"peerDependencies": { "peerDependencies": {
"react": ">=17", "react": ">=17",
+2 -3
View File
@@ -38,7 +38,6 @@
"access": "public" "access": "public"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.18.9",
"@reactflow/core": "workspace:*", "@reactflow/core": "workspace:*",
"classcat": "^5.0.3" "classcat": "^5.0.3"
}, },
@@ -47,12 +46,12 @@
"react-dom": ">=17" "react-dom": ">=17"
}, },
"devDependencies": { "devDependencies": {
"@reactflow/eslint-config": "workspace:^0.0.0", "@reactflow/eslint-config": "workspace:*",
"@reactflow/rollup-config": "workspace:*", "@reactflow/rollup-config": "workspace:*",
"@reactflow/tsconfig": "workspace:*", "@reactflow/tsconfig": "workspace:*",
"@types/node": "^18.7.16", "@types/node": "^18.7.16",
"@types/react": "^18.0.19", "@types/react": "^18.0.19",
"typescript": "^4.8.3" "typescript": "^4.9.4"
}, },
"rollup": { "rollup": {
"globals": { "globals": {
+4 -3
View File
@@ -30,7 +30,8 @@
"directory": "packages/core" "directory": "packages/core"
}, },
"scripts": { "scripts": {
"dev": "concurrently \"rollup --config node:@reactflow/rollup-config --watch\" pnpm:css-watch", "devx": "concurrently \"rollup --config node:@reactflow/rollup-config --watch\" pnpm:css-watch",
"dev": "rollup --config node:@reactflow/rollup-config --watch",
"build": "rollup --config node:@reactflow/rollup-config --environment NODE_ENV:production && npm run css", "build": "rollup --config node:@reactflow/rollup-config --environment NODE_ENV:production && npm run css",
"css": "postcss src/styles/{base,style}.css --config ./../../tooling/postcss-config/postcss.config.js --dir dist", "css": "postcss src/styles/{base,style}.css --config ./../../tooling/postcss-config/postcss.config.js --dir dist",
"css-watch": "pnpm css --watch", "css-watch": "pnpm css --watch",
@@ -53,14 +54,14 @@
"react-dom": ">=17" "react-dom": ">=17"
}, },
"devDependencies": { "devDependencies": {
"@reactflow/eslint-config": "workspace:^0.0.0", "@reactflow/eslint-config": "workspace:*",
"@reactflow/rollup-config": "workspace:*", "@reactflow/rollup-config": "workspace:*",
"@reactflow/tsconfig": "workspace:*", "@reactflow/tsconfig": "workspace:*",
"@types/node": "^18.7.16", "@types/node": "^18.7.16",
"@types/react": "^18.0.17", "@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6", "@types/react-dom": "^18.0.6",
"react": "^18.2.0", "react": "^18.2.0",
"typescript": "^4.8.3" "typescript": "^4.9.4"
}, },
"rollup": { "rollup": {
"globals": { "globals": {
+2 -3
View File
@@ -38,7 +38,6 @@
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.18.9",
"@reactflow/core": "workspace:*", "@reactflow/core": "workspace:*",
"@types/d3-selection": "^3.0.3", "@types/d3-selection": "^3.0.3",
"@types/d3-zoom": "^3.0.1", "@types/d3-zoom": "^3.0.1",
@@ -52,13 +51,13 @@
"react-dom": ">=17" "react-dom": ">=17"
}, },
"devDependencies": { "devDependencies": {
"@reactflow/eslint-config": "workspace:^0.0.0", "@reactflow/eslint-config": "workspace:*",
"@reactflow/rollup-config": "workspace:*", "@reactflow/rollup-config": "workspace:*",
"@reactflow/tsconfig": "workspace:*", "@reactflow/tsconfig": "workspace:*",
"@types/node": "^18.7.16", "@types/node": "^18.7.16",
"@types/react": "^18.0.19", "@types/react": "^18.0.19",
"react": "^18.2.0", "react": "^18.2.0",
"typescript": "^4.8.3" "typescript": "^4.9.4"
}, },
"rollup": { "rollup": {
"globals": { "globals": {
+1 -1
View File
@@ -58,7 +58,7 @@
"@types/react": "^18.0.19", "@types/react": "^18.0.19",
"@types/react-dom": "^18.0.6", "@types/react-dom": "^18.0.6",
"react": "^18.2.0", "react": "^18.2.0",
"typescript": "^4.8.3" "typescript": "^4.9.4"
}, },
"rollup": { "rollup": {
"globals": { "globals": {
+2 -3
View File
@@ -36,7 +36,6 @@
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.18.9",
"@reactflow/core": "workspace:*", "@reactflow/core": "workspace:*",
"classcat": "^5.0.3", "classcat": "^5.0.3",
"zustand": "^4.3.1" "zustand": "^4.3.1"
@@ -46,14 +45,14 @@
"react-dom": ">=17" "react-dom": ">=17"
}, },
"devDependencies": { "devDependencies": {
"@reactflow/eslint-config": "workspace:^0.0.0", "@reactflow/eslint-config": "workspace:*",
"@reactflow/rollup-config": "workspace:*", "@reactflow/rollup-config": "workspace:*",
"@reactflow/tsconfig": "workspace:*", "@reactflow/tsconfig": "workspace:*",
"@types/node": "^18.7.16", "@types/node": "^18.7.16",
"@types/react": "^18.0.19", "@types/react": "^18.0.19",
"@types/react-dom": "^18.0.6", "@types/react-dom": "^18.0.6",
"react": "^18.2.0", "react": "^18.2.0",
"typescript": "^4.8.3" "typescript": "^4.9.4"
}, },
"rollup": { "rollup": {
"globals": { "globals": {
+2 -2
View File
@@ -46,13 +46,13 @@
"react-dom": ">=17" "react-dom": ">=17"
}, },
"devDependencies": { "devDependencies": {
"@reactflow/eslint-config": "workspace:^0.0.0", "@reactflow/eslint-config": "workspace:*",
"@reactflow/rollup-config": "workspace:*", "@reactflow/rollup-config": "workspace:*",
"@reactflow/tsconfig": "workspace:*", "@reactflow/tsconfig": "workspace:*",
"@types/node": "^18.7.16", "@types/node": "^18.7.16",
"@types/react": "^18.0.19", "@types/react": "^18.0.19",
"react": "^18.2.0", "react": "^18.2.0",
"typescript": "^4.8.3" "typescript": "^4.9.4"
}, },
"rollup": { "rollup": {
"globals": { "globals": {
+849 -587
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -11,9 +11,9 @@
"@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2", "@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.3.0", "@rollup/plugin-terser": "^0.3.0",
"rollup": "^3.9.1", "rollup": "2.79.1",
"rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.34.1", "rollup-plugin-typescript2": "^0.34.1",
"typescript": "^4.8.3" "typescript": "^4.9.4"
} }
} }