From 0efa1aac0735488af632a379e4d016eca7006906 Mon Sep 17 00:00:00 2001 From: Florian Barbin Date: Tue, 19 Dec 2023 17:35:53 +0100 Subject: [PATCH] [2842] Move to @ObeoNetwork/react-trello Bug: https://github.com/eclipse-sirius/sirius-web/issues/2842 Signed-off-by: Florian Barbin --- package-lock.json | 203 +++++++++--------- .../sirius-components-deck/package.json | 4 +- .../sirius-components-deck/src/Deck.tsx | 2 +- 3 files changed, 105 insertions(+), 104 deletions(-) diff --git a/package-lock.json b/package-lock.json index 51a5e716b7..912477df64 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1528,6 +1528,62 @@ "react-dom": "^17.0.2" } }, + "node_modules/@ObeoNetwork/react-trello": { + "version": "2.4.1", + "resolved": "https://npm.pkg.github.com/download/@ObeoNetwork/react-trello/2.4.1/ff673480252e27085afcc2d6f7ade97404e3c579", + "integrity": "sha512-Ni79jX2n1ioE5pucTDvtOMJqFy3cAutx9XEaUt3OPgSqIuQIDZCdjuVIp8/haqSDi915L4o0VBTOl/OBIpBUWQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "autosize": "^4.0.2", + "classnames": "^2.2.6", + "immutability-helper": "^2.8.1", + "lodash": "^4.17.11", + "prop-types": "^15.7.2", + "react-popopo": "^2.1.9", + "react-redux": "^5.0.7", + "redux": "^4.0.0", + "redux-actions": "^2.6.1", + "redux-logger": "^3.0.6", + "trello-smooth-dnd": "1.0.0", + "uuid": "^3.3.2" + }, + "peerDependencies": { + "lodash": ">= 4.17.11", + "react": "*", + "react-dom": "*", + "react-redux": ">= 5.0.7", + "redux": ">= 4.0.0", + "redux-actions": ">= 2.6.1", + "redux-logger": ">= 3.0.6", + "styled-components": ">= 4.0.3" + } + }, + "node_modules/@ObeoNetwork/react-trello/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + }, + "node_modules/@ObeoNetwork/react-trello/node_modules/react-redux": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-5.1.2.tgz", + "integrity": "sha512-Ns1G0XXc8hDyH/OcBHOxNgQx9ayH3SPxBnFCOidGKSle8pKihysQw2rG/PmciUQRoclhVBO8HMhiRmGXnDja9Q==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.1.2", + "hoist-non-react-statics": "^3.3.0", + "invariant": "^2.2.4", + "loose-envify": "^1.1.0", + "prop-types": "^15.6.1", + "react-is": "^16.6.0", + "react-lifecycles-compat": "^3.0.0" + }, + "peerDependencies": { + "react": "^0.14.0 || ^15.0.0-0 || ^16.0.0-0", + "redux": "^2.0.0 || ^3.0.0 || ^4.0.0-0" + } + }, "node_modules/@reactflow/background": { "version": "11.3.6", "resolved": "https://registry.npmjs.org/@reactflow/background/-/background-11.3.6.tgz", @@ -5068,61 +5124,6 @@ "react-dom": ">=16.6.0" } }, - "node_modules/react-trello": { - "version": "2.2.11", - "resolved": "https://registry.npmjs.org/react-trello/-/react-trello-2.2.11.tgz", - "integrity": "sha512-Zm7qrPAcFTysUXK6wpa1KhTt7fTadIZgNGYj+blDWGnppFYW7GMi1p+S6J8P9quhzKnIJTSZXVzHA1f4sREIVQ==", - "dev": true, - "dependencies": { - "autosize": "^4.0.2", - "classnames": "^2.2.6", - "immutability-helper": "^2.8.1", - "lodash": "^4.17.11", - "prop-types": "^15.7.2", - "react-popopo": "^2.1.9", - "react-redux": "^5.0.7", - "redux": "^4.0.0", - "redux-actions": "^2.6.1", - "redux-logger": "^3.0.6", - "trello-smooth-dnd": "1.0.0", - "uuid": "^3.3.2" - }, - "peerDependencies": { - "lodash": ">= 4.17.11", - "react": "*", - "react-dom": "*", - "react-redux": ">= 5.0.7", - "redux": ">= 4.0.0", - "redux-actions": ">= 2.6.1", - "redux-logger": ">= 3.0.6", - "styled-components": ">= 4.0.3" - } - }, - "node_modules/react-trello/node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "dev": true - }, - "node_modules/react-trello/node_modules/react-redux": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-5.1.2.tgz", - "integrity": "sha512-Ns1G0XXc8hDyH/OcBHOxNgQx9ayH3SPxBnFCOidGKSle8pKihysQw2rG/PmciUQRoclhVBO8HMhiRmGXnDja9Q==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.1.2", - "hoist-non-react-statics": "^3.3.0", - "invariant": "^2.2.4", - "loose-envify": "^1.1.0", - "prop-types": "^15.6.1", - "react-is": "^16.6.0", - "react-lifecycles-compat": "^3.0.0" - }, - "peerDependencies": { - "react": "^0.14.0 || ^15.0.0-0 || ^16.0.0-0", - "redux": "^2.0.0 || ^3.0.0 || ^4.0.0-0" - } - }, "node_modules/reactflow": { "version": "11.10.1", "resolved": "https://registry.npmjs.org/reactflow/-/reactflow-11.10.1.tgz", @@ -6550,6 +6551,7 @@ "@eclipse-sirius/sirius-components-tsconfig": "*", "@material-ui/core": "4.12.4", "@material-ui/icons": "4.11.3", + "@ObeoNetwork/react-trello": "2.4.1", "@types/react": "17.0.37", "@vitejs/plugin-react": "4.0.4", "@xstate/react": "1.6.3", @@ -6557,7 +6559,6 @@ "prettier": "2.7.1", "react": "17.0.2", "react-dom": "17.0.2", - "react-trello": "2.2.11", "rollup-plugin-peer-deps-external": "2.2.4", "typescript": "5.1.6", "vite": "4.4.9", @@ -6569,11 +6570,11 @@ "@eclipse-sirius/sirius-components-core": "*", "@material-ui/core": "4.12.4", "@material-ui/icons": "4.11.3", + "@ObeoNetwork/react-trello": "2.4.1", "@xstate/react": "1.6.3", "graphql": "16.8.0", "react": "17.0.2", "react-dom": "17.0.2", - "react-trello": "2.2.11", "xstate": "4.32.1" } }, @@ -7697,6 +7698,7 @@ "@eclipse-sirius/sirius-components-tsconfig": "*", "@material-ui/core": "4.12.4", "@material-ui/icons": "4.11.3", + "@ObeoNetwork/react-trello": "2.4.1", "@types/react": "17.0.37", "@vitejs/plugin-react": "4.0.4", "@xstate/react": "1.6.3", @@ -7704,7 +7706,6 @@ "prettier": "2.7.1", "react": "17.0.2", "react-dom": "17.0.2", - "react-trello": "2.2.11", "rollup-plugin-peer-deps-external": "2.2.4", "typescript": "5.1.6", "vite": "4.4.9", @@ -8718,6 +8719,49 @@ "integrity": "sha512-lo6ezCnUDd1lrktSi5uyOrXBOP43gok+oq/C5Hj7VW2Zy06lAw6YIB+CYyQxB8hb7pOSfmpu+r0UtA5B0uZrgA==", "requires": {} }, + "@ObeoNetwork/react-trello": { + "version": "2.4.1", + "resolved": "https://npm.pkg.github.com/download/@ObeoNetwork/react-trello/2.4.1/ff673480252e27085afcc2d6f7ade97404e3c579", + "integrity": "sha512-Ni79jX2n1ioE5pucTDvtOMJqFy3cAutx9XEaUt3OPgSqIuQIDZCdjuVIp8/haqSDi915L4o0VBTOl/OBIpBUWQ==", + "dev": true, + "requires": { + "autosize": "^4.0.2", + "classnames": "^2.2.6", + "immutability-helper": "^2.8.1", + "lodash": "^4.17.11", + "prop-types": "^15.7.2", + "react-popopo": "^2.1.9", + "react-redux": "^5.0.7", + "redux": "^4.0.0", + "redux-actions": "^2.6.1", + "redux-logger": "^3.0.6", + "trello-smooth-dnd": "1.0.0", + "uuid": "^3.3.2" + }, + "dependencies": { + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + }, + "react-redux": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-5.1.2.tgz", + "integrity": "sha512-Ns1G0XXc8hDyH/OcBHOxNgQx9ayH3SPxBnFCOidGKSle8pKihysQw2rG/PmciUQRoclhVBO8HMhiRmGXnDja9Q==", + "dev": true, + "requires": { + "@babel/runtime": "^7.1.2", + "hoist-non-react-statics": "^3.3.0", + "invariant": "^2.2.4", + "loose-envify": "^1.1.0", + "prop-types": "^15.6.1", + "react-is": "^16.6.0", + "react-lifecycles-compat": "^3.0.0" + } + } + } + }, "@reactflow/background": { "version": "11.3.6", "resolved": "https://registry.npmjs.org/@reactflow/background/-/background-11.3.6.tgz", @@ -11463,49 +11507,6 @@ "prop-types": "^15.6.2" } }, - "react-trello": { - "version": "2.2.11", - "resolved": "https://registry.npmjs.org/react-trello/-/react-trello-2.2.11.tgz", - "integrity": "sha512-Zm7qrPAcFTysUXK6wpa1KhTt7fTadIZgNGYj+blDWGnppFYW7GMi1p+S6J8P9quhzKnIJTSZXVzHA1f4sREIVQ==", - "dev": true, - "requires": { - "autosize": "^4.0.2", - "classnames": "^2.2.6", - "immutability-helper": "^2.8.1", - "lodash": "^4.17.11", - "prop-types": "^15.7.2", - "react-popopo": "^2.1.9", - "react-redux": "^5.0.7", - "redux": "^4.0.0", - "redux-actions": "^2.6.1", - "redux-logger": "^3.0.6", - "trello-smooth-dnd": "1.0.0", - "uuid": "^3.3.2" - }, - "dependencies": { - "react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "dev": true - }, - "react-redux": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-5.1.2.tgz", - "integrity": "sha512-Ns1G0XXc8hDyH/OcBHOxNgQx9ayH3SPxBnFCOidGKSle8pKihysQw2rG/PmciUQRoclhVBO8HMhiRmGXnDja9Q==", - "dev": true, - "requires": { - "@babel/runtime": "^7.1.2", - "hoist-non-react-statics": "^3.3.0", - "invariant": "^2.2.4", - "loose-envify": "^1.1.0", - "prop-types": "^15.6.1", - "react-is": "^16.6.0", - "react-lifecycles-compat": "^3.0.0" - } - } - } - }, "reactflow": { "version": "11.10.1", "resolved": "https://registry.npmjs.org/reactflow/-/reactflow-11.10.1.tgz", diff --git a/packages/deck/frontend/sirius-components-deck/package.json b/packages/deck/frontend/sirius-components-deck/package.json index 3fe0ae2744..0e01fbdd02 100644 --- a/packages/deck/frontend/sirius-components-deck/package.json +++ b/packages/deck/frontend/sirius-components-deck/package.json @@ -31,7 +31,7 @@ "peerDependencies": { "@apollo/client": "3.8.1", "@eclipse-sirius/sirius-components-core": "*", - "react-trello": "2.2.11", + "@ObeoNetwork/react-trello": "2.4.1", "@material-ui/core": "4.12.4", "@material-ui/icons": "4.11.3", "@xstate/react": "1.6.3", @@ -48,7 +48,7 @@ "@material-ui/icons": "4.11.3", "@types/react": "17.0.37", "@vitejs/plugin-react": "4.0.4", - "react-trello": "2.2.11", + "@ObeoNetwork/react-trello": "2.4.1", "@xstate/react": "1.6.3", "graphql": "16.8.0", "prettier": "2.7.1", diff --git a/packages/deck/frontend/sirius-components-deck/src/Deck.tsx b/packages/deck/frontend/sirius-components-deck/src/Deck.tsx index 1e92ec8d0d..ea188d3048 100644 --- a/packages/deck/frontend/sirius-components-deck/src/Deck.tsx +++ b/packages/deck/frontend/sirius-components-deck/src/Deck.tsx @@ -10,7 +10,7 @@ * Contributors: * Obeo - initial API and implementation *******************************************************************************/ -import Board from 'react-trello'; +import Board from '@ObeoNetwork/react-trello'; import { Toolbar } from './toolbar/Toolbar'; export const Deck = ({ data }) => {