From 55d3d83e9d59c5213237da54cbc0d2615add6306 Mon Sep 17 00:00:00 2001 From: Gilad Lekner Date: Tue, 8 Feb 2022 18:28:42 +0200 Subject: [PATCH] add react to resolutions --- .github/workflows/deploy.yml | 6 ++++-- package.json | 6 +++--- yarn.lock | 30 +----------------------------- 3 files changed, 8 insertions(+), 34 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9e8f622..66a939c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,7 +1,9 @@ name: Deploy + on: release: types: [published] + jobs: deploy: name: Publish NPM package @@ -18,8 +20,8 @@ jobs: - run: yarn install - run: yarn test - run: yarn build - + - name: Publish uses: JS-DevTools/npm-publish@v1 with: - token: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + token: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 14ba9be..0620964 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kubevirt-ui/components", - "version": "0.0.3", + "version": "0.0.4", "description": "React Component Library for Kubevirt UI", "license": "Apache-2.0", "repository": { @@ -21,6 +21,8 @@ }, "dependencies": { "@kubevirt-ui/kubevirt-api": "^0.0.30", + "@patternfly/patternfly": "^4.171.1", + "@patternfly/react-core": "^4.192.15", "classnames": "^2.3.1", "react": "^17.0.2", "react-dom": "^17.0.2" @@ -36,8 +38,6 @@ "@babel/preset-typescript": "^7.16.7", "@openshift-console/dynamic-plugin-sdk": "0.0.3", "@openshift-console/dynamic-plugin-sdk-internal": "^0.0.2-wp5", - "@patternfly/patternfly": "^4.171.1", - "@patternfly/react-core": "^4.181.1", "@rollup/plugin-commonjs": "^21.0.1", "@rollup/plugin-node-resolve": "^13.1.3", "@rollup/plugin-typescript": "^8.3.0", diff --git a/yarn.lock b/yarn.lock index 18d0072..191cad6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1326,7 +1326,7 @@ tippy.js "5.1.2" tslib "^2.0.0" -"@patternfly/react-core@^4.157.2", "@patternfly/react-core@^4.168.8": +"@patternfly/react-core@^4.157.2", "@patternfly/react-core@^4.168.8", "@patternfly/react-core@^4.192.15": version "4.192.15" resolved "https://registry.yarnpkg.com/@patternfly/react-core/-/react-core-4.192.15.tgz#ee664054233add748321871a6c6f746b974b3e6a" integrity sha512-nYNhuWeRegZ89WY4OKa4bX06DYsEDCmNYDEq8Jp9CHPVm/6UzmPmWA/Y5MTbLPZN6w2i0cvLHf2wQVrHSzwVvg== @@ -1339,39 +1339,16 @@ tippy.js "5.1.2" tslib "^2.0.0" -"@patternfly/react-core@^4.181.1": - version "4.181.1" - resolved "https://registry.yarnpkg.com/@patternfly/react-core/-/react-core-4.181.1.tgz#ed530532aa16fdad5dda07556cb47b63fdd2157a" - integrity sha512-5pt4R8Cg8CkA6xCY4v6wurpwn8WIS8N8NqQEtp56WABMVpZC+TE7k1TSsrDDR1WhJlxsl48VbsANkwMYLlsSJg== - dependencies: - "@patternfly/react-icons" "^4.32.1" - "@patternfly/react-styles" "^4.31.1" - "@patternfly/react-tokens" "^4.33.1" - focus-trap "6.2.2" - react-dropzone "9.0.0" - tippy.js "5.1.2" - tslib "^2.0.0" - "@patternfly/react-icons@^4.11.17", "@patternfly/react-icons@^4.19.8", "@patternfly/react-icons@^4.43.15": version "4.43.15" resolved "https://registry.yarnpkg.com/@patternfly/react-icons/-/react-icons-4.43.15.tgz#8dd696ba92867b1074eee6ef7c672833197f6046" integrity sha512-b1fcPpIsQVJBGG1onpNTDiGqVJ60BVNy3qvzUu4Ea+lOwP83oIlhODtS792wx1B284a4wxP3uMc6uXCfdULD/w== -"@patternfly/react-icons@^4.32.1": - version "4.32.1" - resolved "https://registry.yarnpkg.com/@patternfly/react-icons/-/react-icons-4.32.1.tgz#5989fa8c1563b16824f1239f56b50afa2655b6de" - integrity sha512-E7Fpnvax37e2ow8Xc2GngQBM7IuOpRyphZXCIUAk/NGsqpvFX27YhIVZiOUIAuBXAI5VXQBwueW/tmhmlXP7+w== - "@patternfly/react-styles@^4.11.16", "@patternfly/react-styles@^4.18.8", "@patternfly/react-styles@^4.42.15": version "4.42.15" resolved "https://registry.yarnpkg.com/@patternfly/react-styles/-/react-styles-4.42.15.tgz#749c1db42cb78f7b0ac276ba414812438d7c5e6b" integrity sha512-7E6NmaB3b+OOAqIBlS7nJ74Plq+n76VVTH5zxCyUFkrbjo31TRArwLU2dlO/tZr77Z3MiUjGBcoLLEv0R6BZBg== -"@patternfly/react-styles@^4.31.1": - version "4.31.1" - resolved "https://registry.yarnpkg.com/@patternfly/react-styles/-/react-styles-4.31.1.tgz#878c44282edfc731948d952d845ff477931875aa" - integrity sha512-Yw2hgg3T2qEqPYej5xprYD0iTTkzFMNjaF8u/YFyZOBNwfhjK8QQDZx8Du7Z6em8zGtajXFG5rZqxDiiz8bDfQ== - "@patternfly/react-table@4.30.2": version "4.30.2" resolved "https://registry.yarnpkg.com/@patternfly/react-table/-/react-table-4.30.2.tgz#eeb414417a8b4e9f8241fb1a82438d8e168c6dae" @@ -1401,11 +1378,6 @@ resolved "https://registry.yarnpkg.com/@patternfly/react-tokens/-/react-tokens-4.44.15.tgz#8eca5b3b03d1c8fd88664ab45f7a7238f9b9b218" integrity sha512-Xp82baZURMISkvpNaWNu3w4cMfc2NIsDYh9K5QpVMQ94vphQrAd54UoO5NQI574+/QY2IPGKWadfvix8324J0Q== -"@patternfly/react-tokens@^4.33.1": - version "4.33.1" - resolved "https://registry.yarnpkg.com/@patternfly/react-tokens/-/react-tokens-4.33.1.tgz#c7c932aaaabdbf6963343a7bb2b38690b8d1c4ad" - integrity sha512-n06+BYDviOEuoo+qE9f0Jm1DkMDpwtXWyaJFHsvi8w8uddQEsBGGoP7lpkwZj15u6jc+F9IDgk/j+EkTScrvUA== - "@popperjs/core@^2.9.0": version "2.11.2" resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.2.tgz#830beaec4b4091a9e9398ac50f865ddea52186b9"