From 092fb6d90be7386b9fba2e69fe500362c26c1278 Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Wed, 16 Oct 2019 08:30:15 +0200 Subject: [PATCH] added ui-plugins package to bundle all plugin dependencies --- scm-plugins/scm-git-plugin/package.json | 18 +--------------- scm-plugins/scm-hg-plugin/package.json | 17 +-------------- scm-plugins/scm-legacy-plugin/package.json | 17 +-------------- scm-plugins/scm-svn-plugin/package.json | 18 +--------------- scm-ui/ui-plugins/package.json | 25 ++++++++++++++++++++++ yarn.lock | 2 +- 6 files changed, 30 insertions(+), 67 deletions(-) create mode 100644 scm-ui/ui-plugins/package.json diff --git a/scm-plugins/scm-git-plugin/package.json b/scm-plugins/scm-git-plugin/package.json index ad45a3e594..d930170c3e 100644 --- a/scm-plugins/scm-git-plugin/package.json +++ b/scm-plugins/scm-git-plugin/package.json @@ -19,22 +19,6 @@ }, "prettier": "@scm-manager/prettier-config", "dependencies": { - "@scm-manager/ui-components": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-extensions": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-types": "^2.0.0-SNAPSHOT", - "react": "^16.10.2", - "react-i18next": "^10.13.1", - "styled-components": "^4.4.0" - }, - "devDependencies": { - "@scm-manager/babel-preset": "^2.0.0-SNAPSHOT", - "@scm-manager/eslint-config": "^2.0.0-SNAPSHOT", - "@scm-manager/jest-preset": "^2.0.0-SNAPSHOT", - "@scm-manager/prettier-config": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-scripts": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-tests": "^2.0.0-SNAPSHOT", - "flow-bin": "^0.109.0", - "flow-typed": "^2.6.1", - "jest": "^24.9.0" + "@scm-manager/ui-plugins": "^2.0.0-SNAPSHOT" } } diff --git a/scm-plugins/scm-hg-plugin/package.json b/scm-plugins/scm-hg-plugin/package.json index 5ac08a6e37..e950144250 100644 --- a/scm-plugins/scm-hg-plugin/package.json +++ b/scm-plugins/scm-hg-plugin/package.json @@ -18,21 +18,6 @@ }, "prettier": "@scm-manager/prettier-config", "dependencies": { - "@scm-manager/ui-components": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-extensions": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-types": "^2.0.0-SNAPSHOT", - "react": "^16.10.2", - "react-i18next": "^10.13.1" - }, - "devDependencies": { - "@scm-manager/babel-preset": "^2.0.0-SNAPSHOT", - "@scm-manager/eslint-config": "^2.0.0-SNAPSHOT", - "@scm-manager/jest-preset": "^2.0.0-SNAPSHOT", - "@scm-manager/prettier-config": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-scripts": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-tests": "^2.0.0-SNAPSHOT", - "flow-bin": "^0.109.0", - "flow-typed": "^2.6.1", - "jest": "^24.9.0" + "@scm-manager/ui-plugins": "^2.0.0-SNAPSHOT" } } diff --git a/scm-plugins/scm-legacy-plugin/package.json b/scm-plugins/scm-legacy-plugin/package.json index 1ba58b80d9..d7581ab1af 100644 --- a/scm-plugins/scm-legacy-plugin/package.json +++ b/scm-plugins/scm-legacy-plugin/package.json @@ -18,21 +18,6 @@ }, "prettier": "@scm-manager/prettier-config", "dependencies": { - "@scm-manager/ui-components": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-extensions": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-types": "^2.0.0-SNAPSHOT", - "react": "^16.10.2", - "react-router-dom": "^5.1.2" - }, - "devDependencies": { - "@scm-manager/babel-preset": "^2.0.0-SNAPSHOT", - "@scm-manager/eslint-config": "^2.0.0-SNAPSHOT", - "@scm-manager/jest-preset": "^2.0.0-SNAPSHOT", - "@scm-manager/prettier-config": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-scripts": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-tests": "^2.0.0-SNAPSHOT", - "flow-bin": "^0.109.0", - "flow-typed": "^2.6.1", - "jest": "^24.9.0" + "@scm-manager/ui-plugins": "^2.0.0-SNAPSHOT" } } diff --git a/scm-plugins/scm-svn-plugin/package.json b/scm-plugins/scm-svn-plugin/package.json index a00593e838..ce3e272743 100644 --- a/scm-plugins/scm-svn-plugin/package.json +++ b/scm-plugins/scm-svn-plugin/package.json @@ -18,22 +18,6 @@ }, "prettier": "@scm-manager/prettier-config", "dependencies": { - "@scm-manager/ui-components": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-extensions": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-types": "^2.0.0-SNAPSHOT", - "react": "^16.10.2", - "react-i18next": "^10.13.1", - "styled-components": "^4.4.0" - }, - "devDependencies": { - "@scm-manager/babel-preset": "^2.0.0-SNAPSHOT", - "@scm-manager/eslint-config": "^2.0.0-SNAPSHOT", - "@scm-manager/jest-preset": "^2.0.0-SNAPSHOT", - "@scm-manager/prettier-config": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-scripts": "^2.0.0-SNAPSHOT", - "@scm-manager/ui-tests": "^2.0.0-SNAPSHOT", - "flow-bin": "^0.109.0", - "flow-typed": "^2.6.1", - "jest": "^24.9.0" + "@scm-manager/ui-plugins": "^2.0.0-SNAPSHOT" } } diff --git a/scm-ui/ui-plugins/package.json b/scm-ui/ui-plugins/package.json new file mode 100644 index 0000000000..ea6a03cfd2 --- /dev/null +++ b/scm-ui/ui-plugins/package.json @@ -0,0 +1,25 @@ +{ + "name": "@scm-manager/ui-plugins", + "version": "2.0.0-SNAPSHOT", + "license": "BSD-3-Clause", + "dependencies": { + "@scm-manager/babel-preset": "^2.0.0-SNAPSHOT", + "@scm-manager/eslint-config": "^2.0.0-SNAPSHOT", + "@scm-manager/jest-preset": "^2.0.0-SNAPSHOT", + "@scm-manager/prettier-config": "^2.0.0-SNAPSHOT", + "@scm-manager/ui-components": "^2.0.0-SNAPSHOT", + "@scm-manager/ui-extensions": "^2.0.0-SNAPSHOT", + "@scm-manager/ui-scripts": "^2.0.0-SNAPSHOT", + "@scm-manager/ui-tests": "^2.0.0-SNAPSHOT", + "@scm-manager/ui-types": "^2.0.0-SNAPSHOT", + "classnames": "^2.2.6", + "flow-bin": "^0.109.0", + "flow-typed": "^2.6.1", + "jest": "^24.9.0", + "query-string": "^5.0.1", + "react": "^16.10.2", + "react-i18next": "^7.9.0", + "react-router-dom": "^5.1.2", + "styled-components": "^4.4.0" + } +} diff --git a/yarn.lock b/yarn.lock index 0ed3d9f1f6..4df5dbb32b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11450,7 +11450,7 @@ react-hotkeys@2.0.0-pre4: dependencies: prop-types "^15.6.1" -react-i18next@^10.11.4, react-i18next@^10.13.1: +react-i18next@^10.11.4: version "10.13.1" resolved "https://registry.yarnpkg.com/react-i18next/-/react-i18next-10.13.1.tgz#4ad37e0bec5e4cf53aaa2a0c96a4e171e01ad520" integrity sha512-MReJUMoYooaKZONvoewFuAwf31bQU60Xt25P5wBIPTMphY4LjDJE27rwhEKjNLL24nSIHa3Jh+z9bPwSKISAoA==