From 4f22b76a23d4edf95d9b93d4b62d932ba73d0cb8 Mon Sep 17 00:00:00 2001 From: Nadja Heitmann Date: Thu, 17 Oct 2024 21:09:35 +0200 Subject: [PATCH] Update test dependencies * Update foreman peer dependency * Update foreman dev depenencies * Remove theforeman/stories as it does not exist anymore * Add react-redux-test-utils to build * Add babel core dependency --- .github/workflows/react.yml | 2 +- package.json | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/react.yml b/.github/workflows/react.yml index d48c895..be620fe 100644 --- a/.github/workflows/react.yml +++ b/.github/workflows/react.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: node-version: [14] - foreman-core-branch: ['develop', '3.9-stable', '3.8-stable'] + foreman-core-branch: ['develop', '3.11-stable', '3.12-stable'] # Steps represent a sequence of tasks that will be executed as part of the job steps: diff --git a/package.json b/package.json index 5a0927e..581f1ab 100644 --- a/package.json +++ b/package.json @@ -23,19 +23,20 @@ "url": "http://projects.theforeman.org/projects/foreman_snapshot_management/issues" }, "peerDependencies": { - "@theforeman/vendor": ">= 4.0.0" + "@theforeman/vendor": ">= 12.0.1" }, "devDependencies": { - "@theforeman/builder": ">= 4.0.0", - "@theforeman/eslint-plugin-foreman": ">= 6.0.0", - "@theforeman/find-foreman": ">= 4.8.0", - "@theforeman/stories": ">= 7.0.0", - "@theforeman/test": ">= 8.0.0", - "@theforeman/vendor-dev": ">= 4.0.0", + "@babel/core": "^7.7.0", + "@theforeman/builder": ">= 12.0.1", + "@theforeman/eslint-plugin-foreman": ">= 12.0.1", + "@theforeman/find-foreman": ">= 12.0.1", + "@theforeman/test": ">= 12.0.1", + "@theforeman/vendor-dev": ">= 12.0.1", "babel-eslint": "^10.0.3", "eslint": "^6.7.2", "prettier": "^1.19.1", "stylelint": "^9.3.0", - "stylelint-config-standard": "^18.0.0" + "stylelint-config-standard": "^18.0.0", + "react-redux-test-utils": "^0.2.0" } }