diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 14b05d58bb..cd3c50d40b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: ./.github/actions/setup - - run: npx yarn-deduplicate --strategy=highest --list --fail + - run: yarn yarn-deduplicate --strategy=highest --list --fail unit-tests: runs-on: ubuntu-latest diff --git a/package.json b/package.json index 2e7043e1f8..11177f6d2a 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "start": "craco start", "build": "craco build", "serve": "serve build -l 3000", + "deduplicate": "yarn-deduplicate --strategy=highest", "lint": "yarn eslint .", "test": "craco test --coverage", "cypress:open": "cypress open --browser chrome --e2e", @@ -113,7 +114,8 @@ "relay-compiler": "^14.1.0", "serve": "^11.3.2", "typechain": "^5.0.0", - "typescript": "^4.4.3" + "typescript": "^4.4.3", + "yarn-deduplicate": "^6.0.0" }, "dependencies": { "@coinbase/wallet-sdk": "^3.3.0", diff --git a/yarn.lock b/yarn.lock index 6e14ba2a03..1febfdd48d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2088,7 +2088,7 @@ "@gnosis.pm/safe-apps-sdk" "7.6.0" events "^3.3.0" -"@gnosis.pm/safe-apps-sdk@^7.6.0", "@gnosis.pm/safe-apps-sdk@7.6.0": +"@gnosis.pm/safe-apps-sdk@7.6.0", "@gnosis.pm/safe-apps-sdk@^7.6.0": version "7.6.0" resolved "https://registry.yarnpkg.com/@gnosis.pm/safe-apps-sdk/-/safe-apps-sdk-7.6.0.tgz#fdd8fa57eb3d6be3ba384ee51cb5b2f5f6416fbc" integrity sha512-2MFdcNu/n2pioeX2TiXMmwtxvhl5SM8Y2RapDF8YxF11naubKvVXIg5KDJfmvGfXCn7wyqjLxkBcUkMPFbcS8w== @@ -6934,7 +6934,12 @@ command-line-args@^4.0.7: find-replace "^1.0.3" typical "^2.6.1" -commander@*, commander@7: +commander@*, commander@^9.4.0: + version "9.4.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-9.4.1.tgz#d1dd8f2ce6faf93147295c0df13c7c21141cfbdd" + integrity sha512-5EEkTNyHNGFPD2H+c/dXXfQZYa/scCKasxWcXJaWnNJ99pnQN9Vnmqow+p+PlFPE63Q6mThaZws1T+HxfpgtPw== + +commander@7: version "7.2.0" resolved "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz" integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== @@ -15899,10 +15904,10 @@ semver@^6.0.0, semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -semver@^7.2.1, semver@^7.3.2, semver@^7.3.5: - version "7.3.7" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" - integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== +semver@^7.2.1, semver@^7.3.2, semver@^7.3.5, semver@^7.3.7: + version "7.3.8" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== dependencies: lru-cache "^6.0.0" @@ -17101,7 +17106,7 @@ tslib@^1.0.0, tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1: +tslib@^2, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0: version "2.4.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e" integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA== @@ -18414,6 +18419,16 @@ yargs@^16.1.1: y18n "^5.0.5" yargs-parser "^20.2.2" +yarn-deduplicate@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/yarn-deduplicate/-/yarn-deduplicate-6.0.0.tgz#91bc0b7b374efe24796606df2c6b00eabb5aab62" + integrity sha512-HjGVvuy10hetOuXeexXXT77V+6FfgS+NiW3FsmQD88yfF2kBqTpChvMglyKUlQ0xXEcI77VJazll5qKKBl3ssw== + dependencies: + "@yarnpkg/lockfile" "^1.1.0" + commander "^9.4.0" + semver "^7.3.7" + tslib "^2.4.0" + yauzl@^2.10.0: version "2.10.0" resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9"